Summary of the invention
The invention provides a kind of terminal sleeping method and terminal, dissimilar LTE terminal cannot be met to solve single park mode, bend down the problem of power consumption demand at different application scenarioss.
In order to solve the problem, the invention discloses a kind of terminal sleeping method, comprising:
Judge whether terminal meets dormancy condition;
When described terminal meets dormancy condition, obtain the park mode corresponding with the terminal type of described terminal; Described terminal type comprises: single-mode terminal, first kind multimode terminal and Second Type multimode terminal, wherein, power mode under the corresponding Advanced Reduced Instruction Set processor of described single-mode terminal type, first kind multimode terminal corresponding Advanced Reduced Instruction Set processor frequency reducing pattern, Second Type multimode terminal corresponding Advanced Reduced Instruction Set processor normal frequency pattern;
Dormancy process is carried out according to the described park mode obtained.
Alternatively, describedly judge whether described terminal meets dormancy condition, comprising:
Judge whether the Advanced Reduced Instruction Set processor of described terminal meets dormancy condition.
Alternatively, describedly judge whether the Advanced Reduced Instruction Set processor of described terminal meets dormancy condition, comprising:
Judge whether the Long Term Evolution business of the Advanced Reduced Instruction Set processor of described terminal in the current discontinuous reception cycle completes;
When the Long Term Evolution business of Advanced Reduced Instruction Set processor in the current discontinuous reception cycle of described terminal completes, judge that the Advanced Reduced Instruction Set processor of described terminal meets dormancy condition;
When the Long Term Evolution business of Advanced Reduced Instruction Set processor in the current discontinuous reception cycle of described terminal does not complete, judge that the Advanced Reduced Instruction Set processor of described terminal does not meet dormancy condition.
Alternatively, the described described park mode according to obtaining carries out dormancy process, comprising:
When described park mode is power mode under Advanced Reduced Instruction Set processor, close the power supply of the radio-frequency module of described terminal, field programmable gate array, digital signal processor and Advanced Reduced Instruction Set processor, make the Double Data Rate synchronous DRAM of described terminal enter self-refresh battery saving mode;
When described park mode is Advanced Reduced Instruction Set processor frequency reducing pattern, close the power supply of the radio-frequency module of described terminal, field programmable gate array and digital signal processor, the Advanced Reduced Instruction Set processor frequency reducing controlling described terminal runs, stop protocol stack relevant to Long Term Evolution in execution cost Advanced Reduced Instruction Set processor, the Double Data Rate synchronous DRAM of described terminal is normally run;
When described park mode is Advanced Reduced Instruction Set processor normal frequency pattern, close the power supply of the radio-frequency module of described terminal, field programmable gate array and digital signal processor, the Advanced Reduced Instruction Set processor normal frequency controlling described terminal is run, stop protocol stack relevant to Long Term Evolution in execution cost Advanced Reduced Instruction Set processor, the Double Data Rate synchronous DRAM of described terminal is normally run.
Alternatively, before the described described park mode according to obtaining carries out dormancy process, described method also comprises:
Calculate the time that the next discontinuous receiving cycle of current discontinuous reception periodic distance starts, and using described time of calculating as dormancy time;
Carry out dormancy process according to the described park mode obtained, comprising:
In described dormancy time, dormancy process is carried out according to the described park mode obtained.
The invention also discloses a kind of terminal, comprising:
Judge module, meets dormancy condition for judging whether;
Acquisition module, for when meeting dormancy condition, obtains the park mode corresponding with the terminal type of described terminal; Described terminal type comprises: single-mode terminal, first kind multimode terminal and Second Type multimode terminal, power mode under the corresponding Advanced Reduced Instruction Set processor of described single-mode terminal type, first kind multimode terminal corresponding Advanced Reduced Instruction Set processor frequency reducing pattern, Second Type multimode terminal corresponding Advanced Reduced Instruction Set processor normal frequency pattern;
Processing module, for carrying out dormancy process according to the described park mode obtained.
Alternatively, described judge module, specifically for judging whether the Advanced Reduced Instruction Set processor of described terminal meets dormancy condition.
Alternatively, described judge module comprises:
Business judges submodule, for judging whether the Long Term Evolution business of the Advanced Reduced Instruction Set processor of described terminal in the current discontinuous reception cycle completes;
First decision sub-module, for when the Long Term Evolution business of Advanced Reduced Instruction Set processor in the current discontinuous reception cycle of described terminal completes, judges that the Advanced Reduced Instruction Set processor of described terminal meets dormancy condition;
Second decision sub-module, for when the Long Term Evolution business of Advanced Reduced Instruction Set processor in the current discontinuous reception cycle of described terminal does not complete, judges that the Advanced Reduced Instruction Set processor of described terminal does not meet dormancy condition.
Alternatively, described processing module comprises:
Lower electric treatment submodule, for when described park mode is power mode under Advanced Reduced Instruction Set processor, close the power supply of the radio-frequency module of described terminal, field programmable gate array, digital signal processor and Advanced Reduced Instruction Set processor, make the Double Data Rate synchronous DRAM of described terminal enter self-refresh battery saving mode;
Down conversion process submodule, during for being Advanced Reduced Instruction Set processor frequency reducing pattern when described park mode, close the power supply of the radio-frequency module of described terminal, field programmable gate array and digital signal processor, the Advanced Reduced Instruction Set processor frequency reducing controlling described terminal runs, stop protocol stack relevant to Long Term Evolution in execution cost Advanced Reduced Instruction Set processor, the Double Data Rate synchronous DRAM of described terminal is normally run;
Normal process submodule, during for being Advanced Reduced Instruction Set processor normal frequency pattern when described park mode, close the power supply of the radio-frequency module of described terminal, field programmable gate array and digital signal processor, the Advanced Reduced Instruction Set processor normal frequency controlling described terminal is run, stop protocol stack relevant to Long Term Evolution in execution cost Advanced Reduced Instruction Set processor, the Double Data Rate synchronous DRAM of described terminal is normally run.
Alternatively, described terminal also comprises:
Computing module, for calculating the time that the next discontinuous receiving cycle of current discontinuous reception periodic distance starts, and using described time of calculating as dormancy time;
Described processing module, specifically for carrying out dormancy process according to the described park mode obtained in described dormancy time.
Compared with prior art, the present invention includes following advantage:
The present invention can select corresponding park mode according to the terminal type of terminal, when terminal type is single-mode terminal, and power mode under selection Advanced Reduced Instruction Set processor; When terminal type is first kind multimode terminal, select Advanced Reduced Instruction Set processor frequency reducing pattern; When terminal type is Second Type multimode terminal, select Advanced Reduced Instruction Set processor normal frequency pattern; Then, when terminal meets dormancy condition, control terminal carries out corresponding dormancy process according to selected park mode.The Low-power-consumptiodormancy dormancy demand of dissimilar terminal is different, the present invention can select different park modes to carry out dormancy process according to different terminal types, therefore can adapt to the low-power consumption demand of different types of terminals, greatly reduce the power consumption of whole terminal, improve the stand-by time of terminal.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
A kind of terminal sleeping method and terminal disclosed in the embodiment of the present invention, the terminal architecture related to as shown in Figure 1.Wherein, the baseband chip part of terminal contains Advanced Reduced Instruction Set processor (AdvancedReduced Instruction Set Computing Machines, ARM), digital signal processor (DigitalSignal Processor, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA) and power management module (Phasor Measurement Unit, PMU).Wherein ARM realizes man-machine interface (Man Machine Interface, and the function such as LTE protocol stack process MMI), DSP is responsible for control and radio frequency (the Radio Frequency of physical layer correlated process, RF) control of unit, FPGA is responsible for the encoding and decoding of baseband chip data, and PMU is responsible for the power management of whole baseband chip.And the clock of system has two, one is high-frequency work clock (TCXO), and another is low frequency reference clock (RTC).
A kind of terminal sleeping method disclosed by the invention and terminal is introduced in detail below by enumerating several specific embodiment.
With reference to Fig. 2, show the flow chart of a kind of terminal sleeping method of the present invention, the present embodiment specifically can comprise the following steps:
Step 100, judges whether terminal meets dormancy condition.
Terminal carries out dormancy when meeting dormancy condition, and dormancy condition can not carry out transfer of data for terminal, and data processing business completes.
Step 102, when terminal meets dormancy condition, obtains the park mode corresponding with the terminal type of terminal.
Terminal type comprises: single-mode terminal, first kind multimode terminal and Second Type multimode terminal, wherein, power mode under single-mode terminal type corresponding A RM, first kind multimode terminal corresponding A RM frequency reducing pattern, Second Type multimode terminal corresponding A RM normal frequency pattern.In the present embodiment, terminal type has single-mode terminal, first kind multimode terminal and Second Type multimode terminal, and wherein, single-mode terminal only has a LTE module, and when LTE module does not need work, terminal can power-off, such as: single mode data card; There is multiple module in the LTE baseband chip of first kind multimode terminal, and have some to be coupled in these modules and between the 2G/3G module in terminal, but be only limitted to some shirtsleeve operations such as USIM agency, such as: multimode data card, multi mode terminal etc.
Have multiple module equally in the LTE baseband chip of Second Type multimode terminal, these modules not only need there is coupled relation between 2G/3G module, and need and WIFI module carry out communication, complete the transfer of WIFI data, such as: CPE, MiFi etc.Wherein CPE customer terminal equipment, is often laid on the client of intelligent acess man visitor business, for providing the Integrated access of the business such as cable broadband, IPTV, VOIP of domestic customers.CPE first line of a couplet PON transmission network, the concrete business device of the second line of a couplet, completes the connection of access network and subscriber equipment.MiFi is a portable wideband wireless device, and be that 3G signal is converted into Wifi signal during its work, MiFi sizableness, in a credit card, integrates modulator-demodulator, router and access point three function.Internal modem can be accessed by a wireless signal, and internal router can share this connection between multiple user and wireless device.MiFi is also sometimes referred to as individual's " focus ", and it can make the setting up procedure of Small-scale LAN simplify.MiFi can support 5 users simultaneously, comprises digital camera, notebook, game and multimedia player and supports that the equipment of Wi-Fi can be surfed the Net.MiFi equipment can be used to arrange particular network, is connected realize shared network connection in any place by honeycomb.
The park mode that in the present embodiment, above-mentioned dissimilar terminal is corresponding different, particularly, power mode under single-mode terminal type corresponding A RM, first kind multimode terminal corresponding A RM frequency reducing pattern, Second Type multimode terminal corresponding A RM normal frequency pattern.Namely, when the terminal type of terminal is single-mode terminal, the park mode corresponding with terminal type got is power mode under ARM; When the terminal type of terminal is the first multimode terminal, the park mode corresponding with terminal type got is ARM frequency reducing pattern; When the terminal type of terminal is the second multimode terminal, the park mode corresponding with terminal type got is ARM normal frequency pattern.
Step 104, carries out dormancy process according to the park mode obtained.
When terminal meets dormancy condition, show that terminal can carry out dormancy, dormancy process can be carried out according to the park mode corresponding with the terminal type of terminal obtained in step 102.Such as, the park mode of acquisition is power mode under ARM, then make the ARM power-off of terminal; The park mode obtained is then make the ARM frequency reducing of terminal run; The park mode obtained is ARM normal frequency pattern, then make the ARM normal frequency of terminal run.
The terminal sleeping method of the present embodiment, the Low-power-consumptiodormancy dormancy demand of dissimilar terminal is different, the present embodiment is when terminal meets dormancy condition, obtain the park mode corresponding with the terminal type of terminal, and carry out dormancy process according to the park mode obtained, namely the terminal sleeping method of embodiment can select different park modes to carry out dormancy process according to different terminal types, therefore the low-power consumption demand of different types of terminals can be adapted to, greatly reduce the power consumption of whole terminal, improve the stand-by time of terminal.
Based on the description of said method embodiment, the present invention proposes a kind of preferred embodiment, specific as follows: with reference to Fig. 3, show the flow chart of a kind of terminal sleeping method of the present invention, the present embodiment specifically can comprise the following steps:
Step 200, judges whether terminal meets dormancy condition.
After the physical layer of terminal meets dormancy condition, DSP can send sleep request to ARM, ARM after receiving the sleep request that DSP sends, and ARM judges whether self meets dormancy condition.Judge in the present embodiment whether terminal meets dormancy condition, specifically can comprise: judge whether the ARM of terminal meets dormancy condition.Specifically can by judging whether the LTE business of the ARM of terminal in current DRX cycle completes, judge whether the ARM of terminal meets dormancy condition, when the Long Term Evolution business of ARM in current DRX cycle of terminal completes, judge that the ARM of terminal meets dormancy condition; When the LTE business of ARM in current DRX cycle of terminal does not complete, judge that the ARM of terminal does not meet dormancy condition.
Step 202, when terminal meets dormancy condition, obtains the park mode corresponding with the terminal type of terminal.
Terminal type comprises: single-mode terminal, first kind multimode terminal and Second Type multimode terminal, wherein, power mode under single-mode terminal type corresponding A RM, first kind multimode terminal corresponding A RM frequency reducing pattern, Second Type multimode terminal corresponding A RM normal frequency pattern; Since dissimilar terminal is different for the demand of low-power consumption, and ARM is responsible for the low-power consumption management of whole LTE baseband chip and other modules, therefore the low-power consumption difference of different terminals type is mainly reflected on the sleep mode of ARM, the present embodiment is according to the difference of ARM sleep mode, propose multiple different terminal dormancy mode, comprising: power mode, ARM frequency reducing pattern and ARM normal frequency pattern under ARM.The park mode that terminal types different in the present embodiment is corresponding different, terminal can obtain the park mode corresponding with the terminal type of terminal, and different park modes is specific as follows:
Power mode under ARM, is used to indicate when terminal type is single-mode terminal, makes the ARM power-off of terminal.Single-mode terminal only has a LTE module, therefore when LTE module does not need work, can make LTE module power-off, therefore for single-mode terminal, selects park mode corresponding to be with it power mode under ARM.
ARM frequency reducing pattern, is used to indicate when terminal type is first kind multimode terminal, and the ARM frequency reducing of terminal is run.Multiple module is had in the LTE baseband chip of first kind multimode terminal, and have in these modules and between the 2G/3G module in terminal some be coupled (such as USIM acts on behalf of), when LTE module does not need work, other modules are still in running order, but be only limitted to some shirtsleeve operations such as USIM agency, now LTE module can not power-off; And ARM just can meet the operation of USIM agency when lower frequency, therefore for first kind multimode terminal, park mode corresponding is with it selected to be ARM frequency reducing pattern.
ARM normal frequency pattern, is used to indicate when terminal type is Second Type multimode terminal, and the ARM normal frequency of terminal is run.Multiple module is had equally in the LTE baseband chip of Second Type multimode terminal, these modules not only need there is coupled relation between 2G/3G module, and to need and WIFI module carries out communication, complete the transfer of WIFI data, now LTE module equally can not power-off; And the transfer of WIFI data, need ARM to keep normal frequency just can complete, therefore for Second Type multimode terminal, select park mode corresponding to be with it ARM normal frequency pattern.
Step 204, calculates time of starting apart from next DRX cycle of current DRX cycle, and using time of calculating as dormancy time.
Terminal is at the LTE correlated process (Paging of current DRX cycle, cell measurement, cell detection, up-downgoing data service etc.) complete after, (be according to configurations such as Paging cycle during RRC_IDLE according to DRX relevant configuration, according to the configuration of DRX Setup relevant parameter during RRC_CONNECT) calculate the time that current time starts apart from next DRX cycle, and using time of calculating as dormancy time.
Step 206, carries out dormancy process according to the park mode obtained in dormancy time.
Dormancy process can be carried out according to the park mode obtained in dormancy time in the present embodiment, wherein carry out dormancy process according to the park mode obtained, specifically can comprise following sub-step:
Sub-step 1, when park mode is power mode under ARM, the RF unit of closing a terminal, the power supply of FPGA, DSP and ARM, make the Double Data Rate synchronous DRAM of terminal (Double DataRate, DDR) enter self-refresh battery saving mode; The park mode obtained when being power mode under ARM, illustrates that terminal type is single-mode terminal, and when meeting dormancy condition, LTE module can power-off, the RF unit on the LTE baseband chip of namely closing a terminal, the power supply of FPGA, DSP and ARM.
Sub-step 2, when park mode is ARM frequency reducing pattern, the RF unit of closing a terminal, the power supply of FPGA and DSP, the ARM frequency reducing of control terminal runs, and stops protocol stack relevant to LTE in scheduling ARM, the DDR of terminal is normally run; When the park mode obtained is ARM frequency reducing pattern, illustrate that terminal type is first kind multimode terminal, when meeting dormancy condition, ARM frequency reducing runs, close the power supply of whole RF unit, FPGA and DSP, stop protocol stack relevant to LTE in scheduling ARM, the DDR of terminal is normally run.
Sub-step 3, when park mode is ARM normal frequency pattern, the RF unit of closing a terminal, the power supply of FPGA and DSP, the ARM normal frequency of control terminal is run, and stops protocol stack relevant to LTE in scheduling ARM, the DDR of terminal is normally run.When the park mode obtained is ARM normal frequency pattern, illustrate that terminal type is first kind multimode terminal, when meeting dormancy condition, control ARM normal frequency is run, and stops protocol stack relevant to LTE in scheduling ARM, the DDR of terminal is normally run.
Above-mentioned three sub-steps describe dormancy process corresponding to three kinds of park modes (under ARM power mode, ARM frequency reducing pattern and ARM normal frequency pattern), can understand the difference of three with reference to following table 1 better.
Table 1 three kinds of park mode contrasts
As can be seen from Table 1, under ARM power mode, ARM frequency reducing pattern and ARM normal frequency pattern dormancy process in, all close the power supply of RF unit, FPGA and DSP, the RF unit of closing a terminal in the present embodiment, the power supply of FPGA and DSP, specifically can realize in the following manner:
First, the DSP of terminal calculates time that the next discontinuous receiving cycle of current distance starts as dormancy time; Secondly, the DSP of terminal closes the power supply of RF unit, and according to dormancy time configuration PMU, PMU according to dormancy time, uses RTC to carry out dormancy counting; Finally, after the power supply of the DSP closedown FPGA of terminal, DSP powered-down enters resting state.
In the present embodiment, although terminal type is different with the sleep mode of selection, for terminal, when dormancy time terminates time, all need to be waken up.Wake terminal in the present embodiment up and specifically can comprise following sub-step:
Sub-step 1, PMU exits to count and send hardware interrupts message wakes ARM up.
After sub-step 2, ARM receives hardware interrupts message, exit current park mode, and wake DSP up.
Sub-step 3, DSP exits park mode, and recovers the power supply of FPGA and RF unit.
Sub-step 4, DSP sends to wake up and indicates message to ARM, and so far terminal is waken up from resting state, starts the LTE process in next DRX cycle.
In LTE system, according to whether there is wireless heterogeneous networks connection, can be off-grid state by the state demarcation residing for UE, idle condition (RRC_IDLE) and connection status (RRC_CONNECT).Clear and definite statement and requirement has been had to the DRX technology under idle condition (RRC_IDLE) and connection status (RRC_CONNECT) in the LTE related protocol of current 3GPP, namely when idle condition, UE is according to the paging cycle carried in Sib2, the parameters such as nB and UE ID, the PDCCH of the monitoring P-RNTI scrambling of property performance period.When connection status, RRC issues the configuration of the various DRX parameter of signaling UE and timer, and UE carrys out execution cycle property by the cooperation of various timer and monitors PDCCH.
It should be noted that, the terminal in the embodiment of the present invention can comprise UE or have other equipment of identical identity function.
Below in conjunction with the low-power consumption DRX scheduling flow figure under RRC_IDLE and RRC_CONNECT shown in Fig. 4, the dormancy method shown in Fig. 3 is described, specific as follows:
Step 1, ARM selects park mode according to terminal type.
When terminal type is single-mode terminal, power mode under selection ARM, ARM power-off enters resting state; When terminal type is first kind multimode terminal, select ARM frequency reducing pattern, after ARM enters resting state, frequency reducing runs; When terminal type is Second Type multimode terminal, select ARM normal frequency pattern, after ARM enters resting state, normal frequency is run.
Step 2, LTE PHY completes LTE correlated process in current DRX cycle, and calculates time that current time starts apart from next DRX cycle as dormancy time.
Because DSP with FPGA has been in the relevant work of LTE physical layer, therefore both are synthesized LTE PHY.Specifically by the LTE correlated process (Paging of DSP at current DRX cycle, cell measurement, cell detection, up-downgoing data service etc.) complete after, (be according to configurations such as Paging cycle during RRC_IDLE according to DRX relevant configuration, according to the configuration of DRXSetup relevant parameter during RRC_CONNECT) calculate time that current time starts apart from next DRX cycle as dormancy time, i.e. T_Sleep, and send sleep response message (SLEEP_REQUEST message) to ARM.
Step 3, ARM receives the sleep request that LTE PHY sends;
Specifically send sleep request (Sleep Request) by the DSP in LTE PHY, ARM receives the sleep request that DSP sends.
Step 4, ARM judges whether this ARM can carry out dormancy.
After ARM receives the sleep request of LTE PHY transmission, judge whether this ARM can carry out dormancy, namely ARM judges whether self meets dormancy condition, if ARM meets dormancy condition, just can carry out dormancy, if ARM does not meet dormancy condition, then can not carry out dormancy.
Step 5, ARM sends sleep acknowledge message to, LTE PHY.After ARM judges that self (this ARM) can carry out dormancy, send sleep acknowledge message (Sleep Confirm) to LTE PHY.
Step 6, after LTE PHY receives the sleep acknowledge message of ARM transmission, closes radio frequency.Specifically received the sleep acknowledge message of ARM transmission by the DSP in LTE PHY after, close RF unit.
Step 7, LTE PHY configures PMU according to dormancy time.Specifically configure PMU by the DSP in LTE PHY.
Step 8, PMU starts dormancy counting.The dormancy time that PMU configures according to DSP, uses RTC to carry out dormancy counting in dormancy time.
Step 9, LTE PHY closes FPGA and DSP, LTE PHY and enters resting state.
Step 10, ARM judges whether LTE PHY enters dormancy.
Step 11, ARM, after LTE PHY enters dormancy, carries out dormancy according to the park mode selected.ARM is after LTE PHY enters dormancy, and enter corresponding resting state according to the park mode selected in step 1, so far, whole system enters Low-power-consumptiodormancy dormancy state.
Step 12, dormancy time to or rest period between waken up in advance time, PMU sends hardware interrupts message to ARM.Dormancy time to or rest period between waken up in advance by AP or usb data time, PMU exits counting, and sends hardware interrupts message and wake ARM up.
Step 13, ARM exits current hibernation pattern after receiving the hardware terminal message of PMU transmission.
Step 14, ARM sends and wakes DSP message up to LTE PHY.、
Step 15, LTE PHY wakes FPGA up, opens radio-frequency module after receiving and waking DSP message up.After LTE PHY receives and wakes DSP message up, DSP exits park mode, wakes FPGA up, and recovers RF unit, namely opens the power supply of FPGA and RF unit.
Step 16, LTE PHY sends PHY and wakes sign message up to ARM.After LTE PHY recovers (DSP and FPGA is all waken up) completely, LTE PHY sends PHY and wakes sign (WAKEUP_INDICATION) message up to ARM, so far terminal is waken up from resting state, starts the Long Term Evolution process in next discontinuous receiving cycle.
Based on the description of said method embodiment, the invention allows for corresponding terminal embodiment, specific as follows:
With reference to Fig. 5, show the structured flowchart of a kind of terminal of the present invention, the terminal of the present embodiment specifically can comprise: judge module 10, acquisition module 12 and processing module 14.
Introduce the relation between the function of each module and each module below respectively in detail.
Judge module 10 judge module 10 is for judging whether terminal meets dormancy condition; Terminal carries out dormancy when meeting dormancy condition, and in the present embodiment, judge module 10 can not carry out transfer of data as terminal for the dormancy condition judged or data processing business completes.Acquisition module 12 is connected with judge module 10, when acquisition module 12 is for judging to meet dormancy condition when judge module 10, obtains the park mode corresponding with the terminal type of terminal; Terminal type comprises: single-mode terminal, first kind multimode terminal and Second Type multimode terminal, power mode under single-mode terminal type corresponding A RM, first kind multimode terminal corresponding A RM frequency reducing pattern, Second Type multimode terminal corresponding A RM normal frequency pattern.Can see the associated description in Fig. 2 embodiment to the detailed explanation of single-mode terminal, first kind multimode terminal and Second Type multimode terminal, therefore not to repeat here for the present embodiment.
Processing module 14 is connected with acquisition module 12, and processing module 14 carries out dormancy process for the park mode obtained according to acquisition module 12.When the judge module 10 of terminal judges to meet dormancy condition, show that terminal can carry out dormancy, processing module 14 can carry out dormancy process according to the park mode corresponding with the terminal type of terminal obtained in acquisition module 12.Such as, the park mode that acquisition module 12 obtains is power mode under ARM, then processing module 14 makes the ARM power-off of terminal; The park mode that acquisition module 12 obtains is that then processing module 14 makes the ARM frequency reducing of terminal run; The park mode that acquisition module 12 obtains is ARM normal frequency pattern, then processing module 14 makes the ARM normal frequency of terminal run.
The terminal of the present embodiment, identical with the realization mechanism of above-mentioned related method embodiment by adopting above-mentioned module to realize the dormancy of terminal, in detail can the record of reference diagram 2 related method embodiment, do not repeat them here.
The terminal of the present embodiment, by the Low-power-consumptiodormancy dormancy demand difference adopting above-mentioned module can realize dissimilar terminal, the present embodiment is when judge module 10 judges that terminal meets dormancy condition, acquisition module 12 obtains the park mode corresponding with the terminal type of terminal, the park mode that processing module 14 obtains according to acquisition module 12 carries out dormancy process, namely the terminal in the present embodiment can select different park modes to carry out dormancy process according to different terminal types, therefore the low-power consumption demand of different types of terminals can be adapted to, greatly reduce the power consumption of whole terminal, improve the stand-by time of terminal.
With reference to Fig. 6, show the structured flowchart of a kind of terminal of the present invention, the terminal of the present embodiment specifically can comprise: judge module 20, acquisition module 22, computing module 24 and processing module 26.
Introduce the relation between the function of each module and each module below respectively in detail.
Judge module 20 is connected with computing module 24 with acquisition module 22, and judge module 20 meets dormancy condition for judging whether; In the present embodiment, judge module 20 specifically may be used for judging whether the Advanced Reduced Instruction Set processor of terminal meets dormancy condition.
Judge module 20 specifically can comprise business and judge submodule 201, first decision sub-module 202 and the second decision sub-module 203.Business judges that submodule 201 is for judging whether the LTE business of the Advanced Reduced Instruction Set processor of terminal in current DRX cycle completes; First decision sub-module 202 and business judge that submodule 201 is connected, and during for judging that when business submodule 201 judges and determines that the LTE business of the ARM of terminal in current DRX cycle completes, judge that the ARM of terminal meets dormancy condition.Second decision sub-module 203 and business judge that submodule 201 is connected, and during for judging that when business submodule 201 judges and determines that the LTE of the ARM of terminal in current DRX cycle does not complete, judge that the ARM of terminal does not meet dormancy condition.
Acquisition module 22 is connected with judge module 20, such as specifically be connected with the first decision sub-module 202 in judge module 20, acquisition module 22, for when the first decision sub-module 202 determines that terminal meets dormancy condition, obtains the park mode corresponding with the terminal type of terminal; Terminal type comprises: single-mode terminal, first kind multimode terminal and Second Type multimode terminal, power mode under the corresponding Advanced Reduced Instruction Set processor of single-mode terminal type, first kind multimode terminal corresponding Advanced Reduced Instruction Set processor frequency reducing pattern, Second Type multimode terminal corresponding Advanced Reduced Instruction Set processor normal frequency pattern; Computing module 24 is connected with judge module 20, such as specifically be connected with the first decision sub-module 202 in judge module 20, computing module 24 is for when the first decision sub-module 202 determines that terminal meets dormancy condition, calculate time of starting apart from next DRX cycle of current DRX cycle, and using time of calculating as dormancy time.Processing module 26 is connected with computing module 24 with acquisition module 22 respectively, and processing module 26 carries out dormancy process for the park mode obtained according to acquisition module 22 in the dormancy time that computing module 24 calculates.
In the present embodiment, processing module 26 specifically can comprise: lower electric treatment submodule 261, down conversion process submodule 262 and normal process submodule 263.Electric treatment submodule 261 is wherein descended to be connected with computing module 24 with acquisition module 22 respectively, lower electric treatment submodule 261 is for when under the park mode that acquisition module 22 obtains is ARM during power mode, in the dormancy time that computing module 24 calculates, the RF unit of closing a terminal, the power supply of FPGA, DSP and ARM, make the DDR of terminal enter self-refresh battery saving mode; Down conversion process submodule 262 is connected with computing module 24 with acquisition module 22 respectively, down conversion process submodule 262 is for when the park mode that acquisition module 22 obtains is ARM frequency reducing pattern, in the dormancy time that computing module 24 calculates, the RF unit of closing a terminal, the power supply of FPGA and DSP, the ARM frequency reducing of control terminal runs, stop protocol stack relevant to LTE in scheduling ARM, the DDR of terminal is normally run; Normal process submodule 263 is connected with computing module 24 with acquisition module 22 respectively, normal process submodule 263 is for when the park mode that acquisition module 22 obtains is ARM normal frequency pattern, in the dormancy time that computing module 24 calculates, the RF unit of closing a terminal, the power supply of FPGA and DSP, the ARM normal frequency of control terminal is run, stop protocol stack relevant to LTE in scheduling ARM, the DDR of terminal is normally run.
The terminal of the present embodiment, identical with the realization mechanism of above-mentioned related method embodiment by adopting above-mentioned module to realize the dormancy of terminal, in detail can the record of reference diagram 3 related method embodiment, do not repeat them here.
The terminal of the present embodiment, realize when judge module 20 judges that terminal meets dormancy condition by adopting above-mentioned module, acquisition module 12 obtains the park mode corresponding with the terminal type of terminal, computing module 24 calculates the time that current DRX cycle starts apart from next DRX cycle, and using time of calculating as dormancy time, the park mode that processing module 26 obtains according to acquisition module 22 carries out dormancy process in the dormancy time that computing module 24 calculates.Terminal in the present embodiment can select different park modes to carry out dormancy process according to different terminal types, therefore can adapt to the low-power consumption demand of different types of terminals, greatly reduce the power consumption of whole terminal, improve the stand-by time of terminal.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Above to a kind of terminal sleeping method provided by the present invention and terminal, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.