CN105045370A - Method for executing sleep state management in electronic terminal and electronic terminal for same - Google Patents

Method for executing sleep state management in electronic terminal and electronic terminal for same Download PDF

Info

Publication number
CN105045370A
CN105045370A CN201510374341.XA CN201510374341A CN105045370A CN 105045370 A CN105045370 A CN 105045370A CN 201510374341 A CN201510374341 A CN 201510374341A CN 105045370 A CN105045370 A CN 105045370A
Authority
CN
China
Prior art keywords
memory bank
storage unit
bank
electric terminal
sleep state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510374341.XA
Other languages
Chinese (zh)
Inventor
张明
朱斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Semiconductor China R&D Co Ltd
Samsung Electronics Co Ltd
Original Assignee
Samsung Semiconductor China R&D Co Ltd
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Semiconductor China R&D Co Ltd, Samsung Electronics Co Ltd filed Critical Samsung Semiconductor China R&D Co Ltd
Priority to CN201510374341.XA priority Critical patent/CN105045370A/en
Publication of CN105045370A publication Critical patent/CN105045370A/en
Pending legal-status Critical Current

Links

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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Abstract

Provided is a method for executing sleep state management in an electronic terminal and the electronic terminal for the same. The electronic terminal comprises a dynamic random access memory; the dynamic random access memory comprises a plurality of memory banks; and each memory bank comprises a plurality of storage units. The method comprises: (A) when the electronic terminal is about to enter a sleep state, transferring contents stored in the used storage units in the plurality of memory banks to the specific memory banks of the plurality of memory banks; (B) stopping supplying power to the memory banks of the plurality of memory banks except for the specific memory banks. According to the method and the electronic terminal, power consumption of the dynamic random access memory when the electronic terminal is in the sleep state can be effectively reduced.

Description

Method and the electric terminal thereof of sleep state management is performed in electric terminal
Technical field
All things considered of the present invention relate to electric terminal sleep state management, more particularly, relate to a kind of perform in electric terminal sleep state management method and perform sleep state management electric terminal.
Background technology
In order to improve electric terminal (such as, smart mobile phone, panel computer, personal computer etc.) operating system performance (such as, the travelling speed of speeding up operation system, run multiple application simultaneously, reduce unsteady phenomena etc.), the internal memory (especially dynamic RAM) of electric terminal is increasing.
On the other hand, storage mode due to dynamic RAM is capacitance storage mode, so need to refresh at regular intervals once (namely, the self-refresh mode (self-refreshmode) of dynamic RAM), to ensure that stored data and/or program can not be lost.Even if under electric terminal is in sleep state, whole dynamic RAM still needs to be in self-refresh mode, and it is longer that electric terminal is generally in the dormant time.
Therefore, even if under electric terminal is in sleep state, whole dynamic RAM still needs more power consumption because needs carry out refreshing.
Summary of the invention
Exemplary embodiment of the present invention is to provide a kind of and in electric terminal, performs the method for sleep state management and perform the electric terminal of sleep state management, to solve the problem that when electric terminal is in sleep state, dynamic RAM power consumption is larger.
According to exemplary embodiment of the present invention, a kind of method performing sleep state management in electric terminal is provided, wherein, electric terminal comprises dynamic RAM, described dynamic RAM comprises multiple memory bank, each memory bank comprises multiple storage unit, it is characterized in that, described method comprises: (A) when electric terminal is about to enter sleep state, by described multiple memory bank the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank; (B) stop to power to the memory bank in described multiple memory bank except described particular bank.
Alternatively, step (A) comprising: (a1), when electric terminal is about to enter sleep state, determines in described multiple memory bank by the overall size of storage unit used; (a2) according to described by the overall size of storage unit used, determine storing from described multiple memory bank described the particular bank of content that stores by the storage unit that uses; (a3) by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
Alternatively, step (A) also comprises: record described by the physical address of storage unit used.
Alternatively, after step (B), described method also comprises: (C), when electric terminal is about to enter normal condition by sleep state, recovers to power to the memory bank in described multiple memory bank except described particular bank; (D) according to the physical address of record, the content be moved is moved back to described by the storage unit that uses in step (A).
Alternatively, after step (A), described method also comprises: the physical storage address being stored in the content be moved in step (A) is revised as the physical address of the storage unit in described particular bank by (E).
Alternatively, after step (B), described method also comprises: (F), when electric terminal is about to enter normal condition by sleep state, recovers to power to the memory bank in described multiple memory bank except described particular bank.
Alternatively, described multiple memory bank is powered respectively.
Alternatively, step (a3) comprising: utilize partner's memory management algorithm by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
According to another exemplary embodiment of the present invention, provide a kind of electric terminal performing sleep state management, comprising: dynamic RAM, comprise multiple memory bank, wherein, each memory bank comprises multiple storage unit; Memory controller, when electric terminal is about to enter sleep state, by described multiple memory bank the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank; Electric supply installation, powers to described multiple memory bank under the control of memory controller, wherein, memory controller complete mobile after control the memory bank that electric supply installation stops in described multiple memory bank except described particular bank and power.
Alternatively, memory controller comprises: size determining device, when electric terminal is about to enter sleep state, determines in described multiple memory bank by the overall size of storage unit used; Memory bank determining device, according to described by the overall size of storage unit used, determine storing from described multiple memory bank described the particular bank of content that stores by the storage unit that uses; Mobile device, by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined; Power supply control apparatus, after mobile device completes movement, controls electric supply installation and stops to power to the memory bank in described multiple memory bank except described particular bank.
Alternatively, mobile device also records described by the physical address of storage unit used.
Alternatively, when electric terminal is about to enter normal condition by sleep state, power supply control apparatus controls electric supply installation and recovers to power to the memory bank in described multiple memory bank except described particular bank, and, the content be moved, according to the physical address of record, moves back to described by the storage unit that uses by mobile device.
Alternatively, the physical storage address storing the content be moved also is revised as the physical address of the storage unit in described particular bank by mobile device.
Alternatively, when electric terminal is about to enter normal condition by sleep state, power supply control apparatus controls electric supply installation and recovers to power to the memory bank in described multiple memory bank except described particular bank.
Alternatively, electric supply installation is powered respectively to described multiple memory bank.
Alternatively, mobile device utilize partner's memory management algorithm by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
In electric terminal, perform the method for sleep state management according to an exemplary embodiment of the present invention and perform the electric terminal of sleep state management, effectively can reduce the power consumption of dynamic RAM when electric terminal is in sleep state.
Part in ensuing description is set forth general plotting of the present invention other in and/or advantage, some will be clearly by describing, or can learn through the enforcement of general plotting of the present invention.
Accompanying drawing explanation
By below in conjunction with exemplarily illustrating the description that the accompanying drawing of embodiment carries out, the above and other object of exemplary embodiment of the present and feature will become apparent, wherein:
Fig. 1 illustrates the process flow diagram of the method performing sleep state management according to an exemplary embodiment of the present invention in electric terminal;
Fig. 2 illustrate according to an exemplary embodiment of the present invention the content that stores by the storage unit that uses move to example in particular bank;
Fig. 3 illustrate according to an exemplary embodiment of the present invention by the content that stores by the storage unit that uses move to the process flow diagram of the method in particular bank;
Fig. 4 illustrates that electric terminal enters the process flow diagram of dormant method according to an exemplary embodiment of the present invention;
Fig. 5 illustrates that electric terminal is entered the process flow diagram of the method for normal condition by sleep state according to an exemplary embodiment of the present invention;
Fig. 6 illustrates the block diagram of the electric terminal performing sleep state management according to an exemplary embodiment of the present invention;
Fig. 7 illustrates the block diagram of memory controller according to an exemplary embodiment of the present invention.
Embodiment
Now will in detail with reference to embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein, identical label refers to identical parts all the time.Below by referring to accompanying drawing, described embodiment will be described, to explain the present invention.
Fig. 1 illustrates the process flow diagram performing the method for sleep state management according to an exemplary embodiment of the present invention at electric terminal.Described method can have been come by electric terminal, also realizes by computer program.Such as, described method should be used for performing by the memory management be arranged in electric terminal, or is performed by the function program realized in the operating system of electric terminal.
Exemplarily, described electric terminal can be comprise dynamic RAM (DRAM) mobile communication terminal (such as, smart mobile phone), the electric terminal such as personal computer, panel computer, game machine, digital multimedia player, Intelligent worn device (such as, intelligent watch).
Here, the dynamic RAM that described electric terminal comprises comprises multiple memory bank (Bank), and each memory bank comprises multiple storage unit, to come storage program, data etc. by each storage unit.Such as, dynamic RAM can be made up of multiple memory bar, and according to the size of each memory bar, each memory bar can comprise the memory bank of some.
As shown in Figure 1, in step S10, when electric terminal is about to enter sleep state, by described multiple memory bank the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank.In other words, when electric terminal is about to enter sleep state, the content stored by dynamic RAM is centrally stored in particular bank.
Fig. 2 illustrate according to an exemplary embodiment of the present invention the content that stores by the storage unit that uses move to example in particular bank.Here, dynamic RAM comprises N+1 memory bank, that is, memory bank 0 to memory bank N.The storage unit be marked in each memory bank is by the storage unit used, and wherein has program stored therein, the content such as data.Before (a) in reference Fig. 2, Fig. 2 illustrates and move, all have by the storage unit used in memory bank 0, memory bank 1, memory bank 2, memory bank N etc.(b) in Fig. 2 illustrates, when electric terminal is about to enter sleep state, by in memory bank 1, memory bank 2, memory bank N etc. the content that stores by the storage unit that uses is unified moves to particular bank (namely, memory bank 0) in, as can be seen here, after movement, the content that dynamic RAM stores is centrally stored in particular bank memory bank 0, all not by the storage unit used in other memory banks, that is, all do not store content.
Should be appreciated that, can use existing various method by described multiple memory bank the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank.As optimal way, be described in below with reference to Fig. 3 in the method performing sleep state management according to an exemplary embodiment of the present invention in electric terminal by the content that stores by the storage unit that uses move to idiographic flow in particular bank.
With reference to Fig. 3, in step S101, when electric terminal is about to enter sleep state, determine in described multiple memory bank by the overall size of storage unit used.
In step S102, according to described by the overall size of storage unit used, determine storing from described multiple memory bank described the particular bank of content that stores by the storage unit that uses.
Exemplarily, can according to described by the overall size of storage unit used, according to certain rule determine storing from described multiple memory bank described the particular bank of content that stores by the storage unit that uses.Such as, dynamic RAM comprises N+1 memory bank, namely, memory bank 0 to memory bank N, according to by the overall size of storage unit used, particular bank can be determined according to the order from memory bank 0 to memory bank N, such as, if be less than or equal to the size of memory bank 0 by the overall size of the storage unit used, then memory bank 0 can be defined as particular bank.If be greater than the size of memory bank 0 by the overall size of the storage unit used and be less than or equal to the size sum of memory bank 0 and memory bank 1, then memory bank 0 and memory bank 1 can be defined as particular bank.
In step S103, by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
Exemplarily, can utilize partner (Buddy) memory management algorithm by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.Should be appreciated that, also can use other methods be applicable to by the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
Referring back to Fig. 1, in step S20, stop to power to the memory bank in described multiple memory bank except described particular bank.In other words, only continue to power to particular bank.
In the prior art, owing to all having by the storage unit used in each memory bank, namely, all store content in each memory bank, so the size of the content no matter stored in each memory bank, all need to be powered, to ensure that each memory bank can carry out refreshing to prevent contents lost, therefore, even if after electric terminal is in sleep state, all power consumptions because being in self-refresh mode of each memory bank.And according to exemplary embodiment of the present invention, when electric terminal is about to enter sleep state, by the content that stores by the storage unit that uses is unified moves in particular bank, thus only have particular bank to need to refresh, only need to power to ensure that it can refresh to particular bank, other memory banks refresh and power consumption without the need to carrying out, therefore, after electric terminal enters sleep state, effectively can reduce the power consumption of dynamic RAM.
In addition, according to the storage mode of existing dynamic RAM, the unified multiple memory banks comprised dynamic RAM are needed to power or stop power supply.But, in the method performing sleep state management according to an exemplary embodiment of the present invention in electric terminal, multiple memory banks that dynamic RAM comprises can be powered respectively, thus be convenient to when electric terminal is in normal condition, all memory banks that dynamic RAM comprises are powered, when electric terminal is in sleep state, only the particular bank in dynamic RAM is powered.
Exemplarily, each memory bank can be connected to power supply respectively by a field effect transistor (MOSFET), the content that can store according to position corresponding to each memory bank in control register (such as, binary data 1 or 0) control conducting or the cut-off of each field effect transistor, thus control power to memory bank or stop power supply.
Because electric terminal is when normal condition, each memory bank included by dynamic RAM all should be in normal condition, with the content such as storage program, data at any time, therefore, when electric terminal is about to enter normal condition by sleep state, need to recover the power supply to the memory bank except particular bank.
Exemplarily, step S10 also can comprise: record described by the physical address of storage unit used.After step S20, the method performing sleep state management according to an exemplary embodiment of the present invention in electric terminal also can comprise: when electric terminal is about to enter normal condition by sleep state, recover to power to the memory bank in described multiple memory bank except described particular bank; Then, according to the physical address of record, the content be moved in step slo is moved back to described by the storage unit that uses.Namely, when electric terminal is about to enter sleep state, by the content that stores by the storage unit that uses be unifiedly stored in particular bank, when electric terminal is about to enter normal condition by sleep state, again the content of previously movement is moved back in former storage unit, so that electric terminal in normal state, still can accurately find the content stored in dynamic RAM, the normal operation of electric terminal can not be affected.
As another example, after step slo, the method performing sleep state management according to an exemplary embodiment of the present invention in electric terminal also can comprise: the physical address physical storage address storing the content be moved in step slo being revised as the storage unit in described particular bank.Particularly, when electric terminal is about to enter sleep state, by the content that stores by the storage unit that uses be unifiedly stored in particular bank, and in corresponding position (such as, in memory management unit (MMU)) physical storage address of the content be moved is revised as the physical address of the corresponding storage unit in moved to particular bank, therefore, when electric terminal is about to enter normal condition by sleep state, the content of previously movement is not needed to move back in former storage unit, and just recover to power to the memory bank in the multiple memory banks included by dynamic RAM except particular bank, thus electric terminal in normal state, still can accurately find the content stored in dynamic RAM, the normal operation of electric terminal can not be affected.
In addition, Fig. 4 illustrates that electric terminal enters the process flow diagram of dormant method according to an exemplary embodiment of the present invention.
As shown in Figure 4, in step S301, when electric terminal is about to enter sleep state, freeze current process and task.
In step S302, call hang-up readjustment (suspendcallback) function of each driver.
In step S303, in multiple memory banks that dynamic RAM is comprised the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank, then stop to power to the memory bank in described multiple memory bank except described particular bank.
In step S304, stop the operation of core system and CPU.So far, electric terminal enters sleep state.
Fig. 5 illustrates that electric terminal is entered the process flow diagram of the method for normal condition by sleep state according to an exemplary embodiment of the present invention.Here, the described method being entered normal condition by sleep state to described in composition graphs 4 to enter dormant method corresponding, namely, when electric terminal is about to enter sleep state, in multiple memory banks that dynamic RAM is comprised the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank, then stop to power to the memory bank in described multiple memory bank except described particular bank.
As shown in Figure 5, in step S401, when electric terminal is about to enter normal condition by sleep state, recover the operation of core system and CPU.
In step S402, recover to power to the memory bank in the multiple memory banks included by dynamic RAM except particular bank.
Exemplarily, in step S303, can by the physical address of storage unit used before record move.In this case, in step S402, recover to power to the memory bank in multiple memory bank except particular bank; Then, according to the physical address of record, the content of movement is moved back to described by the storage unit that uses.
As another example, in step S303, the physical storage address storing the content be moved can be revised as the physical address of the storage unit in particular bank.In this case, in step S402, only recover to power to the memory bank in the multiple memory banks included by dynamic RAM except particular bank, do not need the content of previously movement to move back in former storage unit.
In step S403, that calls each driver wakes readjustment (resumecallback) function up.
In step S404, thaw frozen process and task.So far, electric terminal enters normal condition.
Here, should be appreciated that, step S303 and step S402 can realize according to the above-mentioned method performing sleep state management in electric terminal, does not repeat them here.
Fig. 6 illustrates the block diagram of the electric terminal performing sleep state management according to an exemplary embodiment of the present invention.As shown in Figure 6, the electric terminal performing sleep state management according to an exemplary embodiment of the present invention comprises: dynamic RAM 10, memory controller 20 and electric supply installation 30.These devices can in conjunction with special device (such as, senser element) realize, exemplarily, described device can be realized by the common hardware such as digital signal processor, field programmable gate array processor, also realize by dedicated hardware processors such as special chips, also can be realized with software mode by computer program completely, such as, be implemented as the module in the memory management application be arranged in electric terminal, or be implemented as the function program realized in the operating system of electric terminal.
Particularly, dynamic RAM 10 comprises multiple memory bank, and wherein, each memory bank comprises multiple storage unit, to come storage program, data etc. by each storage unit.Such as, dynamic RAM 10 can be made up of multiple memory bar, and according to the size of each memory bar, each memory bar can comprise the memory bank of some.
Memory controller 20 when electric terminal is about to enter sleep state, by described multiple memory bank the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank.In other words, when electric terminal is about to enter sleep state, the content that dynamic RAM 10 stores is centrally stored in particular bank by memory controller 20.
Electric supply installation 30 is powered to described multiple memory bank under the control of memory controller 20, wherein, memory controller 20 complete mobile after control the memory bank that electric supply installation 30 stops in described multiple memory bank except described particular bank and power.In other words, memory controller 20 controls electric supply installation 30 and only continues to power to particular bank.
In the prior art, owing to all having by the storage unit used in each memory bank, namely, all store content in each memory bank, so the size of the content no matter stored in each memory bank, all need to be powered, to ensure that each memory bank can carry out refreshing to prevent contents lost, therefore, even if after electric terminal is in sleep state, all power consumptions because being in self-refresh mode of each memory bank.And according to exemplary embodiment of the present invention, when electric terminal is about to enter sleep state, memory controller 20 by the content that stores by the storage unit that uses is unified moves in particular bank, thus only have particular bank to need to refresh, electric supply installation 30 only needs to power to ensure that it can refresh to particular bank, other memory banks refresh and power consumption without the need to carrying out, therefore, after electric terminal enters sleep state, effectively can reduce the power consumption of dynamic RAM.
In addition, according to the storage mode of existing dynamic RAM, the unified multiple memory banks comprised dynamic RAM are needed to power or stop power supply.But, in the electric terminal performing sleep state management according to an exemplary embodiment of the present invention, multiple memory banks that dynamic RAM comprises can be powered respectively, thus be convenient to when electric terminal is in normal condition, all memory banks that electric supply installation 30 pairs of dynamic RAMs comprise are powered, when electric terminal is in sleep state, electric supply installation 30 is only powered to the particular bank in dynamic RAM.
Exemplarily, each memory bank can be connected to electric supply installation 30 respectively by a field effect transistor (MOSFET), the content that memory controller 20 can store according to position corresponding to each memory bank in control register wherein (such as, binary data 1 or 0) control conducting or the cut-off of each field effect transistor, thus control electric supply installation 30 pairs of memory banks and power or stop power supply.
Should be appreciated that, memory controller 20 can use existing various method by described multiple memory bank the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank.As optimal way, the example arrangement of memory controller 20 is described below with reference to Fig. 7.
As shown in Figure 7, memory controller can comprise size determining device 201, memory bank determining device 202, mobile device 203 and power supply control apparatus 204.
Size determining device 201, for when being about to enter sleep state at electric terminal, is determined in described multiple memory bank by the overall size of storage unit used.
Memory bank determining device 202 for according to described by the overall size of storage unit used, determine storing from described multiple memory bank described the particular bank of content that stores by the storage unit that uses.
Exemplarily, memory bank determining device 202 can according to described by the overall size of storage unit used, according to certain rule determine storing from described multiple memory bank described the particular bank of content that stores by the storage unit that uses.Such as, dynamic RAM comprises N+1 memory bank, namely, memory bank 0 to memory bank N, memory bank determining device 202 according to by the overall size of storage unit used, can determine particular bank according to the order from memory bank 0 to memory bank N, such as, if be less than or equal to the size of memory bank 0 by the overall size of the storage unit used, then memory bank 0 can be defined as particular bank by memory bank determining device 202.If be greater than the size of memory bank 0 by the overall size of the storage unit used and be less than or equal to the size sum of memory bank 0 and memory bank 1, then memory bank 0 and memory bank 1 can be defined as particular bank by memory bank determining device 202.
Mobile device 203 for by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
Exemplarily, mobile device 203 can utilize partner (Buddy) memory management algorithm by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.Should be appreciated that, mobile device 203 also can use other methods be applicable to by the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
Power supply control apparatus 204 for complete at mobile device 203 mobile after, control electric supply installation 30 and stop to power to the memory bank in described multiple memory bank except described particular bank.
Because electric terminal is when normal condition, each memory bank included by dynamic RAM all should be in normal condition, with the content such as storage program, data at any time, therefore, when electric terminal is about to enter normal condition by sleep state, need to recover the power supply to the memory bank except particular bank.
Exemplarily, mobile device 203 also can record described by the physical address of storage unit used.When electric terminal is about to enter normal condition by sleep state, power supply control apparatus 204 can control electric supply installation 30 and recover to power to the memory bank in described multiple memory bank except described particular bank, then, the content be moved can, according to the physical address of record, move back to described by the storage unit that uses by mobile device 203.Namely, when electric terminal is about to enter sleep state, mobile device 203 by the content that stores by the storage unit that uses be unifiedly stored in particular bank, when electric terminal is about to enter normal condition by sleep state, the content of previously movement moves back in former storage unit by mobile device 203 again, so that electric terminal in normal state, still can accurately find the content stored in dynamic RAM, the normal operation of electric terminal can not be affected.
As another example, the physical storage address storing the content be moved also can be revised as the physical address of the storage unit in described particular bank by mobile device 203.When electric terminal is about to enter normal condition by sleep state, power supply control apparatus 204 controls electric supply installation 30 and recovers to power to the memory bank in described multiple memory bank except described particular bank.Namely, when electric terminal is about to enter sleep state, mobile device 203 by the content that stores by the storage unit that uses be unifiedly stored in particular bank, and in corresponding position (such as, in memory management unit (MMU)) physical storage address of the content be moved is revised as the physical address of the corresponding storage unit in moved to particular bank, therefore, when electric terminal is about to enter normal condition by sleep state, mobile device 203 does not need the content of previously movement to move back in former storage unit, and just recover to power to the memory bank in the multiple memory banks included by dynamic RAM except particular bank by power supply control apparatus 204, thus electric terminal in normal state, still can accurately find the content stored in dynamic RAM, the normal operation of electric terminal can not be affected.
In electric terminal, performing the method for sleep state management according to an exemplary embodiment of the present invention and performing in the electric terminal of sleep state management, when electric terminal is about to enter sleep state, be stored in the content set that dynamic RAM is stored in particular bank, thus when electric terminal is in sleep state, only need to power to particular bank, only particular bank carries out refreshing and power consumption, other memory bank all not power consumptions, effectively can reduce the power consumption of dynamic RAM when electric terminal is in sleep state.
Although show and described exemplary embodiments more of the present invention, but those skilled in the art should understand that, when not departing from by the principle of the present invention of claim and its scope of equivalents thereof and spirit, can modify to these embodiments.

Claims (10)

1. in electric terminal, perform a method for sleep state management, wherein, electric terminal comprises dynamic RAM, and described dynamic RAM comprises multiple memory bank, and each memory bank comprises multiple storage unit, it is characterized in that, described method comprises:
(A) when electric terminal is about to enter sleep state, by described multiple memory bank the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank;
(B) stop to power to the memory bank in described multiple memory bank except described particular bank.
2. method according to claim 1, wherein, step (A) comprising:
(a1) when electric terminal is about to enter sleep state, determine in described multiple memory bank by the overall size of storage unit used;
(a2) according to described by the overall size of storage unit used, determine storing from described multiple memory bank described the particular bank of content that stores by the storage unit that uses;
(a3) by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
3. method according to claim 2, wherein, step (A) also comprises:
Record described by the physical address of storage unit used.
4. method according to claim 3, wherein, after step (B), described method also comprises:
(C) when electric terminal is about to enter normal condition by sleep state, recover to power to the memory bank in described multiple memory bank except described particular bank;
(D) according to the physical address of record, the content be moved is moved back to described by the storage unit that uses in step (A).
5. method according to claim 2, wherein, after step (A), described method also comprises:
(E) physical storage address being stored in the content be moved in step (A) is revised as the physical address of the storage unit in described particular bank.
6. method according to claim 5, wherein, after step (B), described method also comprises:
(F) when electric terminal is about to enter normal condition by sleep state, recover to power to the memory bank in described multiple memory bank except described particular bank.
7. method according to claim 1, wherein, described multiple memory bank is powered respectively.
8. method according to claim 2, wherein, step (a3) comprising:
Utilize partner's memory management algorithm by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined.
9. perform an electric terminal for sleep state management, comprising:
Dynamic RAM, comprises multiple memory bank, and wherein, each memory bank comprises multiple storage unit;
Memory controller, when electric terminal is about to enter sleep state, by described multiple memory bank the content that stores by the storage unit that uses move in the particular bank in described multiple memory bank;
Electric supply installation, powers to described multiple memory bank under the control of memory controller,
Wherein, memory controller complete mobile after control the memory bank that electric supply installation stops in described multiple memory bank except described particular bank and power.
10. electric terminal according to claim 9, wherein, memory controller comprises:
Size determining device, when electric terminal is about to enter sleep state, determines in described multiple memory bank by the overall size of storage unit used;
Memory bank determining device, according to described by the overall size of storage unit used, determine storing from described multiple memory bank described the particular bank of content that stores by the storage unit that uses;
Mobile device, by described the content that stores by the storage unit that uses move in the storage unit in the particular bank determined;
Power supply control apparatus, after mobile device completes movement, controls electric supply installation and stops to power to the memory bank in described multiple memory bank except described particular bank.
CN201510374341.XA 2015-07-01 2015-07-01 Method for executing sleep state management in electronic terminal and electronic terminal for same Pending CN105045370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510374341.XA CN105045370A (en) 2015-07-01 2015-07-01 Method for executing sleep state management in electronic terminal and electronic terminal for same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510374341.XA CN105045370A (en) 2015-07-01 2015-07-01 Method for executing sleep state management in electronic terminal and electronic terminal for same

Publications (1)

Publication Number Publication Date
CN105045370A true CN105045370A (en) 2015-11-11

Family

ID=54451969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510374341.XA Pending CN105045370A (en) 2015-07-01 2015-07-01 Method for executing sleep state management in electronic terminal and electronic terminal for same

Country Status (1)

Country Link
CN (1) CN105045370A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976490A (en) * 2017-12-22 2019-07-05 浙江宇视科技有限公司 Power control method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609435A (en) * 2009-03-24 2009-12-23 成都市华为赛门铁克科技有限公司 A kind of method of power failure of equipment, electronic equipment and network system
US20120233451A1 (en) * 2011-03-08 2012-09-13 Compal Electronics, Inc. Method for fast resuming computer system and computer system
CN103365392A (en) * 2012-03-26 2013-10-23 鸿富锦精密工业(深圳)有限公司 Memory management system and method
CN104572511A (en) * 2013-10-14 2015-04-29 联想(北京)有限公司 Storage device with mixed architecture and computer system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609435A (en) * 2009-03-24 2009-12-23 成都市华为赛门铁克科技有限公司 A kind of method of power failure of equipment, electronic equipment and network system
US20120233451A1 (en) * 2011-03-08 2012-09-13 Compal Electronics, Inc. Method for fast resuming computer system and computer system
CN103365392A (en) * 2012-03-26 2013-10-23 鸿富锦精密工业(深圳)有限公司 Memory management system and method
CN104572511A (en) * 2013-10-14 2015-04-29 联想(北京)有限公司 Storage device with mixed architecture and computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976490A (en) * 2017-12-22 2019-07-05 浙江宇视科技有限公司 Power control method and electronic equipment
CN109976490B (en) * 2017-12-22 2021-03-09 浙江宇视科技有限公司 Power supply control method and electronic equipment

Similar Documents

Publication Publication Date Title
US9129674B2 (en) Hybrid memory device
US20160041596A1 (en) Power efficient method and system for executing host data processing tasks during data retention operations in a storage device
US9818458B1 (en) Techniques for entry to a lower power state for a memory device
CN101387988B (en) Computer having flash memory and method of operating flash memory
CN107728934B (en) Memory controller and memory system including the same
CN102495756A (en) Method and system for switching operating system between different central processing units
TWI670602B (en) Electronic device and method for power-conserving cache memory usage
MX2015010046A (en) Dynamic management of heterogeneous memory.
US9601180B2 (en) Automatic partial array self-refresh
CN102855214B (en) Realize the method for data consistency and a kind of multiple nucleus system
CN104460941B (en) A kind of method for reducing main store memory oepration at full load power consumption
WO2015199909A1 (en) Accelerating boot time zeroing of memory based on non-volatile memory (nvm) technology
US20170228168A1 (en) Memory state management for electronic device
EP3510487B1 (en) Coherent interconnect power reduction using hardware controlled split snoop directories
US20120102270A1 (en) Methods and Apparatuses for Idle-Prioritized Memory Ranks
EP4060505A1 (en) Techniques for near data acceleration for a multi-core architecture
CN110168644B (en) System, method and computer program for providing row tamper protection in a bank memory cell array
CN110168643B (en) Simultaneous memory bank access via cross-connected shared bank resources
US10318428B2 (en) Power aware hash function for cache memory mapping
CN105045370A (en) Method for executing sleep state management in electronic terminal and electronic terminal for same
CN104750425A (en) Storage system and control method for nonvolatile memory of storage system
US10430096B2 (en) Hybrid storage device, computer, control device, and power consumption reduction method
CN105183668A (en) Cache refreshing method and device
US11556253B1 (en) Reducing power consumption by selective memory chip hibernation
CN217588059U (en) Processor system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151111

RJ01 Rejection of invention patent application after publication