CN106125889A - A kind of wake source treating method and apparatus - Google Patents
A kind of wake source treating method and apparatus Download PDFInfo
- Publication number
- CN106125889A CN106125889A CN201610466004.8A CN201610466004A CN106125889A CN 106125889 A CN106125889 A CN 106125889A CN 201610466004 A CN201610466004 A CN 201610466004A CN 106125889 A CN106125889 A CN 106125889A
- Authority
- CN
- China
- Prior art keywords
- wake
- wake source
- information
- terminal
- wakes
- 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
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of wake source treating method and apparatus;The method includes: obtain the average current that terminal consumes;When described average current is in predetermined current interval, determine the wake source of current awake terminal;Obtain that wake source wakes up terminal up wakes up information up;According to waking up information up, wake source is processed.The program combines wakeup frequency, wake up accumulative duration up and history wakes up the multiple information that wake up up such as information up and determines the processing mode to wake source, not only reduces power consumption of terminal, also improves the accuracy that wake source processes.
Description
Technical field
The present invention relates to field of terminal technology, be specifically related to a kind of wake source treating method and apparatus.
Background technology
Along with the fast development of mobile terminal, numerous third-party application manufacturers and independent third party application developer open
Send out the application program being largely used to mobile terminal.These application programs variable interval can wake up mobile terminal up, to access server
Or receive the data issued from server.
But these third party applications often make mobile terminal be awakened as frequently as those utilized in conventional solutions because design is unreasonable, same to time shift
Device in dynamic terminal, such as breath light, loudspeaker, also can wake up mobile terminal frequently up because of fault.So CPU working time will
Elongated, power consumption will become big, make mobile terminal shorten cruising time.
Prior art the abnormal application program waking up mobile terminal up or device are usually taken directly close application program or
The method of device rather than analysis wake up information up and take suitable processing method, the way so imposed uniformity without examining individual cases may make user
Application program or device cannot be continuing with.
Prior art exists and cannot accurately the abnormal wake source (such as application program or device) waking up mobile terminal up be entered
The technical problem that row processes.
Summary of the invention
The embodiment of the present invention provides a kind of wake source treating method and apparatus, can solve wake source in prior art and process
The technical problem that accuracy is low.
The embodiment of the present invention provides a kind of wake source processing method, including:
Obtain the average current that terminal consumes;
When described average current is in predetermined current interval, determine the wake source of terminal described in current awake;
Obtain that described wake source wakes up described terminal up wakes up information up;
According to the described information that wakes up up, described wake source is processed.
Further, the step that described wake source is processed by the information that wakes up up described in described basis specifically includes:
Wake up described in judgement whether information meets pre-conditioned up;
As pre-conditioned in met, then described wake source is processed.
Further, the information that wakes up up described in includes wakeup frequency;
Whether the information that wakes up up described in described judgement meets pre-conditioned step specifically includes:
Judge that whether described wakeup frequency is more than predeterminated frequency;
Such as larger than predeterminated frequency, it is determined that meet pre-conditioned;
Such as less than or equal to predeterminated frequency, it is determined that be unsatisfactory for pre-conditioned.
Further, the information that wakes up up described in includes waking up accumulative duration up;
Whether the information that wakes up up described in described judgement meets pre-conditioned step specifically includes:
Whether accumulative duration is waken up up more than presetting accumulative duration described in judgement;
Such as larger than preset accumulative duration, it is determined that meet pre-conditioned;
Such as less than equal to presetting accumulative duration, it is determined that be unsatisfactory for pre-conditioned.
Further, the described step processing described wake source specifically includes:
From the plurality of sub-wake source, the sub-wake source of target needing to close is determined according to the described information that wakes up up;
Close the sub-wake source of described target.
Further, the step of the information that wakes up up that the described wake source of described acquisition wakes up described terminal up specifically includes:
Call the acquisition of information interface that described wake source is corresponding;
Information is waken up up according to what described acquisition of information interface obtained that described wake source wakes up described terminal up.
The embodiment of the present invention additionally provides a kind of wake source processing means, including:
Average current acquisition module, for obtaining the average current that terminal consumes;
Wake source acquisition module, for when described average current is in predetermined current interval, determines described in current awake
The wake source of terminal;
Wake up data obtaining module up, wake up information up for obtain that described wake source wakes up described terminal up;
Wake source processing module, processes described wake source for waking up information up described in basis.
Further, described wake source processing module includes:
Judge submodule, be used for judging described in wake up whether information meets pre-conditioned up;
Process submodule, for when meeting pre-conditioned, described wake source is processed.
Further, the information that wakes up up described in includes wakeup frequency;
Described judgement submodule specifically for:
Judge that whether described wakeup frequency is more than predeterminated frequency;
Such as larger than predeterminated frequency, it is determined that meet pre-conditioned;
Such as less than or equal to predeterminated frequency, it is determined that be unsatisfactory for pre-conditioned.
Further, the information that wakes up up described in includes waking up accumulative duration up;
Described judgement submodule specifically for:
Whether accumulative duration is waken up up more than presetting accumulative duration described in judgement;
Such as larger than preset accumulative duration, it is determined that meet pre-conditioned;
Such as less than equal to presetting accumulative duration, it is determined that be unsatisfactory for pre-conditioned.
The embodiment of the present invention uses and obtains the average current that terminal consumes;When average current is in predetermined current interval,
Obtain the wake source of current awake terminal;Obtain that wake source wakes up terminal up wakes up information up;According to waking up information up, wake source is entered
Row processes.The program combines wakeup frequency, wake up accumulative duration up and history wakes up information etc. up multiple to wake up information up right to determine
The processing mode of wake source, for hinge structure, is possible not only to reduce power consumption of terminal, also improves the standard that wake source processes
Really property.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
Fig. 1 is the flow chart of the first preferred embodiment of the wake source processing method of the present invention;
Fig. 2 is the flow chart of the second preferred embodiment of the wake source processing method of the present invention
Fig. 3 is the structure chart of the preferred embodiment of the wake source processing means of the present invention;
Fig. 4 is the flow chart of the specific embodiment of the wake source processing method and processing device of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of wake source treating method and apparatus.To be described in detail respectively below.
Embodiment one,
Refer to the flow chart of the first preferred embodiment of the wake source processing method that Fig. 1, Fig. 1 are the present invention.The method
For processing the wake source such as the device in terminal, application program, wherein this terminal can be smart mobile phone, panel computer
Etc. mobile device.The wake source processing method of this preferred embodiment includes:
Step S101, obtains the average current that terminal consumes;
Step S102, when average current is in predetermined current interval, determines the wake source of current awake terminal;
Step S103, obtain that wake source wakes up terminal up wakes up information up;
Step S104, processes wake source according to waking up information up.
The idiographic flow of each step the following detailed description of the wake source processing method of this preferred embodiment.
In step S101, terminal obtains the average current of autophage.Commonly known, terminal uses photographic head, sudden strain of a muscle
The device such as turn off the light carries out taking pictures, illuminating, or will consume electricity during the application passes information such as wechat, mail of use.
Under normal circumstances, terminal is called certain device or opens certain application program when carrying out associative operation, and self disappears
In the range of the electricity of consumption should be at certain electricity, if it exceeds this electricity scope, illustrate that oneself power consumption is excessive.Therefore terminal consumption
The number of electricity can be as the standard judging whether abnormal dissipation.Preferably, due in science logical in the unit interval
The electricity crossing the arbitrary cross section of conductor is called electric current, is used as criterion with average current the most in the preferred embodiment.
Concrete, the electricity consumed when terminal is the most, and self average current is the biggest.Then continue at step S102.
In step s 102, when average current is in predetermined current interval, terminal determines waking up up of current awake self
Source.Before arranging this predetermined current interval, the application program according to self-operating is carried out application scenarios division by terminal, such as fortune
The application program of row is Warcraft, when passing through the game application such as live wire, this application scenarios can be divided into scene of game;As run
Application program be know, Semen Sojae Preparatum, shell etc. be when can carry out the application of Knowledge Sharing, this application scenarios can be divided into friendship
Flow field scape;Such as terminal off-duty application program, when being in holding state, this application scenarios can be divided into standby scene.
It will be apparent that the average current that under different application scenarios, terminal normally works is different, as whole during standby scene
The average current of end is 10-20 milliampere, and during scene of answering the call, the average current of terminal is 200-300 milliampere.Therefore can be to not
It is interval that same application scenarios arranges different predetermined current, to judge that terminal the most normally works under this application scenarios.As right
Standby scene setting predetermined current interval is 30-100 milliampere, is 350-500 milli to scene setting predetermined current interval of answering the call
Peace.It should be noted that concrete predetermined current interval method to set up is not especially limited herein.
When the terminal average current got under certain application scenarios is positioned at this predetermined current interval, this applied field is described
Under scape, power consumption of terminal is excessive, and now can checking whether wake source further, abnormal to wake up the power consumption that terminal causes up excessive, therefore
And the wake source of current awake terminal to be obtained, the most again the data that wake up up that this wake source is corresponding are analyzed, to determine
How wake source is processed.It should be noted that this wake source both can be the device in terminal, such as breath light, loudspeaker
Deng hardware device;The application program in terminal can also be mounted in, such as music application program, video playback application program
Deng.Then continue at step S103.
In step s 103, what terminal obtained that wake source wakes up self up wakes up information up.For the kind waking up information up, should
The information of waking up up includes wakeup frequency and wakes up accumulative duration up;For time sequencing, this wakes up information up and includes that history wakes up information up
With current awake information.To sum up these wake up information up and are all adapted to assist in terminal determines how to process wake source.Then continue at step
Rapid S104.
In step S104, wake source is processed by terminal according to waking up information up.Concrete, directly closedown can be used
The wake source such as application program or device, quickly to reduce the consumption of terminal power.Can also close in application program or device
Wake module, in order to avoid affecting the use of application program or device.
The most i.e. complete the process that wake source is processed by the wake source processing method of this preferred embodiment.
The wake source processing method of this preferred embodiment uses and obtains the average current that terminal consumes;When average current is in
During predetermined current interval, obtain the wake source of current awake terminal;Obtain that wake source wakes up terminal up wakes up information up;According to waking up up
Wake source is processed by information.The program processes wake source according to the information that wakes up up got, and not only reduces terminal merit
Consumption, also improves the correctness that wake source processes.
Embodiment two,
Refer to the flow chart of the second preferred embodiment of the wake source processing method that Fig. 2, Fig. 2 are the present invention.The method
For processing the wake source such as the device in terminal, application program, wherein this terminal can be smart mobile phone, panel computer
Etc. mobile device.The wake source processing method of this preferred embodiment includes:
Step S201, obtains the average current that terminal consumes;
Step S202, when average current is in predetermined current interval, determines the wake source of current awake terminal, wherein calls out
Awake source includes many sub-wake source;
Step S203, obtain that wake source wakes up terminal up wakes up information up;
Step S204, it is judged that wake up whether information meets pre-conditioned up;
Step S205, as pre-conditioned in being unsatisfactory for, wake source is not processed;
Step S206, as pre-conditioned in met, then determine from many sub-wake source according to the information that wakes up up and need closedown
The sub-wake source of target;
Step S207, closes the sub-wake source of target.
The idiographic flow of each step the following detailed description of the wake source processing method of this preferred embodiment.
In step s 201, terminal obtains its average current consumed.Commonly known, terminal uses photographic head, dodges and close
The devices such as lamp carry out taking pictures, illuminating, or will consume electricity during the application passes information such as wechat, mail of use.
Under normal circumstances, terminal is called certain device or opens certain application program when carrying out associative operation, and self disappears
In the range of the electricity of consumption should be at certain electricity, if it exceeds this electricity scope, illustrate that oneself power consumption is excessive.Therefore terminal consumption
The number of electricity can be as the standard judging whether abnormal dissipation.Preferably, due in science logical in the unit interval
The electricity crossing the arbitrary cross section of conductor is called electric current, is used as criterion with average current the most in the preferred embodiment.
Concrete, the electricity consumed when terminal is the most, and self average current is the biggest.Then continue at step S202.
In step S202, when average current is in predetermined current interval, terminal obtains waking up up of current awake self
Source, wherein wake source includes many sub-wake source.Before arranging this predetermined current interval, basis is run by terminal certainly with it
Application program carries out application scenarios division, when being Warcraft such as the application program run, pass through the game application such as live wire, can will be somebody's turn to do
Application scenarios is divided into scene of game;As run application program be know, Semen Sojae Preparatum, shell etc. can carry out Knowledge Sharing should
Used time, this application scenarios can be divided into exchange scene;Such as terminal off-duty application program, when being in holding state, permissible
This application scenarios is divided into standby scene.
It will be apparent that the average current that under different application scenarios, terminal normally works is different, as whole during standby scene
The average current of end is 10-20 milliampere, and during scene of answering the call, the average current of terminal is 200-300 milliampere.Therefore can be to not
It is interval that same application scenarios arranges different predetermined current, to judge that terminal the most normally works under this application scenarios.As right
Standby scene setting predetermined current interval is 30-100 milliampere, is 350-500 milli to scene setting predetermined current interval of answering the call
Peace.It should be noted that concrete predetermined current interval method to set up is not especially limited herein.
When the terminal average current got under certain application scenarios is positioned at this predetermined current interval, this applied field is described
Under scape, power consumption of terminal is excessive, and now can checking whether wake source further, abnormal to wake up the power consumption that terminal causes up excessive, therefore
And the wake source of current awake terminal to be obtained, the most again the data that wake up up that this wake source is corresponding are analyzed, to determine
How wake source is processed.It should be noted that this wake source both can be the device in terminal, such as breath light, loudspeaker
Deng hardware device;The application program in terminal can also be mounted in, such as music application program, video playback application program
Deng.Further, this wake source includes many sub-wake source, and some functional module as being probably in play-back application wakes up up
Terminal.Then continue at step S203.
In step S203, what terminal obtained that wake source wakes up self up wakes up information up.For the kind waking up information up, should
The information of waking up up includes wakeup frequency and wakes up accumulative duration up;For time sequencing, this wakes up information up and includes that history wakes up information up
With current awake information.To sum up these wake up information up and are all adapted to assist in terminal determines how to process wake source.
When the information of waking up up is wakeup frequency, it is the most frequent that wakeup frequency this wake source of the biggest explanation wakes up terminal up.Positive reason
Under condition, it is certain that wake source wakes up the frequency of terminal up, and therefore this wake source can wake up up frequency configuration one upper limit of terminal
Value, when the wakeup frequency detected exceedes this higher limit, illustrates that this wake source is abnormal and wakes up terminal up, therefore can be according to waking up up
Wake source is processed by frequency.Wherein, this higher limit can also replace with frequency threshold.
Being similar to, what terminal was waken up under normal circumstances wakes up accumulative duration up is also certain, therefore can also be to waking up up
Source wakes up the accumulative duration that wakes up up of terminal up and arranges a higher limit, when detect wake up up accumulative duration exceed this higher limit time, say
This wake source bright is abnormal wakes up terminal up, therefore can process wake source according to waking up accumulative duration up.Wherein, this higher limit
Can also replace with presetting accumulative duration.
It should be noted that above wakeup frequency both can refer exclusively to current awake frequency with current with waking up accumulative duration up
Wake up accumulative duration up, it is also possible to be to comprise history wakeup frequency and the wakeup frequency of current awake frequency, comprise history and wake up up tired
What timing length and current awake added up duration wakes up accumulative duration up.For the angle analyzing speed, although only analyze current
The information of waking up up can more quickly draw analysis result, but also makes precision of analysis significantly make a discount.Therefore have
Necessity combines history and wakes up information up to improve the accuracy that wake source processes.
These wake up up, and information is packed to be stored, and provides relevant interface in the preferred embodiment and obtains for terminal inquiry
Take.Concrete to wake up information acquiring step up as follows: first terminal calls the acquisition of information interface that wake source is corresponding;Further according to information
Obtain that interface obtains that wake source wakes up terminal up wakes up information up.Then continue at step S204.
In step S204, terminal judges wakes up whether information meets pre-conditioned up.It is concrete, if to wake up information up special for this
Refer to wakeup frequency, then predeterminated frequency can be set, when wakeup frequency more than predeterminated frequency time, determine meet pre-conditioned;When calling out
Wake up frequency less than or equal to predeterminated frequency time, determine be unsatisfactory for pre-conditioned.
If this wakes up information up and refers exclusively to wake up up accumulative duration, then can arrange and preset accumulative duration, when waking up accumulative duration up
More than when presetting accumulative duration, determine meet pre-conditioned;When waking up accumulative duration up less than or equal to default accumulative duration, really
Surely it is unsatisfactory for pre-conditioned.
To sum up, as pre-conditioned in being unsatisfactory for, then illustrate that this wake source the most extremely wakes up terminal up and causes power consumption of terminal to become big
Situation, thus proceed to step S205;As pre-conditioned in met, then illustrate that wake up terminal up causes terminal to the existence of this wake source extremely
Power consumption becomes big situation, therefore proceeds to step S206.
In step S205, as pre-conditioned in being unsatisfactory for, illustrate that this wake source wakes up terminal the most extremely up, the most not to calling out
Awake source processes.
In step S206, as pre-conditioned in met, illustrate that terminal is waken up up extremely by this wake source, basis the most further
The information that wakes up up determines the sub-wake source of target needing to close from many sub-wake source.Concrete, if wake source is application journey
Sequence, it is determined that wake up the module of terminal in this application program up, if wake source is device, it is determined that wake up terminal up in this device
Module.Then continue at step S206.
In step S207, terminal closes the sub-wake source of target.It should be noted that application program or device detected
Extremely after waking up terminal up, although taking the method directly closing this application program or device can quickly stop terminal power
Consume, but also can affect user and use this application program or device.Employing further determines that and calls out the most in the preferred embodiment
Awake source wakes up up the sub-wake source of target of terminal, the method closing the sub-wake source of target, improves Consumer's Experience.
It it is more than the wake source processing method process that wake source is processed of this preferred embodiment.
The wake source processing method of this preferred embodiment, on the basis of the first preferred embodiment, by wakeup frequency, is called out
Awake accumulative duration, history wake up the multiple information that wakes up up such as information and current awake information up to determine the concrete side that wake source processes
Method, as directly closed wake source, or the sub-wake source of target in closedown wake source etc..With the first preferred embodiment is compared, this
Preferred embodiment not only reduces power consumption of terminal, also improves the accuracy that wake source processes.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention also provides for a kind of wake source processing means, this wake source
Processing means 30 can integrated in the terminal, this terminal can be specifically the equipment such as smart mobile phone, panel computer.
Refer to the structure chart of the preferred embodiment of the wake source processing means that Fig. 3, Fig. 3 are the present invention.At this wake source
Reason device 30 includes average current acquisition module 301, wake source acquisition module 302, wakes up data obtaining module 303 and wake source up
Processing module 304.It is described in detail below: average current acquisition module 301, for obtaining the average current that terminal consumes;Wake up up
Source acquisition module 302, for when average current is in predetermined current interval, determines the wake source of current awake terminal;Wake up up
Data obtaining module 303, wakes up information up for obtain that wake source wakes up terminal up;Wake source processing module 304, for according to calling out
Wake source is processed by the information of waking up.
Further, wake source processing module 304 also includes judging submodule 3041 and processing submodule 3042, wherein sentences
For judgement, disconnected submodule 3041, wakes up whether information meets pre-conditioned up;Process submodule 3042, for when meeting default bar
During part, wake source is processed.
Further, wake up information up and include wakeup frequency;
Judge that submodule 3041 specifically includes:
Judge that whether wakeup frequency is more than predeterminated frequency;
Such as larger than predeterminated frequency, it is determined that meet pre-conditioned;
Such as less than or equal to predeterminated frequency, it is determined that be unsatisfactory for pre-conditioned.
Further, the information that wakes up up includes waking up accumulative duration up;
Judge that submodule 3041 specifically includes:
Judge whether to wake up accumulative duration up more than presetting accumulative duration;
Such as larger than preset accumulative duration, it is determined that meet pre-conditioned;
Such as less than equal to presetting accumulative duration, it is determined that be unsatisfactory for pre-conditioned.
The wake source processing means of this preferred embodiment uses and obtains the average current that terminal consumes;When average current is in
During predetermined current interval, obtain the wake source of current awake terminal;Obtain that wake source wakes up terminal up wakes up information up;According to waking up up
Wake source is processed by information.The program processes wake source according to the information that wakes up up got, and not only reduces terminal merit
Consumption, and improve the correctness that wake source processes.
Embodiment four,
Refer to the flow chart of the specific embodiment of the wake source processing method and processing device that Fig. 4, Fig. 4 are the present invention.At this
In specific embodiment, Xiao Ming plays World of Warcraft's application program with mobile phone.
In step S401, mobile phone detects that, when it runs World of Warcraft's application program, self average current is higher than game
Predetermined current under scene, therefore draws the conclusion that current power consumption is excessive.Then continue at step S402.
In step S402, it is World of Warcraft's application program that mobile phone gets the wake source of current awake self, the most right
World of Warcraft's application program current awake information and history wake up information up and comprehensively analyze.Then continue at step S403.
In step S403, waking up information up according to these, mobile phone determines the most directly to cut out World of Warcraft's application program, selects
Close the sub-wake source of the target waking up mobile phone up in World of Warcraft's application program.Then continue at step S404.
In step s 404, mobile phone cuts out the sub-wake source of target in World of Warcraft's application program, has prevented the electricity of exception
Amount consumes, and does not interferes with Xiao Ming simultaneously and continues play under World of Warcraft's application.
The wake source processing method and processing device of this preferred embodiment uses and obtains the average current that terminal consumes;When average electricity
When stream is in predetermined current interval, obtain the wake source of current awake terminal;Obtain that wake source wakes up terminal up wakes up information up;Root
According to waking up information up, wake source is processed.The program processes wake source according to the information that wakes up up got, and not only reduces
Power consumption of terminal, and improve the correctness that wake source processes.
When being embodied as, above modules can realize as independent entity, it is also possible to carries out combination in any, makees
Realize for same or several entities, the embodiment of the method being embodied as can be found in above of above modules, at this not
Repeat again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps can be by program and completes to instruct relevant hardware, and this program can be stored in computer-readable storage medium
In matter, as being stored in the memorizer of terminal, and performed by least one processor in this terminal, can wrap in the process of implementation
Include the flow process of the embodiment such as information issuing method.Wherein, storage medium may include that read only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of wake source treating method and apparatus provided the embodiment of the present invention above is described in detail, its each merit
Can module can be integrated in a process chip, it is also possible to be that modules is individually physically present, it is also possible to two or two
It is integrated in a module with upper module.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ soft
The form of part functional module realizes.Principle and the embodiment of the present invention are set forth by specific case used herein,
The explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Skill simultaneously for this area
Art personnel, according to the thought of the present invention, the most all will change, in sum, and this
Description should not be construed as limitation of the present invention.
Claims (10)
1. a wake source processing method, it is characterised in that including:
Obtain the average current that terminal consumes;
When described average current is in predetermined current interval, determine the wake source of terminal described in current awake;
Obtain that described wake source wakes up described terminal up wakes up information up;
According to the described information that wakes up up, described wake source is processed.
Wake source processing method the most according to claim 1, it is characterised in that the information that wakes up up described in described basis is to described
The step that wake source carries out processing specifically includes:
Wake up described in judgement whether information meets pre-conditioned up;
As pre-conditioned in met, then described wake source is processed.
Wake source processing method the most according to claim 2, it is characterised in that described in wake up information up and include wakeup frequency;
Whether the information that wakes up up described in described judgement meets pre-conditioned step specifically includes:
Judge that whether described wakeup frequency is more than predeterminated frequency;
Such as larger than predeterminated frequency, it is determined that meet pre-conditioned;
Such as less than or equal to predeterminated frequency, it is determined that be unsatisfactory for pre-conditioned.
Wake source processing method the most according to claim 2, it is characterised in that described in wake up information up when including waking up up accumulative
Long;
Whether the information that wakes up up described in described judgement meets pre-conditioned step specifically includes:
Whether accumulative duration is waken up up more than presetting accumulative duration described in judgement;
Such as larger than preset accumulative duration, it is determined that meet pre-conditioned;
Such as less than equal to presetting accumulative duration, it is determined that be unsatisfactory for pre-conditioned.
Wake source processing method the most according to claim 1, it is characterised in that described wake source includes that many height wake up up
Source;
The step that described wake source is processed by the information that wakes up up described in described basis specifically includes:
From the plurality of sub-wake source, the sub-wake source of target needing to close is determined according to the described information that wakes up up;
Close the sub-wake source of described target.
Wake source processing method the most according to claim 1, it is characterised in that the described wake source of described acquisition wakes up up described
The step of the information that wakes up up of terminal specifically includes:
Call the acquisition of information interface that described wake source is corresponding;
Information is waken up up according to what described acquisition of information interface obtained that described wake source wakes up described terminal up.
7. a wake source processing means, it is characterised in that including:
Average current acquisition module, for obtaining the average current that terminal consumes;
Wake source acquisition module, for when described average current is in predetermined current interval, determines terminal described in current awake
Wake source;
Wake up data obtaining module up, wake up information up for obtain that described wake source wakes up described terminal up;
Wake source processing module, processes described wake source for waking up information up described in basis.
Wake source processing means the most according to claim 7, it is characterised in that described wake source processing module includes:
Judge submodule, be used for judging described in wake up whether information meets pre-conditioned up;
Process submodule, for when meeting pre-conditioned, described wake source is processed.
Wake source processing means the most according to claim 8, it is characterised in that described in wake up information up and include wakeup frequency;
Described judgement submodule specifically for:
Judge that whether described wakeup frequency is more than predeterminated frequency;
Such as larger than predeterminated frequency, it is determined that meet pre-conditioned;
Such as less than or equal to predeterminated frequency, it is determined that be unsatisfactory for pre-conditioned.
Wake source processing means the most according to claim 8, it is characterised in that described in wake up information up and include waking up up accumulative
Duration;
Described judgement submodule specifically for:
Whether accumulative duration is waken up up more than presetting accumulative duration described in judgement;
Such as larger than preset accumulative duration, it is determined that meet pre-conditioned;
Such as less than equal to presetting accumulative duration, it is determined that be unsatisfactory for pre-conditioned.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610466004.8A CN106125889B (en) | 2016-06-21 | 2016-06-21 | A kind of wake source treating method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610466004.8A CN106125889B (en) | 2016-06-21 | 2016-06-21 | A kind of wake source treating method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106125889A true CN106125889A (en) | 2016-11-16 |
CN106125889B CN106125889B (en) | 2018-03-02 |
Family
ID=57268982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610466004.8A Active CN106125889B (en) | 2016-06-21 | 2016-06-21 | A kind of wake source treating method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106125889B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110018904A (en) * | 2018-01-10 | 2019-07-16 | 广东欧珀移动通信有限公司 | Information processing method, device, computer equipment and computer readable storage medium |
CN111934533A (en) * | 2020-07-15 | 2020-11-13 | 海信(山东)空调有限公司 | Voltage-multiplying rectification PFC circuit, control method thereof, storage medium and variable-frequency air conditioner |
CN111934532A (en) * | 2020-07-15 | 2020-11-13 | 海信(山东)空调有限公司 | Voltage-multiplying rectification PFC circuit, control method thereof and variable-frequency air conditioner |
CN113406945A (en) * | 2021-05-26 | 2021-09-17 | 东风电驱动系统有限公司 | Wide-domain frequency wake-up signal processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297587A (en) * | 2012-02-23 | 2013-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and method for detecting and processing stand-by power consumption abnormity |
CN103365389A (en) * | 2012-03-26 | 2013-10-23 | 联发科技股份有限公司 | Method for performing power consumption control, and associated apparatus |
CN104182337A (en) * | 2014-08-15 | 2014-12-03 | 广东欧珀移动通信有限公司 | Power consumption testing method and device and mobile terminal |
CN104298335A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Application program process cleaning method and device of mobile terminal and mobile terminal |
CN104881362A (en) * | 2015-06-18 | 2015-09-02 | 广东欧珀移动通信有限公司 | Third-party application standby current testing method and device |
CN105573465A (en) * | 2014-10-31 | 2016-05-11 | 三星电子株式会社 | Electronic device and method for controlling power of electronic device |
-
2016
- 2016-06-21 CN CN201610466004.8A patent/CN106125889B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297587A (en) * | 2012-02-23 | 2013-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and method for detecting and processing stand-by power consumption abnormity |
CN103365389A (en) * | 2012-03-26 | 2013-10-23 | 联发科技股份有限公司 | Method for performing power consumption control, and associated apparatus |
CN104298335A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Application program process cleaning method and device of mobile terminal and mobile terminal |
CN104182337A (en) * | 2014-08-15 | 2014-12-03 | 广东欧珀移动通信有限公司 | Power consumption testing method and device and mobile terminal |
CN105573465A (en) * | 2014-10-31 | 2016-05-11 | 三星电子株式会社 | Electronic device and method for controlling power of electronic device |
CN104881362A (en) * | 2015-06-18 | 2015-09-02 | 广东欧珀移动通信有限公司 | Third-party application standby current testing method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110018904A (en) * | 2018-01-10 | 2019-07-16 | 广东欧珀移动通信有限公司 | Information processing method, device, computer equipment and computer readable storage medium |
CN111934533A (en) * | 2020-07-15 | 2020-11-13 | 海信(山东)空调有限公司 | Voltage-multiplying rectification PFC circuit, control method thereof, storage medium and variable-frequency air conditioner |
CN111934532A (en) * | 2020-07-15 | 2020-11-13 | 海信(山东)空调有限公司 | Voltage-multiplying rectification PFC circuit, control method thereof and variable-frequency air conditioner |
CN111934533B (en) * | 2020-07-15 | 2022-02-01 | 海信(山东)空调有限公司 | Voltage-multiplying rectification PFC circuit, control method thereof, storage medium and variable-frequency air conditioner |
CN111934532B (en) * | 2020-07-15 | 2022-02-01 | 海信(山东)空调有限公司 | Voltage-multiplying rectification PFC circuit, control method thereof and variable-frequency air conditioner |
CN113406945A (en) * | 2021-05-26 | 2021-09-17 | 东风电驱动系统有限公司 | Wide-domain frequency wake-up signal processing method and device |
CN113406945B (en) * | 2021-05-26 | 2022-11-18 | 东风电驱动系统有限公司 | Wide-domain frequency wake-up signal processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106125889B (en) | 2018-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9336054B2 (en) | Method and apparatus for configuring resource | |
CN106125889A (en) | A kind of wake source treating method and apparatus | |
US20150233985A1 (en) | Method, device and computer storage medium for detecting power consumption of an application | |
US10031572B2 (en) | Method and device for processing core of processor, and terminal | |
US10067551B2 (en) | Power state transition analysis | |
RU2008130412A (en) | MULTIPLE CONDITIONAL FORMATION | |
TW201209581A (en) | Electronic device having operation mode dynamic adjusting mechanism and method of the same | |
CN105955444A (en) | Aligned wakeup method and apparatus | |
CN104750589B (en) | A kind of memory parameter adjusting method and mobile terminal | |
CN105704785A (en) | Network searching method, device and mobile terminal | |
CN103544088A (en) | Method and device for detecting power consumption abnormality of terminal | |
CN112367384B (en) | Kafka cluster-based dynamic speed limiting method and device and computer equipment | |
CN107729129A (en) | A kind of multithread processing method based on synchrolock, terminal and storage medium | |
CN105895126A (en) | Method and apparatus for indicating and controlling playing audio/audio and video data | |
CN104994547A (en) | Network access method and user terminal | |
CN110837456B (en) | Control method and device and electronic equipment | |
CN101291487A (en) | MP3 playing method with low energy consumption on mobile phone | |
CN110956968A (en) | Voice wake-up and voice wake-up function triggering method and device, and terminal equipment | |
EP3230875B1 (en) | Adaptive memory access to local and non-local memories | |
US20180034749A1 (en) | System and method for distributing and replaying trigger packets via a variable latency bus interconnect | |
CN109800705A (en) | Accelerate the method and device of Face datection rate | |
US8539132B2 (en) | Method and system for dynamically managing a bus of a portable computing device | |
CN115185724A (en) | Fault processing method, device, electronic equipment and storage medium | |
CN107623784A (en) | Method for information display and device, terminal installation and computer-readable recording medium | |
CN107547742B (en) | Wake-up lock release method and device for mobile terminal |
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. |