CN105530377B - It is a kind of to wake up the processing method locked, apparatus and system - Google Patents

It is a kind of to wake up the processing method locked, apparatus and system Download PDF

Info

Publication number
CN105530377B
CN105530377B CN201510932897.6A CN201510932897A CN105530377B CN 105530377 B CN105530377 B CN 105530377B CN 201510932897 A CN201510932897 A CN 201510932897A CN 105530377 B CN105530377 B CN 105530377B
Authority
CN
China
Prior art keywords
wake
lock
arithmetic
terminal
transfer request
Prior art date
Application number
CN201510932897.6A
Other languages
Chinese (zh)
Other versions
CN105530377A (en
Inventor
闫森
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201510932897.6A priority Critical patent/CN105530377B/en
Publication of CN105530377A publication Critical patent/CN105530377A/en
Application granted granted Critical
Publication of CN105530377B publication Critical patent/CN105530377B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72522With means for supporting locally a plurality of applications to increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 – G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements

Abstract

The embodiment of the invention discloses a kind of processing methods for waking up lock, apparatus and system, belong to field of computer technology.The described method includes: having detected whether that wake-up lock is in running order, if so, obtaining wake up parameter corresponding with the wake-up lock, the wake up parameter includes and corresponding arithmetic operation, application program corresponding with the wake-up lock are locked in the wake-up;Judge whether arithmetic operation corresponding with the wake-up lock needs the sensor of terminal;Transfer request is waken up if it is not, then generating according to the wake up parameter, the wake-up transfer request is sent to server and discharges the wake-up and is locked, the server is for executing arithmetic operation corresponding with the wake-up lock;The wakeup message that server is sent is received, terminal is waken up according to the wakeup message.Using the present invention, it is possible to reduce application program occupies the time of system after terminal display screen closing, reduces power consumption of the terminal in the case where display screen is closed, increases the stand-by time of terminal.

Description

It is a kind of to wake up the processing method locked, apparatus and system

Technical field

The present invention relates to field of computer technology more particularly to a kind of processing methods for waking up lock, apparatus and system.

Background technique

With the development of terminal technology, due to the raising of processing capacity, the becoming larger of screen size, the promotion of resolution ratio, add Upper network supports the fast wireless networks such as WIFI, 3G, 4G, therefore the problem that the generally existing power consumption rate of terminal is fast simultaneously, for example, The longest stand-by time of many smart phones reduced user experience less than one day.Also, as more and more applications are collected It closes at the terminal, when terminal is in standby, certain application application programs can apply for a wake-up lock, prevent mobile phone from entering Sleep pattern, thus continue in the corresponding business of background process, only after terminal system has handled its service request or After the application program is closed, wake-up lock can be just discharged, terminal is allowed to enter dormant state.For example, one is based on flight The prompting of information, prompting trigger unit therein can apply for a lock in the state that terminal goes out screen, and real-time detection is corresponding The trigger condition whether Flight Information (such as whether be delayed, whether cancel) meets prompting, the terminal for being cannot be introduced into suspend mode shape State causes the loss of electricity.

Therefore, the frequent use that lock is waken up in traditional technology will lead to terminal cannot locate in certain unnecessary situations In dormant state, the CPU so as to cause terminal is constantly in operating condition, increases the power consumption of terminal, reduces terminal Cruise duration.

Summary of the invention

Based on this, for solve to wake up in traditional technology mentioned above lock it is frequent it is excessive using bring power consumption of terminal, The technical issues of cruise duration is reduced, the present invention provides a kind of processing methods for waking up lock, apparatus and system.The technical side Case is as follows:

According to a first aspect of the present invention, a kind of processing method for waking up lock is provided, which comprises

Detect whether that wake-up lock is in running order, if so, obtaining wake up parameter corresponding with the wake-up lock, institute State that wake up parameter includes and corresponding arithmetic operation, application program corresponding with the wake-up lock are locked in the wake-up;

Judge whether arithmetic operation corresponding with the wake-up lock needs the sensor of terminal;

Transfer request is waken up if it is not, then generating according to the wake up parameter, the wake-up transfer request is sent to service Device simultaneously discharges the wake-up lock, and the server is for executing arithmetic operation corresponding with the wake-up lock;

The wakeup message that server is sent is received, terminal is waken up according to the wakeup message.

Optionally, described to detect whether to wake up before locking in running order step, the method also includes: detection Display screen close event;When detecting display screen close event, detect whether that wake-up lock is in running order described in execution The step of.

Optionally, described to detect whether to wake up the in running order step of lock further include: the wake-up detected The quantity of lock is at least two;The step of acquisition locks corresponding wake up parameter with the wake-up further include: described in obtaining respectively Wake up parameter corresponding with described at least two wake-up lock;It is described to judge whether arithmetic operation corresponding with the wake-up lock needs The step of sensor of terminal further include: search the wake-up lock that the arithmetic operation does not need the sensor of terminal, and be added to Wake up processing list;It is described that the step of waking up transfer request is generated according to the wake up parameter further include: at the wake-up It manages list and the wake up parameter generates the wake-up transfer request.

Optionally, the wake up parameter further includes the account information for logging in the application program;The reception server hair The step of wakeup message sent further include: receive the wakeup message that server is sent to the corresponding terminal of the account information.

According to a second aspect of the present invention, a kind of processing unit for waking up lock is provided, described device includes:

It wakes up lock and obtains module, for detecting whether having wake-up lock in running order, if so, obtaining and the wake-up Lock corresponding wake up parameter, the wake up parameter includes locking corresponding arithmetic operation, corresponding with the wake-up lock with the wake-up Application program;

Judgment module, for judging whether arithmetic operation corresponding with the wake-up lock needs the sensor of terminal;

Lock release module is waken up, for not needing the sensor of terminal in the arithmetic operation corresponding with the wake-up lock When, then it is generated according to the wake up parameter and wakes up transfer request, the wake-up transfer request is sent to server and discharges institute Wake-up lock is stated, the server is for executing arithmetic operation corresponding with the wake-up lock;

Wakeup message receiving module wakes up eventually for receiving the wakeup message of server transmission according to the wakeup message End.

Optionally, described device further includes display screen close event detection module, is used for: detection display screen close event; When detecting display screen close event, detects whether to wake up described in execution and lock in running order step.

Optionally, the quantity of the wake-up lock detected is at least two;The wake-up lock obtains module and is also used to: point It Huo Qu not the wake up parameter corresponding with described at least two wake-up lock;The judgment module is also used to: searching the operation behaviour The wake-up lock of the sensor of terminal is not needed, and is added to wake-up processing list;The wake-up lock release module is also used to: root List is handled according to the wake-up and the wake up parameter generates the wake-up transfer request.

Optionally, the wake up parameter further includes the account information for logging in the application program;The wakeup message receives Module is also used to: receiving the wakeup message that server is sent to the corresponding terminal of the account information.

According to a third aspect of the present invention, a kind of processing method for waking up lock is provided, which comprises

The wake-up transfer request that terminal is sent is received, the wake-up transfer request includes that operation corresponding with lock is waken up is grasped Make, application program corresponding with the wake-up lock;

The arithmetic operation corresponding with the wake-up lock is executed according to the wake-up transfer request;

After the arithmetic operation corresponding with the wake-up lock is finished, is generated and waken up according to the arithmetic operation Information and sending gives the terminal, and the terminal is used to wake up terminal according to the wakeup message.

Optionally, the wake-up transfer request further includes waking up processing list;It is described to be held according to the wake-up transfer request The step of locking corresponding arithmetic operation with the wake-up described in row further include: list is handled according to the wake-up, executes institute respectively It states and wakes up the corresponding arithmetic operation of all list elements that processing list is included.

Optionally, the wake-up transfer request further includes the account information for logging in the application program;It is described according to The step of arithmetic operation generates wakeup message and is sent to the terminal further include: be sent to the wakeup message described all Log in the terminal of the account information.

According to a fourth aspect of the present invention, a kind of processing unit for waking up lock is provided, described device includes:

Transfer request receiving module is waken up, for receiving the wake-up transfer request of terminal transmission, the wake-up transfer request Including and wake up the corresponding arithmetic operation of lock, application program corresponding with the wake-up lock;

Arithmetic operation execution module, for executing the fortune corresponding with the wake-up lock according to the wake-up transfer request Calculate operation;

Wakeup message sending module, for after the arithmetic operation corresponding with the wake-up lock is finished, root Wakeup message is generated according to the arithmetic operation and is sent to the terminal, and the terminal is used to be waken up eventually according to the wakeup message End.

Optionally, the wake-up transfer request further includes waking up processing list;The arithmetic operation execution module is also used to: List is handled according to the wake-up, executes the corresponding operation behaviour of all list elements for waking up and handling that list is included respectively Make.

Optionally, the wake-up transfer request further includes the account information for logging in the application program;The wakeup message Sending module is also used to: the wakeup message is sent to all terminals for logging in the account information.

According to a fifth aspect of the present invention, a kind of processing system for waking up lock is provided, the system comprises servers and end End, in which:

The server is for executing as described in the various further schemes of first aspect present invention or first aspect Wake-up lock processing method;

The terminal is for executing as described in the various further schemes of third aspect present invention or the third aspect Wake up the processing method of lock.

Implement the embodiment of the present invention, will have the following beneficial effects:

After the processing method of above-mentioned wake-up lock, apparatus and system, after the display screen of terminal is closed, according to Application program wake-up lock holds over terminal system and continues the sensor or hard whether arithmetic operation needs terminal Task of other equipment can be transferred to complete is consigned to server and executed by part equipment, and discharges wake-up lock, so that eventually Suspend mode as much as possible is held, the time that application program occupies system after display screen closing is reduced, reduces terminal aobvious Power consumption in the case where display screen closing, increases the stand-by time of terminal, the user experience is improved.

Detailed description of the invention

In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.

Wherein:

Fig. 1 is a kind of system schematic for the processing system for waking up lock in one embodiment;

Fig. 2 is a kind of interactive process schematic diagram for the treatment mechanism for waking up lock in one embodiment;

Fig. 3 is a kind of flow diagram of the processing method of the wake-up lock based on terminal in one embodiment;

Fig. 4 is a kind of flow diagram of the processing method of the wake-up lock based on server in one embodiment;

Fig. 5 is a kind of structural schematic diagram of the processing unit of the wake-up lock of terminal in one embodiment;

Fig. 6 is a kind of structural schematic diagram of the processing unit of the wake-up lock of server in one embodiment.

Specific embodiment

Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.

To solve the frequent excessive, cruise duration using bring power consumption of terminal for waking up lock in traditional technology mentioned above The technical issues of reduction, a kind for the treatment of mechanism for waking up lock is present embodiments provided, the treatment mechanism of wake-up lock can run on In computer system as shown in Figure 1, processing method and run on service that a kind of wake-up including running on terminal 10 is locked A kind of processing method of wake-up lock of device 20, the interactive process for waking up the treatment mechanism of lock are as shown in Figure 2.

The execution of the above method can be dependent on computer realization, can run on the computer system based on von Neumann system On.The computer system can be the smart phone for being equipped with Android system, tablet computer, palm PC, laptop or The terminal devices such as PC.

Specifically, running on a kind of processing method of wake-up lock of terminal 10 as shown in figure 3, including the following steps:

Step S102: detected whether that wake-up lock is in running order, if so, obtaining call out corresponding with the wake-up lock Awake parameter, the wake up parameter includes and corresponding arithmetic operation, application program corresponding with the wake-up lock are locked in the wake-up.

Specifically, an interval time can be preset, self terminal booting is just according to the interval time periodically to mobile whole End carries out having detected whether that wake-up lock is in running order, which can be fixed, and be also possible to unfixed.It should Preset interval time can be systemic presupposition, can also be configured according to their own needs by user.For example, terminal is pacified Dress using it is more when, can will be arranged interval time shorter, the frequency of detection is just high;If installation application program compared with Lack, can will be arranged interval time to grow a bit.

It should be noted that in the present embodiment, detecting whether to wake up and locking in running order movement, can also be After display screen closing, the initial of suspend mode can be attempted in system in this way, just relevant wake-up lock is handled.Namely It says, before step S102, optional step further include: detection display screen close event.And detecting display screen closing When event, step S102 is executed.

If having detected, wake-up lock is in running order, obtains application program corresponding with lock is waken up, application program Shen It please wake up the wake up parameter such as the arithmetic operation that lock needs to carry out.Specifically, by frame (Framework) layer of system to each Application program occupies the concrete condition for waking up and locking and is detected, and obtains each application program and occupy the fortune that wake-up lock needs to carry out Operation or other wake up parameter are calculated, for example, in running order wake-up lock title and in running order wake-up lock Corresponding application name, the account information for logging in the application program etc..

It should be noted that in running order wake-up lock may be one, it is also possible to be multiple.It is waking up lock In the case where multiple, when obtaining with wake-up lock corresponding wake up parameter, obtain wake up lock pair with each respectively The wake up parameter answered.

Step S104: judge whether arithmetic operation corresponding with the wake-up lock needs the sensor of terminal;If it is not, then holding Row step S106: it is generated according to the wake up parameter and wakes up transfer request, the wake-up transfer request is sent to server simultaneously The wake-up lock is discharged, the server is for executing arithmetic operation corresponding with the wake-up lock;If so, thening follow the steps S108: it is not processed.

Specifically, application program, which wakes up lock, holds over the tool that terminal system carries out calculation process or background process Gymnastics is made, respectively two kinds of situations, first is that the processing must be completed by terminal, for example, the concrete operations are to rely on terminal It is bluetooth equipment or the GPS device for needing using terminal or the photosensitive sensor for needing using terminal;Another feelings Condition is that above-mentioned concrete operations can be completed by other equipment, that is to say, that the completion of the operation and the sensor of terminal or Other hardware devices are not associated, if the specific effect for not influencing to complete are completed by terminal, in this case, just Aforesaid operations can be consigned to server or cloud to complete.

When arithmetic operation corresponding with the wake-up lock does not need the sensor of terminal, terminal is called out according to what the wake-up was locked Parameter of waking up (including and wake-ups lock the parameters such as corresponding arithmetic operation, application program corresponding with the wake-up lock), generation Transfer request is waken up, the wake-up transfer request is then sent to server, above-mentioned application program is continued by server and is called out The arithmetic operation that lock of waking up needs to carry out.

It should be noted that be sent to correlation operation after server handled by server in terminal, The wake-up lock that application program itself occupies can discharge or compulsive unlocking, so as to reduce application program in the aobvious of terminal Display screen close after occupied terminal system so as to cause power consumption phenomenon.

It should be noted that in the case where the quantity more than one of in running order wake-up lock, in step S104 It is middle to judge that each wakes up whether the corresponding arithmetic operation of lock needs the sensor of terminal then not need terminal respectively The wake-up of sensor is locked, and is added in wake-up processing list.Waking up processing list is that can not call out what terminal was operated The set of awake lock can as consign to the set that server carries out the wake-up lock of arithmetic operation.Further, terminal according to During wake up parameter generates wake-up transfer request, it is also necessary to corresponding wake-up processing list are added to the wake-up and shifted In request.

After terminal executes step S102-S108, as terminal will be waken up after transfer request is sent to server, clothes Business device can receive the wake-up transfer request that terminal is sent in network side.Specifically, terminal execute the step S102-S108 it Afterwards, as shown in figure 4, server executes following steps:

Step S202: receiving the wake-up transfer request that terminal is sent, and the wake-up transfer request includes corresponding with lock is waken up Arithmetic operation, application program corresponding with the wake-up lock.

Step S204: the arithmetic operation corresponding with the wake-up lock is executed according to the wake-up transfer request.

Step S206: it after the arithmetic operation corresponding with the wake-up lock is finished, is grasped according to the operation Make to generate wakeup message and be sent to the terminal, the terminal is used to wake up terminal according to the wakeup message.

When server detects that network-side has the wake-up transfer request sent by terminal, the request is received, and solve The relevant parameter that the request includes is analysed, specifically, containing answering of needing server to be handled in the wake-up transfer request The arithmetic operation and other necessary parameters for waking up that lock needs to be implemented are occupied with program.Then according to the wake request, response The request of terminal occupies the arithmetic operation for waking up lock and needing to be implemented instead of terminal executing application.Turn being finished to wake up It moves after the arithmetic operation that server required for requesting executes, needs corresponding implementing result returning to terminal, is i.e. generation pair The wakeup message answered simultaneously is sent to terminal.In the present embodiment, wakeup message includes the arithmetic operation executed and corresponding Operation result.

It should be noted that in the present embodiment, the wake-up transfer request that terminal is sent can also include waking up processing column Table, meanwhile, optional step further include: described that the fortune corresponding with the wake-up lock is executed according to the wake-up transfer request Calculate operation the step of further include: according to wake-ups handle list, execute respectively it is described wake up processing list included own The corresponding arithmetic operation of list element.

Specifically, lock because waking up there may be multiple situations, judge that the wake-up lock is corresponding in terminal When calculation process there can be server to be handled, wake-up lock is added in wake-up processing list, is added simultaneously What is entered further includes having wake up parameter corresponding with wake-up lock.Therefore, server is after receiving wake-up transfer request, root According to the wake-up lock for including in processing list is waken up, arithmetic operation corresponding with each above-mentioned wake-up lock is separately or concurrently executed.

In addition, in step s 102, if terminal when obtaining with lock corresponding wake up parameter is waken up, the content of acquisition It include when logging in the account information of the application program, server is when executing step S206, it is also necessary to will be with this It wakes up the corresponding wakeup message of lock and is sent to all terminals for having logged in above-mentioned account information.That is, in user more When having logged in above-mentioned account information in a smart phone, tablet computer or other equipment, above-mentioned multiple equipment all can Wakeup message is received, and is not limited solely to send the terminal for waking up transfer request.So that the more equipment of user connect Above-mentioned message is received, in case user misses above-mentioned message.

After server executes the step S202-S206, corresponding processing result can return to terminal, terminal can be Network side receives the message that server is sent.Specifically, terminal continues to execute following steps:

Step S110: receiving the wakeup message that server is sent, and wakes up terminal according to the wakeup message.

After the wakeup message that terminal receives server transmission, executed according to the server for including in wakeup message Arithmetic operation and arithmetic operation results wake up terminal, and corresponding result are returned to specific application program and is handled.

It should be noted that server sends wakeup message in the case where application program is situation relevant to account information To all terminals for logging in account information, that is to say, that terminal can receive server and be sent to login account information This terminal.

In addition, in order to solve to wake up in traditional technology mentioned above lock it is frequent it is excessive using bring power consumption of terminal, The technical issues of cruise duration is reduced, as shown in figure 5, the present embodiment additionally provides a kind of processing dress of wake-up lock based on terminal It sets, including wakes up lock and obtain module 102, judgment module 104, wake up lock release module 106 and wakeup message receiving module 108, in which:

Wake up lock obtain module 102, for detecting whether have wake-up lock it is in running order, if so, obtain with it is described It wakes up and locks corresponding wake up parameter, the wake up parameter includes that arithmetic operation corresponding with the wake-up lock and the wake-up are locked Corresponding application program;

Judgment module 104, for judging whether arithmetic operation corresponding with the wake-up lock needs the sensor of terminal;

Lock release module 106 is waken up, for not needing the biography of terminal in the arithmetic operation corresponding with the wake-up lock When sensor, is then generated according to the wake up parameter and wake up transfer request, the wake-up transfer request is sent to server and is released The wake-up lock is put, the server is for executing arithmetic operation corresponding with the wake-up lock;

Wakeup message receiving module 108 wakes up for receiving the wakeup message of server transmission according to the wakeup message Terminal.

Optionally, in the present embodiment, as shown in figure 5, described device further includes display screen close event detection module 110, it is used for: detection display screen close event;When detecting display screen close event, calls and wake up lock acquisition module 102.

Optionally, in the present embodiment, the quantity of the wake-up lock detected is at least two;The wake-up lock obtains Module 102 is also used to: obtaining the wake up parameter corresponding with described at least two wake-up lock respectively;The judgment module 104 is also For: the wake-up for searching the sensor that the arithmetic operation does not need terminal is locked, and is added to wake-up processing list;The wake-up Lock release module 106 is also used to: handling list according to the wake-up and the wake up parameter generates the wake-up transfer request.

Optionally, in the present embodiment, the wake up parameter further includes the account information for logging in the application program;It is described Wakeup message receiving module 108 is also used to: receiving the wakeup message that server is sent to the corresponding terminal of the account information.

In addition, in order to solve to wake up in traditional technology mentioned above lock it is frequent it is excessive using bring power consumption of terminal, The technical issues of cruise duration is reduced, as shown in fig. 6, the present embodiment additionally provides a kind of processing of wake-up lock based on server Device, including transfer request receiving module 202, arithmetic operation execution module 204 and wakeup message sending module 206 are waken up, Wherein:

Transfer request receiving module 202 is waken up, for receiving the wake-up transfer request of terminal transmission, the wake-up transfer is asked Ask including and wake up the corresponding arithmetic operation of lock, application program corresponding with the wake-up lock;

Arithmetic operation execution module 204, it is described corresponding with the wake-up lock for being executed according to the wake-up transfer request Arithmetic operation;

Wakeup message sending module 206, for after the arithmetic operation corresponding with the wake-up lock is finished, Wakeup message is generated according to the arithmetic operation and is sent to the terminal, and the terminal is used to be waken up according to the wakeup message Terminal.

Optionally, in the present embodiment, the wake-up transfer request further includes waking up processing list;The arithmetic operation is held Row module 204 is also used to: being handled list according to the wake-up, is executed all lists for waking up processing list and being included respectively The corresponding arithmetic operation of element.

Optionally, in the present embodiment, the wake-up transfer request further includes the account information for logging in the application program; The wakeup message sending module 206 is also used to: the wakeup message is sent to all ends for logging in the account information End.

Implement the embodiment of the present invention, will have the following beneficial effects:

After the processing method of above-mentioned wake-up lock, apparatus and system, after the display screen of terminal is closed, according to Application program wake-up lock holds over terminal system and continues the sensor or hard whether arithmetic operation needs terminal Task of other equipment can be transferred to complete is consigned to server and executed by part equipment, and discharges wake-up lock, so that eventually Suspend mode as much as possible is held, the time that application program occupies system after display screen closing is reduced, reduces terminal aobvious Power consumption in the case where display screen closing, increases the stand-by time of terminal, the user experience is improved.

The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (15)

1. a kind of processing method for waking up lock characterized by comprising
Detect whether that wake-up lock is in running order, if so, wake up parameter corresponding with the wake-up lock is obtained, it is described to call out Awake parameter includes and corresponding arithmetic operation, application program corresponding with the wake-up lock are locked in the wake-up;
Judge whether arithmetic operation corresponding with the wake-up lock needs the sensor of terminal;
Transfer request is waken up if it is not, then generating according to the wake up parameter, the wake-up transfer request is sent to server simultaneously Discharge the wake-up lock, wherein the wake-up transfer request includes arithmetic operation corresponding with lock is waken up and wake-up lock pair The application program answered;The server is for executing arithmetic operation corresponding with the wake-up lock;Receive the institute that server is sent Server is stated to be disappeared after arithmetic operation corresponding with the wake-up lock is finished according to the wake-up that the arithmetic operation generates Breath wakes up terminal according to the wakeup message.
2. the processing method according to claim 1 for waking up lock, which is characterized in that described to have detected whether that waking up lock is in Before the step of working condition, the method also includes:
Detect display screen close event;
When detecting display screen close event, detects whether to wake up described in execution and lock in running order step.
3. the processing method according to claim 1 for waking up lock, which is characterized in that described to have detected whether that waking up lock is in The step of working condition further include:
The quantity of the wake-up lock detected is at least two;
The step of acquisition locks corresponding wake up parameter with the wake-up further include: obtain described and described at least two respectively It wakes up and locks corresponding wake up parameter;
It is described that the step of whether arithmetic operation corresponding with the wake-up lock needs the sensor of terminal judged further include: to search institute The wake-up lock that arithmetic operation does not need the sensor of terminal is stated, and is added to wake-up processing list;
It is described that the step of waking up transfer request is generated according to the wake up parameter further include: list and institute are handled according to the wake-up It states wake up parameter and generates the wake-up transfer request.
4. the processing method according to claim 1 for waking up lock, which is characterized in that the wake up parameter further includes logging in institute State the account information of application program;
Described the step of receiving the wakeup message that server is sent further include: it is corresponding that reception server is sent to the account information Terminal wakeup message.
5. a kind of processing unit for waking up lock characterized by comprising
It wakes up lock and obtains module, for detecting whether having wake-up lock in running order, if so, obtaining and wake-up lock pair The wake up parameter answered, the wake up parameter includes and the wake-up is locked corresponding arithmetic operation, corresponding with the wake-up lock answered Use program;
Judgment module, for judging whether arithmetic operation corresponding with the wake-up lock needs the sensor of terminal;
Lock release module is waken up, for when the arithmetic operation corresponding with the wake-up lock does not need the sensor of terminal, It is then generated according to the wake up parameter and wakes up transfer request, the wake-up transfer request is sent to described in server and release and is called out It wakes up and locks, wherein the wake-up transfer request includes and wake-up locks corresponding arithmetic operation, is corresponding with the wake-up lock using journey Sequence;The server is for executing arithmetic operation corresponding with the wake-up lock;
Wakeup message receiving module, the server for receiving server transmission are grasped in operation corresponding with the wake-up lock After being finished, according to the wakeup message that the arithmetic operation generates, terminal is waken up according to the wakeup message.
6. the processing unit according to claim 5 for waking up lock, which is characterized in that described device further includes that display screen is closed Event checking module is used for:
Detect display screen close event;
When detecting display screen close event, detects whether to wake up described in execution and lock in running order step.
7. the processing unit according to claim 5 for waking up lock, which is characterized in that the quantity of the wake-up lock detected For at least two;
The wake-up lock obtains module and is also used to: obtaining the wake up parameter corresponding with described at least two wake-up lock respectively;
The judgment module is also used to: being searched the wake-up lock that the arithmetic operation does not need the sensor of terminal, and is added to and calls out It wakes up and handles list;
The wake-up lock release module is also used to: handling list according to the wake-up and the wake up parameter generates described wake up and turns Move request.
8. the processing unit according to claim 5 for waking up lock, which is characterized in that the wake up parameter further includes logging in institute State the account information of application program;
The wakeup message receiving module is also used to: the wake-up that reception server is sent to the corresponding terminal of the account information disappears Breath.
9. a kind of processing method for waking up lock characterized by comprising
Receive the wake-up transfer request that terminal is sent, the wake-ups transfer request include with wake up the corresponding arithmetic operation of lock and Corresponding application program is locked in the wake-up;The wake-up transfer request is generated according to wake up parameter, the wake up parameter include with Corresponding arithmetic operation, application program corresponding with the wake-up lock are locked in running order wake-up;
The arithmetic operation corresponding with the wake-up lock is executed according to the wake-up transfer request;
After the arithmetic operation corresponding with the wake-up lock is finished, wakeup message is generated according to the arithmetic operation And it is sent to the terminal, the terminal is used to wake up terminal according to the wakeup message.
10. the processing method according to claim 9 for waking up lock, which is characterized in that the wake-up transfer request further includes Wake up processing list;
It is described that described the step of locking corresponding arithmetic operation with the wake-up is executed according to the wake-up transfer request further include:
List is handled according to the wake-up, executes the corresponding fortune of all list elements for waking up processing list and being included respectively Calculate operation.
11. the processing method according to claim 9 for waking up lock, which is characterized in that the wake-up transfer request further includes Log in the account information of the application program;
Described the step of generating wakeup message according to the arithmetic operation and be sent to the terminal further include: the wake-up disappears Breath is sent to all terminals for logging in account information.
12. a kind of processing unit for waking up lock characterized by comprising
Transfer request receiving module is waken up, for receiving the wake-up transfer request of terminal transmission, the wake-up transfer request includes And it wakes up and locks corresponding arithmetic operation, application program corresponding with the wake-up lock;The wake-up transfer request is joined according to wake-up Number generates, and the wake up parameter includes locking corresponding arithmetic operation, corresponding with the wake-up lock in running order wake-up Application program;
Arithmetic operation execution module is grasped for executing the operation corresponding with the wake-up lock according to the wake-up transfer request Make;
Wakeup message sending module, for after the arithmetic operation corresponding with the wake-up lock is finished, according to institute It states arithmetic operation to generate wakeup message and be sent to the terminal, the terminal is used to wake up terminal according to the wakeup message.
13. the processing unit according to claim 12 for waking up lock, which is characterized in that the wake-up transfer request further includes Wake up processing list;
The arithmetic operation execution module is also used to: being handled list according to the wake-up, is executed the wake-up processing list respectively The corresponding arithmetic operation of all list elements for being included.
14. the processing unit according to claim 12 for waking up lock, which is characterized in that the wake-up transfer request further includes Log in the account information of the application program;
The wakeup message sending module is also used to: the wakeup message is sent to all login account information Terminal.
15. a kind of processing system for waking up lock, including terminal and server, in which:
The terminal is used to execute the processing method of the wake-up lock as described in Claims 1-4 is any;
The server is used to execute the processing method of the wake-up lock as described in claim 9 to 11 is any.
CN201510932897.6A 2015-12-14 2015-12-14 It is a kind of to wake up the processing method locked, apparatus and system CN105530377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510932897.6A CN105530377B (en) 2015-12-14 2015-12-14 It is a kind of to wake up the processing method locked, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510932897.6A CN105530377B (en) 2015-12-14 2015-12-14 It is a kind of to wake up the processing method locked, apparatus and system

Publications (2)

Publication Number Publication Date
CN105530377A CN105530377A (en) 2016-04-27
CN105530377B true CN105530377B (en) 2019-03-15

Family

ID=55772342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510932897.6A CN105530377B (en) 2015-12-14 2015-12-14 It is a kind of to wake up the processing method locked, apparatus and system

Country Status (1)

Country Link
CN (1) CN105530377B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055077A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Wake-up lock-based processing method and device
CN106095419A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 Wake up lock method for releasing and device up
CN106055073B (en) * 2016-05-31 2019-02-26 Oppo广东移动通信有限公司 A kind for the treatment of method and apparatus based on bright screen lock
CN106200880A (en) * 2016-07-27 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control mechanism and terminal
CN107608724A (en) * 2017-09-26 2018-01-19 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for managing application program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103402027A (en) * 2013-07-29 2013-11-20 广东欧珀移动通信有限公司 Mobile terminal and method for putting same into sleeping state
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
WO2015126647A1 (en) * 2014-02-20 2015-08-27 Qualcomm Incorporated Wake lock management through application monitoring

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105474125B (en) * 2013-09-27 2019-01-01 英特尔公司 For tracking the technology for waking up locking and using
US9351254B2 (en) * 2014-01-22 2016-05-24 Seven Networks, Llc Method for power saving in mobile devices by optimizing wakelocks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103402027A (en) * 2013-07-29 2013-11-20 广东欧珀移动通信有限公司 Mobile terminal and method for putting same into sleeping state
WO2015126647A1 (en) * 2014-02-20 2015-08-27 Qualcomm Incorporated Wake lock management through application monitoring
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal

Also Published As

Publication number Publication date
CN105530377A (en) 2016-04-27

Similar Documents

Publication Publication Date Title
Wang et al. Green industrial Internet of Things architecture: An energy-efficient perspective
US10440652B2 (en) Power management of a mobile communications device
US10552216B2 (en) Application heartbeat period adjusting method and apparatus, and terminal
US20190380095A1 (en) Power management via coordination and selective operation of timer-related tasks
Chen et al. Smartphone background activities in the wild: Origin, energy drain, and optimization
US9880606B2 (en) Method and apparatus for wake-up control of intelligent terminal
TWI520641B (en) A method for managing the connection of a central device to a peripheral device, a system and a Bluetooth low power module
RU2605919C2 (en) Method and apparatus for displaying push messages
EP2977854B1 (en) Method, apparatus, and user terminal for removing malicious power consuming application
TWI481287B (en) Automatically modifying wireless network connection policies based on user activity levels
US20150153937A1 (en) Method and apparatus for managing an application being executed in a portable terminal
CN105306682B (en) The method and device of network connection switch is automatically closed
TWI576692B (en) Portable electronc device
CN104166542B (en) The method and apparatus that power consumption is applied in detection
EP2830044B1 (en) Instruction processing method, apparatus, and system
KR101171533B1 (en) Mobile network device battery conservation system and methods
CN107864271B (en) A kind of information loading method and device
JP5281145B2 (en) Recurrent schedule integration method and system for resource consumption optimization
CN103501507B (en) A kind of method and terminal of automatic switchover wireless signal
CN104982061B (en) Dynamic adaptation of traffic inactivity timers
CN105573460B (en) Method and device for adjusting application program wake-up time
EP2757839B1 (en) Power management method and apparatus for network access module
US9690685B2 (en) Performance management based on resource consumption
WO2017063604A1 (en) Message push method, mobile terminal and message push server
US20130084924A1 (en) Standby Method for Handheld Mobile Terminal, Microprocessor, and Mobile Phone

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant