CN103369643A - Method and device for reducing system power consumption of mobile terminal - Google Patents

Method and device for reducing system power consumption of mobile terminal Download PDF

Info

Publication number
CN103369643A
CN103369643A CN2012101027426A CN201210102742A CN103369643A CN 103369643 A CN103369643 A CN 103369643A CN 2012101027426 A CN2012101027426 A CN 2012101027426A CN 201210102742 A CN201210102742 A CN 201210102742A CN 103369643 A CN103369643 A CN 103369643A
Authority
CN
China
Prior art keywords
memory controller
controller hub
self
signal
mode
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
CN2012101027426A
Other languages
Chinese (zh)
Other versions
CN103369643B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210102742.6A priority Critical patent/CN103369643B/en
Publication of CN103369643A publication Critical patent/CN103369643A/en
Application granted granted Critical
Publication of CN103369643B publication Critical patent/CN103369643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method for reducing system power consumption of a mobile terminal. The method includes: detecting whether a processor is in a standby mode and if so, sending self-refreshing command signals to a memory controller so that the memory controller is controlled to enter a self-refreshing mode, and turning off a mode clock of the memory controller; receiving wake-up interrupt signals transmitted from the outside and turning on the mode clock of the memory controller and controlling the memory controller to exit the self-refreshing mode; and sending the wake-up interrupt signals to the processor so that the processor exits the standby mode according to the wake-up interrupt signals. The invention also provides a corresponding device. The method for reducing the system power consumption of the mobile terminal enables the memory controller to be controlled to enter a power saving mode through signals provided by a WFI mode of the processor so that power consumption of the system under standby, calling and internet surfing scenarios and the like can be reduced obviously and battery use time of a user can be prolonged.

Description

Portable terminal reduces the method and apparatus of system power dissipation
Technical field
The present invention relates to communication technical field, specially refer to the method and apparatus that a kind of portable terminal reduces system power dissipation.
Background technology
Along with day by day popularizing and its functional enhancing of the portable terminals such as mobile phone, the user has begun more and more to pay attention to the time length that portable terminal uses.The portable terminals such as mobile phone that use in the market, substantially all can adopt such as ARM9, ARM11 or more high performance ARM (Advanced RISC Machines) processor, and arm processor itself has a kind of WFI (Wait For Interrupt) pattern, when the power consumption demand of the software that this pattern can moved in system is low, the clock of arm processor is closed, thereby reach the purpose that reduces system power dissipation.Like this, when no matter portable terminal is separately under the scene, all can enter at any time the WFI pattern in standby, conversation and online etc., in the time of particularly in being in the business such as conversation, arm processor enters time of WFI pattern can be longer.Therefore, owing to the power saving effect that the WFI pattern of arm processor itself is brought, just can reduce to a great extent the power consumption of system.
But, in the process to the actual research and development of the portable terminals such as mobile phone, if the WFI pattern that directly provides with arm processor reduces system power dissipation, power saving effect to mobile terminal system is not clearly, the method of this reduction system power dissipation is in standby and the conversation at portable terminal, and the degree of the electric current that can save is still less.
Summary of the invention
Main purpose of the present invention is for providing a kind of portable terminal to reduce the method and apparatus of system power dissipation, the signal that WFI pattern by processor provides, the control Memory Controller Hub enters battery saving mode, the power consumption of improvement system under the scenes such as standby, conversation and online that can be apparent in view, and prolong the time that the user uses battery.
The invention provides the method that a kind of portable terminal reduces system power dissipation, comprising:
Whether measurement processor is in standby mode, in this way, then sends the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and closes the mode clock of described Memory Controller Hub;
Receive the outside wakeup interrupt signal that sends, open the mode clock of described Memory Controller Hub, control described Memory Controller Hub and withdraw from self-refresh mode, and described wakeup interrupt signal is sent to processor, withdraw from standby mode for processor according to described wakeup interrupt signal.
Preferably, described after Memory Controller Hub sends the self-refresh command signal in execution, also comprise:
Shield all outside wakeup interrupt signal, and wait for the self-refresh answer signal according to described self-refresh command signal feedback that Memory Controller Hub sends, described self-refresh answer signal has entered self-refresh mode in order to show Memory Controller Hub;
After receiving described self-refresh answer signal, cancellation is to the shielding of all outside wakeup interrupt signal, to wait for the outside wakeup interrupt signal that is sent.
Preferably, whether described measurement processor is in standby mode, in this way, then sends the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and the mode clock of closing described Memory Controller Hub comprises:
Measurement processor send in order to show whether its standby signal that is in standby mode is high level, and in this way, then decision processor is in standby mode;
Send the self-refresh command signal to Memory Controller Hub, enter self-refresh mode with the control Memory Controller Hub, and after Memory Controller Hub enters self-refresh mode, close the module clock of Memory Controller Hub.
Preferably, describedly receive the outside wakeup interrupt signal that sends, open the mode clock of described Memory Controller Hub, control described Memory Controller Hub and withdraw from self-refresh mode, and described wakeup interrupt signal is sent to processor comprises:
After receiving the outside wakeup interrupt signal that sends, open the module clock of described Memory Controller Hub, and send the exit instruction signal that withdraws from self-refresh mode in order to control it to Memory Controller Hub;
Receive described Memory Controller Hub according to the answer signal that withdraws from of described exit instruction signal feedback, the described answer signal that withdraws from has withdrawed from self-refresh mode in order to show described Memory Controller Hub; Described wakeup interrupt signal is sent to processor.
Preferably, carrying out described reception Memory Controller Hub according to the withdrawing from after the answer signal of described exit instruction signal feedback, also comprising:
With described Memory Controller Hub feed back withdraw from answer signal and described wakeup interrupt signal is carried out and operation, and withdraw from answer signal and described wakeup interrupt signal is sent to processor simultaneously with described.
The present invention also provides a kind of portable terminal to reduce the device of system power dissipation, comprising:
Whether the first control module is in standby mode for detection of processor, in this way, then sends the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and closes the mode clock of described Memory Controller Hub;
The second control module, be used for receiving the outside wakeup interrupt signal that sends, open the mode clock of described Memory Controller Hub, control described Memory Controller Hub and withdraw from self-refresh mode, and described wakeup interrupt signal is sent to processor, withdraw from standby mode for processor according to described wakeup interrupt signal.
Preferably, the device of portable terminal reduction system power dissipation also comprises:
Shroud module is used for all outside wakeup interrupt signal of shielding, and waits for the self-refresh answer signal according to described self-refresh command signal feedback that Memory Controller Hub sends, and described self-refresh answer signal has entered self-refresh mode in order to show Memory Controller Hub;
Wait for module, after being used for receiving described self-refresh answer signal, cancellation is to the shielding of all outside wakeup interrupt signal, to wait for the outside wakeup interrupt signal that is sent.
Preferably, described the first control module comprises:
Detecting unit, for detection of processor send in order to show whether its standby signal that is in standby mode is high level, and in this way, then decision processor is in standby mode;
The first transmitting element is used for sending the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and after Memory Controller Hub enters self-refresh mode, closes the module clock of Memory Controller Hub.
Preferably, described the second control module comprises:
The second transmitting element after receiving the outside wakeup interrupt signal that sends, is opened the module clock of described Memory Controller Hub, and is sent the exit instruction signal that withdraws from self-refresh mode in order to control it to Memory Controller Hub;
The 3rd transmitting element is used for receiving described Memory Controller Hub according to the answer signal that withdraws from of described exit instruction signal feedback, and the described answer signal that withdraws from has withdrawed from self-refresh mode in order to show described Memory Controller Hub; Described wakeup interrupt signal is sent to processor.
Preferably, described the second control module also comprises:
Operating unit, with described Memory Controller Hub feed back withdraw from answer signal and described wakeup interrupt signal is carried out and operation, and withdraw from answer signal and described wakeup interrupt signal is sent to processor simultaneously with described.
A kind of portable terminal provided by the present invention reduces the method for system power dissipation, by in mobile terminal system, design one by the low power consumption control unit LPCU of top layer control, and with the STANDBYWFI signal leading of arm processor after entering the WFI pattern in LPCU, when LPCU detects arm processor and is in standby mode, just it enters the self-refresh command signal of self-refresh mode to send control to Memory Controller Hub, and closes the mode clock of Memory Controller Hub; Simultaneously, receive outside wakeup interrupt signal by LPCU, open first the mode clock of Memory Controller Hub, then control Memory Controller Hub and withdraw from self-refresh mode, and wakeup interrupt signal is sent to arm processor, from the WFI pattern, withdraw from after receiving this signal for arm processor, thereby make whole system withdraw from standby mode, recover normal operation.Adopt this method, the power consumption of improvement system under the scenes such as standby, conversation and online that can be apparent in view, and prolong the time that the user uses battery.
Description of drawings
Fig. 1 is the schematic flow sheet that portable terminal of the present invention reduces method one embodiment of system power dissipation;
Fig. 2 is the schematic flow sheet that portable terminal of the present invention reduces shielding and cancellation wakeup interrupt signal among method one embodiment of system power dissipation;
Fig. 3 is that portable terminal of the present invention reduces the schematic flow sheet that control Memory Controller Hub among method one embodiment of system power dissipation enters self-refresh mode;
Fig. 4 is that portable terminal of the present invention reduces the schematic flow sheet that control Memory Controller Hub among method one embodiment of system power dissipation withdraws from self-refresh mode;
Fig. 5 is the schematic flow sheet that portable terminal of the present invention reduces the another embodiment of method of system power dissipation;
Fig. 6 is the structural representation that portable terminal of the present invention reduces device one embodiment of system power dissipation;
Fig. 7 is the structural representation that portable terminal of the present invention reduces shroud module among device one embodiment of system power dissipation;
Fig. 8 is the structural representation that portable terminal of the present invention reduces the first control module among device one embodiment of system power dissipation;
Fig. 9 is the structural representation that portable terminal of the present invention reduces the second control module among device one embodiment of system power dissipation;
Figure 10 is the structural representation that portable terminal of the present invention reduces the another embodiment of device of system power dissipation.
The realization of the object of the invention, functional characteristics and advantage are described further with reference to accompanying drawing in connection with embodiment.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, method one embodiment that portable terminal of the present invention reduces system power dissipation is proposed.The method comprises:
Step S101, whether measurement processor is in standby mode, in this way, then sends the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and closes the mode clock of Memory Controller Hub;
A kind of portable terminal that the present embodiment provides reduces the method for system power dissipation, and the realization of the method at first need in mobile terminal system, design one by the low power consumption control unit LPCU (Low Power Control Unit) of top layer control.And, in the present embodiment, describe as example take the end terminal of moving that adopts arm processor.The STANDBYWFI signal leading of arm processor after entering the WFI pattern in LPCU, and controlled Memory Controller Hub by LPCU and entered self-refresh mode, thereby make whole system be in power down mode.
In the present embodiment, if after arm processor enters standby mode, at first can send to the external world STANDBYWFI signal, this STANDBYWFI signal has entered into standby mode at this moment in order to show arm processor.Whether arm processor is in standby mode and low power consumption control unit LPCU just can detect at this moment according to this STANDBYWFI signal, as detect arm processor and really be in standby mode, then can send a self-refresh command signal to Memory Controller Hub, this self-refresh command signal is used for the control Memory Controller Hub and enters self-refresh mode; And, after Memory Controller Hub receives the self-refresh command signal, enter into self-refresh mode after, also to control the mode clock that Memory Controller Hub is closed Memory Controller Hub.In the present embodiment, the self-refresh mode of Memory Controller Hub is a kind of battery saving mode of himself, and when Memory Controller Hub was in self-refresh mode, the whole system of portable terminal just was in the state of low-power consumption work.
Step S102, receive the outside wakeup interrupt signal that sends, open the mode clock of Memory Controller Hub, the control Memory Controller Hub withdraws from self-refresh mode, and wakeup interrupt signal is sent to processor, withdraw from standby mode for processor according to wakeup interrupt signal.
When the whole system of portable terminal all is in the state of low-power consumption work, such as needs it is returned to normal running status, then need the outside wakeup interrupt signal that sends, this wakeup interrupt signal sends to interrupt control unit.In the present embodiment, at first need to control the mode clock that Memory Controller Hub is opened Memory Controller Hub, then the wakeup interrupt signal that is used for waken system that the outside is sent is incorporated into low power consumption control unit LPCU, and control Memory Controller Hub by LPCU and withdraw from self-refresh mode, that is to say to make Memory Controller Hub be in normal mode of operation, but not battery saving mode.Then, wakeup interrupt signal is sent to arm processor, after receiving this signal when arm processor, just can from the WFI pattern, withdraw from, simultaneously the STANDBYWFI signal is dragged down and be low level, at this moment, the clock of arm processor just can normally move, and the software that is moving in the system also can begin normal operation.Like this, just can pass through low power consumption control unit LPCU, make whole system withdraw from standby mode, thereby recover normal operation.
A kind of portable terminal provided by the present invention reduces the method for system power dissipation, by in mobile terminal system, design one by the low power consumption control unit LPCU of top layer control, and with the STANDBYWFI signal leading of arm processor after entering the WFI pattern in LPCU, when LPCU detects arm processor and is in standby mode, just it enters the self-refresh command signal of self-refresh mode to send control to Memory Controller Hub, and closes the mode clock of Memory Controller Hub; Simultaneously, receive outside wakeup interrupt signal by LPCU, open first the mode clock of Memory Controller Hub, then control Memory Controller Hub and withdraw from self-refresh mode, and wakeup interrupt signal is sent to arm processor, from the WFI pattern, withdraw from after receiving this signal for arm processor, thereby make whole system withdraw from standby mode, recover normal operation.Adopt this method, the power consumption of improvement system under the scenes such as standby, conversation and online that can be apparent in view, and prolong the time that the user uses battery.
With reference to Fig. 2, in the above-described embodiments, after execution in step S101, also comprise:
Step S103 shields all outside wakeup interrupt signal, and waits for the self-refresh answer signal according to self-refresh command signal feedback that Memory Controller Hub sends, and the self-refresh answer signal has entered self-refresh mode in order to show Memory Controller Hub;
After it enters the self-refresh command signal of self-refresh mode to Memory Controller Hub transmission control by low power consumption control unit LPCU, just begin all outside wakeup interrupt signal are shielded.And after Memory Controller Hub receives the self-refresh command signal and enters into self-refresh mode according to this command signal, can to self-refresh answer signal based on the self-refresh command signal of LPCU feedback, be used for showing that Memory Controller Hub has entered self-refresh mode.And LPCU just can begin the self-refresh answer signal of waiting for that Memory Controller Hub sends after having shielded all outside wakeup interrupt signal.
Step S104, receive the self-refresh answer signal after, cancellation is to the shielding of all outside wakeup interrupt signal, to wait for the outside wakeup interrupt signal that is sent.
After LPCU receives self-refresh answer signal from Memory Controller Hub, will cancel the shielding to all outside wakeup interrupt signal, purpose is for waiting for the outside wakeup interrupt signal that sends, in order to the system that is in standby mode can be waken up at any time.
With reference to Fig. 3, reduce among method one embodiment of system power dissipation at portable terminal of the present invention, step S101 specifically comprises:
Step S1011, measurement processor send in order to show whether its standby signal that is in standby mode is high level, and in this way, then decision processor is in standby mode;
In the present embodiment, if after arm processor enters standby mode, at first can send to the external world STANDBYWFI signal, this STANDBYWFI signal has entered into standby mode at this moment in order to show arm processor.After low power consumption control unit LPCU receives the STANDBYWFI signal that arm processor sends, just can detect this STANDBYWFI signal, namely whether be in standby mode according to this input arm processor, the method that detects is to judge whether this STANDBYWFI signal is high level, if so, can judge that then this moment, arm processor was in standby mode.
Step S1012 sends the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and after Memory Controller Hub enters self-refresh mode, closes the module clock of Memory Controller Hub.
When judging arm processor and be in standby mode, at first low power consumption control unit LPCU can send a self-refresh command signal to Memory Controller Hub, is used for the control Memory Controller Hub and enters self-refresh mode.After Memory Controller Hub enters self-refresh mode, control again the module clock of Memory Controller Hub and close.And this moment, the system of portable terminal just can be in the operating state of low-power consumption, just can reach thus the purpose that reduces system power dissipation.
Detect by the level that arm processor is entered the STANDBYWFI signal that the backward external world of standby mode sends, thereby judge whether arm processor is in standby mode, after having judged that arm processor is in standby mode, at first send a self-refresh command signal that enters self-refresh mode in order to control it to Memory Controller Hub, and after Memory Controller Hub entered self-refresh mode, the module clock of control Memory Controller Hub was closed.Like this, guaranteed further that just portable terminal can make whole system enter holding state easily and quickly, thereby reached the purpose that reduces power consumption.
With reference to Fig. 4, reduce among method one embodiment of system power dissipation at portable terminal of the present invention, step S102 specifically comprises:
Step S1021, receive the outside wakeup interrupt signal that sends after, open the module clock of Memory Controller Hub, and send the exit instruction signal that withdraws from self-refresh mode in order to control it to Memory Controller Hub;
When the state that the system wake-up of portable terminal need to be made it be in normal operation, the wakeup interrupt signal that sends to interrupt control unit by the outside just can be introduced in low power consumption control unit LPCU.After LPCU receives wakeup interrupt signal, at first can control the module clock of Memory Controller Hub and open, then, send an exit instruction signal by LPCU to Memory Controller Hub, withdraw from self-refresh mode in order to control Memory Controller Hub, and recover normal mode of operation.
Step S1022 receives Memory Controller Hub according to the answer signal that withdraws from of exit instruction signal feedback, withdraws from answer signal and has withdrawed from self-refresh mode in order to show Memory Controller Hub; Wakeup interrupt signal is sent to processor.
When Memory Controller Hub receives the exit instruction signal that low power consumption control unit LPCU sends, just can withdraw from self-refresh mode, and, after Memory Controller Hub has withdrawed from self-refresh mode, can withdraw from answer signal to one of LPCU feedback according to the exit instruction signal equally, withdraw from self-refresh mode in order to show Memory Controller Hub.When LPCU receive that Memory Controller Hub sends withdraw from answer signal after, just can with before received wakeup interrupt signal be sent to arm processor, for withdrawing from the WFI pattern according to this wakeup interrupt signal when arm processor, thereby make the whole system of portable terminal return to the state of normal operation.
After receiving outside wakeup interrupt signal, at first control the module clock of Memory Controller Hub and open, and send the exit instruction signal that withdraws from self-refresh mode in order to control Memory Controller Hub to Memory Controller Hub.Then, receive from Memory Controller Hub according to the exit instruction signal feed back withdraw from answer signal after, wakeup interrupt signal is sent to arm processor, withdraw from the WFI pattern for it, thereby make whole system return to normal operating state.Like this, just can guarantee to make the system of portable terminal under low-power consumption and normal condition, to switch rapidly, thereby can further guarantee significantly to improve the power consumption of system under the scenes such as standby, conversation and online, and can prolong to a certain extent the time that the user uses battery.
With reference to Fig. 5, the another embodiment of method that portable terminal of the present invention reduces system power dissipation is proposed, after execution in step S1022, also comprise:
Step S1023, with Memory Controller Hub feed back withdraw from answer signal and wakeup interrupt signal is carried out and operation, and will withdraw from answer signal and wakeup interrupt signal is sent to processor simultaneously.
In the present embodiment, require after low power consumption control unit LPCU receives the outside wakeup interrupt signal that sends, to judge also whether Memory Controller Hub is in normal mode of operation, and only have when satisfying Memory Controller Hub simultaneously and be in normal mode of operation, just wakeup interrupt signal can be sent to arm processor.Therefore, when Memory Controller Hub has withdrawed from self-refresh mode according to the exit instruction signal that LPCU sends, and according to the exit instruction signal to one of LPCU feedback in order to after showing that Memory Controller Hub has withdrawed from self-refresh mode and withdraws from answer signal, when LPCU receives this and withdraws from answer signal, can judge that this moment, Memory Controller Hub was in normal mode of operation.
After having judged that Memory Controller Hub has been in normal mode of operation, LPCU at first can withdraw from this answer signal to carry out and operation with received before wakeup interrupt signal, being about to these two signals merges, then with wakeup interrupt signal with withdraw from answer signal and send to simultaneously arm processor, after receiving the signal that satisfies condition when arm processor, just can from the WFI pattern, withdraw from, simultaneously the STANDBYWFI signal is dragged down and be low level, at this moment, the clock of arm processor just can normally move, and the software that is moving in the system also can begin normal operation.
The wakeup interrupt signal that the outside is sent is incorporated among the low power consumption control unit LPCU, and when LPCU receive that Memory Controller Hub sends according to the exit instruction signal feedback in order to showing that it has withdrawed from the answer signal that withdraws from of self-refresh mode, and then after having judged that this moment, Memory Controller Hub withdrawed from self-refresh mode.When these two conditions all satisfy, to withdraw from answer signal and wakeup interrupt signal is carried out and operation by LPCU, then be sent to simultaneously arm processor, withdraw from from the WFI pattern for arm processor, make simultaneously the software that is moving in the system also can begin normal operation.Like this, just can further guarantee significantly to improve the power consumption of system under the scenes such as standby, conversation and online, and can prolong to a certain extent the time that the user uses battery.
With reference to Fig. 6, device one embodiment that portable terminal of the present invention reduces system power dissipation is proposed.This device comprises:
Whether the first control module 10 is in standby mode for detection of processor, in this way, then sends the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and closes the mode clock of Memory Controller Hub;
The second control module 20, be used for receiving the outside wakeup interrupt signal that sends, open the mode clock of Memory Controller Hub, the control Memory Controller Hub withdraws from self-refresh mode, and wakeup interrupt signal is sent to processor, withdraw from standby mode for processor according to wakeup interrupt signal.
A kind of portable terminal that the present embodiment provides reduces the method for system power dissipation, and the realization of the method at first need in mobile terminal system, design one by the low power consumption control unit LPCU (Low Power Control Unit) of top layer control.And, in the present embodiment, describe as example take the end terminal of moving that adopts arm processor.The STANDBYWFI signal leading of arm processor after entering the WFI pattern in LPCU, and controlled Memory Controller Hub by LPCU and entered self-refresh mode, thereby make whole system be in power down mode.
In the present embodiment, if after arm processor enters standby mode, at first can send to the external world STANDBYWFI signal, this STANDBYWFI signal has entered into standby mode at this moment in order to show arm processor.Whether arm processor is in standby mode and low power consumption control unit LPCU just can detect at this moment according to this STANDBYWFI signal, as detect arm processor and really be in standby mode, then the first control module 10 can send a self-refresh command signal to Memory Controller Hub, and this self-refresh command signal is used for the control Memory Controller Hub and enters self-refresh mode; And, after Memory Controller Hub receives the self-refresh command signal, enter into self-refresh mode after, also to control the mode clock that Memory Controller Hub is closed Memory Controller Hub.In the present embodiment, the self-refresh mode of Memory Controller Hub is a kind of battery saving mode of himself, and when Memory Controller Hub was in self-refresh mode, the whole system of portable terminal just was in the state of low-power consumption work.
When the whole system of portable terminal all is in the state of low-power consumption work, such as needs it is returned to normal running status, then need the outside wakeup interrupt signal that sends, this wakeup interrupt signal sends to interrupt control unit.In the present embodiment, at first need to control the mode clock that Memory Controller Hub is opened Memory Controller Hub, then the wakeup interrupt signal that is used for waken system that the outside is sent is incorporated into low power consumption control unit LPCU, and control Memory Controller Hub by the second control module 20 and withdraw from self-refresh mode, that is to say to make Memory Controller Hub be in normal mode of operation, but not battery saving mode.Then, wakeup interrupt signal is sent to arm processor, after receiving this signal when arm processor, just can from the WFI pattern, withdraw from, simultaneously the STANDBYWFI signal is dragged down and be low level, at this moment, the clock of arm processor just can normally move, and the software that is moving in the system also can begin normal operation.Like this, just can pass through low power consumption control unit LPCU, make whole system withdraw from standby mode, thereby recover normal operation.
A kind of portable terminal provided by the present invention reduces the device of system power dissipation, by in mobile terminal system, design one by the low power consumption control unit LPCU of top layer control, and with the STANDBYWFI signal leading of arm processor after entering the WFI pattern in LPCU, when LPCU detects arm processor and is in standby mode, just it enters the self-refresh command signal of self-refresh mode to send control to Memory Controller Hub, and closes the mode clock of Memory Controller Hub; Simultaneously, receive outside wakeup interrupt signal by LPCU, open first the mode clock of Memory Controller Hub, then control Memory Controller Hub and withdraw from self-refresh mode, and wakeup interrupt signal is sent to arm processor, from the WFI pattern, withdraw from after receiving this signal for arm processor, thereby make whole system withdraw from standby mode, recover normal operation.Adopt this method, the power consumption of improvement system under the scenes such as standby, conversation and online that can be apparent in view, and prolong the time that the user uses battery.
With reference to Fig. 7, in the above-described embodiments, the device that portable terminal reduces system power dissipation also comprises:
Shroud module 30 is used for all outside wakeup interrupt signal of shielding, and waits for the self-refresh answer signal according to self-refresh command signal feedback that Memory Controller Hub sends, and the self-refresh answer signal has entered self-refresh mode in order to show Memory Controller Hub;
Wait for module 40, after being used for receiving the self-refresh answer signal, cancellation is to the shielding of all outside wakeup interrupt signal, to wait for the outside wakeup interrupt signal that is sent.
After it entered the self-refresh command signal of self-refresh mode to Memory Controller Hub transmission control by low power consumption control unit LPCU, shroud module 30 just began all outside wakeup interrupt signal are shielded.And after Memory Controller Hub receives the self-refresh command signal and enters into self-refresh mode according to this command signal, can to self-refresh answer signal based on the self-refresh command signal of LPCU feedback, be used for showing that Memory Controller Hub has entered self-refresh mode.And LPCU just can begin the self-refresh answer signal of waiting for that Memory Controller Hub sends after having shielded all outside wakeup interrupt signal.
After LPCU receives self-refresh answer signal from Memory Controller Hub, wait module 40 will be cancelled the shielding to all outside wakeup interrupt signal, purpose is for waiting for the outside wakeup interrupt signal that sends, in order to the system that is in standby mode can be waken up at any time.
With reference to Fig. 8, reduce among device one embodiment of system power dissipation at portable terminal of the present invention, the first control module 10 comprises:
Detecting unit 11, for detection of processor send in order to show whether its standby signal that is in standby mode is high level, and in this way, then decision processor is in standby mode;
The first transmitting element 12 is used for sending the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and after Memory Controller Hub enters self-refresh mode, closes the module clock of Memory Controller Hub.
In the present embodiment, if after arm processor enters standby mode, at first can send to the external world STANDBYWFI signal, this STANDBYWFI signal has entered into standby mode at this moment in order to show arm processor.After low power consumption control unit LPCU receives the STANDBYWFI signal that arm processor sends, detecting unit 11 just can detect this STANDBYWFI signal, namely whether be in standby mode according to this input arm processor, the method that detects is to judge whether this STANDBYWFI signal is high level, if so, can judge that then this moment, arm processor was in standby mode.
When judging arm processor and be in standby mode, at first low power consumption control unit LPCU can send a self-refresh command signal by the first transmitting element 12 Memory Controller Hub, is used for the control Memory Controller Hub and enters self-refresh mode.After Memory Controller Hub enters self-refresh mode, control again the module clock of Memory Controller Hub and close.And this moment, the system of portable terminal just can be in the operating state of low-power consumption, just can reach thus the purpose that reduces system power dissipation.
Detect by the level that arm processor is entered the STANDBYWFI signal that the backward external world of standby mode sends, thereby judge whether arm processor is in standby mode, after having judged that arm processor is in standby mode, at first send a self-refresh command signal that enters self-refresh mode in order to control it to Memory Controller Hub, and after Memory Controller Hub entered self-refresh mode, the module clock of control Memory Controller Hub was closed.Like this, guaranteed further that just portable terminal can make whole system enter holding state easily and quickly, thereby reached the purpose that reduces power consumption.
With reference to Fig. 9, reduce among device one embodiment of system power dissipation at portable terminal of the present invention, the second control module 20 comprises:
The second transmitting element 21 after receiving the outside wakeup interrupt signal that sends, is opened the module clock of Memory Controller Hub, and is sent the exit instruction signal that withdraws from self-refresh mode in order to control it to Memory Controller Hub;
The 3rd transmitting element 22 is used for receiving Memory Controller Hub according to the answer signal that withdraws from of described exit instruction signal feedback, withdraws from answer signal and has withdrawed from self-refresh mode in order to show Memory Controller Hub; Wakeup interrupt signal is sent to processor.
When the state that the system wake-up of portable terminal need to be made it be in normal operation, the wakeup interrupt signal that sends to interrupt control unit by the outside just can be introduced in low power consumption control unit LPCU.After LPCU receives wakeup interrupt signal, at first can control the module clock of Memory Controller Hub and open, then, the second transmitting element 21 sends an exit instruction signal to Memory Controller Hub, withdraw from self-refresh mode in order to control Memory Controller Hub, and recover normal mode of operation.
When Memory Controller Hub receives the exit instruction signal that low power consumption control unit LPCU sends, just can withdraw from self-refresh mode, and, after Memory Controller Hub has withdrawed from self-refresh mode, can withdraw from answer signal to one of LPCU feedback according to the exit instruction signal equally, withdraw from self-refresh mode in order to show Memory Controller Hub.When LPCU receive that Memory Controller Hub sends withdraw from answer signal after, the 3rd transmitting element 22 just can with before received wakeup interrupt signal be sent to arm processor, for withdrawing from the WFI pattern according to this wakeup interrupt signal when arm processor, thereby make the whole system of portable terminal return to the state of normal operation.
After receiving outside wakeup interrupt signal, at first control the module clock of Memory Controller Hub and open, and send the exit instruction signal that withdraws from self-refresh mode in order to control Memory Controller Hub to Memory Controller Hub.Then, receive from Memory Controller Hub according to the exit instruction signal feed back withdraw from answer signal after, wakeup interrupt signal is sent to arm processor, withdraw from the WFI pattern for it, thereby make whole system return to normal operating state.Like this, just can guarantee to make the system of portable terminal under low-power consumption and normal condition, to switch rapidly, thereby can further guarantee significantly to improve the power consumption of system under the scenes such as standby, conversation and online, and can prolong to a certain extent the time that the user uses battery.
With reference to Figure 10, the another embodiment of device that portable terminal of the present invention reduces system power dissipation is proposed, the second control module 20 also comprises:
Operating unit 23, with Memory Controller Hub feed back withdraw from answer signal and wakeup interrupt signal is carried out and operation, and will withdraw from answer signal and wakeup interrupt signal is sent to processor simultaneously.
In the present embodiment, require after low power consumption control unit LPCU receives the outside wakeup interrupt signal that sends, to judge also whether Memory Controller Hub is in normal mode of operation, and only have when satisfying Memory Controller Hub simultaneously and be in normal mode of operation, just wakeup interrupt signal can be sent to arm processor.Therefore, when Memory Controller Hub has withdrawed from self-refresh mode according to the exit instruction signal that LPCU sends, and according to the exit instruction signal to one of LPCU feedback in order to after showing that Memory Controller Hub has withdrawed from self-refresh mode and withdraws from answer signal, when LPCU receives this and withdraws from answer signal, can judge that this moment, Memory Controller Hub was in normal mode of operation.
After having judged that Memory Controller Hub has been in normal mode of operation, LPCU at first can withdraw from this answer signal to carry out and operation with received before wakeup interrupt signal, being about to these two signals merges, then with wakeup interrupt signal with withdraw from answer signal and send to simultaneously arm processor, after receiving the signal that satisfies condition when arm processor, just can from the WFI pattern, withdraw from, simultaneously the STANDBYWFI signal is dragged down and be low level, at this moment, the clock of arm processor just can normally move, and the software that is moving in the system also can begin normal operation.
The wakeup interrupt signal that the outside is sent is incorporated among the low power consumption control unit LPCU, and when LPCU receive that Memory Controller Hub sends according to the exit instruction signal feedback in order to showing that it has withdrawed from the answer signal that withdraws from of self-refresh mode, and then after having judged that this moment, Memory Controller Hub withdrawed from self-refresh mode.When these two conditions all satisfy, operating unit 23 can will withdraw from answer signal and wakeup interrupt signal is carried out and operation, then be sent to simultaneously arm processor, withdraw from from the WFI pattern for arm processor, make simultaneously the software that is moving in the system also can begin normal operation.Like this, just can further guarantee significantly to improve the power consumption of system under the scenes such as standby, conversation and online, and can prolong to a certain extent the time that the user uses battery.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (10)

1. the method for a portable terminal reduction system power dissipation is characterized in that, comprising:
Whether measurement processor is in standby mode, in this way, then sends the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and closes the mode clock of described Memory Controller Hub;
Receive the outside wakeup interrupt signal that sends, open the mode clock of described Memory Controller Hub, control described Memory Controller Hub and withdraw from self-refresh mode, and described wakeup interrupt signal is sent to processor, withdraw from standby mode for processor according to described wakeup interrupt signal.
2. the method for claim 1 is characterized in that, and is described after Memory Controller Hub sends the self-refresh command signal in execution, also comprises:
Shield all outside wakeup interrupt signal, and wait for the self-refresh answer signal according to described self-refresh command signal feedback that Memory Controller Hub sends, described self-refresh answer signal has entered self-refresh mode in order to show Memory Controller Hub;
After receiving described self-refresh answer signal, cancellation is to the shielding of all outside wakeup interrupt signal, to wait for the outside wakeup interrupt signal that is sent.
3. method as claimed in claim 2 is characterized in that, whether described measurement processor is in standby mode, in this way, then sends the self-refresh command signal to Memory Controller Hub, enter self-refresh mode with the control Memory Controller Hub, and the mode clock of closing described Memory Controller Hub comprises:
Measurement processor send in order to show whether its standby signal that is in standby mode is high level, and in this way, then decision processor is in standby mode;
Send the self-refresh command signal to Memory Controller Hub, enter self-refresh mode with the control Memory Controller Hub, and after Memory Controller Hub enters self-refresh mode, close the module clock of Memory Controller Hub.
4. method as claimed in claim 3, it is characterized in that, describedly receive the outside wakeup interrupt signal that sends, open the mode clock of described Memory Controller Hub, control described Memory Controller Hub and withdraw from self-refresh mode, and described wakeup interrupt signal is sent to processor comprises:
After receiving the outside wakeup interrupt signal that sends, open the module clock of described Memory Controller Hub, and send the exit instruction signal that withdraws from self-refresh mode in order to control it to Memory Controller Hub;
Receive described Memory Controller Hub according to the answer signal that withdraws from of described exit instruction signal feedback, the described answer signal that withdraws from has withdrawed from self-refresh mode in order to show described Memory Controller Hub; Described wakeup interrupt signal is sent to processor.
5. method as claimed in claim 4 is characterized in that, carry out to receive Memory Controller Hub according to the withdrawing from after the answer signal of described exit instruction signal feedback, also comprises:
With described Memory Controller Hub feed back withdraw from answer signal and described wakeup interrupt signal is carried out and operation, and withdraw from answer signal and described wakeup interrupt signal is sent to processor simultaneously with described.
6. the device of a portable terminal reduction system power dissipation is characterized in that, comprising:
Whether the first control module is in standby mode for detection of processor, in this way, then sends the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and closes the mode clock of described Memory Controller Hub;
The second control module, be used for receiving the outside wakeup interrupt signal that sends, open the mode clock of described Memory Controller Hub, control described Memory Controller Hub and withdraw from self-refresh mode, and described wakeup interrupt signal is sent to processor, withdraw from standby mode for processor according to described wakeup interrupt signal.
7. device as claimed in claim 6 is characterized in that, also comprises:
Shroud module is used for all outside wakeup interrupt signal of shielding, and waits for the self-refresh answer signal according to described self-refresh command signal feedback that Memory Controller Hub sends, and described self-refresh answer signal has entered self-refresh mode in order to show Memory Controller Hub;
Wait for module, after being used for receiving described self-refresh answer signal, cancellation is to the shielding of all outside wakeup interrupt signal, to wait for the outside wakeup interrupt signal that is sent.
8. device as claimed in claim 7 is characterized in that, described the first control module comprises:
Detecting unit, for detection of processor send in order to show whether its standby signal that is in standby mode is high level, and in this way, then decision processor is in standby mode;
The first transmitting element is used for sending the self-refresh command signal to Memory Controller Hub, enters self-refresh mode with the control Memory Controller Hub, and after Memory Controller Hub enters self-refresh mode, closes the module clock of Memory Controller Hub.
9. device as claimed in claim 8 is characterized in that, described the second control module comprises:
The second transmitting element after receiving the outside wakeup interrupt signal that sends, is opened the module clock of described Memory Controller Hub, and is sent the exit instruction signal that withdraws from self-refresh mode in order to control it to Memory Controller Hub;
The 3rd transmitting element is used for receiving described Memory Controller Hub according to the answer signal that withdraws from of described exit instruction signal feedback, and the described answer signal that withdraws from has withdrawed from self-refresh mode in order to show described Memory Controller Hub; Described wakeup interrupt signal is sent to processor.
10. device as claimed in claim 9 is characterized in that, described the second control module also comprises:
Operating unit, with described Memory Controller Hub feed back withdraw from answer signal and described wakeup interrupt signal is carried out and operation, and withdraw from answer signal and described wakeup interrupt signal is sent to processor simultaneously with described.
CN201210102742.6A 2012-04-10 2012-04-10 The method and apparatus that mobile terminal reduces system power dissipation Active CN103369643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210102742.6A CN103369643B (en) 2012-04-10 2012-04-10 The method and apparatus that mobile terminal reduces system power dissipation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210102742.6A CN103369643B (en) 2012-04-10 2012-04-10 The method and apparatus that mobile terminal reduces system power dissipation

Publications (2)

Publication Number Publication Date
CN103369643A true CN103369643A (en) 2013-10-23
CN103369643B CN103369643B (en) 2018-01-23

Family

ID=49369924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210102742.6A Active CN103369643B (en) 2012-04-10 2012-04-10 The method and apparatus that mobile terminal reduces system power dissipation

Country Status (1)

Country Link
CN (1) CN103369643B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106062662A (en) * 2014-03-02 2016-10-26 高通股份有限公司 System and method for providing power-saving static image display refresh in a DRAM memory system
CN108040361A (en) * 2017-12-06 2018-05-15 上海麦腾物联网技术有限公司 A kind of method for managing power supply of cross-platform Internet of Things embedded system
CN112559082A (en) * 2020-12-23 2021-03-26 厦门紫光展锐科技有限公司 Terminal device, NFC clock control method, NFC module and medium
US11316767B2 (en) 2020-03-02 2022-04-26 Nokia Technologies Oy Communication of partial or whole datasets based on criterion satisfaction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229710C (en) * 2000-03-24 2005-11-30 英特尔公司 Method and apparatus to implement the ACPI (advanced configuration and power interface) C3 state in a RARAM based system
WO2007051285A1 (en) * 2005-10-31 2007-05-10 Mosaid Technologies Incorporated Dynamic random access memory device and method for self-refreshing memory cells
CN101013340A (en) * 2007-03-02 2007-08-08 中兴通讯股份有限公司 Method for reducing power consumption of wireless network interface card
CN101059775A (en) * 2006-04-19 2007-10-24 深圳市朗科科技有限公司 Method for reducing portable apparatus power consumption
CN101321072A (en) * 2008-07-21 2008-12-10 华为技术有限公司 Network awakening method, device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229710C (en) * 2000-03-24 2005-11-30 英特尔公司 Method and apparatus to implement the ACPI (advanced configuration and power interface) C3 state in a RARAM based system
WO2007051285A1 (en) * 2005-10-31 2007-05-10 Mosaid Technologies Incorporated Dynamic random access memory device and method for self-refreshing memory cells
CN101059775A (en) * 2006-04-19 2007-10-24 深圳市朗科科技有限公司 Method for reducing portable apparatus power consumption
CN101013340A (en) * 2007-03-02 2007-08-08 中兴通讯股份有限公司 Method for reducing power consumption of wireless network interface card
CN101321072A (en) * 2008-07-21 2008-12-10 华为技术有限公司 Network awakening method, device and equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106062662A (en) * 2014-03-02 2016-10-26 高通股份有限公司 System and method for providing power-saving static image display refresh in a DRAM memory system
CN108040361A (en) * 2017-12-06 2018-05-15 上海麦腾物联网技术有限公司 A kind of method for managing power supply of cross-platform Internet of Things embedded system
US11316767B2 (en) 2020-03-02 2022-04-26 Nokia Technologies Oy Communication of partial or whole datasets based on criterion satisfaction
CN112559082A (en) * 2020-12-23 2021-03-26 厦门紫光展锐科技有限公司 Terminal device, NFC clock control method, NFC module and medium
CN112559082B (en) * 2020-12-23 2022-05-31 厦门紫光展锐科技有限公司 Terminal device, NFC clock control method, NFC module and medium

Also Published As

Publication number Publication date
CN103369643B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN102200826B (en) Power adapter and portable computer
CN102572119B (en) A kind of mobile terminal and electricity saving method thereof
CN103369643A (en) Method and device for reducing system power consumption of mobile terminal
CN103415824B (en) Method and apparatus for controlling CPU
CN101478607A (en) Electric power management apparatus and method for mobile terminal based on dual processor
CN103546951A (en) Mobile device and sleeping managing method thereof
CN102946497A (en) Method for reducing power consumption of smart phone during communication
CN104298347A (en) Method and device for controlling screen of electronic display device and display system
CN105704647A (en) Intelligent watch energy saving method and system
CN103167128A (en) System and method for achieving automatic sleep of mobile phone based on proximity sensor
CN102566954A (en) Portable electronic device and control method thereof
CN101827166A (en) Low-current alarming circuit and intelligent mobile communication equipment with same
CN202795696U (en) Intelligent home security and protection system under JAVA platform
CN101252733B (en) Communicating method and communicating circuit between mobile terminal and modules
CN202424833U (en) System of full-voice control mobile terminal
CN204229615U (en) A kind of voltage transformer wireless supervisory system
CN103685764B (en) Power-saving method in a kind of mobile terminal and device
CN102915692A (en) Screen brightness adjusting method and device and mobile device
CN102970417A (en) Method for managing shutdown alarm clock of mobile phone
CN103888556A (en) Home terminal device and home terminal device control method
CN100479601C (en) Electric saving method of mobile communication equipment
CN105208225A (en) Method and device for reducing power consumption of smart watch
CN101730300A (en) Displayer and keyboard power management system and method
CN109673043B (en) Control method and device of split type electronic equipment, storage medium and electronic equipment
CN102098764A (en) Method and device for controlling base band of communication equipment and communication equipment

Legal Events

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