CN106095288A - A kind of based on the treating method and apparatus waking up lock up - Google Patents
A kind of based on the treating method and apparatus waking up lock up Download PDFInfo
- Publication number
- CN106095288A CN106095288A CN201610379855.9A CN201610379855A CN106095288A CN 106095288 A CN106095288 A CN 106095288A CN 201610379855 A CN201610379855 A CN 201610379855A CN 106095288 A CN106095288 A CN 106095288A
- Authority
- CN
- China
- Prior art keywords
- lock
- terminal
- application program
- wake
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- 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
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The embodiment of the invention discloses a kind of based on the treating method and apparatus waking up lock up;Described method includes: when terminal is in holding state, judge the most whether terminal is in the state of being blocked, when terminal is in and is blocked state, obtain the notification event that message is corresponding, judge whether the application program corresponding to notification event is held and wake up lock up, application program is the most then stoped to light the screen of terminal by the lock that wakes up up held;This programme can be when terminal be in and be blocked state, discharge that application program corresponding to the notification event received held wakes up lock up, to stop terminal screen to be lit, thus decrease the consumption lighting screen to terminal power, save the electricity of terminal, and then the flying power of terminal can be improved.
Description
Technical field
The present invention relates to field of terminal technology, be specifically related to a kind of based on the treating method and apparatus waking up lock up.
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.
The third party application installed in terminal often receives the message of its service server propelling movement by notice
The mode of event is reminded to user, can wake up cell phone system simultaneously up and light screen, and in the middle of reality application, mobile phone is when some
Time need not to wake up up screen to remind user, is positioned in pocket or bag, now lights mobile phone when the most not using mobile phone
Screen can produce unnecessary waste to electricity, if user mobile phone backstage is mounted with that many this type of application program of comparison is on backstage
Run, arise that the many notification event of comparison wakes up lock up wake up terminal screen up by holding, thus cause terminal power
Waste.
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 of based on waking up the treating method and apparatus of lock up, can stop when terminal is blocked
Notification event wakes up screen voluntarily up, thus saves the electricity of terminal.
The embodiment of the present invention provides a kind of based on waking up the processing method of lock up, comprises the following steps:
When terminal is in holding state, it is judged that the most described terminal is in the state of being blocked;
When being blocked state described in described terminal is in, obtain the notification event that message is corresponding;
Judge whether the application program corresponding to described notification event is held and wake up lock up;
Described application program is the most then stoped to light the screen of described terminal by the lock that wakes up up held.
Further, described judge the most described terminal is in the step of the state of being blocked and specifically includes:
Obtain described terminal and be presently in the environmental light intensity angle value of environment;
Judge that whether described light intensity value is less than predetermined threshold value;
If, it is determined that described terminal is currently at the state of being blocked.
Further, after judging that described application program is held and waken up lock up, described application program is stoped to be held by it
Wake up the screen that described terminal lighted by lock up before, described method also includes:
Judge that the current time is whether in preset time range;
If it is not, then perform to stop described application program to wake up, by hold, the step that the screen of described terminal lighted by lock up.
Further, described method also includes:
If judging, described terminal is not presently within the state of being blocked, then after receiving notification event, it is allowed to described notice
Application program corresponding to event is held and is waken up lock up.
Further, described method also includes:
If judging that described application program is not held to wake up lock up, then detect whether that Shen is locked in corresponding the waking up up of described application program
Please ask;
If having, then refuse to wake up lock application request process up, to stop described application program to wake up lock up to described.
The embodiment of the present invention additionally provides a kind of release device waking up lock up, including: the first judge module, notice obtain mould
Block, the second judge module and control module;
Described first judge module, for when terminal is in holding state, it is judged that described terminal the most whether be in by
Occlusion state;
Described notice acquisition module, for when being blocked state described in described terminal is in, obtains corresponding the leading to of message
County magistrate's part;
Described second judge module, whether the application program for judging corresponding to described notification event is held wakes up lock up;
Described control module, for when described second judge module is judged as YES, stops described application program by holding
The screen of described terminal lighted by the lock that wakes up up having.
Further, described first judge module specifically includes: obtains submodule, judges submodule and determine submodule
Block;
Described acquisition submodule, is presently in the environmental light intensity angle value of environment for obtaining described terminal;
Described judgement submodule, is used for judging that whether described light intensity value is less than predetermined threshold value;
Described determine submodule, for when described judgement submodule is judged as YES, determine described terminal be currently at by
Occlusion state.
Further, described device also includes: the 3rd judge module;
Described 3rd judge module, for after described second judge module is judged as YES, described control module stops
Described application program by its hold wake up the screen that described terminal lighted by lock up before, it is judged that whether the current time is presetting
In time range;
Described control module, specifically for when described 3rd judge module is judged as NO, performs to stop described application journey
Sequence lights the screen of described terminal by the lock that wakes up up held.
Further, when described first judge module is judged as NO, after receiving notification event, it is allowed to described notice
Application program corresponding to event is held and is waken up lock up.
Further, described device also includes: detection module;
Described detection module, for when described second judge module is judged as NO, has detected whether described application program
Corresponding wakes up lock application request up;
Described control module, is additionally operable to when described detection module detects that the lock that wakes up up that described application program is corresponding is applied for
During request, refuse to wake up lock application request process up, to stop described application program to wake up lock up to described.
The embodiment of the present invention is first when terminal is in holding state, it is judged that the most whether terminal is in the state of being blocked,
When terminal is in and is blocked state, obtain the notification event that message is corresponding, it is judged that the application program corresponding to notification event is
No holding, wakes up lock up, the most then stop application program to light the screen of terminal by the lock that wakes up up held;This programme can be at end
End is in when being blocked state, and discharge that application program corresponding to the notification event received held wakes up lock up, to stop
Terminal screen is lit, thus decreases the consumption lighting screen to terminal power, saves the electricity of terminal, and then can carry
The flying power of high 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.
A kind of based on the processing method waking up lock up the schematic flow sheet that Fig. 1 provides for the embodiment of the present invention one;
A kind of based on the processing method waking up lock up the schematic flow sheet that Fig. 2 provides for the embodiment of the present invention two;
This processing method a kind of that Fig. 3 provides for the embodiment of the present invention three schematic flow sheet in the middle of reality application;
A kind of based on the processing means waking up lock up the structural representation that Fig. 4 provides for the embodiment of the present invention four;
The second structural representation based on the processing means waking up lock up that Fig. 5 provides for the embodiment of the present invention four.
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 of based on the treating method and apparatus waking up lock up.To carry out specifically respectively below
Bright.
Embodiment one,
The present embodiment will be described from angle based on the processing means waking up lock up, should be based on the processing means waking up lock up
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 a kind of based on the processing method waking up lock up the flow process signal that Fig. 1, Fig. 1 provide for the embodiment of the present invention one
Figure, including based on the processing method waking up lock up of the present embodiment:
Step S101, when terminal is in holding state, it is judged that the most whether terminal is in the state of being blocked, the most then
Perform step S102, if it is not, then perform step S103.
In embodiments of the present invention, need to first determine whether whether terminal is holding state, specifically can be according to terminal screen
Currently whether extinguish to judge whether terminal is holding state, if the current state of terminal screen is for extinguishing, it is determined that terminal
Current is holding state;If the current state of terminal screen is for extinguishing, it is determined that terminal is not the most holding state, namely
Judge whether terminal is in the step of holding state and specifically includes:
Judge the most whether terminal screen extinguishes;
If, it is determined that terminal is currently at holding state;
If not, it is determined that terminal is not currently in holding state.
Preferably, above-mentioned judge terminal screen as extinguish after, before determining that terminal is currently at holding state, also may be used
To obtain the duration that terminal screen extinguishes, and determine whether whether the duration that screen extinguishes is more than preset duration, the most true
Determine terminal and be currently at holding state;If not, it is determined that terminal is not presently within holding state.Such as, after screen extinguishes
Timer in opening a terminal starts timing, the stopping timing when screen is lit again, and the duration that timer is shown above
Being the duration that screen extinguishes, above-mentioned preset duration is such as 5min or 10min etc., and this preset duration can be according to user
Practical situation sets itself, does not do restriction further at this.
In one embodiment of the invention, it is judged that the most whether terminal is in the state of being blocked can be according to residing for terminal
The intensity information of environment determines whether, such as, arranges ambient light sensor in the terminal, and this sensor can be arranged on
The front (such as above screen) of terminal, when terminal is in holding state, detects present terminal by this ambient light sensor
The light intensity of local environment, thus judge the most whether terminal is in the state of being blocked according to above-mentioned light intensity value.
In the middle of other embodiments of the present invention, it is also possible to judge terminal according to the distance of terminal Yu terminal, peripheral object
Currently whether it is in the state of being blocked, such as, range sensor is set in the terminal, is detected and terminal by this range sensor
The most whether the distance of periphery arbitrary objects, be then in the state of being blocked according to this Distance Judgment terminal, and this step can have
Body includes:
Distance between detecting distance sensor and terminal, peripheral arbitrary objects;
Judge that whether this distance is less than predeterminable range threshold value;
If, it is determined that terminal is currently at the state of being blocked;
If not, it is determined that terminal is not presently within the state of being blocked.
Wherein, predeterminable range threshold value can preset according to experimental data.For example, as a example by mobile phone, mobile phone is worked as
Time in being placed in pocket or wrapping, having the object range sensor side at mobile phone, now, this range sensor is able to detect that
And the distance between mobile phone periphery object is less than predeterminable range, so that it is determined that mobile phone is currently for the state of being blocked.
Step S102, obtains the notification event that message is corresponding.
Notification event can be info web, short message, QQ information, application pushed information etc. in this step, and it can
To 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 S103, it is allowed to the application program that notification event is corresponding is held and waken up lock up.
In the present embodiment, if judging, mobile phone, the most not as the state of being blocked, is such as faced up and is placed on table by terminal
On son, namely terminal is currently likely to be in the visual line of sight of user, now, if terminal receives notification event, then allows it
Corresponding application program is held and is waken up lock up, and wakes up lock up by this and light screen to point out user.
Step S104, it is judged that whether the application program corresponding to notification event is held wakes up lock up, the most then perform step
S105, if it is not, then perform step S106.
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 is held wakes up the method for lock up and can have multiple, and terminal such as can having detected whether, waking up lock up is in work shape
State, the most then judge this wake up up lock be whether with above-mentioned application program corresponding to wake up lock up, wherein it is possible to by system
Framework (framework) layer obtains the in running order title waking up lock up and correspondence is locked in running order waking up up
Application name, in running order wake up lock it should be noted that above-mentioned up and may have one, it is also possible to have multiple, when
The in running order lock that wakes up up when having multiple detected, obtain the most respectively and multiple wake up the application name that lock is corresponding up, really
Fixed whether existence corresponding with above-mentioned application program wakes up lock up.I.e. judge whether above-mentioned application program holds the step waking up lock up
Can specifically include:
Whether detection terminal exists and in running order wakes up lock up;
Whether the most then judge that above-mentioned in running order waking up up is locked is wake up corresponding with above-mentioned application program
Lock;
If, it is determined that above-mentioned application program is held and is waken up lock up.
Optionally, above-mentioned judge whether application program is held and wake up the step of lock up and can also include: obtain above-mentioned application journey
The identification information of sequence, searches in the terminal according to this identification information and corresponding and in running order wakes up lock up, if depositing
Hold at, it is determined that this application program and wake up lock up.
Step S105, stops application program to light the screen of terminal by the lock that wakes up up held.
Such as, if judging that above-mentioned application program is held to wake up lock up, then discharge this and wake up lock up, 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 S106, is not further processed, and keeps standby.
In the present embodiment, if application program corresponding to above-mentioned notification event is not held wakes up lock up, 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.
Preferably, in embodiments of the present invention, if judging that application program is not held to wake up lock up, then application journey has been detected whether
What ordered pair was answered wakes up lock application request up;
If having, then refuse waking up lock application request process up, to stop application program to wake up lock up.
Preferably, it is contemplated that user uses the motility of terminal, and needs turn on sensor to enter in real time in the program
Row detection, can increase system power dissipation, so the embodiment of the present invention can increase by one controls switch, is used for controlling this terminal processes
The open and close of mode.
From the foregoing, it will be observed that using based on the processing method waking up lock up of embodiment of the present invention offer is in holding state in terminal
Time, it is judged that the most whether terminal is in the state of being blocked, and when terminal is in and is blocked state, obtains the notice thing that message is corresponding
Part, it is judged that whether the application program corresponding to notification event is held wakes up lock up, the most then stop application program by calling out of holding
The screen of terminal lighted by awake lock;This programme can discharge, when terminal is in and is blocked state, the notification event pair received
What the application program answered was held wakes up lock up, to stop terminal screen to be lit, thus decreases and lights screen to terminal power
Consumption, save the electricity of terminal, and then the flying power of terminal can be improved.
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, what the embodiment of the present invention provided includes based on the processing method waking up lock up:
Step S201, when terminal standby, obtains terminal and is presently in the environmental light intensity angle value of environment.
Concrete, one ambient light sensor can be set in terminal, this ambient light sensor can obtain residing for terminal
The current light intensity of environment, such as can generate an ambient light every one section of preset time period and obtain information, according to this environment
Light obtains the intensity information in information retrieval sensor, and wherein, this ambient light can be outdoor daylight, indoor light etc.
Deng.
Step S202, it is judged that above-mentioned environmental light intensity angle value whether less than preset value threshold value, the most then performs step S203,
If it is not, then perform step S204.
Concrete, the predetermined threshold value of a light intensity can be pre-set, critical as judging whether terminal is blocked
Value, this predetermined threshold value can be the numerical value obtained after laboratory measurement in advance, if above-mentioned environmental light intensity angle value is preset less than this
Value, it is determined that terminal is currently for the state of being blocked;If above-mentioned environmental light intensity angle value is not less than this preset value, it is determined that terminal is current
Not for the state of being blocked.
Step S203, obtains the notification event that message is corresponding.
Notification event can be info web, short message, QQ information, application pushed information etc. in this step, and it can
To come from the announcement informations such as webpage, the application program of installation or the operating system of terminal.
Optionally, after obtaining notification event, it is also possible to the application program that when determining this notice, event is corresponding, specifically
, the present embodiment can be detected by the informing management interface in the operating system to terminal, when informing being detected
When management interface receives the notification message that application program is initiated, the notice received can be obtained from informing management interface and disappear
Breath.
Wherein, in an embodiment of the present invention, application program can be the application program of short message types, it is also possible to be i.e.
The application program of Shi Tongxin IM (InstantMessaging) type, such as, above-mentioned application program can be system information push,
Game etc., it is also possible to be the application program of the instant messaging IM type such as wechat, QQ, Skype, Facebook, additionally, this application journey
Sequence can be the application program in the operating system of terminal, it is also possible to for the third party application of user installation.
Step S204, determines that allowing the application program that notification event is corresponding to hold wakes up lock up and light screen.
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 S205, it is judged that whether the application program that this notification event is corresponding is held wakes up lock up, the most then perform step
S206, if it is not, then perform step S208.
Concrete, after obtaining notification event corresponding to message and determining corresponding application program, it is judged that above-mentioned application
Whether program is held wakes up the method for lock up and can have multiple, and terminal such as can having detected whether, waking up lock up is in work
State, the most then judge this wake up up lock be whether with above-mentioned application program corresponding to wake up lock up.
Step S206, it is judged that whether current time is within preset time range, if it is not, then perform step S207, if so,
Then perform step S208.
In the middle of reality application, it is contemplated that if time is up evening, the ambient light intensity that user detects when outdoor is relatively
Low, but now terminal might not be in the state of being blocked, so the present embodiment can pre-set preset time period, if working as
The front time not in this preset time period, then continues executing with step S207.Wherein, this preset time period can be according to practical situation
By user's sets itself;The mode of above-mentioned acquisition current time can also have multiple, such as current by inquiry Network Capture
Time or the current time in system of transferring etc..
Step S207, stops application program to light terminal screen by the lock that wakes up up held.
Optionally, optionally, when user is again turned on terminal, the above-mentioned announcement information received can be shown at end
The informing of end, is used for notifying that user have received those announcement informations when terminal standby, allows user process, add
Motility.
Step S208, 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 using based on the processing method waking up lock up of embodiment of the present invention offer is in holding state in terminal
Time, it is judged that the most whether terminal is in the state of being blocked, and when terminal is in and is blocked state, obtains the notice thing that message is corresponding
Part, it is judged that whether the application program corresponding to notification event is held wakes up lock up, the most then stop application program by calling out of holding
The screen of terminal lighted by awake lock;This programme can discharge, when terminal is in and is blocked state, the notification event pair received
What the application program answered was held wakes up lock up, to stop terminal screen to be lit, thus decreases and lights screen to terminal power
Consumption, save the electricity of terminal, and then the flying power of terminal can be improved.
Embodiment three,
The present embodiment will be as a example by smart mobile phone, and the above-mentioned lock that wakes up up is locked for cpu, describes this programme in the middle of reality is applied
It is embodied as step, as it is shown on figure 3, this method comprises the following steps:
Step S301, when smart mobile phone is standby, obtains current ambient light intensity.
Concrete, can be by the light intensity value of the ambient light sensor detection current phone local environment in mobile phone.
Step S302, smart mobile phone judges that this light intensity value whether less than preset value, the most then performs step S303, if
No, then perform step S304.
Concrete, if this light intensity value is less than preset value, then judge that terminal is currently as the state of being blocked;If this light intensity value
Not less than preset value, then judge that terminal is not the most as the state of being blocked.
Step S303, smart mobile phone obtains notification message.
This notification message can be notifications, it is also possible to the PUSH message of the third-party application for installing on mobile phone, than
Such as Weather information, memorandum prompting, QQ message etc..
Step S304, it is allowed to cpu lock is held in the application that notification message is corresponding.
Step S305, smart mobile phone judges whether application program holds cpu lock, the most then perform step S306, if it is not,
Then perform step S308.
First the application program of correspondence is determined according to announcement information, such as can be in intelligence based on android operating system
In energy mobile phone, detected by NotificationListenerService service interface, when cell phone system receives new leading to
Know when message or notification message are deleted, the callback method of NotificationListenerService interface can be triggered, obtain
Taking the specifying information of this notification message, so that it is determined that the application program of correspondence, application program corresponding to such as QQ message is " Tengxun
QQ ", application program that microblogging personal letter is corresponding be " Sina's microblogging " etc..
Step S306, smart mobile phone judges that the current time whether in preset time period, the most then performs step
S308, if it is not, then perform step S307.
Such as, arranging preset time period is 23:00-8:00, and the smart mobile phone acquisition current time is 12:00, through judging
Current time not in preset time period, then turns to step S307.
Step S307, smart mobile phone discharges this cpu lock, to keep mobile phone screen as OFF state.
It is as a example by " Alipay " by this application program, after determining its cpu holding in mobile phone lock, discharges what it was held
Cpu locks, 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 S308, mobile phone is not further processed, and keeps the holding state of smart mobile phone.
From the foregoing, it will be observed that the processing method that the embodiment of the present invention provides uses when smart mobile phone is in holding state, it is judged that
The most whether smart mobile phone is in the state of being blocked, and when smart mobile phone is in and is blocked state, obtains notification message, it is judged that logical
Know whether the application program corresponding to message holds cpu lock, the most then discharge the cpu lock that this application program is held;This programme can
With when smart mobile phone is in and is blocked state, discharge the cpu that application program corresponding to the notification message received is held
Lock, to stop smart mobile phone screen to be lit, thus decreases the consumption lighting screen to smart mobile phone electricity, saves intelligence
The electricity of mobile phone, and then flying power can be improved.
Embodiment four,
In order to preferably implement said method embodiment, present invention also offers a kind of based on waking up the processing means of lock up,
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, the first judge module 401, notice acquisition module should be may include that based on the processing means waking up lock up
402, the second judge module 403 and control module 404;
This first judge module 401, for when terminal is in holding state, it is judged that the most whether terminal is in is blocked
State;
This notice acquisition module 402, for when terminal is in and is blocked state, obtains the notification event that message is corresponding;
This second judge module 403, whether the application program for judging corresponding to notification event is held wakes up lock up;
This control module 404, for when the second judge module 403 is judged as YES, stops application program by holding
Wake up lock up and light the screen of terminal.
In the present embodiment, when the first judge module 401 is judged as NO, after receiving notification event, it is allowed to notice
Application program corresponding to event is held and is waken up lock up.
Preferably, as it is shown in figure 5, the embodiment of the present invention provide based on the processing means waking up lock up in, above-mentioned the
One judge module 401 can specifically include: obtains submodule 4011, judges submodule 4012 and determine submodule 4013;
This acquisition submodule 4011, is presently in the environmental light intensity angle value of environment for obtaining terminal;
This judgement submodule 4012, is used for judging that whether light intensity value is less than predetermined threshold value;
This determines submodule 4013, for when judging that submodule is judged as YES, determines that terminal is currently at the shape that is blocked
State.
Optionally, this device can also include: the 3rd judge module;
3rd judge module, for after the second judge module 403 is judged as YES, control module 404 stops application
Program by its hold wake up the screen that terminal lighted by lock up before, it is judged that whether the current time in preset time range;
This control module 404, specifically for when the 3rd judge module is judged as NO, performs to stop application program by holding
The screen of terminal lighted by the lock that wakes up up having.
Optionally, this device can also include: detection module;
This detection module, for when the second judge module 403 is judged as NO, detects whether corresponding the calling out of application program
Lock application of waking up is asked;
This control module 404, is additionally operable to when detection module detects that application request is locked in corresponding the waking up up of application program,
Refuse waking up lock application request process up, to stop application program to wake up lock up.
From the foregoing, it will be observed that using based on the processing means waking up lock up of embodiment of the present invention offer is in holding state in terminal
Time, the first judge module 401 judges the most whether terminal is in the state of being blocked, when terminal is in and is blocked state, and notice
Acquisition module 402 obtains the notification event that message is corresponding, and the second judge module 403 judges the application program corresponding to notification event
Whether hold and wake up lock up, the most then stoped application program to light the screen of terminal by the lock that wakes up up held by control module;This
Scheme can be when terminal be in and be blocked state, and discharge that application program corresponding to the notification event received held calls out
Wake up and lock, to stop terminal screen to be lit, thus decrease the consumption lighting screen to terminal power, save the electricity of terminal
Amount, and then the flying power of terminal can be improved.
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 being described in detail based on the treating method and apparatus waking up lock up to embodiment of the present invention offer above,
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. one kind based on the processing method waking up lock up, it is characterised in that comprise the following steps:
When terminal is in holding state, it is judged that the most described terminal is in the state of being blocked;
When being blocked state described in described terminal is in, obtain the notification event that message is corresponding;
Judge whether the application program corresponding to described notification event is held and wake up lock up;
Described application program is the most then stoped to light the screen of described terminal by the lock that wakes up up held.
2. processing method as claimed in claim 1, it is characterised in that described judge the most described terminal is in and be blocked
The step of state specifically includes:
Obtain described terminal and be presently in the environmental light intensity angle value of environment;
Judge that whether described light intensity value is less than predetermined threshold value;
If, it is determined that described terminal is currently at the state of being blocked.
3. processing method as claimed in claim 1, it is characterised in that after judging that described application program is held and waken up lock up,
Stop described application program by its hold wake up the screen that described terminal lighted by lock up before, described method also includes:
Judge that the current time is whether in preset time range;
If it is not, then perform to stop described application program to wake up, by hold, the step that the screen of described terminal lighted by lock up.
4. processing method as claimed in claim 1, it is characterised in that described method also includes:
If judging, described terminal is not presently within the state of being blocked, then after receiving notification event, it is allowed to described notification event
Corresponding application program is held and is waken up lock up.
5. processing method as claimed in claim 1, it is characterised in that described method also includes:
If judging that described application program is not held to wake up lock up, then detect whether that the lock application that wakes up up that described application program is corresponding is asked
Ask;
If having, then refuse to wake up lock application request process up, to stop described application program to wake up lock up to described.
6. one kind based on the processing means waking up lock up, it is characterised in that including: the first judge module, notice acquisition module, second
Judge module and control module;
Described first judge module, for when terminal is in holding state, it is judged that the most described terminal is in is blocked
State;
Described notice acquisition module, for when being blocked state described in described terminal is in, obtains the notice thing that message is corresponding
Part;
Described second judge module, whether the application program for judging corresponding to described notification event is held wakes up lock up;
Described control module, for when described second judge module is judged as YES, stops described application program by holding
Wake up lock up and light the screen of described terminal.
7. processing means as claimed in claim 6, it is characterised in that described first judge module specifically includes: obtain submodule
Block, judge submodule and determine submodule;
Described acquisition submodule, is presently in the environmental light intensity angle value of environment for obtaining described terminal;
Described judgement submodule, is used for judging that whether described light intensity value is less than predetermined threshold value;
Described determine submodule, for when described judgement submodule is judged as YES, determines that described terminal is currently at and be blocked
State.
8. 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 second judge module is judged as YES, described control module stops described
Application program by its hold wake up the screen that described terminal lighted by lock up before, it is judged that whether the current time at Preset Time
In the range of;
Described control module, specifically for when described 3rd judge module is judged as NO, performs to stop described application program to lead to
Cross the lock that wakes up up held and light the screen of described terminal.
9. processing means as claimed in claim 6, it is characterised in that
When described first judge module is judged as NO, after receiving notification event, it is allowed to corresponding to described notification event
Application program is held and is waken up lock up.
10. processing means as claimed in claim 6, it is characterised in that described device also includes: detection module;
Described detection module, for when described second judge module is judged as NO, has detected whether that described application program is corresponding
Wake up up lock application request;
Described control module, is additionally operable to when described detection module detects that the lock application that wakes up up that described application program is corresponding is asked
Time, refuse to wake up lock application request process up, to stop described application program to wake up lock up to described.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379855.9A CN106095288A (en) | 2016-05-31 | 2016-05-31 | A kind of based on the treating method and apparatus waking up lock up |
PCT/CN2017/086524 WO2017206890A1 (en) | 2016-05-31 | 2017-05-31 | Wakeup lock-based processing method and apparatus, storage medium, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379855.9A CN106095288A (en) | 2016-05-31 | 2016-05-31 | A kind of based on the treating method and apparatus waking up lock up |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106095288A true CN106095288A (en) | 2016-11-09 |
Family
ID=57230620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610379855.9A Pending CN106095288A (en) | 2016-05-31 | 2016-05-31 | A kind of based on the treating method and apparatus waking up lock up |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106095288A (en) |
WO (1) | WO2017206890A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648027A (en) * | 2016-12-01 | 2017-05-10 | 深圳市金立通信设备有限公司 | Screen control method and terminal |
CN106816139A (en) * | 2017-04-11 | 2017-06-09 | 广东美的制冷设备有限公司 | The control method of backlight, control device and the terminal with backlight |
CN107091650A (en) * | 2017-04-27 | 2017-08-25 | 重庆邮电大学 | A kind of software step-recording method based on mobile phone acceleration and range sensor |
WO2017206890A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | Wakeup lock-based processing method and apparatus, storage medium, and electronic device |
CN107608724A (en) * | 2017-09-26 | 2018-01-19 | 深圳市金立通信设备有限公司 | A kind of method, terminal and computer-readable recording medium for managing application program |
CN108848417A (en) * | 2018-07-20 | 2018-11-20 | 晶晨半导体(上海)股份有限公司 | Wake up the control method and control system of lock |
CN110111142A (en) * | 2019-04-28 | 2019-08-09 | 重庆勾正数据科技有限公司 | Based on intelligent terminal intelligent marketing system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080082845A1 (en) * | 2006-09-29 | 2008-04-03 | Kabushiki Kaisha Toshiba | Information processing apparatus and system state control method |
CN102520852A (en) * | 2011-11-29 | 2012-06-27 | 华为终端有限公司 | Control method of mobile equipment screen status and associated mobile equipment |
CN105094323A (en) * | 2015-07-09 | 2015-11-25 | 努比亚技术有限公司 | Method and apparatus for setting night mode of terminal |
CN105138113A (en) * | 2015-07-14 | 2015-12-09 | 广东欧珀移动通信有限公司 | Method and device for lighting screen |
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 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101545876B1 (en) * | 2009-01-22 | 2015-08-27 | 삼성전자주식회사 | Method for power saving based on motion sensor and mobile terminal using the same |
CN103885565B (en) * | 2012-12-21 | 2018-01-23 | 希姆通信息技术(上海)有限公司 | The dormancy method and system of smart machine |
CN104850443B (en) * | 2015-05-29 | 2018-08-14 | 努比亚技术有限公司 | A kind of method and mobile terminal for closing error starting application program |
CN106095288A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of based on the treating method and apparatus waking up lock up |
-
2016
- 2016-05-31 CN CN201610379855.9A patent/CN106095288A/en active Pending
-
2017
- 2017-05-31 WO PCT/CN2017/086524 patent/WO2017206890A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080082845A1 (en) * | 2006-09-29 | 2008-04-03 | Kabushiki Kaisha Toshiba | Information processing apparatus and system state control method |
CN102520852A (en) * | 2011-11-29 | 2012-06-27 | 华为终端有限公司 | Control method of mobile equipment screen status and associated mobile equipment |
CN105094323A (en) * | 2015-07-09 | 2015-11-25 | 努比亚技术有限公司 | Method and apparatus for setting night mode of terminal |
CN105138113A (en) * | 2015-07-14 | 2015-12-09 | 广东欧珀移动通信有限公司 | Method and device for lighting screen |
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 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017206890A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | Wakeup lock-based processing method and apparatus, storage medium, and electronic device |
CN106648027A (en) * | 2016-12-01 | 2017-05-10 | 深圳市金立通信设备有限公司 | Screen control method and terminal |
CN106816139A (en) * | 2017-04-11 | 2017-06-09 | 广东美的制冷设备有限公司 | The control method of backlight, control device and the terminal with backlight |
CN107091650A (en) * | 2017-04-27 | 2017-08-25 | 重庆邮电大学 | A kind of software step-recording method based on mobile phone acceleration and range sensor |
CN107608724A (en) * | 2017-09-26 | 2018-01-19 | 深圳市金立通信设备有限公司 | A kind of method, terminal and computer-readable recording medium for managing application program |
CN108848417A (en) * | 2018-07-20 | 2018-11-20 | 晶晨半导体(上海)股份有限公司 | Wake up the control method and control system of lock |
CN110111142A (en) * | 2019-04-28 | 2019-08-09 | 重庆勾正数据科技有限公司 | Based on intelligent terminal intelligent marketing system |
Also Published As
Publication number | Publication date |
---|---|
WO2017206890A1 (en) | 2017-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095288A (en) | A kind of based on the treating method and apparatus waking up lock up | |
CN106055073B (en) | A kind for the treatment of method and apparatus based on bright screen lock | |
CN104221445B (en) | A kind of method and terminal waking up terminal system | |
CN105554316B (en) | A kind of realization method and system of reserved intelligent terminal battery capacity | |
CN107302789B (en) | Method and system for improving battery endurance of android device | |
CN103401991B (en) | A kind of method and apparatus that the communication event of terminal unit is pointed out | |
CN106055077A (en) | Wake-up lock-based processing method and device | |
CN104166542A (en) | Method and device for detecting electricity consumption of application | |
CN106125896A (en) | A kind of application program freezing method and mobile terminal | |
CN106055074A (en) | Method and device for processing application program | |
CN105474129A (en) | Method for performing power saving mode in electronic device and electronic device thereof | |
CN106547335A (en) | Energy consumption reduces method and mobile terminal | |
CN105188115A (en) | Method and device for saving electricity for intelligent terminal | |
CN105245718A (en) | Control method and device of breathing lamp and mobile terminal | |
CN102801865A (en) | Incoming telegram reminding system and method for mobile terminal | |
CN105323837B (en) | Intermittent networking method and system | |
CN106383684B (en) | Display method, device and terminal | |
CN106168902A (en) | Awakening control method, device and equipment | |
CN107577508A (en) | Applied program processing method, device, readable storage medium storing program for executing and mobile terminal | |
CN103458109B (en) | Reminding method of unread information or missed calls of mobile terminal and mobile terminal | |
CN106793030A (en) | application management method, device and mobile terminal | |
CN103488274B (en) | Power saving reminding method for unhandled events and intelligent terminal | |
CN105187673A (en) | Method and system for controlling wakeup and blackout of screen in call of mobile terminal | |
CN105517025A (en) | Terminal state processing method and terminal state processing device | |
CN106686633A (en) | Method for preventing WIFI malicious frequent awakening |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |
|
RJ01 | Rejection of invention patent application after publication |