CN106371831A - Awakening control method and device and terminal - Google Patents

Awakening control method and device and terminal Download PDF

Info

Publication number
CN106371831A
CN106371831A CN201610729499.9A CN201610729499A CN106371831A CN 106371831 A CN106371831 A CN 106371831A CN 201610729499 A CN201610729499 A CN 201610729499A CN 106371831 A CN106371831 A CN 106371831A
Authority
CN
China
Prior art keywords
hardware
software
wake
awake cycle
mask pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610729499.9A
Other languages
Chinese (zh)
Inventor
范杰
李志武
闫迎宾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610729499.9A priority Critical patent/CN106371831A/en
Publication of CN106371831A publication Critical patent/CN106371831A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Abstract

The invention relates to an awakening control method and device and a terminal. The awakening control method comprises the following steps of: detecting whether a hardware awakening period reaches or not when a software system awakening condition is satisfied; when the hardware awakening period does not reach, waiting for the hardware awakening period to reach; and when the hardware awakening period reaches, awakening a hardware platform of the terminal and software in a software system in the same time. By applying the awakening control method and device and the terminal provided by the invention, the awakening control can be carried out preferably and the terminal power consumption can be reduced.

Description

A kind of wake-up control method, device and terminal
Technical field
It relates to mobile communication technology field, more particularly, to a kind of wake-up control method, device and terminal.
Background technology
At present, reduce terminal power consumption and be always various terminals such as mobile intelligent terminal major issue of concern.Wherein, One important aspect is the use duration problem of the battery of mobile terminal.Improve the method for battery at present, except Hardware aspect accomplish low-power consumption standby with according to load the different ardware features from main regulation outside, also in terms of application software Optimize.
For example in correlation technique, for open platform such as Android platform, have a lot of third-party application softwares not Using when wake up system and realize this software and be active.In related art method, all these third party softwares can be entered Row unified management, it is to avoid the situation of each unordered in a jumble power consumption caused by wake-up system.
But the wake-up that the method for correlation technique only considered software is processed although achieving reduction power consumption to a certain extent Effect, but really power consumption is not preferably minimized, because terminal also has the periodic wakeup of a hardware, therefore The wake-up control method of correlation technique is left to be desired.
Content of the invention
Present disclose provides a kind of wake-up control method, device and terminal, can more preferably carry out waking up control so that more preferable drop Low terminal power consumption.
According to the embodiment of the present disclosure in a first aspect, provide a kind of wake-up control method, comprising:
When determination meets software system wake-up condition, detect whether to reach the hardware awake cycle;
When not reaching the hardware awake cycle, wait and reach the hardware awake cycle;
When determining the arrival hardware awake cycle, wake up the software in the hardware platform and software system of terminal simultaneously.
Optionally, the described hardware awake cycle determines in the following way:
It needs to be determined that during the hardware awake cycle, opening the shielding mould that shielding wakes up the operation of software in software system Formula;
Determine whether to enter deep sleep state according to the operating frequency of hardware platform under mask pattern;
Determine that the time interval entering deep sleep twice is the hardware awake cycle;
Close the mask pattern that shielding wakes up the operation of software in software system.
Optionally, after the described mask pattern of the operation of software opened in shielding wake-up software system, also include:
The operating frequency of described hardware platform is read using setting sample frequency from depositor.
Optionally, described under mask pattern according to the operating frequency of hardware platform determine whether enter deep sleep state, Including:
Under mask pattern, using the operating frequency setting sample frequency reading hardware platform in preset time period;
Two that preset time period is read in the same size and for the minimum operating frequency corresponding moment, is defined as entering The moment of deep sleep state.
Optionally, described under mask pattern according to the operating frequency of hardware platform determine whether enter deep sleep state, Including:
Under mask pattern, using the operating frequency setting sample frequency reading hardware platform and electricity in preset time period Stream size;
When the electric current reading hardware platform is less than predetermined threshold value, the operating frequency of the hardware platform that record reads;
The operating frequency that two in the same size and corresponding electric currents that preset time period is read are less than predetermined threshold value corresponds to Moment, be defined as enter deep sleep state moment.
According to the second aspect of the embodiment of the present disclosure, provide a kind of wake-up control device, comprising:
Detection module, when meeting software system wake-up condition for determining, detects whether to reach the hardware awake cycle;
Wait module, for when described detection module determines and do not reach the hardware awake cycle, waiting and reaching hardware awake Cycle;
Wake module, for when described detection module determines and reaches the hardware awake cycle, waking up the hardware of terminal simultaneously Software in platform and software system.
Optionally, described device also includes:
Wake-up period determining module, for determining the hardware awake cycle in the following way: it needs to be determined that hardware awake During the cycle, open the mask pattern that shielding wakes up the operation of software in software system, according to hardware platform under mask pattern Operating frequency determine whether enter deep sleep state, determine twice enter deep sleep time interval be hardware awake In the cycle, close the mask pattern that shielding wakes up the operation of software in software system;
Described detection module obtains, from described wake-up period determining module, the hardware awake cycle determining.
Optionally, described wake-up period determining module reads described hardware platform using setting sample frequency from depositor Operating frequency.
Optionally, described wake-up period determining module, under mask pattern, is sampled frequently using setting in preset time period Rate reads the operating frequency of hardware platform, and two that preset time period is read in the same size and correspond to for minimum operating frequency Moment, be defined as enter deep sleep state moment.
Optionally, described wake-up period determining module, under mask pattern, is sampled frequently using setting in preset time period Rate reads operating frequency and the size of current of hardware platform, and when the electric current reading hardware platform is less than predetermined threshold value, record is read The operating frequency of the hardware platform taking, two in the same size and corresponding electric currents that preset time period is read are less than predetermined threshold value The operating frequency corresponding moment, be defined as enter deep sleep state moment.
According to the third aspect of the embodiment of the present disclosure, provide a kind of mobile terminal, comprising:
Processor and the memorizer for storing processor executable;
Wherein, described processor is configured to:
When determination meets software system wake-up condition, detect whether to reach the hardware awake cycle;
When not reaching the hardware awake cycle, wait and reach the hardware awake cycle;
When determining the arrival hardware awake cycle, wake up the software in the hardware platform and software system of terminal simultaneously.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
When disclosure determination meets software system wake-up condition, detect whether further to reach the hardware awake cycle, not When reaching the hardware awake cycle, wait and reach the hardware awake cycle, when determining the arrival hardware awake cycle, then wake up eventually simultaneously Software in the hardware platform and software system at end.Because being after reaching the hardware awake cycle, then wake up terminal simultaneously Software in hardware platform and software system, rather than just direct Yi Dan meeting software system wake-up condition as correlation technique Wake up software, therefore can reduce the power consumption bringing because of wake operation, some electricity of hardware platform such as cpu can be substantially reduced The power consumption on road, such that it is able to save the usage amount of end cell, increases stand-by time, reduces the purpose of power consumption and power saving, Improve user experience.
The disclosure can determine the hardware awake cycle in the following way: it needs to be determined that during the hardware awake cycle, opening Shielding wakes up the mask pattern of the operation of software in software system;Under mask pattern, the operating frequency according to hardware platform is true Determine whether enter deep sleep state;Determine that the time interval entering deep sleep twice is the hardware awake cycle;Close screen Cover the mask pattern waking up the operation of software in software system.
The disclosure can read the operating frequency of described hardware platform from depositor using setting sample frequency.
The disclosure can determine that hardware platform enters the moment of deep sleep state in different ways, for example, can be in screen Cover under pattern, using the operating frequency setting sample frequency reading hardware platform in preset time period, preset time period is read Two taken in the same size and for minimum operating frequency corresponding moment, is defined as entering the moment of deep sleep state;Or It is under mask pattern, big using the operating frequency and electric current setting sample frequency reading hardware platform in preset time period Little, when the electric current reading hardware platform is less than predetermined threshold value, the operating frequency of the hardware platform that record reads, by Preset Time Two in the same size and corresponding electric currents that section reads are less than the operating frequency corresponding moment of predetermined threshold value, are defined as entering deeply The dormant moment.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of wake-up control method according to an exemplary embodiment for the disclosure.
Fig. 2 is a kind of another flow chart of wake-up control method according to an exemplary embodiment for the disclosure.
Fig. 3 is a kind of block diagram of wake-up control device according to an exemplary embodiment for the disclosure.
Fig. 4 is a kind of another block diagram of wake-up control device according to an exemplary embodiment for the disclosure.
Fig. 5 is an a kind of structured flowchart of mobile terminal according to an exemplary embodiment for the disclosure.
Fig. 6 is an a kind of structured flowchart of equipment according to an exemplary embodiment for the disclosure.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
The term using in the disclosure is the purpose only merely for description specific embodiment, and is not intended to be limiting the disclosure. " a kind of ", " described " and " being somebody's turn to do " of singulative used in disclosure and the accompanying claims book is also intended to including most Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated any or all possible combination listing project.
It will be appreciated that though various information may be described using term first, second, third, etc. in the disclosure, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
Present disclose provides a kind of wake-up control method, can more preferably carry out waking up control so that more preferably reducing terminal power consumption.
Fig. 1 is a kind of flow chart of wake-up control method according to an exemplary embodiment for the disclosure.
The method can apply in terminal, as shown in figure 1, the method may comprise steps of:
In a step 101, when determination meets software system wake-up condition, detect whether to reach the hardware awake cycle.
This step is the hardware awake cycle of the central processing unit cpu platform of detection terminal.
Wherein, the described hardware awake cycle can determine beforehand through in the following manner: it needs to be determined that the hardware awake cycle When, open the mask pattern that shielding wakes up the operation of software in software system;The work according to hardware platform under mask pattern Working frequency determines whether to enter deep sleep state;Determine that the time interval entering deep sleep twice is hardware awake week Phase;Close the mask pattern that shielding wakes up the operation of software in software system.
Wherein it is possible to read the operating frequency of described hardware platform from depositor using setting sample frequency.
In a step 102, when not reaching the hardware awake cycle, wait and reach the hardware awake cycle.
In step 103, when determining the arrival hardware awake cycle, wake up in the hardware platform and software system of terminal simultaneously Software.
In this step, when determining the arrival hardware awake cycle, except waking up the hardware platform of terminal, wake up software system simultaneously Software in system so that hardware platform with the software in software system be together be waken up, wake-up times can be reduced, subtract Few power consumption bringing because of wake-up.
It should be noted that, step 102 and step 103 do not have inevitable ordering relation.
From this embodiment, when disclosure determination meets software system wake-up condition, detect whether further to reach firmly Part wake-up period, when not reaching the hardware awake cycle, waits and reaches the hardware awake cycle, reach the hardware awake cycle determining When, then wake up the software in the hardware platform and software system of terminal simultaneously and pass through to obtain the hardware awake of the hardware platform of terminal Cycle and obtain terminal software system software system wake-up period, then by described software system wake-up period be adjusted to The described hardware awake cycle is consistent.Because be when reach the hardware awake cycle after, more simultaneously wake up terminal hardware platform and Software in software system, rather than Yi Dan meeting, software system wake-up condition is just direct to wake up software as correlation technique, Hardware awake cycle and software system wake-up period are adjusted to after the same cycle it is possible to reduce because wake operation is brought Power consumption, the power consumption of some circuit of hardware platform such as cpu can be substantially reduced, such that it is able to save the use of end cell Amount, increases stand-by time, reduces the purpose of power consumption and power saving, improve user experience.
Fig. 2 is a kind of another flow chart of wake-up control method according to an exemplary embodiment for the disclosure.
Fig. 2, with respect to Fig. 1, is described in more detail the scheme of the disclosure.The scheme of the disclosure can detect that hardware is called out in advance In the awake cycle, software wake-up period was united two into one with the hardware awake cycle, namely wake up hardware platform and the software of terminal simultaneously Software in system, realizes real lowest power consumption.The disclosure can read the hardware awake cycle of hardware platform, full determining When waiting the arrival hardware awake cycle during sufficient software system wake-up condition further, then wake up the hardware platform of terminal and soft simultaneously Software in part system, thus realize reducing stand-by power consumption.Hardware platform described in disclosure scheme, can refer to central processing unit Cpu, the hardware awake cycle of hardware platform can refer to the wake-up period of cpu.Usual cpu scheme used in terminal can be used many Kind, its hardware awake cycle of different hardware platforms is also different.General, when terminal is in holding state, hardware also will enter Enter to low power consumpting state, a lot of power supply chips are all without output current again or output voltage.But cpu is processed as central authorities Device, it needs when other hardware all enter into holding state, and still can timely receive user uses order, and in time Wake up other hardware and enter working condition.Therefore, the purpose in the hardware awake cycle of hardware is: all hardware all enters standby shape After state, cpu still can receive unexpected the using of user and order in the case of power consumption minimum.Whether the hardware awake cycle, Or software wake-up period, all can make the unexpected power consumption of some circuit of cpu, particularly the software on backstage is each irregular calls out Wake up, be easily caused cpu and be forever in power consumption state, make terminal power consumption quickly.
Therefore, the disclosure, when reaching the hardware awake cycle, wakes up in the hardware platform and software system of terminal simultaneously Software, namely it is based on the hardware awake cycle, the various softwares that backstage is operated are unified in and wake up under the hardware awake cycle, thus Play the concordance of wake-up period, can more preferably carrying out waking up control, substantially reducing the power consumption of some circuit of cpu, thus saving The usage amount of battery, increases stand-by time, improves user experience.
As shown in Fig. 2 the method may comprise steps of:
In step 201, the hardware awake cycle of predetermined hardware platform.
The disclosure can determine the hardware awake cycle in the following way: it needs to be determined that during the hardware awake cycle, opening Shielding wakes up the mask pattern of the operation of software in software system;Under mask pattern, the operating frequency according to hardware platform is true Determine whether enter deep sleep state;Determine that the time interval entering deep sleep twice is the hardware awake cycle;Close screen Cover the mask pattern waking up the operation of software in software system.
The disclosure first shields the response operation of the software in software system, to ensure currently to only exist the hardware awake cycle. Because after software impact is masked, just only remaining hardware platform this in work, once hardware platform does not need to process software When data, whole terminal can enter into the state of sleep.Wherein, the disclosure can determine hardware platform in different ways Enter the moment of deep sleep state: can be for example under mask pattern, read using setting sample frequency in preset time period Take the operating frequency of hardware platform, two that preset time period is read in the same size and for minimum operating frequency corresponding when Carve, be defined as entering the moment of deep sleep state;Or under mask pattern, using setting sampling frequency in preset time period Rate reads operating frequency and the size of current of hardware platform, and when the electric current reading hardware platform is less than predetermined threshold value, record is read The operating frequency of the hardware platform taking, two in the same size and corresponding electric currents that preset time period is read are less than predetermined threshold value The operating frequency corresponding moment, be defined as enter deep sleep state moment.
Wherein described predetermined threshold value, for example, can be 5ma but be not limited to this.
The disclosure can also read the operating frequency of described hardware platform from depositor using setting sample frequency.
In step 202., when determination meets software system wake-up condition, detect whether to reach the hardware awake cycle.
When determination meets software system wake-up condition, directly execution does not wake up the operation of software to the disclosure, but enters one Step detects whether to reach the hardware awake cycle.
In step 203, when not reaching the hardware awake cycle, wait and reach the hardware awake cycle.
In step 204, when determining the arrival hardware awake cycle, wake up in the hardware platform and software system of terminal simultaneously Software.
It should be noted that, step 203 and step 204 do not have inevitable ordering relation.
In this step, when determining the arrival hardware awake cycle, except waking up the hardware platform of terminal, wake up software system simultaneously Software in system so that hardware platform with the software in software system be together be waken up, wake-up times can be reduced, subtract Few power consumption bringing because of wake-up.
It is found that the embodiment of the present disclosure, based on the hardware awake cycle, the various softwares that backstage is operated are unified in hardware Wake up under wake-up period, thus play the concordance of wake-up period, can more preferably carry out waking up control, substantially reduce cpu The power consumption of a little circuit, thus saving the usage amount of battery, increasing stand-by time, improving user experience.
Corresponding with aforementioned applications function realizing method embodiment, the disclosure additionally provides a kind of wake-up control device, shifting Dynamic terminal, equipment and corresponding embodiment.
Fig. 3 is a kind of block diagram of wake-up control device according to an exemplary embodiment for the disclosure.
This device can be provided in terminal.As shown in figure 3, may include that detection module in waking up control device 31st, module 32, wake module 33 are waited.
Detection module 31, when meeting software system wake-up condition for determining, detects whether to reach the hardware awake cycle.Its In, the described hardware awake cycle can determine beforehand through in the following manner: it needs to be determined that during the hardware awake cycle, opening shielding Wake up the mask pattern of the operation of software in software system, the operating frequency according to hardware platform determines under mask pattern is No entrance deep sleep state, determines that the time interval entering deep sleep twice is the hardware awake cycle, closes shielding and call out The mask pattern of the operation of the software in awake software system.
Wait module 32, for when described detection module 31 determines and do not reach the hardware awake cycle, waiting and reaching hardware Wake-up period.
Wake module 33, for when described detection module 31 determines and reaches the hardware awake cycle, waking up terminal simultaneously Software in hardware platform and software system.
From this embodiment, when disclosure determination meets software system wake-up condition, detect whether further to reach firmly Part wake-up period, when not reaching the hardware awake cycle, waits and reaches the hardware awake cycle, reach the hardware awake cycle determining When, then wake up the software in the hardware platform and software system of terminal simultaneously and pass through to obtain the hardware awake of the hardware platform of terminal Cycle and obtain terminal software system software system wake-up period, then by described software system wake-up period be adjusted to The described hardware awake cycle is consistent.Because be when reach the hardware awake cycle after, more simultaneously wake up terminal hardware platform and Software in software system, rather than Yi Dan meeting, software system wake-up condition is just direct to wake up software as prior art, Hardware awake cycle and software system wake-up period are adjusted to after the same cycle it is possible to reduce because wake operation is brought Power consumption, the power consumption of some circuit of hardware platform such as cpu can be substantially reduced, such that it is able to save the use of end cell Amount, increases stand-by time, reduces the purpose of power consumption and power saving, improve user experience.
Fig. 4 is a kind of another block diagram of wake-up control device according to an exemplary embodiment for the disclosure.
This device can be provided in terminal.As shown in figure 4, may include that detection module in waking up control device 31st, module 32, wake module 33, wake-up period determining module 34 are waited.
Detection module 31, when meeting software system wake-up condition for determining, detects whether to reach the hardware awake cycle.
Wait module 32, for when described detection module 31 determines and do not reach the hardware awake cycle, waiting and reaching hardware Wake-up period.
Wake module 33, for when described detection module 31 determines and reaches the hardware awake cycle, waking up terminal simultaneously Software in hardware platform and software system.
Wake-up period determining module 34, for determining the hardware awake cycle in the following way: it needs to be determined that hardware is called out During the awake cycle, open the mask pattern that shielding wakes up the operation of software in software system, put down according to hardware under mask pattern The operating frequency of platform determines whether to enter deep sleep state, determines that the time interval entering deep sleep twice is called out for hardware In the awake cycle, close the mask pattern that shielding wakes up the operation of software in software system;Described detection module 31 is from described wake-up Period determination module 34 obtains the hardware awake cycle determining.
Wherein, described wake-up period determining module 34 can read described hardware using setting sample frequency from depositor The operating frequency of platform.
Wherein, described wake-up period determining module 34 can determine that hardware platform enters deep sleep state in different ways Moment:
Can be for example under mask pattern, using the work setting sample frequency reading hardware platform in preset time period Working frequency, two that preset time period is read in the same size and for the minimum operating frequency corresponding moment, is defined as entering The moment of deep sleep state;
Or under mask pattern, using the work frequency setting sample frequency reading hardware platform in preset time period Rate and size of current, when the electric current reading hardware platform is less than predetermined threshold value, the operating frequency of the hardware platform that record reads, Two in the same size and corresponding electric currents that preset time period is read are less than the operating frequency corresponding moment of predetermined threshold value, really It is set to the moment entering deep sleep state.
It is found that the embodiment of the present disclosure, based on the hardware awake cycle, the various softwares that backstage is operated are unified in hardware Wake up under wake-up period, thus play the concordance of wake-up period, can more preferably carry out waking up control, substantially reduce cpu The power consumption of a little circuit, thus saving the usage amount of battery, increasing stand-by time, improving user experience.
In said apparatus, the process of realizing of the function of unit and effect specifically refers to corresponding step in said method Realize process, will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, thus real referring to method in place of correlation The part applying example illustrates.Device embodiment described above is only schematically, wherein illustrates as separating component Unit can be or may not be physically separate, as the part that unit shows can be or may not be Physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to the actual needs Select the purpose to realize disclosure scheme for some or all of module therein.Those of ordinary skill in the art are not paying wound In the case of the property made work, you can to understand and to implement.
Fig. 5 is an a kind of structured flowchart of mobile terminal according to an exemplary embodiment for the disclosure.
As shown in figure 5, including in the terminal: processor 501 and for storing depositing of processor 501 executable instruction Reservoir 502;
Wherein, processor 501 is configured to:
When determination meets software system wake-up condition, detect whether to reach the hardware awake cycle;
When not reaching the hardware awake cycle, wait and reach the hardware awake cycle;
When determining the arrival hardware awake cycle, wake up the software in the hardware platform and software system of terminal simultaneously.
It should be noted that, other programs of memorizer 502 storage, referring specifically to the description in previous methods flow process, this Place repeats no more, and processor 501 is additionally operable to execute other programs of memorizer 502 storage.
Fig. 6 is an a kind of structured flowchart of equipment according to an exemplary embodiment for the disclosure.
For example, equipment 600 can be mobile phone, computer, digital broadcast terminal, messaging devices, and game controls Platform, tablet device, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, equipment 600 can include following one or more assemblies: process assembly 602, memorizer 604, power supply Assembly 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (i/o), sensor cluster 614, and Communication component 616.
The integrated operation of the usual control device 600 of process assembly 602, such as with display, call, data communication, phase Machine operation and record operate associated operation.Process assembly 602 can include one or more processors 620 and refer to execute Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 602 can include one or more modules, just Interaction between process assembly 602 and other assemblies.For example, process assembly 602 can include multi-media module, many to facilitate Interaction between media component 606 and process assembly 602.
Memorizer 604 is configured to store various types of data to support the operation in equipment 600.The showing of these data Example includes the instruction for any application program of operation or method on equipment 600, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 604 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable compile Journey read only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of equipment 600.Power supply module 606 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for equipment 600, the assembly that electric power is associated.
Multimedia groupware 608 includes the screen of one output interface of offer between equipment 600 and user.Real at some Apply in example, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen can To be implemented as touch screen, to receive the input signal from user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action border, and And also detect the persistent period related to touch or slide and pressure.In certain embodiments, multimedia groupware 608 includes One front-facing camera and/or post-positioned pick-up head.When equipment 600 is in operator scheme, during as screening-mode or video mode, front Put photographic head and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and post-positioned pick-up head can To be the optical lens system of a fixation or there is focusing and optical zoom capabilities.
Audio-frequency assembly 610 is configured to output and/or input audio signal.For example, audio-frequency assembly 610 includes a Mike Wind (mic), when equipment 600 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 604 or via communication set Part 616 sends.In certain embodiments, audio-frequency assembly 610 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 602 and peripheral interface module, above-mentioned peripheral interface module can for i/o interface 612 To be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Determine button.
Sensor cluster 614 includes one or more sensors, for providing the state of various aspects to comment for equipment 600 Estimate.For example, sensor cluster 614 can detect/the closed mode of opening of equipment 600, the relative localization of assembly, such as assembly Display for equipment 600 and keypad, sensor cluster 614 can be with the position of testing equipment 600 or 600 1 assemblies of equipment Put change, user is presence or absence of with what equipment 600 contacted, the temperature of equipment 600 orientation or acceleration/deceleration and equipment 600 Change.Sensor cluster 614 can include proximity transducer, is configured near the detection when not having any physical contact The presence of object.Sensor cluster 614 can also include optical sensor, such as cmos or ccd imageing sensor, for answering in imaging Use middle use.In certain embodiments, this sensor cluster 614 can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure transducer or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between equipment 600 and other equipment.Equipment 600 can access the wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.In an exemplary enforcement In example, communication component 616 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 616 also includes near-field communication (nfc) module, to promote junction service.For example, RF identification (rfid) technology, Infrared Data Association (irda) technology, ultra broadband (uwb) technology, bluetooth can be based in nfc module (bt) technology and other technologies are realizing.
In the exemplary embodiment, equipment 600 can be by one or more application specific integrated circuits (asic), numeral letter Number processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 604 instructing, above-mentioned instruction can be executed by the processor 620 of equipment 600 to complete said method.For example, Non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, floppy disk and light Data storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of terminal unit So that terminal is able to carry out wake-up control method during row, method includes:
When determination meets software system wake-up condition, detect whether to reach the hardware awake cycle;
When not reaching the hardware awake cycle, wait and reach the hardware awake cycle;
When determining the arrival hardware awake cycle, wake up the software in the hardware platform and software system of terminal simultaneously.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (11)

1. a kind of wake-up control method is it is characterised in that include:
When determination meets software system wake-up condition, detect whether to reach the hardware awake cycle;
When not reaching the hardware awake cycle, wait and reach the hardware awake cycle;
When determining the arrival hardware awake cycle, wake up the software in the hardware platform and software system of terminal simultaneously.
2. method according to claim 1 it is characterised in that the described hardware awake cycle determine in the following way:
It needs to be determined that during the hardware awake cycle, opening the mask pattern that shielding wakes up the operation of software in software system;
Determine whether to enter deep sleep state according to the operating frequency of hardware platform under mask pattern;
Determine that the time interval entering deep sleep twice is the hardware awake cycle;
Close the mask pattern that shielding wakes up the operation of software in software system.
3. method according to claim 2 it is characterised in that: described open shielding wake up software system in software behaviour After the mask pattern made, also include:
The operating frequency of described hardware platform is read using setting sample frequency from depositor.
4. the method according to Claims 2 or 3 it is characterised in that described under mask pattern according to the work of hardware platform frequency Rate determines whether to enter deep sleep state, comprising:
Under mask pattern, using the operating frequency setting sample frequency reading hardware platform in preset time period;
Two that preset time period is read in the same size and for the minimum operating frequency corresponding moment, is defined as entering sound sleep The moment of dormancy state.
5. according to the method in claim 2 or 3 it is characterised in that described work under mask pattern according to hardware platform Working frequency determines whether to enter deep sleep state, comprising:
Under mask pattern, big using the operating frequency and electric current setting sample frequency reading hardware platform in preset time period Little;
When the electric current reading hardware platform is less than predetermined threshold value, the operating frequency of the hardware platform that record reads;
When operating frequency that two that preset time period is read in the same size and corresponding electric currents are less than predetermined threshold value is corresponding Carve, be defined as entering the moment of deep sleep state.
6. a kind of wake-up control device is it is characterised in that include:
Detection module, when meeting software system wake-up condition for determining, detects whether to reach the hardware awake cycle;
Wait module, for when described detection module determines and do not reach the hardware awake cycle, waiting and reaching the hardware awake cycle;
Wake module, for when described detection module determines and reaches the hardware awake cycle, waking up the hardware platform of terminal simultaneously With the software in software system.
7. device according to claim 6 is it is characterised in that described device also includes:
Wake-up period determining module, for determining the hardware awake cycle in the following way: it needs to be determined that the hardware awake cycle When, open the mask pattern that shielding wakes up the operation of software in software system, the work according to hardware platform under mask pattern Working frequency determines whether to enter deep sleep state, determines that the time interval entering deep sleep twice is hardware awake week Phase, close the mask pattern that shielding wakes up the operation of software in software system;
Described detection module obtains, from described wake-up period determining module, the hardware awake cycle determining.
8. device according to claim 7 it is characterised in that:
Described wake-up period determining module reads the operating frequency of described hardware platform from depositor using setting sample frequency.
9. the device according to claim 7 or 8 it is characterised in that:
Described wake-up period determining module is under mask pattern, flat using setting sample frequency reading hardware in preset time period The operating frequency of platform, two that preset time period is read in the same size and for the minimum operating frequency corresponding moment, determines For entering the moment of deep sleep state.
10. the device according to claim 7 or 8 it is characterised in that:
Described wake-up period determining module is under mask pattern, flat using setting sample frequency reading hardware in preset time period The operating frequency of platform and size of current, when the electric current reading hardware platform is less than predetermined threshold value, the hardware platform that record reads Operating frequency, two that preset time period is read in the same size and corresponding electric currents are less than the operating frequency pair of predetermined threshold value In the moment answered, it is defined as entering the moment of deep sleep state.
A kind of 11. mobile terminals are it is characterised in that include:
Processor and the memorizer for storing processor executable;
Wherein, described processor is configured to:
When determination meets software system wake-up condition, detect whether to reach the hardware awake cycle;
When not reaching the hardware awake cycle, wait and reach the hardware awake cycle;
When determining the arrival hardware awake cycle, wake up the software in the hardware platform and software system of terminal simultaneously.
CN201610729499.9A 2016-08-25 2016-08-25 Awakening control method and device and terminal Pending CN106371831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610729499.9A CN106371831A (en) 2016-08-25 2016-08-25 Awakening control method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610729499.9A CN106371831A (en) 2016-08-25 2016-08-25 Awakening control method and device and terminal

Publications (1)

Publication Number Publication Date
CN106371831A true CN106371831A (en) 2017-02-01

Family

ID=57902619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610729499.9A Pending CN106371831A (en) 2016-08-25 2016-08-25 Awakening control method and device and terminal

Country Status (1)

Country Link
CN (1) CN106371831A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168709A (en) * 2017-05-15 2017-09-15 深圳市炜光科技有限公司 The intelligent improved method of the electricity of terminal and system
CN107526603A (en) * 2017-09-20 2017-12-29 深圳天珑无线科技有限公司 One kind applies awakening method and device
CN109143075A (en) * 2018-07-16 2019-01-04 苏州朗捷通智能科技有限公司 A kind of acquisition method and system of voltage
CN110536019A (en) * 2019-09-05 2019-12-03 深圳市智微智能科技开发有限公司 High stability timing wake-up method and apparatus
CN111309095A (en) * 2020-01-16 2020-06-19 广州小鹏汽车科技有限公司 Timing device, control method of timing device and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216501A (en) * 2014-08-21 2014-12-17 刘勇 Electricity saving method for mobile terminal, electricity saving system for mobile terminal and mobile terminal
CN104239132A (en) * 2014-09-16 2014-12-24 深圳市中兴移动通信有限公司 Wakeup synchronization method, device and terminal
CN105528055A (en) * 2015-12-30 2016-04-27 小米科技有限责任公司 Running object processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216501A (en) * 2014-08-21 2014-12-17 刘勇 Electricity saving method for mobile terminal, electricity saving system for mobile terminal and mobile terminal
CN104239132A (en) * 2014-09-16 2014-12-24 深圳市中兴移动通信有限公司 Wakeup synchronization method, device and terminal
CN105528055A (en) * 2015-12-30 2016-04-27 小米科技有限责任公司 Running object processing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168709A (en) * 2017-05-15 2017-09-15 深圳市炜光科技有限公司 The intelligent improved method of the electricity of terminal and system
CN107526603A (en) * 2017-09-20 2017-12-29 深圳天珑无线科技有限公司 One kind applies awakening method and device
CN107526603B (en) * 2017-09-20 2021-01-08 深圳天珑无线科技有限公司 Application awakening method and device
CN109143075A (en) * 2018-07-16 2019-01-04 苏州朗捷通智能科技有限公司 A kind of acquisition method and system of voltage
CN110536019A (en) * 2019-09-05 2019-12-03 深圳市智微智能科技开发有限公司 High stability timing wake-up method and apparatus
CN111309095A (en) * 2020-01-16 2020-06-19 广州小鹏汽车科技有限公司 Timing device, control method of timing device and terminal

Similar Documents

Publication Publication Date Title
CN106371831A (en) Awakening control method and device and terminal
CN104298547B (en) terminal setting method and device
CN106375604B (en) The method and apparatus of controlling terminal electricity
CN104219388B (en) Sound control method and device
WO2016150163A1 (en) Module wakeup method and apparatus
CN104657057A (en) Terminal waking method and device
EP3133874B1 (en) Method and apparatus for starting energy saving mode
CN103885588A (en) Automatic switchover method and device
CN107506019A (en) Management method and device, terminal, the storage medium of application program
CN105137831B (en) Energy-saving mode open method and device
CN107134823A (en) Charge prompting method and device
CN106774774A (en) The electric quantity display method and device of end cell
CN107708187A (en) The control method and device of sleep pattern
CN105892618A (en) Information display method and device and electronic device
CN106604375A (en) Dormancy device and method
CN105807894A (en) Processing method and device of lock holding of application
EP3112979A1 (en) Method and device for waking up mcu
CN106357910A (en) Terminal working mode switching method and device
CN106354242A (en) Mode switching method and device
CN107919124A (en) Equipment awakening method and device
CN106774802A (en) The reminding method of terminal power, device and terminal
CN105653186A (en) Terminal control method and device
CN105159434A (en) Time display method, device and terminal
CN106455002A (en) Wireless search method and device, and terminal
CN107608561A (en) Touch-screen control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination