CN106020426A - Releasing method and device for awakening locks - Google Patents
Releasing method and device for awakening locks Download PDFInfo
- Publication number
- CN106020426A CN106020426A CN201610379891.5A CN201610379891A CN106020426A CN 106020426 A CN106020426 A CN 106020426A CN 201610379891 A CN201610379891 A CN 201610379891A CN 106020426 A CN106020426 A CN 106020426A
- Authority
- CN
- China
- Prior art keywords
- application process
- lock
- module
- associated application
- held
- 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/329—Power saving characterised by the action undertaken by task scheduling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a releasing method and device for awakening locks. The method comprises the steps that when an application process is stopped, the awakening lock held by the application process is released; an associated application process associated with the application process is determined; whether the associated application process holds the awakening lock or not is judged, and if yes, the awakening lock held by the associated application process is released. According to the scheme, the awakening lock held by the associated application process associated with the application process can be further released while the awakening lock of the application process is released when the application process is stopped, therefore, electricity consumption in a terminal 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 of method for releasing waking up lock up and device.
Background technology
Along with the development in telecommunications field, the function of mobile terminal such as smart mobile phone from strength to strength, is used
Making a phone call not only by smart mobile phone, send short messages in family, user can also install the most in the terminal
The application program of various functions, with meet oneself different aspect demand (such as play, read, music,
Video playback, shopping etc.).
At present, in the middle of the process using smart mobile phone, some application programs often associate and start other
Application program after running background such as opens Alipay, it can associate the startup application journey such as Taobao, sky cat
Sequence, and application process after being withdrawn into backstage, discharge that it holds wake up lock up, be associated with this application process
The lock that wakes up up held of background application be not released immediately, in addition it is also necessary to hold and systematic wake up lock one up
The section time, to ensure that it is properly functioning, but if can not be discharged this for a long time wakes up lock up, hands can be caused
Machine can not be slept by normal depth, it appears that mobile phone the most no longer works, and actually mobile phone is standby when,
The equipment such as the CPU on backstage are constantly in duty, add the consumption of unnecessary standby battery electricity.
If user mobile phone is mounted with that many this type of application process of comparison, at running background, arises that the pass that comparison is many
Connection application process at running background and is held and is waken up lock up, thus causes the waste of terminal power.
From the foregoing, it will be observed that its associated application process may proceed on backstage after in existing terminal, application process is closed
Run and hold and wake up lock up, thus cause the waste of terminal power.
Summary of the invention
The embodiment of the present invention provides a kind of method for releasing waking up lock up and device, can be while closing application
Discharge that this background application of being associated of application holds wakes up lock up, thus saves the electricity of terminal.
The embodiment of the present invention provides a kind of method for releasing waking up lock up, comprises the following steps:
When closing application process, discharge that described application process holds wakes up lock up;
Determine the associated application process being associated with described application process;
Judge whether described associated application process is held and wake up lock up;
The most then discharge that described associated application process holds wakes up lock up.
Further, after the described associated application process determining and being associated with described application process, it is judged that
Before whether described associated application process is held and waken up lock up, described method also includes:
Judge that described associated application process is the most just at terminal front stage operation;
If it is not, then perform to judge whether described associated application process holds the step waking up lock up.
In embodiments of the present invention, after determining the associated application process being associated with described application process,
Before judging whether described associated application process is held and waken up lock up, described method also includes:
Judge whether described associated application process is to preset application process;
If it is not, then perform to judge whether described associated application process holds the step waking up lock up.
Further, the described step determining the associated application process being associated with described application process is specifically wrapped
Include:
Obtain the user totem information in the application process of described closedown;
The process with identical described user totem information is searched in terminal system;
Determine that described process is described associated application process.
Further, the described step determining the associated application process being associated with described application process is specifically wrapped
Include:
Obtain the process identity information of described application process;
The application process being associated is determined according to described process identity information.
The embodiment of the present invention additionally provides a kind of release device waking up lock up, including: the first release module, really
Cover half block, the first judge module and the second release module;
Described first release module, when being used for closing application process, discharge that described application process holds wakes up up
Lock;
Described determine module, for determining the associated application process being associated with described application process;
Described first judge module, is used for judging whether described associated application process is held and wakes up lock up;
Described second release module, for when described first judge module is judged as YES, discharges described association
What application process was held wakes up lock up.
Further, described device also includes: the second judge module;
Described, described second judge module, for determining that module determines the pass being associated with described application process
After connection application process, described first judge module judges whether described associated application process is held and wakes up lock up
Before, it is judged that described associated application process is the most just at terminal front stage operation;
Described first judge module, specifically for when described second judge module is judged as NO, it is judged that described
Whether associated application process is held wakes up lock up.
In the middle of the embodiment of the present invention, described device also includes: the 3rd judge module;
Described, described 3rd judge module, for determining that module determines the pass being associated with described application process
After connection application process, described first judge module judges whether described associated application process is held and wakes up lock up
Before, it is judged that whether described associated application process is to preset application process;
Described first judge module, specifically for when described 3rd judge module is judged as NO, it is judged that described
Whether associated application process is held wakes up lock up.
Further, described determine that module specifically includes: obtain submodule, search submodule and first true
Stator modules;
Described acquisition submodule, the user totem information in the application process obtaining described closedown;
Described lookup submodule, has entering of identical described user totem information for searching in terminal system
Journey;
Described first determines submodule, is used for determining that described process is described associated application process.
Further, described determine that module specifically includes: second obtains submodule and second determines submodule;
Described second obtains submodule, for obtaining the process identity information of described application process;
Described second determines submodule, for determining that the application being associated is entered according to described process identity information
Journey.
The embodiment of the present invention is first when closing application process, and what release application process was held wakes up lock up, determines
The associated application process being associated with this application process, it is judged that whether above-mentioned associated application process is held wakes up up
Lock, the most then discharge that this associated application process holds wakes up lock up;This programme can close application process
Time, discharge this application process wake up lock up while discharge the application being associated with this application process further
What process was held wakes up lock up, thus decreases the consumption of electricity in terminal, saves the electricity of terminal, enters
And the flying power of terminal can be improved.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those skilled in the art, on the premise of not paying creative work, also
Other accompanying drawing can be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of method for releasing waking up lock up that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of a kind of method for releasing waking up lock up that Fig. 2 provides for the embodiment of the present invention two;
A kind of smart mobile phone that Fig. 3 provides for the embodiment of the present invention three discharges the schematic flow sheet of cpu lock;
The structural representation of a kind of release device waking up lock up that Fig. 4 provides for the embodiment of the present invention four;
Fig. 5 wakes up the structural representation of the release device of lock up 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 clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not making creative labor
The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of method for releasing waking up lock up and device.To carry out specifically respectively below
Bright.
Embodiment one,
The present embodiment will be described from the angle of the release device waking up lock up, and this device specifically can be integrated in
In terminal, this terminal can be mobile internet device (such as smart mobile phone, panel computer), intelligence wearing
Each class of electronic devices such as equipment (such as intelligent watch).
The flow process referring to a kind of method for releasing waking up lock up that Fig. 1, Fig. 1 provide for the embodiment of the present invention one is shown
Being intended to, the method for releasing waking up lock up of the present embodiment includes:
Step S101, when closing application process, what release application process was held wakes up lock up.
Concrete, the out code of user can be received, this instruction comprises the identification information of application process, root
According to above-mentioned out code, close application process and discharge that this application process holds simultaneously wake up lock up.
In embodiments of the present invention, closing after above-mentioned application process, release application process wake up lock up
Before, said method can also include: judges whether this application process is held and wakes up lock up, the most then release should
What application process was held wakes up lock up.Wherein, it is judged that whether this application process holds that to wake up the method for lock up permissible
Have multiple, whether exist in the middle of such as detection terminal and in running order wake up lock up, further
Judge that what whether above-mentioned in running order waking up up existed in lock that this application process holds wakes up lock up, if depositing
Hold in, it is determined that this application process and wake up lock up.It is in wherein it is possible to obtained by the ccf layer of system
The title waking up lock up of duty and the in running order application process title waking up lock correspondence up, need
It is noted that and above-mentioned in running order wake up lock up and may have one, it is also possible to have multiple, work as detection
To in running order wake up up lock have multiple time, obtain the most respectively and multiple wake up the application process name that lock is corresponding up
Claim, it is determined whether exist and corresponding with above-mentioned application process wake up lock up.Whether i.e. judge above-mentioned application process
Hold and wake up the step of lock up and 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 corresponding with above-mentioned application process
Wake up lock up;
If, it is determined that above-mentioned application process is held and is waken up lock up.
Step S102, determines the associated application process being associated with the application process closed.
In the middle of reality application, as a example by smart machine based on Android system, all are all software process
Event triggers what backstage startup voluntarily caused.Because the management of process mechanism of Android system is event-triggered,
When such as starting shooting, when opening certain application process, network when connecting change, electricity deficiency time, time change,
When plugging in, deenergization time etc. the change of these states all can regard an event as, and Android system
After permission program associates these events, such as association power-on event, it is equivalent to our start generally and opens
Move.But Android system can allow a program to associate multiple events, illustrates with Google Maps,
The trigger event of its association has " after start, installation procedure, Uninstaller, more new procedures, plug in "
Etc., any one state in these events changes, and system will run Google Maps by AutoBackground,
Saying when opening Alipay APP for another example, this event, as a trigger event, just can associate startup sky cat
The application processes such as APP, Taobao APP.A lot of softwares are produced self-starting item after installing, can basis
Different trigger conditions start the process of self voluntarily.It addition, the numerous application processes installed on the subscriber terminal
In the middle of, there is relation of interdependence between some application process, such as application process A is same with application process B
During Shi Yunhang, if positive closing application process A, then application process B will be unable to run, then it is believed that be somebody's turn to do
Application process A and application process B belong to association process.
In the middle of the embodiment of the present invention, the identification information of the application process of above-mentioned closedown can be obtained, this mark
Information can be the characteristic information in this application process, such as this application process uid (User Identifier,
User identity proves) information, uid is the mark describing business association point process, and identical services is different
Process typically can use identical uid, thus search and use this uid in the middle of the application process that system background is run
Application process, this application process is above-mentioned associated application process.The most above-mentioned according to the application process closed
Determine that the step of the associated application process being associated with its process can specifically include:
Obtain the identification information in the application process closed;
The process with same identification information is searched in terminal system;
Determine that this process is associated application process.
In the middle of other embodiments of the present invention, it is also possible in default associated application process list search with
The application process that is associated of application process closed, wherein, this associated application process list can be in advance from
The presets list downloaded in server, can include application process and answer with this in this associated application process list
By the information of the application process that process is associated.
Optionally, it is also possible to first determine the application process that user closes identification information (such as application process
Title), this identification information is sent to server, so that server is at default associated application process list
Central lookup identifies corresponding application process mark with this application process, and the application process of this correspondence is identified
Send to user terminal, so that it is determined that associated application process.
Step S103, it is judged that whether associated application process is held wakes up lock up.The most then perform step S104,
If it is not, then perform step S105.
Such as, the identification information of this associated application process can be obtained, look in systems according to this identification information
Look for and corresponding and in running order with this identification information wake up lock up, if existing, it is determined that this associated application
Process is held and is waken up lock up.
Step S104, what release associated application process was held wakes up lock up.
Such as, if judging that above-mentioned associated application process is held to wake up lock up, then discharge this and wake up lock up, so that eventually
The cpu of end can enter deep sleep, thus decreases the consumption of unnecessary battery when on standby electricity,
Increase stand-by time.
Optionally, discharge that this associated application process holds wake up lock up before, receive the confirmation that sends of user
Information, then wakes up lock up according to the release of this confirmation is above-mentioned, such as, generates one and carry in mobile phone screen
Showing window, can comprise associated application progress information in this prompt window, reminding user whether to discharge these should
Lock is waken up up, if user clicks on " confirmation " button, then to calling out that above-mentioned associated application process is held by process
Awake lock discharges;If user clicks on " cancellation " button, the most above-mentioned lock that wakes up up is not further processed.
Step S105, determines that its associated application process is not held and wakes up lock up.
In embodiments of the present invention, it is contemplated that user uses the motility of terminal, the embodiment of the present invention can increase
Add one and control switch, for controlling the open and close of this delivery mode waking up lock up.
Optionally, the delivery mode waking up lock up that the embodiment of the present invention provides can reduce the power consumption of terminal, enters
And increase stand-by time, therefore this processing method can also arrange a dump energy threshold the most in the terminal
Value, when terminal power is less than this predetermined threshold value, automatically opens up this function, such as, when mobile phone electricity is less than
When 20%, mobile phone enters battery saving mode and automatically opens up this function, and wherein the predetermined threshold value of dump energy can root
Sets itself is carried out according to user's request.
From the foregoing, it will be observed that the embodiment of the present invention uses when closing application process, what release application process was held calls out
Wake up and lock, determine the associated application process being associated with this application process, it is judged that above-mentioned associated application process whether
Hold and wake up lock up, the most then discharge that this associated application process holds wakes up lock up;This programme can closed
During application process, discharge this application process wake up lock up while further release relevant to this application process
What the application process of connection was held wakes up lock up, thus decreases the consumption of electricity in terminal, saves terminal
Electricity, 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 done further by the present embodiment
Introducing, with reference to Fig. 2, the method for releasing waking up lock up that the embodiment of the present invention provides includes:
Step S201, when closing application process, what release application process was held wakes up lock up.
Step S202, obtains the user totem information in the application process closed.
Concrete, the uid of this application process can be obtained, as a example by terminal based on Android system, for
Realizing data sharing, android is that each application is nearly all assigned with different uid, and identical services is different
Process typically can use identical uid, concrete, can obtain the attribute information of this application process, wherein,
Above-mentioned attribute information includes the uid of this application process.
Step S203, searches the process with same subscriber identification information in systems;
Step S204, determines that this process is associated application process;
Above-mentioned steps S202-S204 is the process determining associated application process, in actual application process,
Can mutually bind in view of between some application process, now, determine that the application process of binding is associated application
Process, this step can be particularly as follows: obtain the process identity information of described application process;
The application process being associated is determined according to described process identity information.
Step S205, it is judged that associated application process the most just at terminal front stage operation, the most then performs step
S208, if it is not, then perform step S206.
In this step, it is contemplated that user, after closing an application process, may open on foreground and close with it
The application process of connection, is now not required to discharge that this associated application process holds wakes up lock up, sentences so increasing
Disconnected associated application process, the most just in the step of terminal front stage operation, adds convenience.
Step S206, it is judged that whether associated application process is to preset application process, the most then perform step
S208, if it is not, then perform step S207.
In embodiments of the present invention, can pre-build default application process set, this default application process is permissible
For the application process that some are conventional, or the application process that backstage holder lock is not released can be allowed, because of
This judges whether associated application process is that the step presetting application process can specifically include:
Obtain the identification information of this associated application process;
The sample corresponding with this identification information whether is there is in default application process set search;
If not existing, it is determined that this associated application process is not for presetting application process.
Step S207, it is judged that whether associated application process is held wakes up lock up, the most then perform step S209,
If it is not, then perform step S209.
In embodiments of the present invention, it is judged that whether above-mentioned associated application process is held wakes up the method for lock up and can have
Multiple, such as terminal can have been detected whether to wake up lock up in running order, the most then judging should
Wake up up lock be whether with above-mentioned associated application process corresponding to wake up lock up.
Step S208, it is allowed to associated application process is held and waken up lock up.
Such as, when this associated application process just front stage operation in terminal, or judge that this associated application is entered
When journey is for presetting application process, it is allowed to it is held and wakes up lock up.
Step S209, what release associated application process was held wakes up lock up.
Optionally, discharge this associated application process hold when waking up lock up, information can be generated, with
Those wake up lock up and are released to notify user.
Step S210, determines that associated application process is not held and wakes up lock up.
In the embodiment of the present invention, above-mentioned terminal can be, but not limited to smart mobile phone, panel computer, notebook electricity
The intelligent terminal such as brain, wherein, the operating system of this terminal can be that Android operation system, IOS operate system
System, Black Berry operating system etc., the present invention does not limits.
From the foregoing, it will be observed that the embodiment of the present invention uses when closing application process, what release application process was held calls out
Wake up and lock, determine the associated application process being associated with this application process, it is judged that above-mentioned associated application process whether
Hold and wake up lock up, the most then discharge that this associated application process holds wakes up lock up;This programme can closed
During application process, discharge this application process wake up lock up while further release relevant to this application process
What the application process of connection was held wakes up lock up, thus decreases the consumption of electricity in terminal, saves terminal
Electricity, and then the flying power of terminal can be improved, additionally scheme need not increase any device and material
Cost, implements relatively simple.
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, and describing this programme should in reality
It is embodied as step with central, refers to Fig. 3, comprise the following steps:
Step S301, when smart mobile phone closes application process, discharges the cpu lock that this application process is held.
Such as, close application A time, system can find backstage in running order cpu lock in the middle of with A phase
Corresponding, and this cpu lock is discharged.
Step S302, smart mobile phone obtains the uid in the application process of this closedown;
Step S303, smart mobile phone searches the process with identical uid in systems;
Step S304, smart mobile phone determines that this process is associated application process.
Such as, application process A and the process of application process B use identical uid, then closes at application A
After, obtain the uid in the middle of application A process, then further search for having equally in the middle of the process of system above-mentioned
Other processes of uid namely application process B, determine that application process B is associated application process.
Step S305, smart mobile phone judge associated application process the most just at mobile phone front stage operation, the most then
Perform step S308, if it is not, then perform step S306.
Such as, after determining that associated application process is B, it is judged that whether current mobile phone foreground is currently running this
Application process B.
Step S306, smart mobile phone judges that associated application process whether in the middle of white list, the most then performs
Step S308, if it is not, then perform step S307.
Concrete, white list can be set up previously according to user instruction, the application process comprised in this white list
Can be some conventional application processes, or the application that backstage holder lock can be allowed not to be released is entered
Journey;Concrete, this associated application process can be mated with the application process in the middle of white list, if should
The match is successful for application process in the middle of application process and white list, and i.e. this application process is in the middle of white list, institute
To allow this application process to hold cpu lock;If this application process mates mistake with the application process in the middle of white list
Losing, i.e. this application process is not in the middle of white list, so not allowing this application process to hold cpu lock.
Step S307, smart mobile phone judges whether associated application process holds cpu lock, the most then perform step
Rapid S309, if it is not, then perform step S310.
As a example by above-mentioned associated application process B, concrete, whether detection smart mobile phone exists and is in work
The cpu lock of state, if existing, then determine whether this in running order cpu lock be whether with apply into
The cpu lock that journey B is corresponding, if then performing step S309, if it is not, then perform step S310.
Step S308, smart mobile phone allows this associated application process to hold cpu lock.
As a example by above-mentioned associated application process B, if smart mobile phone is current just in this application process B of front stage operation,
Or determine that this application process B in the middle of white list, then allows this application process B to hold cpu lock.
Step S309, the cpu lock that smart mobile phone release associated application process is held.
Optionally, when discharging the cpu lock that this application process is held, information can be generated, with prompting
This cpu of user lock is released.
Step S310, smart mobile phone determines that associated application process does not holds cpu lock, is not further processed.
From the foregoing, it will be observed that the embodiment of the present invention uses when smart mobile phone closes application process, discharge application process
The cpu lock held, determines the associated application process being associated with this application process, it is judged that above-mentioned associated application
Whether process holds cpu lock, the most then discharge the cpu lock that this associated application process is held;This programme is permissible
When mobile phone cuts out application process, discharge while the cpu lock of this application process further release with should
The cpu lock that the application process being associated by process is held, thus decrease the consumption of electricity in terminal, joint
Save the electricity of terminal, and then the flying power of terminal can have been improved, promote Consumer's Experience.
Embodiment four,
In order to preferably implement said method embodiment, present invention also offers a kind of release dress waking up lock up
Put, this device can integrated in the terminal, this terminal can be mobile internet device (as smart mobile phone,
Panel computer), all kinds of intelligent electronic devices such as Intelligent worn device (such as intelligent watch).
As shown in Figure 4, this release device waking up lock up specifically includes: the first release module 401, determine module
402, the first judge module 403 and the second release module 404;
This first release module 401, when being used for closing application process, what release application process was held wakes up lock up;
This determines module 402, the associated application process that the application process for determining with close is associated;
This first judge module 403, is used for judging whether associated application process is held and wakes up lock up;
This second release module 404, for when the first judge module 403 is judged as YES, discharges associated application
What process was held wakes up lock up.
Preferably, as it is shown in figure 5, the release device waking up lock up that the embodiment of the present invention provides can also include:
Second judge module 405 and the 3rd judge module 406;
This second judge module 405, for determining that module 402 determines what the application process with closedown was associated
After associated application process, before the first judge module 403 judges whether associated application process is held and waken up lock up,
Judge that associated application process is the most just at terminal front stage operation;
First judge module 403, specifically for when the second judge module 405 is judged as NO, it is judged that association should
Whether hold by process and wake up lock up;
3rd judge module 406, for determining that module 402 determines what the application process with closedown was associated
After associated application process, before the first judge module 403 judges whether associated application process is held and waken up lock up,
Judge whether associated application process is to preset application process;
First judge module 403, specifically for when the 3rd judge module 406 is judged as NO, it is judged that association should
Whether hold by process and wake up lock up.
In the middle of the embodiment of the present invention, in said apparatus, cover half block 402 can specifically include really: first obtains
Take submodule, lookup submodule and first determines submodule;
This first acquisition submodule, the user totem information in the application process obtaining closedown;
This lookup submodule, for searching the process with same subscriber identification information in terminal system;
This first determines submodule, is used for determining that this process is associated application process.
Optionally, determine that module 402 can also specifically include: second obtains submodule and second determines submodule
Block;
This second acquisition submodule, for obtaining the process identity information of application process;
This second determines submodule, for determining the application process being associated according to process identity information..
From the foregoing, it will be observed that the embodiment of the present invention uses when closing application process, the first release module 401 discharges
What application process was held wakes up lock up, determines that module 402 determines that the associated application being associated with this application process is entered
Journey, the first judge module 403 judges whether above-mentioned associated application process is held and wakes up lock up, the most then by
What two release module 404 discharged that this associated application process holds wakes up lock up;This programme can closedown apply into
Cheng Shi, discharge this application process wake up lock up while further answering of being associated with this application process of release
Waken up up lock with what process held, thus decrease the consumption of electricity in terminal, save the electricity of terminal,
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 arbitrarily
Combination, realizes as same or several entities, and being embodied as of above modules can be found in above
Embodiment of the method, does not repeats them here.
It should be noted that one of ordinary skill in the art will appreciate that in the various methods of above-described embodiment
All or part of step can be by program and completes to instruct relevant hardware, and this program can be stored in
In computer-readable recording medium, as being stored in the memorizer of terminal, and by least one in this terminal
Processor performs, and can include the flow process of the embodiment such as information issuing method in the process of implementation.Wherein, deposit
Storage media may include that read only memory (ROM, Read Only Memory), random access memory
(RAM, Random Access Memory), disk or CD etc..
A kind of method for releasing waking up lock up and the device that there is provided the embodiment of the present invention above have carried out detailed Jie
Continuing, its each functional module can be integrated in one and process in chip, it is also possible to be that the independent physics of modules is deposited
, it is also possible to two or more modules are integrated in a module.Above-mentioned integrated module both can be adopted
Realize by the form of hardware, it would however also be possible to employ the form of software function module realizes.Used herein specifically
Principle and the embodiment of the present invention are set forth by individual example, and the explanation of above example is only intended to help
Understand method and the core concept thereof of the present invention;Simultaneously for those skilled in the art, according to the present invention
Thought, the most all will change, in sum, this specification
Content should not be construed as limitation of the present invention.
Claims (10)
1. the method for releasing waking up lock up, it is characterised in that comprise the following steps:
When closing application process, discharge that described application process holds wakes up lock up;
Determine the associated application process being associated with described application process;
Judge whether described associated application process is held and wake up lock up;
The most then discharge that described associated application process holds wakes up lock up.
2. method for releasing as claimed in claim 1, it is characterised in that determine to enter with described application described
After the associated application process that journey is associated, it is judged that before whether described associated application process is held and waken up lock up,
Described method also includes:
Judge that described associated application process is the most just at terminal front stage operation;
If it is not, then perform to judge whether described associated application process holds the step waking up lock up.
3. method for releasing as claimed in claim 1, it is characterised in that determining and described application process phase
After the associated application process of association, it is judged that before whether described associated application process is held and waken up lock up, described
Method also includes:
Judge whether described associated application process is to preset application process;
If it is not, then perform to judge whether described associated application process holds the step waking up lock up.
4. method for releasing as claimed in claim 1, it is characterised in that described determine and described application process
The step of the associated application process being associated specifically includes:
Obtain the user totem information in the application process of described closedown;
The process with identical described user totem information is searched in terminal system;
Determine that described process is described associated application process.
5. method for releasing as claimed in claim 1, it is characterised in that described determine and described application process
The step of the associated application process being associated specifically includes:
Obtain the process identity information of described application process;
The application process being associated is determined according to described process identity information.
6. the release device waking up lock up, it is characterised in that include the first release module, determine module,
First judge module and the second release module;
Described first release module, when being used for closing application process, discharge that described application process holds wakes up up
Lock;
Described determine module, for determining the associated application process being associated with described application process;
Described first judge module, is used for judging whether described associated application process is held and wakes up lock up;
Described second release module, for when described first judge module is judged as YES, discharges described association
What application process was held wakes up lock up.
Wake up the release device of lock the most as claimed in claim 6 up, it is characterised in that described device also includes:
Second judge module;
Described, described second judge module, for determining that module determines the pass being associated with described application process
After connection application process, described first judge module judges whether described associated application process is held and wakes up lock up
Before, it is judged that described associated application process is the most just at terminal front stage operation;
Described first judge module, specifically for when described second judge module is judged as NO, it is judged that described
Whether associated application process is held wakes up lock up.
Wake up the release device of lock the most as claimed in claim 6 up, it is characterised in that described device also includes:
3rd judge module;
Described, described 3rd judge module, for determining that module determines the pass being associated with described application process
After connection application process, described first judge module judges whether described associated application process is held and wakes up lock up
Before, it is judged that whether described associated application process is to preset application process;
Described first judge module, specifically for when described 3rd judge module is judged as NO, it is judged that described
Whether associated application process is held wakes up lock up.
Wake up the release device of lock the most as claimed in claim 6 up, it is characterised in that described determine that module has
Body includes: the first acquisition submodule, lookup submodule and first determine submodule;
Described first obtains submodule, the user totem information in the application process obtaining described closedown;
Described lookup submodule, has entering of identical described user totem information for searching in terminal system
Journey;
Described first determines submodule, is used for determining that described process is described associated application process.
Wake up the release device of lock the most as claimed in claim 6 up, it is characterised in that described determine module
Specifically include: second obtains submodule and second determines submodule;
Described second obtains submodule, for obtaining the process identity information of described application process;
Described second determines submodule, for determining that the application being associated is entered according to described process identity information
Journey.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379891.5A CN106020426B (en) | 2016-05-31 | 2016-05-31 | A kind of method for releasing and device waking up lock |
PCT/CN2017/086474 WO2017206877A1 (en) | 2016-05-31 | 2017-05-29 | Wakeup lock releasing method and apparatus, storage medium, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379891.5A CN106020426B (en) | 2016-05-31 | 2016-05-31 | A kind of method for releasing and device waking up lock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106020426A true CN106020426A (en) | 2016-10-12 |
CN106020426B CN106020426B (en) | 2018-12-11 |
Family
ID=57092094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610379891.5A Active CN106020426B (en) | 2016-05-31 | 2016-05-31 | A kind of method for releasing and device waking up lock |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106020426B (en) |
WO (1) | WO2017206877A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017206877A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | Wakeup lock releasing method and apparatus, storage medium, and electronic device |
CN109375959A (en) * | 2018-09-28 | 2019-02-22 | 北京小米移动软件有限公司 | Orient the method and device of pull-up application |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110018885B (en) * | 2017-12-29 | 2021-06-01 | Oppo广东移动通信有限公司 | Application program freezing method and device, storage medium and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140173319A1 (en) * | 2011-08-31 | 2014-06-19 | Zte Corporation | Method and Device for Monitoring Power Consumption of Application in Android Terminal |
CN104503841A (en) * | 2014-12-15 | 2015-04-08 | 北京奇虎科技有限公司 | Process clearing method and process clearing device |
CN104808767A (en) * | 2015-03-31 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal control method |
CN105468426A (en) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | Application freezing method and terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104166542B (en) * | 2013-05-17 | 2018-01-05 | 腾讯科技(深圳)有限公司 | The method and apparatus that power consumption is applied in detection |
CN106020426B (en) * | 2016-05-31 | 2018-12-11 | 广东欧珀移动通信有限公司 | A kind of method for releasing and device waking up lock |
-
2016
- 2016-05-31 CN CN201610379891.5A patent/CN106020426B/en active Active
-
2017
- 2017-05-29 WO PCT/CN2017/086474 patent/WO2017206877A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140173319A1 (en) * | 2011-08-31 | 2014-06-19 | Zte Corporation | Method and Device for Monitoring Power Consumption of Application in Android Terminal |
CN104503841A (en) * | 2014-12-15 | 2015-04-08 | 北京奇虎科技有限公司 | Process clearing method and process clearing device |
CN104808767A (en) * | 2015-03-31 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal control method |
CN105468426A (en) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | Application freezing method and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017206877A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | Wakeup lock releasing method and apparatus, storage medium, and electronic device |
CN109375959A (en) * | 2018-09-28 | 2019-02-22 | 北京小米移动软件有限公司 | Orient the method and device of pull-up application |
CN109375959B (en) * | 2018-09-28 | 2022-03-25 | 北京小米移动软件有限公司 | Method and device for directionally pulling up application |
Also Published As
Publication number | Publication date |
---|---|
CN106020426B (en) | 2018-12-11 |
WO2017206877A1 (en) | 2017-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104221445B (en) | A kind of method and terminal waking up terminal system | |
CN106055077A (en) | Wake-up lock-based processing method and device | |
CN106256116A (en) | A kind of method controlling application program and terminal | |
CN107844342B (en) | Control method and device for keeping application program alive, storage medium and mobile terminal | |
CN106020415B (en) | Application control method and device under smart machine standby mode | |
CN103164229A (en) | Method and device for clearing progresses of mobile terminal | |
CN106055073A (en) | Processing method and device based on screen-lighting lock | |
CN103365399A (en) | Control method and device for application object of mobile terminal | |
CN104503828A (en) | Process management method and terminal | |
CN106060909A (en) | Network access method and mobile terminal | |
CN106168902A (en) | Awakening control method, device and equipment | |
CN105700663A (en) | Background program cleaning method and system for mobile terminal | |
CN106201574A (en) | A kind of startup method and device of application interface | |
CN105388990A (en) | Power saving processing method and apparatus for terminal device | |
CN106102142B (en) | terminal data processing method and device | |
CN105487635A (en) | Management method of applications running in background, and terminal | |
CN108804294A (en) | Method, apparatus, equipment and the computer readable storage medium that electricity is reminded | |
CN106020426A (en) | Releasing method and device for awakening locks | |
CN106022108A (en) | Synchronous management method and terminal device | |
CN105005740A (en) | Method and system for controlling terminal application | |
CN106020907A (en) | Application shut-down method and device | |
CN103902011A (en) | Electronic device controlling method and electronic device | |
CN104866782A (en) | Data processing method and apparatus | |
CN106293709A (en) | The management method of application program, managing device and terminal | |
CN103905652A (en) | Power supply management method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |