[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108681467A - A kind of system wake-up method, terminal - Google Patents

A kind of system wake-up method, terminal Download PDF

Info

Publication number
CN108681467A
CN108681467A CN201810257679.0A CN201810257679A CN108681467A CN 108681467 A CN108681467 A CN 108681467A CN 201810257679 A CN201810257679 A CN 201810257679A CN 108681467 A CN108681467 A CN 108681467A
Authority
CN
China
Prior art keywords
module
hardware module
wake
terminal
interruption
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
Application number
CN201810257679.0A
Other languages
Chinese (zh)
Other versions
CN108681467B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810257679.0A priority Critical patent/CN108681467B/en
Publication of CN108681467A publication Critical patent/CN108681467A/en
Application granted granted Critical
Publication of CN108681467B publication Critical patent/CN108681467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of system wake-up method, terminal, this method includes:In the case where detecting the down trigger for waking up system, the hardware module for handling the interruption in the system is determined;Wake up the hardware module for handling the interruption in the system.In this way, due in down trigger and when waking up system, therefore, the quantity for the hardware module being waken up can be reduced, and then reduce the wakeup time of system according to the hardware module only waken up in terminal for handling the interruption is interrupted.Simultaneously as reducing the quantity for the hardware module being waken up, and hence it is also possible to reduce system power dissipation.

Description

A kind of system wake-up method, terminal
Technical field
The present invention relates to intelligent terminal field more particularly to a kind of system wake-up method, terminals.
Background technology
With the rapid development of science and technology, there are various terminal devices, for example, smart mobile phone, iPad etc.. These terminal devices usually have the function of suspend mode, when without using terminal device, the system entrance of terminal device can be enabled to stop Dormancy state, to save the electricity of terminal device.
After the system of terminal device enters dormant state, when being useful for the down trigger of wake-up system, need to wake up The system of terminal device, so as to be handled interruption after wake-up system.In the prior art, terminal device is being waken up When system, it will usually wake up each hardware module in terminal device successively.However, this system wake-up method is due to needing Each hardware module in terminal device is waken up successively, causes the wakeup time of terminal device system longer.
Invention content
A kind of system wake-up method of offer of the embodiment of the present invention, terminal are set in wake-up terminal in the prior art for solving When standby system, due to needing to wake up each hardware module in terminal device successively, the system wake-up time is caused longer to be asked Topic.
In a first aspect, a kind of system wake-up method is provided, including:
In the case where detecting the down trigger for waking up system, determine in terminal for handling the hard of the interruption Part module;
Wake up the hardware module for handling the interruption in the terminal.
Second aspect provides a kind of terminal, including:
In the case where detecting the down trigger for waking up system, determine in terminal for handling the hard of the interruption Part module;
Wake up the hardware module for handling the interruption in the terminal.
The third aspect provides a kind of terminal, including:It memory, processor and is stored on the memory and can be The computer program run on the processor is realized when the computer program is executed by the processor such as first aspect institute The step of method stated.
Fourth aspect provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium It is stored with computer program in matter, the step of method as described in relation to the first aspect is realized when the computer program is executed by processor Suddenly.
Technical solution provided by the embodiments of the present application, in the case where detecting the down trigger for waking up system, really Hardware module in the fixed terminal for handling the interruption;Wake up the hardware mould for handling the interruption in the terminal Block.In this way, due in down trigger and when waking up system, can only be waken up in terminal according to interrupting for handling the interruption Hardware module, therefore, it is possible to reduce the quantity for the hardware module being waken up, and then reduce the wakeup time of system.Simultaneously as Reduce the quantity for the hardware module being waken up, and hence it is also possible to reduce system power dissipation.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and constitutes the part of the present invention, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow diagram of one embodiment of the present of invention system wake-up method;
Fig. 2 is the flow diagram of one embodiment of the present of invention system wake-up method;
Fig. 3 is the structural schematic diagram of one embodiment of the present of invention terminal;
A kind of hardware architecture diagram of Fig. 4 mobile terminals of each embodiment to realize the present invention.
Specific implementation mode
In the prior art, the system of terminal device can close each in terminal device successively when entering dormant state Hardware module, later, system enter dormant state.When being used to wake up the down trigger of system in terminal device, terminal device According to the opposite sequence for closing each hardware module each hardware module can be waken up successively, to wake up system.
After system is waken up, system can handle the interruption.Later, in the case where not needing using terminal equipment, System can be again introduced into dormant state, and when being triggered again for waking up the interruption of system, terminal device can be according to above-mentioned The method of record wakes up system again, and the system of having no progeny can go successively to dormant state ... ... in processes, so recycles.
However, in practical applications, when system is waken up and handles interruption, not necessarily use be waken up it is each hard Part module causes some unnecessary hardware modules to be waken up, that is, extends the wakeup time of system, wastes the electricity of system Amount.
It can be seen that system wake-up method in the prior art, each hard in terminal device due to needing to wake up successively Part module causes the wakeup time of system longer, and power consumption is more.
In order to solve the above-mentioned technical problem, a kind of system wake-up method of offer of the embodiment of the present invention, terminal, this method packet It includes:In the case where detecting the down trigger for waking up system, the hardware mould for handling the interruption in terminal is determined Block;Wake up the hardware module for handling the interruption in the terminal.In this way, due in down trigger and when waking up system, It can be according to the hardware module only waken up in terminal for handling the interruption be interrupted, therefore, it is possible to reduce the hardware being waken up The quantity of module, and then reduce the wakeup time of system.Simultaneously as reduce the quantity for the hardware module being waken up, therefore, System power dissipation can also be reduced.
Technical solution of the present invention is carried out clearly and completely below in conjunction with the specific embodiment of the invention and corresponding attached drawing Description.Obviously, described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the present invention In embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The terminal (or terminal device) that the embodiment of the present invention is recorded includes mobile terminal and the ends PC, and the mobile terminal can be with It is smart mobile phone, tablet computer, smartwatch etc..Technical solution provided in an embodiment of the present invention is wake up the terminal It, can be by reducing system in wakeup time and wakeup process of the quantity for the hardware module being waken up to shorten system when system The electricity of consumption.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
Fig. 1 is the flow diagram of one embodiment of the present of invention system wake-up method.The method is as described below.
Step 102:In the case where detecting the down trigger for waking up system, determine described for handling in terminal The hardware module of interruption.
In a step 102, after the system of terminal enters dormant state, terminal can detect whether to be useful for waking up in real time The down trigger of system, in the case where detecting the down trigger for waking up system, it may be determined that the terminal is for locating Manage the hardware module of the interruption.
In the embodiment of the present invention, the down trigger for waking up system can be incoming call, short message and each application software Notice or prompt message (for example, the chat message that social software receives, be used for the prompt message of prompt terminal low battery Deng), can also be other can enable terminal enter the information of non-sleep state by dormant state, no longer illustrate one by one here It is bright.
Hardware module for handling the interruption is it is also understood that after wake-up system, and system is in processing is described The hardware module that can be used when disconnected can be specifically the hardware module for power supply.
For example, terminal when receiving short message, needs to remind user by way of indicator light, then, indicator light can To be considered as the hardware module for handling short message;For another example terminal needs to adjust when receiving the excessively high prompt message of temperature Cooled down to terminal with correlation modules such as CPU module and system resource managers, then, CPU module and system resource management The correlation modules such as device can be considered as the hardware module excessively high for treatment temperature.
For one interrupts, it can be one for handling the number of hardware module of the interruption, can also be more It is a, when being used to handle the hardware module of the interruption in determining terminal, it may be determined that for handling all of the interruption Hardware module.
In the embodiment of the present invention, in the case where detecting the down trigger for waking up system, determines in terminal and be used for The hardware module for handling the interruption may include:
In the case where detecting the down trigger for waking up system, according to it is described interruption from map listing search with It is described to interrupt corresponding module id, it is stored with different interruptions in the map listing and is used to handle the hard of the different interruptions Mapping relations between the module id of part module;
The corresponding hardware module of the module id is determined as the module in the terminal for handling the interruption.
It specifically,, can for each can wake up the interruption of system before implementing technical scheme of the present invention To determine one or more hardware modules for handling each interruption, later, different interruptions can be established and be used to locate The mapping relations between the module id of the hardware module of different interruptions are managed, and the mapping relations are stored in map listing In.
In this way, in the case where detecting the down trigger for waking up system, can be reflected from described according to the interruption It penetrates and searches module id corresponding with the interruption in list, the corresponding hardware module of module id found is for locating Manage the hardware module of the interruption.
Step 104:Wake up the hardware module for handling the interruption in the terminal.
At step 104, it after the hardware module in determining terminal for handling the interruption, can only wake up for locating The hardware module for managing the interruption avoids being waken up for unnecessary hardware module, with the wakeup time for the system of saving.Meanwhile Due to reducing the quantity for the hardware module being waken up, and hence it is also possible to reduce system power dissipation.
In the embodiment of the present invention, the hardware module for handling the interruption in the terminal is waken up, may include:
It determines and waits for wake-up module queue, it is described to wait for that the system comprising the terminal enters dormant state in wake-up module queue The module id for multiple hardware modules that Shi Yici is closed;
Judged successively each according to the opposite sequence for the sequence for closing the multiple hardware module according to the module id Whether the corresponding hardware module of a module id is hardware module for handling the interruption;
If so, waking up the corresponding hardware module of the module id.
Specifically, the system of terminal can close in terminal successively in a certain order when entering dormant state Each hardware module, after closing each hardware module, terminal can will be each according to the sequencing for closing each hardware module The module id of a hardware module is stored successively to waiting in wake-up module queue.
In this way, after determining the hardware module for handling the interruption, can be waited in wake-up module queue according to described The modules of storage identify, and according to the opposite sequence for the sequencing for storing each module id, judge each module mark successively Know whether corresponding hardware module is hardware module for handling the interruption.
For module id one of in the queue to be waken up, if the corresponding hardware module of the module id For the hardware module for handling the interruption, then the corresponding hardware module of the module id can be waken up.
In the corresponding hardware module of the wake-up module id, may include:
Determine the wake-up function for waking up the hardware module;
By calling the wake-up function to wake up the hardware module.
Specifically, in the embodiment of the present invention, for each hardware module, the driving of the hardware module can all register One wake-up function, wakes up function and can be used for waking up the hardware module, wherein different hardware modules can have different Wake up function.
In this way, in the corresponding hardware module of the wake-up module id, it may be determined that the wake-up for waking up the module Function, and the hardware module is activated and wakes up by calling the wake-up function, including the hardware module is powered on, is changed GPIO states in the hardware module etc..
For module id one of in the queue to be waken up, if the corresponding hardware module of the module id Be not hardware module for handling the interruption, then can skip the corresponding hardware module of the module id, i.e., do not activate and The corresponding hardware module of the module id is waken up, is waken up to avoid unnecessary hardware module.It need not simultaneously as avoiding The hardware module wanted is waken up, it can thus be avoided these hardware modules consume electricity, reduces system power dissipation.
After skipping the corresponding hardware module of the module id, the next module mark for judging the module id can be continued Whether is hardware module for handle the interruption, wherein evening shut-in time of the corresponding hardware module of the module id if knowing In the shut-in time of the corresponding hardware module of next module id of the module id.
It, can be according to if the corresponding hardware module of next module id is the hardware module for handling the interruption The method of above-mentioned record wakes up the hardware module, conversely, can then skip the hardware module, and according to the method for above-mentioned record after It is continuous to judge whether the corresponding hardware module of other module ids is hardware module ... ... for handling the interruption, up to institute It states and waits for the corresponding hardware module of the last one module id in wake-up module queue.Wherein, described to wait in wake-up module queue most The corresponding hardware module of the latter module id can be that system carries out the hardware module closed at first when ox surface state.
In this way, can successively be waken up each according to the opposite sequence for waiting for wake-up module queue storage modules mark Hardware module in the corresponding hardware module of module id for handling the interruption.
For example, CPU thermo-sensitive resistors built-in in terminal can trigger interruption when monitoring that environment temperature has large change It is controlled with the temperature to terminal, wherein the hardware module for being handled the interruption (controls temperature Hardware module) may include the correlation modules such as master cpu, system resource managers, interrupt control unit, not including WIFI, USB etc. Hardware module.
Assuming that the closing sequencing of master cpu, system resource managers, interrupt control unit, WIFI module, USB module It is:Interrupt control unit, WIFI module, USB module, system resource managers, master cpu can be successively then in the system of wake-up Master cpu and system resource managers are waken up, USB module, WIFI module, wake-up interrupts controller are skipped.
In embodiments of the present invention, the hardware module for handling the terminal is being waken up according to the method for above-mentioned record Afterwards, terminal can execute other wake operations, including but not limited to console switching, process defrosting etc., to complete the whole of system A wake-up flow.
After system is waken up, the interruption can be handled.After the interruption is completed in processing, system can be again Into dormant state, in the case where detecting the down trigger for waking up system, can be called out according to the method for above-mentioned record The system of waking up.
Technical solution provided in an embodiment of the present invention, in the case where detecting the down trigger for waking up system, really Determine the hardware module for handling the interruption in terminal;Wake up the hardware module for handling the interruption in the terminal. In this way, due in down trigger and when waking up system, can only be waken up in terminal according to interrupting for handling the hard of the interruption Part module, therefore, it is possible to reduce the quantity for the hardware module being waken up, and then reduce the wakeup time of system.Simultaneously as subtracting The quantity for the hardware module being waken up is lacked, and hence it is also possible to reduce system power dissipation.
Fig. 2 is a kind of flow diagram of system wake-up method provided in an embodiment of the present invention.System wake-up shown in Fig. 2 Method belongs to identical invention thinking with system wake-up method shown in FIG. 1.The method is as described below.
Step 201:Detect whether the down trigger for being useful for wake-up system.
In step 201, the system of terminal can detect whether to be useful for wake-up system in real time after entering dormant state Down trigger, if so, step 202 can be executed;If it is not, can then continue to execute step 201.
Interruption for waking up system can be the notification information etc. of incoming call, short message and each application software, can also Being other can enable terminal enter the information of non-sleep state by dormant state.Here it no longer illustrates one by one.
Step 202:Determine the hardware module for handling the interruption in terminal.
In step 202, it can be searched from predetermined map listing corresponding with the interruption according to the interruption Module id, the corresponding hardware module of the module id is described to interrupt corresponding hardware module.Wherein, the mapping row Different interruptions can be stored in table to close from the mapping between the module id of the hardware module for handling the different interruptions System.
In the embodiment of the present invention, it may be determined that all hardware module of the interruption for processing.
Step 203:Determination waits for wake-up module queue.
It is described closed successively when the system that in wake-up module can include the terminal enter dormant state it is multiple hard The module id of part module.Wherein, the sequencing for waiting for that wake-up module stores multiple module ids is to close multiple modules Identify the sequencing of corresponding hardware module.
Step 204:Wait for whether the corresponding hardware module of module id current in wake-up module queue is use described in judgement In the hardware module for handling the interruption.
It in step 204, can be according to the inverse of the sequencing for waiting for wake-up module queue storage modules mark Sequentially, since the last one module id of storage, judge successively the corresponding hardware module of current module id whether be Hardware module for handling the interruption.
If the corresponding hardware module of the module id is the hardware module for handling the interruption, step can be executed 205;If the corresponding hardware module of the module id is not the hardware module for handling the interruption, step can be executed 206。
Step 205:Wake up the corresponding hardware module of the module id.
It can specifically determine the wake-up function for waking up the hardware module, and the wake-up by calling the hardware module Function wakes up the hardware module.
After waking up the corresponding hardware module of the module id, step 207 can be executed.
Step 206:Skip the corresponding hardware module of the module id.
It skips the corresponding hardware module of the module id and does not wake up the corresponding hardware module of the module id, to keep away Exempt from unnecessary hardware module to be waken up, shortens wakeup time, reduce the electricity of system consumption.
Step 207:Judge whether the module id is first module id for waiting for wake-up module queue storage.
In step 207, if the module id is not first module id for waiting for wake-up module queue storage, It can then determine next module id of the module id, and execute step 204, in order to wake up each module id Hardware module in corresponding hardware module for handling the interruption;Conversely, can then execute step 208.Wherein, described to wait for The time that wake-up module queue stores the module id is later than time of the next module id for storing the module id.
Step 208:Execute other operations of wake-up system.
Other operations of wake-up system include but not limited to the switching of console, process defrosting etc..
After other operations for executing wake-up system, system is waken up, at this point, system can execute the interruption.It is being After system handles the interruption, it can be again introduced into dormant state, and execute step 201.
The technical solution provided in the embodiment of the present invention is waking up after detecting the down trigger for waking up system When system, by determining hardware module for handling the interruption, and the hardware module for handling the interruption is only waken up, it can be with Unnecessary hardware module is avoided to be waken up.In this way, due to the quantity for the hardware module for reducing wake-up, it is possible to reduce The wakeup time of system.Simultaneously as reducing the quantity for the hardware module being waken up, and hence it is also possible to reduce system power dissipation.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the sequence in embodiment It executes and desired result still may be implemented.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can With or it may be advantageous.
Fig. 3 is the structural schematic diagram of one embodiment of the present of invention terminal.The terminal includes:It determining module 31 and calls out Awake module 32, wherein:
Determining module 31 determines in terminal in the case where detecting the down trigger for waking up system for handling The hardware module of the interruption;
Wake-up module 32 wakes up the hardware module for handling the interruption in the terminal.
Optionally, the wake-up module 32 includes:
Determination sub-module 321 waits for wake-up module queue for determining, described to wait for including the terminal in wake-up module queue System enter the module ids of the multiple hardware modules closed successively when dormant state;
Judging submodule 322 is used for according to the module id, according to the inverse of the sequence for closing the multiple hardware module Sequentially, judge whether the corresponding hardware module of each described module id is hardware mould for handling the interruption successively Block;
Submodule 323 is waken up, for determining that the corresponding hardware module of the module id is for handling the interruption Hardware module when, wake up the corresponding hardware module of the module id.
Optionally, the wake-up submodule 323 includes:
Determination unit 3231, for determining the wake-up function for waking up the hardware module;
Wakeup unit 3232, for by calling the wake-up function to wake up the hardware module.
Optionally, the judging submodule 232, the hardware module to be waken up described in determination be for handle it is described in When disconnected hardware module, the hardware module to be waken up is skipped, and judge whether next hardware module to be waken up is use In the hardware module for handling the interruption, until described wait for the hardware module to be waken up of the last one in wake-up module queue.
Optionally, the determining module 31 includes:
Submodule 311 is searched, in the case where detecting the down trigger for waking up system, according to the interruption Module id corresponding with the interruption is searched from map listing, and different interruptions are stored in the map listing and are used to locate Manage the mapping relations between the module id of the different hardware modules interrupted;
The corresponding hardware module of the module id is determined as in the terminal for handling institute by determination sub-module 322 State the hardware module of interruption.
Terminal provided in an embodiment of the present invention can realize each mistake that terminal is realized in the embodiment of the method for Fig. 1 and Fig. 2 Journey, to avoid repeating, which is not described herein again.In the embodiment of the present invention, in the feelings for detecting the down trigger for waking up system Under condition, the hardware module for handling the interruption in terminal is determined;It wakes up in the terminal for handling the hard of the interruption Part module.In this way, due in down trigger and when waking up system, can according to interrupt in only wake-up system for handle it is described in Disconnected hardware module, therefore, it is possible to reduce the quantity for the hardware module being waken up, and then reduce the wakeup time of system.Meanwhile Due to reducing the quantity for the hardware module being waken up, and hence it is also possible to reduce system power dissipation.
A kind of hardware architecture diagram of Fig. 4 mobile terminals of each embodiment to realize the present invention.
The mobile terminal 400 includes but not limited to:It is radio frequency unit 401, network module 402, audio output unit 403, defeated Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, either combine certain components or Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410, in the case where detecting the down trigger for waking up system, determining in terminal Hardware module for handling the interruption;
Wake up the hardware module for handling the interruption in the terminal.
In this way, due in down trigger and when waking up system, it can be described for handling in only wake-up system according to interrupting The hardware module of interruption, therefore, it is possible to reduce the quantity for the hardware module being waken up, and then reduce the wakeup time of system.Together When, due to reducing the quantity for the hardware module being waken up, and hence it is also possible to reduce system power dissipation.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Reception and initiation, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink Data are initiated to base station.In general, radio frequency unit 401 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 402 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 403 can receive radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loud speaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is initiated in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be Being converted in the case of telephone calling model can initiate to the format of mobile communication base station to export via radio frequency unit 401.
Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touch The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal Transmission data between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including:Processor 410, memory 409, is stored in On memory 409 and the computer program that can be run on the processor 410, the computer program are executed by processor 410 Each process of Shi Shixian above system awakening method embodiments, and identical technique effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program realizes each process of above system awakening method embodiment, and energy when the computer program is executed by processor Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (11)

1. a kind of system wake-up method, which is characterized in that including:
In the case where detecting the down trigger for waking up system, the hardware mould for handling the interruption in terminal is determined Block;
Wake up the hardware module for handling the interruption in the terminal.
2. the method as described in claim 1, which is characterized in that wake up the hardware mould for handling the interruption in the terminal Block, including:
Determine and wait for wake-up module queue, it is described when the system in wake-up module queue including the terminal enters dormant state according to The module id of multiple hardware modules of secondary closing;
Each institute is judged successively according to the opposite sequence for the sequence for closing the multiple hardware module according to the module id State whether the corresponding hardware module of module id is hardware module for handling the interruption;
If so, waking up the corresponding hardware module of the module id.
3. method as claimed in claim 2, which is characterized in that the corresponding hardware module of the module id is waken up, including:
Determine the wake-up function for waking up the hardware module;
By calling the wake-up function to wake up the hardware module.
4. method as claimed in claim 2, which is characterized in that the method further includes:
If the corresponding hardware module of the module id is not the hardware module for handling the interruption, the module is skipped Corresponding hardware module is identified, and judges whether the corresponding hardware module of next module id is for handling the interruption Hardware module, until described wait for the corresponding hardware module of the last one module id in wake-up module queue.
5. the method as described in claim 1, which is characterized in that the case where detecting the down trigger for waking up system Under, determine the hardware module for handling the interruption in terminal, including:
In the case where detecting the down trigger for waking up system, according to it is described interruption from map listing search with it is described Corresponding module id is interrupted, different interruptions and the hardware mould for handling the different interruptions are stored in the map listing Mapping relations between the module id of block;
The corresponding hardware module of the module id is determined as the module in the terminal for handling the interruption.
6. a kind of terminal, which is characterized in that including:
Determining module, in the case where detecting the down trigger for waking up system, determine in terminal for handle it is described in Disconnected hardware module;
Wake-up module wakes up the hardware module for handling the interruption in the terminal.
7. terminal as claimed in claim 6, which is characterized in that the wake-up module includes:
Determination sub-module waits for wake-up module queue, the system for waiting for including the terminal in wake-up module queue for determination The module id for the multiple hardware modules closed successively when into dormant state;
Judging submodule, for according to the module id, according to the opposite sequence for the sequence for closing the multiple hardware module, according to It is secondary to judge whether the corresponding hardware module of each described module id is hardware module for handling the interruption;
Submodule is waken up, for determining that the corresponding hardware module of the module id is the hardware mould for handling the interruption When block, the corresponding hardware module of the module id is waken up.
8. terminal as claimed in claim 7, which is characterized in that the wake-up submodule includes:
Determination unit, for determining the wake-up function for waking up the hardware module;
Wakeup unit, for by calling the wake-up function to wake up the hardware module.
9. terminal as claimed in claim 7, which is characterized in that
The judging submodule, the hardware module to be waken up described in determination are not the hardware module for handling the interruption When, skip the hardware module to be waken up, and judge next hardware module to be waken up whether be for handle it is described in Disconnected hardware module, until described wait for the hardware module to be waken up of the last one in wake-up module queue.
10. terminal as claimed in claim 6, which is characterized in that the determining module includes:
Submodule is searched, in the case where detecting the down trigger for waking up system, being interrupted from mapping according to described Module id corresponding with the interruption is searched in list, and different interruptions are stored in the map listing and is used to handle described Mapping relations between the module id for the hardware module that difference is interrupted;
The corresponding hardware module of the module id is determined as in the terminal for handling the interruption by determination sub-module Hardware module.
11. a kind of terminal, which is characterized in that including:It memory, processor and is stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 5 The step of method described in one.
CN201810257679.0A 2018-03-27 2018-03-27 System awakening method and terminal Active CN108681467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810257679.0A CN108681467B (en) 2018-03-27 2018-03-27 System awakening method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810257679.0A CN108681467B (en) 2018-03-27 2018-03-27 System awakening method and terminal

Publications (2)

Publication Number Publication Date
CN108681467A true CN108681467A (en) 2018-10-19
CN108681467B CN108681467B (en) 2021-07-06

Family

ID=63799707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810257679.0A Active CN108681467B (en) 2018-03-27 2018-03-27 System awakening method and terminal

Country Status (1)

Country Link
CN (1) CN108681467B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347439A (en) * 2019-07-22 2019-10-18 Oppo广东移动通信有限公司 Processor awakening method, device, terminal and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186112A (en) * 2011-05-10 2011-09-14 深圳创维数字技术股份有限公司 IPTV (Interactive Personality TV) receiving terminal and remote wakeup method and system thereof
CN102968174A (en) * 2012-11-06 2013-03-13 珠海全志科技股份有限公司 Deep sleep awakening method of android device
CN103199968A (en) * 2012-01-09 2013-07-10 卓望数码技术(深圳)有限公司 Sending method of messages and system
US20150277545A1 (en) * 2014-03-31 2015-10-01 Motorola Mobility, Llc Apparatus and Method for Awakening a Primary Processor Out of Sleep Mode
CN105264499A (en) * 2013-12-20 2016-01-20 华为技术有限公司 Method and device for processing messages in shared queue and receiving core
CN105302548A (en) * 2015-09-24 2016-02-03 深圳Tcl数字技术有限公司 Android device standby and waking-up method and apparatus
CN106528092A (en) * 2016-10-18 2017-03-22 珠海市魅族科技有限公司 System awakening method and apparatus
CN107783790A (en) * 2017-11-07 2018-03-09 北京小米移动软件有限公司 terminal awakening method and device
CN107835462A (en) * 2017-11-15 2018-03-23 晶晨半导体(上海)股份有限公司 A kind of system wake-up method under standby mode
CN108108007A (en) * 2017-12-21 2018-06-01 维沃移动通信有限公司 A kind of processing method and mobile terminal for reducing power consumption

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186112A (en) * 2011-05-10 2011-09-14 深圳创维数字技术股份有限公司 IPTV (Interactive Personality TV) receiving terminal and remote wakeup method and system thereof
CN103199968A (en) * 2012-01-09 2013-07-10 卓望数码技术(深圳)有限公司 Sending method of messages and system
CN102968174A (en) * 2012-11-06 2013-03-13 珠海全志科技股份有限公司 Deep sleep awakening method of android device
CN105264499A (en) * 2013-12-20 2016-01-20 华为技术有限公司 Method and device for processing messages in shared queue and receiving core
US20150277545A1 (en) * 2014-03-31 2015-10-01 Motorola Mobility, Llc Apparatus and Method for Awakening a Primary Processor Out of Sleep Mode
CN105302548A (en) * 2015-09-24 2016-02-03 深圳Tcl数字技术有限公司 Android device standby and waking-up method and apparatus
CN106528092A (en) * 2016-10-18 2017-03-22 珠海市魅族科技有限公司 System awakening method and apparatus
CN107783790A (en) * 2017-11-07 2018-03-09 北京小米移动软件有限公司 terminal awakening method and device
CN107835462A (en) * 2017-11-15 2018-03-23 晶晨半导体(上海)股份有限公司 A kind of system wake-up method under standby mode
CN108108007A (en) * 2017-12-21 2018-06-01 维沃移动通信有限公司 A kind of processing method and mobile terminal for reducing power consumption

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
K KAUSHIK等: "Low-Cost Wake-Up Receiver for RF Energy Harvesting Wireless Sensor Networks", 《IEEE SENSORS JOURNAL》 *
朱仕浪等: "基于KL25低功耗唤醒机制的TSI键盘应用分析", 《计算机工程与设计》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347439A (en) * 2019-07-22 2019-10-18 Oppo广东移动通信有限公司 Processor awakening method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN108681467B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN108108007B (en) A kind of processing method and mobile terminal reducing power consumption
CN109151180A (en) A kind of object identifying method and mobile terminal
CN108322599B (en) Network access method and mobile terminal
CN107678829A (en) A kind of application control method and mobile terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN106911848A (en) Method and Terminal Equipment for Outputting Prompt Messages
CN108469968A (en) A kind of applied program processing method and mobile terminal
CN107888765A (en) A kind of method of handoff scenario pattern, mobile terminal
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN109803360A (en) WiFi dormancy control method, device, electronic equipment and storage medium
CN107592665A (en) A kind of control method of application program, device and mobile terminal
CN108388400A (en) A kind of operation processing method and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
CN109474747A (en) A kind of information cuing method and mobile terminal
CN109947484A (en) A kind of control method, terminal and computer readable storage medium waking up lock
CN210894629U (en) Electric meter assembly and electronic equipment
CN109063076A (en) A kind of Picture Generation Method and mobile terminal
CN108200635A (en) The progress control method and mobile terminal of a kind of application program
CN108153652A (en) A kind of progress display methods and mobile terminal
CN108681467A (en) A kind of system wake-up method, terminal
CN110213439A (en) A kind of message treatment method and terminal
CN109947617A (en) A kind of method, terminal and readable storage medium storing program for executing monitored application interface and show content
CN109144577A (en) A kind of screen awakening method, terminal and computer readable storage medium
CN108184014A (en) The based reminding method and mobile terminal of a kind of notification message
CN108833712A (en) A kind of message prompt method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant