CN100470669C - Method for prolonging use time of portable device through controlling memory - Google Patents

Method for prolonging use time of portable device through controlling memory Download PDF

Info

Publication number
CN100470669C
CN100470669C CNB2005100596400A CN200510059640A CN100470669C CN 100470669 C CN100470669 C CN 100470669C CN B2005100596400 A CNB2005100596400 A CN B2005100596400A CN 200510059640 A CN200510059640 A CN 200510059640A CN 100470669 C CN100470669 C CN 100470669C
Authority
CN
China
Prior art keywords
thesaurus
zone
portable unit
data
self
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.)
Expired - Fee Related
Application number
CNB2005100596400A
Other languages
Chinese (zh)
Other versions
CN1710664A (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.)
Inspur LG Digital Mobile Communications Co Ltd
Original Assignee
LG Electronics China Research and Development Center 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 LG Electronics China Research and Development Center Co Ltd filed Critical LG Electronics China Research and Development Center Co Ltd
Publication of CN1710664A publication Critical patent/CN1710664A/en
Application granted granted Critical
Publication of CN100470669C publication Critical patent/CN100470669C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver

Abstract

The present invention discloses a method for using time by control memory prolonging portable device belonging to portable device energy-saving technology. In using SDRAM and portable device used battery supply electrical source of the present invention, when it transfers from the mobile mode to sleeping mode, it only processes self-refreshing action to the storing library1 and 2 stored SDRAM data, and not processes self-refreshing action to residual storing library 3 and 4, thereby decreasing consumption electric quantity, increasing sleeping mode load-less and saving SDRAM consumption electric quantity, thereby prolonging the using time of SDRAM portable device.

Description

The method that prolongs the service time of portable unit by control store
Technical field
The invention belongs to the portable unit power-saving technology, be particularly related to portable unit by reduce using SDRAM when activity pattern is converted to sleep pattern in order to keep the self-refresh action that the data that are kept at SDRAM are implemented, thereby reduce sub-refresh activity institute consumed current, prolong the service time of the portable unit that uses SDRAM.Especially a kind of method that prolongs the service time of portable unit by control store.
Background technology
In general, Synchronous Dynamic Random Access Memory (SDRAM (synchronous Dynamic RandomAccess Memory)) is directly to receive the employed major clock of central processing unit (CPU) and the memory storage that moves, the data bus of 64 bits is provided, and because of all synchronous operation of each random access memory (RAM (RandomAccess Memory)), so travelling speed is faster than in the past RAM.
The various form of the dynamic RAM (DRAM (dynamic RAM)) that SDRAM general reference clock speed and microprocessor are synchronous, and the number that helps to be increased in the program command of carrying out in the official hour synchronously of clock speed.
Heap (heap) is the zone that repetition is assigned to the part in the memory place effect of program and recovery, and with strictness by after go into earlier the storehouse that (LIFO) mode runs and compare, the difference of heap is that the size or the requirements/number of times of desired of program all do not have certain rule in proper order.The situation that storehouse is mainly used in some contents of short-term memory and utilizes rapidly again.
Below in conjunction with accompanying drawing prior art embodiments is elaborated.
Fig. 1 is the constitutional diagram that SDRAM is divided into the thesaurus of 4 equal-sized, the self-refresh action of SDRAM can be provided with at EMRS (Extended mode register set), and only can select to be set at the self-refresh action is carried out in the whole zone of 1 zone, storehouse or 1,2 zones, storehouse or storehouse 1-4.
As a rule, SDRAM is set at the self-refresh action is carried out in the whole zone of 1-4.
In the wireless terminal of existing use SDRAM (synchronous dynamic RAM), portable unit is when activity pattern is converted to sleep pattern, and the whole volume of SDRAM is carried out the self-refresh action.
As another kind of method, hibernate mode is that portable unit is when sleep pattern is changed, append non-volatile (non volatile) storer that the capacity that communicates with SDRAM is set, thereby when entering sleep pattern, the total data that originally was kept at SDRAM is backed up behind non-volatility memorizer interruption to the power supply supply of SDRAM.In the prior art, when being in sleep pattern, needing whole SDRAM is carried out the self-refresh action, and the zone that does not have data is also needed to carry out the self-refresh action, caused unnecessary battery consumption; And all data during sleep pattern are kept at the hibernate mode in the non-volatility memorizer, also need to possess the non-volatility memorizer with the same capacity of SDRAM.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art and a kind of method that prolongs the service time of portable unit by control store is provided.Using SDRAM and using in the portable unit of battery power supply, when activity pattern is converted to sleep pattern, only the self-refresh action is carried out in the residing thesaurus of the data that are stored in SDRAM zone, and the self-refresh action is not carried out in remaining thesaurus zone, thereby the minimizing consumes power, the stand-by time of increase sleep pattern.
Described portable unit when sleep pattern, the step that the self-refresh of SDRAM action is only carried out thesaurus 1,2 zones; The step of the data shelf space of required use when in thesaurus 2 zones of SDRAM, setting sleep pattern; When portable unit when activity pattern is converted to sleep pattern, the data in thesaurus 3,4 zones that are positioned at above-mentioned SDRAM are copied to the step of above-mentioned data shelf space; Only the self-refresh action is carried out in thesaurus 1,2 zones of the SDRAM of portable unit, thereby kept the step of data.
Described portable unit returns to thesaurus 3,4 zones to the data that are stored in the data shelf space during above-mentioned sleep pattern when activity pattern is converted to sleep pattern, uses thereby make above-mentioned portable unit be in activity pattern; Used used data storage area when the data shelf space can utilize dispersion journal file (scatter1ogfile) that the part in thesaurus 2 zones of above-mentioned SDRAM is set at sleep pattern.The invention has the beneficial effects as follows when portable unit is in sleep pattern, the self-refresh of SDRAM is reduced to half actuation time, thereby save SDRAM, prolong the sleep pattern stand-by time of portable unit in order to keep the electric quantity consumption of data.Therefore the effect that has the battery service time that prolongs portable unit.
Description of drawings
Fig. 1 is the constitutional diagram that SDRAM is divided into the thesaurus of 4 equal-sized.
Fig. 2 is to use the example of portable unit load software when sleep pattern of SDRAM.
Fig. 3 is the structure of the SDRAM of portable unit of the present invention when moving with sleep pattern.。
Fig. 4 is the precedence diagram by the service time of the prolongation portable unit of the electric weight of saving SDRAM.
The symbol description * * * of * * accompanying drawing major part
10,20,30:SDRAM 22,32: storehouse 24,32: heap (heap)
Embodiment
The present invention provides a kind of method that prolongs the service time of portable unit by control store for the deficiency that overcomes prior art.Below in conjunction with accompanying drawing embodiments of the invention are elaborated.
Fig. 2 is to use the example of portable unit load software when sleep pattern of SDRAM20, Fig. 3 is the structure of the SDRAM30 of portable unit of the present invention when moving with sleep pattern, and Fig. 4 is the precedence diagram by the service time of the prolongation portable unit of the electric weight of saving SDRAM30.
At first, the illustrated example that is to use portable unit load software when sleep pattern of SDRAM of Fig. 2, as shown in the figure, when portable unit when entering sleep pattern, most application program all finishes, the application program of the small part of only remaining managing portable device so the use amount of the heap 24 of SDRAM20 and storehouse 22 obviously reduces, has only the part in thesaurus 3 zones and a part of storehouse 22 zones in thesaurus 4 zones to be in user mode.
Different with activity pattern, when portable unit is in sleep pattern, there are the valid data of being preserved in thesaurus 3,4 zones of SDRAM hardly.
In addition, except the zone of RO, RW, ZI, other zone is by storehouse 22 and 24 common uses of heap, wherein, heap 24 increases along with data, beginning upwards from the last address of ZI, bit address increases progressively and fills up; And storehouse 22 is along with the increase of data, then increases progressively and fills up from the downward bit address in upper address.
As RO, RW, the ZI zone in 1,2 zones, storehouse, move and keep data even also need carry out self-refresh when being in sleep pattern.
Existing situation is, even portable unit is in sleep pattern, does not almost have the data that will keep in the thesaurus 3,4 of SDRAM, also needs the whole thesaurus of SDRAM is carried out self-refresh, so consumed the unnecessary energy content of battery.
As shown in Figure 2, principle of the present invention is: when portable unit enters sleep pattern, have only several softwares to use storehouse 22 and heap 24 zones, and most software has been in done state, so do not use storehouse 22 and heap 24 zones of SDRAM20, and, when portable unit enters sleep pattern, the storehouse 22 of the small part that accounts for thesaurus 3,4 zones with pile 24 zones and utilize to disperse journal files (scatter logfile) to set and be kept at RO, the RW that carries out the SDRAM self-refresh, thesaurus 2 zones in ZI zone.
When portable unit is converted to activity pattern, the data that are in heap and storehouse that are kept at thesaurus 2 zones of carrying out self-refresh action is returned to do not carry out re-using behind thesaurus 3,4 zones that self-refresh moves.
In addition, in the EMRS of SDRAM, set, only allow 1,2 thesauruss refresh thereby make in 4 thesauruss that carry out self-refresh action, thereby the self-refresh current drain of the SDRAM when making the sleep pattern of portable unit reduce half, prolongs the stand-by time of portable unit when sleep pattern.
Disperseing journal file (scatter log file) is to set other storehouse and heap zone, because whether it can preserve according to a certain amount of space of certain address setting of SDRAM and definition or use the software among the ROM.
Fig. 3 is the structure of the SDRAM30 when portable unit of the present invention moves with sleep pattern.
When portable unit enters sleep pattern, measurable prerequisite software, so can calculate the size of shared heap of these softwares and stack region, thereby utilize to disperse journal file (scatter log file) heap that establishment adds in addition thesaurus 2 in and storehouse 32 zones, and the handle data that are positioned at thesaurus 3,4 move and preserve.
When portable unit is in sleep pattern, the data of heap that is positioned at thesaurus 3,4 and stack region will be moved to the storehouse and the heap zone 32 of thesaurus 2, so need not to carry out self-refresh, thereby electric weight that the self-refresh action of saving SDRAM is consumed when being in sleep pattern.
Promptly, when portable unit enters sleep pattern, for the data that are positioned at as the zone of the storehouse 22 of Fig. 2 and heap 24 are saved in thesaurus 2 zones, disperse journal file to create a zone and preserve thereby utilize, and only self-refresh is carried out in thesaurus 1,2 zones of SDRAM.And when portable unit when newly being converted to activity pattern, the data that are kept at storer 2 zones re-use from newly returning to thesaurus 3,4 zones, thereby save the electric weight that the self-refresh action is consumed.
Fig. 4 is the precedence diagram by the service time of the prolongation portable unit of the electric weight of saving SDRAM30.
At first, in EMRS table, SDRAM only is set at when be in sleep pattern and thesaurus 1,2 is carried out self-refresh moves (ST70).
Then, utilize and disperse journal file (scatter log file) to create another heap and storehouse 32, the data when making sleep pattern can be saved in the thesaurus 2 (ST72).
When portable unit is converted to activity pattern, usually thesaurus 3,4 zones be used as the heap and storehouse use (ST74, ST76).
When portable unit when activity pattern is converted to sleep pattern, the data (ST78, ST80) of utilizing the heap created in thesaurus 2 zones and storehouse 32 zones to duplicate and preserve thesaurus 3,4 zones.
Therefore, when portable unit was in sleep pattern, thesaurus 3,4 zones did not have data fully, so only the self-refresh action is carried out in thesaurus 1,2 zones, thereby save the consumes power of half, prolong the stand-by time (ST82) of portable unit when sleep pattern.
When portable unit when newly being converted to activity pattern, the data that are kept at thesaurus 2 zones 32 are used (ST84) from newly returning to thesaurus 3,4 zones.
In addition, table 1 can be set the instance graph of EMRS (the Extendedmode register set) table in self-refresh zone in the thesaurus 1-4 zone of SDRAM, as shown in table 1, if A0, A1, A2 are set at, can make portable unit when sleep pattern, only thesaurus 1,2 be carried out the self-refresh action at 1,0,037 o'clock.
Table 1
The extended mode register setting of register program
Figure C200510059640D00071
Partial Array Self Refresh (PASR) ﹠amp; The extended mode register setting of temperature compensated self refresh (TCSR)
Figure C200510059640D00072

Claims (2)

1. a method that prolongs the service time of portable unit by control store comprises being set in portable unit when sleep pattern, the step that the action of the self-refresh of Synchronous Dynamic Random Access Memory is only carried out the 1st, the 2nd zone of thesaurus; The step of data shelf space when in thesaurus 2 zones of above-mentioned Synchronous Dynamic Random Access Memory, setting sleep pattern; When above-mentioned portable unit when activity pattern is converted to sleep pattern, the data in the 3rd, the 4th zone of the thesaurus that is positioned at above-mentioned Synchronous Dynamic Random Access Memory are copied to the step of above-mentioned data shelf space; Only the self-refresh action is carried out in the 1st, the 2nd zone of the thesaurus of the Synchronous Dynamic Random Access Memory of above-mentioned portable unit, thereby kept the step of data; It is characterized in that: when portable unit when activity pattern is converted to sleep pattern, utilize the data in the 3rd, the 4th zone that the heap created in the 2nd zone of thesaurus and stack region duplicated and preserved thesaurus; When portable unit is converted to activity pattern, re-use after the data that are in heap and storehouse in the 2nd zone that is kept at the thesaurus that carries out self-refresh action are returned to the 3rd, the 4th zone of not carrying out the thesaurus that self-refresh moves, use thereby make above-mentioned portable unit be used as activity pattern.
2. the method that prolongs the service time of portable unit by control store according to claim 1, it is characterized in that: when portable unit enters sleep pattern, for the data in the zone of storehouse and heap being saved in the 2nd zone of thesaurus, also preserve thereby utilize to disperse journal file to create a zone, and only self-refresh is carried out in the 1st, the 2nd zone of the thesaurus of SDRAM; And when portable unit was converted to activity pattern again, the 3rd, the 4th zone that the data that are kept at the 2nd zone of storer return to thesaurus again re-used, thereby saved the electric weight that the self-refresh action is consumed.
CNB2005100596400A 2004-06-18 2005-03-30 Method for prolonging use time of portable device through controlling memory Expired - Fee Related CN100470669C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020040045661 2004-06-18
KR1020040045661A KR100594439B1 (en) 2004-06-18 2004-06-18 Battery saving method of handheld device using memory control

Publications (2)

Publication Number Publication Date
CN1710664A CN1710664A (en) 2005-12-21
CN100470669C true CN100470669C (en) 2009-03-18

Family

ID=35706887

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100596400A Expired - Fee Related CN100470669C (en) 2004-06-18 2005-03-30 Method for prolonging use time of portable device through controlling memory

Country Status (2)

Country Link
KR (1) KR100594439B1 (en)
CN (1) CN100470669C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7286377B1 (en) * 2006-04-28 2007-10-23 Mosaid Technologies Incorporated Dynamic random access memory device and method for self-refreshing memory cells with temperature compensated self-refresh
US7512029B2 (en) 2006-06-09 2009-03-31 Micron Technology, Inc. Method and apparatus for managing behavior of memory devices
TWI506443B (en) 2012-12-27 2015-11-01 Mediatek Inc Media peripheral interface and communication method between processor and peripheral device
US20160154454A1 (en) * 2013-12-24 2016-06-02 Mediatek Inc. Storage apparatus, storage system, storage apparatus controlling method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5305274A (en) * 1992-09-16 1994-04-19 Proebsting Robert J Method and apparatus for refreshing a dynamic random access memory
KR200349232Y1 (en) * 1998-12-31 2004-09-06 주식회사 하이닉스반도체 Micro control unit having dynamic random access memory
JP4056173B2 (en) 1999-04-14 2008-03-05 富士通株式会社 Semiconductor memory device and method for refreshing semiconductor memory device
JP4216457B2 (en) * 2000-11-30 2009-01-28 富士通マイクロエレクトロニクス株式会社 Semiconductor memory device and semiconductor device

Also Published As

Publication number Publication date
CN1710664A (en) 2005-12-21
KR100594439B1 (en) 2006-06-30
KR20050120345A (en) 2005-12-22

Similar Documents

Publication Publication Date Title
CN1327311C (en) Self-refreshing electricity consumption method of saving SDRAM through spare data
US6732241B2 (en) Technique for migrating data between storage devices for reduced power consumption
TWI420304B (en) Data movement engine and memory control method
US7603512B2 (en) Dynamic memory refresh controller, memory system including the same and method of controlling refresh of dynamic memory
US7380048B2 (en) System and method for managing data in memory for reducing power consumption
EP2997576B1 (en) Methods and systems for smart refresh of dynamic random access memory
WO2007090195A1 (en) Reducing power consumption by disabling refresh of unused portions of dram during periods of device inactivity
CN101185066A (en) Reorganisation of memory for conserving power in a computing device
CN103915110A (en) Refresh method for volatile memory and related volatile memory controller
US20170052727A1 (en) System and method for reducing power consumption of memory
US6178479B1 (en) Cycle-skipping DRAM for power saving
CN100470669C (en) Method for prolonging use time of portable device through controlling memory
KR20170127948A (en) Memory module and system including the same
CN101739359B (en) Storage device, access method for mobile terminal and data, and frequency modulation method
CN101000798B (en) Memory updating method and memory updating system
JP2015114777A (en) Information processing terminal, power control program, and power control method
CN102034526B (en) Method for realizing static and dynamic random access memory (SDRAM) refresh by using field programmable gate array (FPGA)
CN104166523A (en) Storage and method for increasing data loading rate of computer system
CN102981591A (en) Method for reducing power consumption of computer system in sleep mode and system
US11556253B1 (en) Reducing power consumption by selective memory chip hibernation
KR102178931B1 (en) Method for predicting energy consumption of heap memory object and memory system implementing the same
JP2001101067A (en) Self-refresh controller and storage medium storing program
US6847571B2 (en) Use of redundant memory cells to manufacture cost efficient drams with reduced self refresh current capability
CN105824760A (en) Storage device and power control method thereof
CN102890658B (en) Based on the input and output buffering implementation method of SPM in a kind of embedded 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
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: LANGCHAO LEJIN DIGITAL MOBILE COMMUNICATION CO., L

Free format text: FORMER OWNER: LG ELECTRONIC (CHINA) RESEARCH + DEVELOPMENT CENTRE CO., LTD.

Effective date: 20120308

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100102 CHAOYANG, BEIJING TO: 264001 YANTAI, SHANDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20120308

Address after: 264001 No. 228 Changjiang Road, Yantai economic and Technological Development Zone, Shandong, China

Patentee after: Langchao Lejin Digital Mobile Communication Co., Ltd.

Address before: Two Beijing 100102 Chaoyang District city in Wangjing Lize Park No. 203 Petrova building block B

Patentee before: LG Electronic (China) Research and Development Center Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090318

Termination date: 20170330