JP2005011434A - Dynamic memory control device, and portable terminal using the same - Google Patents

Dynamic memory control device, and portable terminal using the same Download PDF

Info

Publication number
JP2005011434A
JP2005011434A JP2003174432A JP2003174432A JP2005011434A JP 2005011434 A JP2005011434 A JP 2005011434A JP 2003174432 A JP2003174432 A JP 2003174432A JP 2003174432 A JP2003174432 A JP 2003174432A JP 2005011434 A JP2005011434 A JP 2005011434A
Authority
JP
Japan
Prior art keywords
data
area
partitioned memory
partitioned
memory area
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
JP2003174432A
Other languages
Japanese (ja)
Inventor
Toshinori Watarai
俊典 渡会
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2003174432A priority Critical patent/JP2005011434A/en
Publication of JP2005011434A publication Critical patent/JP2005011434A/en
Pending legal-status Critical Current

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

Landscapes

  • Memory System (AREA)
  • Dram (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the power consumption required for refreshing at the time of holding data stored in a plurality of segmented memory areas dispersedly in a dynamic memory. <P>SOLUTION: The dynamic memory control device is equipped with a dynamic memory in which the data which the programs to operate in a main body is stored, a program data area which consists of a plurality of segmented memory areas, a program data management area being a data storing condition storage means which stores the storing conditions of program data in these respective segmented areas, a register for data movement being a data moving means which moves the program data to other segmented memory areas based on the storing conditions of the program data, a refresh control part being a refreshing means which performs refresh in a unit of a segmented memory area and a refresh area selecting means which selects segmented memory areas to which refreshing is to be performed based on the storing conditions of the program data and the device performs refreshing to the segmented memory areas in which program data exist. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ダイナミックメモリのリフレッシュにおける省電力化を図るダイナミックメモリ制御装置及びこれを用いた携帯端末に関するものである。
【0002】
【従来の技術】
従来のダイナミックメモリ制御装置においては、CDMA方式で受信される情報シンボルをダイナミックメモリへ格納するときに、該ダイナミックメモリのメモリ領域を電気的に区切って区分メモリ領域(シンボル蓄積メモリ)を形成し、この区分メモリ領域毎にアクセス可能とし、情報シンボルを通信コード単位や受信スロット単位で区分メモリ領域へ格納して、不要な情報シンボルが格納されアクセスが発生しない区分メモリ領域をリフレッシュしない構成にしている(例えば、特許文献1参照)。
【0003】
【特許文献1】
特開2001−217750号(第3−5頁、第1図)
【0004】
【発明が解決しようとする課題】
従来のダイナミックメモリ制御装置は以上のように構成されていたので、ダイナミックメモリの区分メモリ領域に対し、区分メモリ領域へのアクセスの有無を用いて動作領域と非動作領域の識別と制御を行っており、区分メモリ領域中にデータが格納されていない空き領域が存在しても、複数の区分メモリ領域に分散して格納されるデータを用いる必要があれば、データが格納されている区分メモリ領域すべてを動作状態にしてリフレッシュする必要があり、リフレッシュに要する消費電力を抑える省電力制御の効率が悪いという問題点があった。
【0005】
本発明は上記のような問題点を解消するためになされたものであり、ダイナミックメモリのリフレッシュに要する消費電力を低減するダイナミックメモリ制御装置を得ることを目的とする。
また、ダイナミックメモリを搭載した携帯端末の低消費電力化を図ることを目的とする。
【0006】
【課題を解決するための手段】
本発明に係るダイナミックメモリ制御装置においては、本体において動作するプログラムが使用するデータ(以後、プログラムデータと記す。)を格納する複数の区分メモリ領域を含むダイナミックメモリと、これらの各区分メモリ領域におけるプログラムデータの格納状況を記憶するデータ格納状況記憶手段と、このデータ格納状況記憶手段が記憶するデータの格納状況に基づきプログラムデータを他の区分メモリ領域に移動するデータ移動手段と、区分メモリ領域単位でリフレッシュを行うリフレッシュ手段と、データ格納状況記憶手段が記憶するデータの格納状況に基づきリフレッシュを行う区分メモリ領域を選択するリフレッシュ領域選択手段とを備え、プログラムデータの存在する区分メモリ領域に対しリフレッシュを行うものである。
【0007】
また、本発明に係る携帯端末においては、携帯端末において動作するプログラムが使用するデータ(プログラムデータ)を格納する複数の区分メモリ領域を含むダイナミックメモリと、これらの各区分メモリ領域におけるプログラムデータの格納状況を記憶するデータ格納状況記憶手段と、このデータ格納状況記憶手段が記憶するデータの格納状況に基づきプログラムデータを他の区分メモリ領域に移動するデータ移動手段と、区分メモリ領域単位でリフレッシュを行うリフレッシュ手段と、データ格納状況記憶手段が記憶するデータの格納状況に基づきリフレッシュを行う区分メモリ領域を選択するリフレッシュ領域選択手段とを備え、プログラムデータが複数の区分メモリ領域に分散して格納されるとき、プログラムデータが存在する区分メモリ領域中の空き領域へ他の区分メモリ領域に存在するプログラムデータを移動することによりプログラムデータが存在しない区分メモリ領域を形成してから、所定の時間経過した後に、プログラムデータが存在しない区分メモリ領域に対しリフレッシュを中止するものである。
【0008】
【発明の実施の形態】
ダイナミックメモリ制御装置を備える本体が携帯端末である場合を例にとり説明する。
実施の形態1.
図1は、本発明の実施の形態1におけるダイナミックメモリ制御装置及びこれを用いた携帯端末の全体構成を説明するブロック図である。図1において、本体である携帯端末1は、無線または有線を用いて音声やデータ等を送受信する送受信部2と、液晶ディスプレイ等の表示部3と、数字キーや数種類の入力キー等を備えた入力部4と、データの保持電力が不要で必要により書き換え可能なSRAM(Static Random Access Memory)等により構成される記憶部5と、ダイナミックメモリにより構成される主記憶部6と、主記憶部6に接続され主記憶部6に対しデータの書き込み、読み取り、リフレッシュ等を制御するメモリコントローラ7と、送受信部2、表示部3、入力部4、記憶部5及びメモリコントローラ7に接続され、これらを制御するマイクロプロセッサである制御部8と、携帯端末1内の各部へ電力を供給する電源部9とを備える。ここで、ダイナミックメモリ制御装置は主記憶部6とメモリコントローラ7とから構成される。
【0009】
記憶部5は、プログラムや、プログラムと送受信部2、表示部3及び入力部4等とのインタフェース処理や割り込み処理等を行なうオペレーティングシステム(以後、OSと記す。)等のソフトウェア等を記憶する。主記憶部6は、プログラムが使用するデータ(プログラムデータ)を記憶する複数の区分メモリ領域から構成されるプログラムデータ領域61と、各プログラムデータのアドレス、サイズ及びアクセス状態、プログラムデータ領域61における空き領域容量といったプログラムデータの格納状況を記憶するデータ格納状況記憶手段であるプログラムデータ管理領域62とを備える。
【0010】
図1には記載していないが、携帯端末1を携帯電話として使用するために、音声信号を低周波の電気信号に変換するマイク部と、この低周波電気信号を高周波の搬送波に重畳させる変調部と、この高周波信号を携帯端末1の外部に送信する高周波送信部と、携帯端末1の外部から受信した高周波信号を受信して検波する検波部と、高周波信号から音声信号である低周波の電気信号を取り出して復調する復調部と、復調された低周波電気信号から音声信号に変換するスピーカ部と、これらの構成要素を制御する制御回路部とを備えている。
【0011】
図2は、図1に記載の構成を含め、ダイナミックメモリ制御装置である主記憶部6とメモリコントローラ7の構成と動作について説明するブロック図である。ただし、図1に記載の記憶部5を省略している。
【0012】
プログラムデータ領域61が3つの区分メモリ領域61a、61b、及び61cから構成される例を示す。これらの区分メモリ領域はメモリコントローラ7からそれぞれ独立に制御される。各区分メモリ領域にはプログラムデータが記憶される。プログラムデータ管理領域62には、3つの区分メモリ領域61a、61b、及び61cにおけるプログラムデータの格納状況を記述するデータベース62a、62b、62cが記憶される。各データベースには、各プログラムデータのアドレス及びアクセス状態、プログラムデータのサイズ、及び各区分メモリ領域における空き領域容量の情報が記録される。
【0013】
メモリコントローラ7は、アクセスしようとする主記憶部6におけるダイナミックメモリに対し、そのアドレスデータを出力するアドレス制御部71と、アドレスデータを構成する行アドレスデータの読み取りと列アドレスデータの読み取りを指示するために用い、ダイナミックメモリのリフレッシュ制御信号としても使用するRAS(Row Address Strobe)/CAS(Column Address Strobe)信号を出力して、区分メモリ領域単位でリフレッシュを行うリフレッシュ手段であるリフレッシュ制御部72と、区分メモリ領域間のプログラムデータの移動手段であり、プログラムデータを一時記憶するデータ移動用レジスタ74とを備える。制御部8はプログラムデータ管理領域62に記憶されるデータベースを参照して、リフレッシュを行う区分メモリ領域をメモリコントローラ7に指令することより、リフレッシュ領域選択手段を構成する。
【0014】
ここで、アドレス制御部71とリフレッシュ制御部72は、主記憶部6のプログラムデータ領域61における区分メモリ領域61a、61b及び61cに対してそれぞれ独立に制御するアドレス制御部71a、71b及び71c、並びに、リフレッシュ制御部72a、72b及び72cから構成される。なお、図2には記載していないが、メモリコントローラ7には、プログラムデータ管理領域62における各データベースの読み出し、書き込み、及びリフレッシュを行なうアドレス制御部及びリフレッシュ制御部も備える。
【0015】
主記憶部6とメモリコントローラ7とはアドレス信号線75、RAS/CAS信号線76、及びデータ線77により接続される。ただし、これらの信号線やデータ線のほか、WE(Write Enable)制御線やOE(Output Enable)制御線といった制御線もあるが、図面の錯綜を避けるために、本発明に必要な信号線やデータ線以外は省略してある。また、図2には記載していないが、プログラムデータ管理領域62における各データベースの読み出し、書き込み、及びリフレッシュを行ない、メモリコントローラ7に設けられるアドレス制御部及びリフレッシュ制御部とプログラムデータ管理領域62とを接続するアドレス信号線、RAS/CAS信号線、データ線、WE制御線、及びOE制御線も備える。
【0016】
ここで、アドレス制御部71a、71b及び71cは、主記憶部6のプログラムデータ領域61における区分メモリ領域61a、61b及び61cに対し、それぞれアドレス信号線75a、75b及び75cを用いてアドレス信号を出力する。また、リフレッシュ制御部72a、72b及び72cは、区分メモリ領域61a、61b及び61cに対し、それぞれRAS/CAS信号線76a、76b及び76cを用いてRAS/CAS信号を出力する。さらに、メモリコントローラ7と区分メモリ領域61a、61b及び61cとは、それぞれデータ線77a、77b及び77cにより接続される。
【0017】
次に動作について説明する。携帯端末1が起動されると、電源部9から各部へ電力が供給され、記憶部5に記憶されたOSを起動する。OSが起動すると、記憶部5に記憶され携帯端末1上で動作する所定のプログラムが起動する。さらにOSは制御部8に対し、区分メモリ領域のリフレッシュやプログラムデータの移動等の指令を出す。ここでは、携帯端末1の外部から複数の画像データを受信して主記憶部6に記憶し、表示部3に画像を表示するプログラムを例にとり、受信した画像データを記憶する主記憶部6のダイナミックメモリの制御について説明する。なお、プログラムデータは画像データである。
【0018】
携帯端末1の外部から所定の画像データを取得するよう入力部4から指令を入力する。その指令により制御部8は送受信部2へ画像データを受信するように制御する。次に、制御部8はメモリコントーラ7へ受信した画像データを主記憶部6のプログラムデータ領域61へ記憶するように指令する。
【0019】
図3は、プログラムデータ領域61における画像データであるプログラムデータの記憶状態を説明するブロック図である。図4はメモリコントローラ7のリフレッシュに関する動作を説明するフローチャートである。図3の(a)は画像データの初期の記憶状態を示す図であり、プログラムデータ領域61に7個の画像データであるデータA、データB、データC、データD、データE、データF、及びデータGが記憶されているものとする。データA乃至Cは区分メモリ領域(#1)61aへ、データD乃至データFは区分メモリ領域(#2)61bへ、データGは区分メモリ領域(#3)61cへ記憶される。このとき、図2に示すプログラムデータ管理領域62のデータベース(#1)62a、データベース(#2)62b、及びデータベース(#3)62cにはそれぞれ区分メモリ領域(#1)61a、区分メモリ領域(#2)61b、及び区分メモリ領域(#3)61cに記憶された各画像データの開始アドレス情報、制御部8からアクセス中でメモリロックされている状態か、制御部8からのアクセスを待機中でメモリアンロックの状態かのアクセス情報、データサイズ、及び各区分メモリ領域における空き領域容量の情報が記憶される。
【0020】
図3の(a)の状態において、プログラムデータ領域61に記憶されたすべての画像データを保持するために、図2のメモリコントローラ7は区分メモリ領域(#1)61a、区分メモリ領域(#2)61b、及び区分メモリ領域(#3)61cに対し、それぞれアドレス制御部71a、71b、及び71cからアドレス信号線75a、75b、及び75cを経由してアドレス信号を、リフレッシュ制御部72a、72b、及び72cからRAS/CAS信号線76a、76b、及び76cを経由してリフレッシュ制御信号であるRAS/CAS信号を送出する。
【0021】
図4のステップS1において、制御部8はプログラムデータ管理領域62の各データベースを参照し、プログラムデータである画像データの各区分メモリ領域における格納状況を確認する。上記のデータベースにおける各画像データの開始アドレス情報を参照することにより、ステップS2において、画像データが格納されている区分メモリ領域が複数あるかを判別する。図3の(a)の状態では、画像データが格納されている区分メモリ領域が、区分メモリ領域(#1)61a、区分メモリ領域(#2)61b、及び区分メモリ領域(#3)61cと複数(3領域)あるので、ステップS3に進む。
【0022】
ステップS3では、メモリアンロック状態にあり待機中の画像データを、他のプログラムデータが格納されている他の区分メモリ領域へ移動できるかを判別する。この判別はプログラムデータ管理領域62の各データベースにおける空き領域容量の情報を参照することにより行う。ここで、移動の手順として、区分メモリ領域の番号(#の後の番号)が大きい区分メモリ領域にあるデータを優先して移動することとする。図3の(a)ではデータGに対しステップS3を適用すると、データGが格納されている区分メモリ領域(#3)61cと別の区分メモリ領域であり、他の画像データが格納されている区分メモリ領域(#1)61aや区分メモリ領域(#2)61bに空き領域がなく、ステップS5に進む。
【0023】
ステップS5では画像データが記憶されていない区分メモリ領域に対しリフレッシュを中止する。図3の(a)の状態では、画像データが記憶されていない区分メモリ領域が存在しないのでリフレッシュを中止する区分メモリ領域はなく、すべての区分メモリ領域に対し、リフレッシュが行われる。
【0024】
データAの画像データが表示部3に表示中でメモリロック状態にあり、その他の画像データがメモリアンロック状態であるとき、データAが記憶されている区分メモリ領域(#1)61aに対し、アドレス制御部71aとリフレッシュ制御部72aはノーマルリフレッシュを行う。すなわち、制御部8はプログラムデータ管理領域62の各データベースを参照し、データAがメモリロック状態にあることを検出する。アドレス制御部71aはデータAが存在する区分メモリ領域(#1)61aに対し行アドレス信号を送出し、リフレッシュ制御部72aはRAS信号だけ送出することによりRASオンリーリフレッシュ方式によるノーマルリフレッシュを行う。
【0025】
一方、メモリアンロック状態にあるデータが記憶されている区分メモリ領域(#2)62b、及び区分メモリ領域(#3)62cに対し、アドレス制御部71b及びリフレッシュ制御部72b、並びにアドレス制御部71c及びリフレッシュ制御部72cはセルフリフレッシュを行う。すなわち、制御部8はプログラムデータ管理領域62の各データベースを参照し、区分メモリ領域(#2)61b及び区分メモリ領域(#3)61cに記憶されている画像データにメモリロック状態のデータがなく、メモリアンロック状態のデータが存在することを検出する。リフレッシュ制御部72b、及びリフレッシュ制御部72cは、それぞれ区分メモリ領域(#2)61b及び区分メモリ領域(#3)61cに対し、CASビフォアRAS信号を送出し、セルフリフレッシュを行う。
【0026】
次に、入力部4から画像データの一部を削除する指令を入力するものとする。すると、制御部8はメモリコントローラ7に対し、指定された画像データを削除する制御を行う。この結果、図3の(a)におけるデータB、データD、データF及びデータGを削除して図3の(b)の状態になったとする。図3の(b)は、図3の(a)における画像データの一部を削除した後の画像データの記憶状態を示す図であり、後述するように、データEを区分メモリ領域(#1)61aへ移動する前の状態を示す。上記データの削除に対応して、プログラムデータ管理領域62のデータベース(#1)62a、データベース(#2)62b、及びデータベース(#3)62cに記憶されている各画像データの開始アドレス情報、アクセス情報、データサイズ、及び各区分メモリ領域における空き領域容量の情報が更新されて記憶される。ここでも、データAの画像データが表示部3に表示中でメモリロック状態にあり、その他の画像データがメモリアンロック状態とする。
【0027】
図3の(b)の状態では、メモリコントローラ7は、メモリロック状態にあるデータAが格納されている区分メモリ領域(#1)61aに対しノーマルリフレッシュを行う。メモリコントローラ7は、メモリロック状態の画像データがなく、メモリアンロック状態の画像データのみが存在する区分メモリ領域(#2)61bに対してセルフリフレッシュを行う。一方、画像データが存在しない区分メモリ領域(#3)61cに対してリフレッシュを中止する。ここである区分メモリ領域に画像データが存在しないことの判別は、この区分メモリ領域に対応するデータベースにおける画像データの開始アドレス情報または空き領域容量の情報を参照することにより実施できる。
【0028】
次に、図3の(b)の状態に対し、図4のステップS1を実行する。図3の(a)の状態における処理と同様に、制御部8はプログラムデータ管理領域62の各データベースを参照し、プログラムデータである画像データの各区分メモリ領域における使用状況を確認する。上記のデータベースにおける各画像データの開始アドレス情報を参照することにより、ステップS2において、画像データが割り当てられている区分メモリ領域が複数あるかを判別する。図3の(b)の状態では画像データが割り当てられている区分メモリ領域が、区分メモリ領域(#1)61a、及び区分メモリ領域(#2)61bと複数(2領域)あるので、ステップS3に進む。
【0029】
ステップS3では、メモリアンロック状態にあり待機中の画像データを、他のプログラムデータが格納されている他の区分メモリ領域へ移動できるかを判別する。この判別はプログラムデータ管理領域62の各データベースにおける空き領域容量の情報を参照することにより行う。ここでも、移動の手順として、区分メモリ領域の番号(#の後の番号)が大きい区分メモリ領域にあるデータを優先して移動することとする。図3の(b)ではデータEに対しステップS3を適用すると、データEが格納されている区分メモリ領域(#2)61bと別の区分メモリ領域であり、他の画像データが格納されている区分メモリ領域(#1)61aに十分な空き領域があり、ステップS4に進む。
【0030】
ステップS4では、待機中でメモリアンロック状態にあるデータEを区分メモリ領域(#1)61aに移動する。ここで、制御部8は、画像データAに対するアクセスの動作の合間に、画像データEをデータ移動用レジスタ74に移動し、データ移動用レジスタ74に移動された画像データEを区分メモリ領域(#1)61aに移動する。その結果、プログラムデータ領域6は図3の(c)の状態になる。図3の(c)は、区分メモリ領域(#2)61bにあったデータEを区分メモリ領域(#1)61aに移動した後の画像データの記憶状態を示す図である。このデータの移動に伴い、プログラムデータ管理領域62のデータベース(#1)62a、データベース(#2)62b、及びデータベース(#3)62cに記憶されている各画像データの開始アドレス情報、アクセス情報、データサイズ、及び各区分メモリ領域における空き領域容量の情報が更新されて記憶される。次にステップS5へ進む。
【0031】
ステップS5では画像データが記憶されていない区分メモリ領域に対しリフレッシュを中止する。図3の(c)の状態では、画像データが記憶されていない区分メモリ領域(#2)61b及び区分メモリ領域(#3)61cに対しリフレッシュを中止する。一方、メモリロック状態にある画像データAが格納されている区分メモリ領域(#1)61aに対しノーマルリフレッシュを行う。
【0032】
このように、データEを区分メモリ領域(#2)61bから区分メモリ領域(#1)61aに移動することにより、画像データが存在しない区分メモリ領域(#2)61bを形成し、区分メモリ領域(#2)61bに対するリフレッシュを中止したので、図3の(b)の状態において区分メモリ領域(#2)61bに対するセルフリフレッシュに必要な消費電力が不要となり、ダイナミックメモリのリフレッシュに要する消費電力を低減できる。
【0033】
上記の説明において、図4に示すようにステップS4の次にステップS5を実行したが、図5に示すように、待機中のプログラムデータである画像データの移動により、移動前の区分メモリ領域にプログラムデータが存在しないか否かを判別するステップS6を追加してもよい。この判別もプログラムデータ管理領域62の各データベースにおける各画像データの開始アドレス情報または空き領域容量の情報を参照することにより実施できる。ステップS6を設けることにより、移動可能な画像データが複数あっても、ステップS3及びステップS4の処理を繰り返して画像データを移動することにより、画像データが存在しない区分メモリ領域を形成することが可能になり、ダイナミックメモリのリフレッシュに要する消費電力を低減できる効率が高まる利点がある。
【0034】
このように構成された実施の形態1によるダイナミックメモリ装置及びこれを用いた携帯端末においては、携帯端末である本体において動作するプログラムが使用するデータ(プログラムデータ)を格納する複数の区分メモリ領域を含むダイナミックメモリと、これらの各区分メモリ領域におけるプログラムデータの格納状況を記憶するデータ格納状況記憶手段と、このデータ格納状況記憶手段が記憶するデータの格納状況に基づきプログラムデータを他の区分メモリ領域に移動するデータ移動手段と、区分メモリ領域単位でリフレッシュを行うリフレッシュ手段と、データ格納状況記憶手段が記憶するデータの格納状況に基づきリフレッシュを行う区分メモリ領域を選択するリフレッシュ領域選択手段とを備え、プログラムデータの存在する区分メモリ領域に対しリフレッシュを行うので、ダイナミックメモリのリフレッシュに要する消費電力を低減するダイナミックメモリ制御装置及びこれを用いた携帯端末が得られる。
【0035】
また、プログラムが使用するデータが複数の区分メモリ領域に分散して格納されるとき、データが存在する区分メモリ領域中の空き領域へ他の区分メモリ領域に存在するデータを移動することによりデータが存在しない区分メモリ領域を形成したので、ダイナミックメモリのリフレッシュに要する消費電力を低減する効率が高まる。
【0036】
実施の形態2.
図6は、本発明の実施の形態2におけるダイナミックメモリ制御装置及びこれを用いた携帯端末の全体構成を説明するブロック図である。図6は、実施の形態1におけるダイナミックメモリ制御装置である主記憶部6とメモリコントローラ7の構成と動作について説明したブロック図である図2に記載した構成に加え、画像データを移動することにより画像データが存在しない区分メモリ領域を形成したことを検知してから、所定の時間経過した後に、リフレッシュ制御部72に対し上記区分メモリ領域のリフレッシュの中止を指令する信号を出力するタイマ手段73を備える。その他の構成は実施の形態1の構成と同様である。
【0037】
次に動作について説明する。図3の(b)の状態から図3の(c)の状態に移行する場合について説明する。図7は実施の形態2におけるメモリコントローラ7のリフレッシュに関する動作を説明するフローチャートである。図7は、実施の形態1におけるメモリコントローラ7のリフレッシュに関する動作を説明するフローチャートである図4において、ステップS5の前に、画像データを移動することにより画像データの存在しない区分メモリ領域を形成してから、所定時間経過した後に画像データの存在しない区分メモリ領域に対するリフレッシュを中止するようにタイマ手段に設定するステップS7を追加したものである。
【0038】
ステップS4において、実施の形態1で記載した手順により、データEを区分メモリ領域(#2)61bから区分メモリ領域(#1)61aに移動する。このデータの移動に伴い、プログラムデータ管理領域62のデータベース(#1)62a、データベース(#2)62b、及びデータベース(#3)62cに記憶されている各画像データの開始アドレス情報、アクセス情報、データサイズ、及び各区分メモリ領域における空き領域容量の情報が更新されて記憶される。ステップS4を実行した後、ステップS7を実行する。ここで、制御部8は、プログラムデータ管理領域62のデータベース(#2)62bに記憶されている各画像データの開始アドレス情報または空き領域容量の情報を参照することにより、区分メモリ領域(#2)61bが画像データの存在しない区分メモリ領域になったことを判別する。さらに、制御部8は、タイマ手段73bに対し、この判別から所定の時間経過した後に区分メモリ領域(#2)61bに対するリフレッシュを中止するように、リフレッシュ制御部72bを制御する信号を発生するように設定する。
【0039】
画像データを移動することにより画像データの存在しない区分メモリ領域を形成してから、所定時間経過した後にステップS5が実行され、画像データの存在しない区分メモリ領域に対するリフレッシュを中止する。
【0040】
ここで、所定時間経過した後にステップS5を実行する理由について説明する。一般に、区分メモリ領域のリフレッシュを中止した後に、新たな画像データをリフレッシュを中止している区分メモリ領域に記憶しようとすると、その区分メモリ領域をメモリロック状態に復帰させ、リフレッシュ制御を停止状態からノーマルリフレッシュに切り替える必要があり、この切替に時間がかかる。もしも、画像データを移動することにより画像データの存在しない区分メモリ領域を形成してから、すぐに画像データの存在しない区分メモリ領域に対するリフレッシュを中止するとする。画像データ移動後に新規の画像データを記憶する事態が発生すると、リフレッシュの中止とノーマルリフレッシュの切替が頻繁に発生する可能性があるので、リフレッシュ制御の切替の時間がかかりプログラム処理の応答性を損なう問題を生じる。そこで、所定時間リフレッシュの中止を猶予し、この時間中に新規の画像データの記憶が発生した場合にはセルフリフレッシュからノーマルリフレッシュへの切替となるので、切替時間が低減される。
【0041】
上記の説明において、図7に示すようにステップS4の次にステップS7を実行したが、図8に示すように、待機中のプログラムデータである画像データの移動により、移動前の区分メモリ領域にプログラムデータが存在しないか否かを判別するステップS6を追加してもよい。実施の形態1において記載したように、この判別もプログラムデータ管理領域62の各データベースにおける各画像データの開始アドレス情報または空き領域容量の情報を参照することにより実施できる。ステップS6を設けることにより、移動可能な画像データが複数あっても、ステップS3及びステップS4の処理を繰り返して画像データを移動することにより、画像データが存在しない区分メモリ領域を形成することが可能になり、ダイナミックメモリのリフレッシュに要する消費電力を低減できる効率が高まる利点がある。
【0042】
このように構成された実施の形態2によるダイナミックメモリ制御装置及びこれを用いた携帯端末は、携帯端末において動作するプログラムが使用するデータを格納する複数の区分メモリ領域を含むダイナミックメモリと、これらの各区分メモリ領域におけるプログラムデータの格納状況を記憶するデータ格納状況記憶手段と、このデータ格納状況記憶手段が記憶するデータの格納状況に基づきプログラムデータを他の区分メモリ領域に移動するデータ移動手段と、区分メモリ領域単位でリフレッシュを行うリフレッシュ手段と、データ格納状況記憶手段が記憶するデータの格納状況に基づきリフレッシュを行う区分メモリ領域を選択するリフレッシュ領域選択手段とを備え、プログラムデータが複数の区分メモリ領域に分散して格納されるとき、プログラムデータが存在する区分メモリ領域中の空き領域へ他の区分メモリ領域に存在するプログラムデータを移動することによりプログラムデータが存在しない区分メモリ領域を形成してから、所定の時間経過した後に、プログラムデータが存在しない区分メモリ領域に対しリフレッシュを中止するので、ダイナミックメモリのリフレッシュに要する消費電力を低減するダイナミックメモリ制御装置及びこれを用いた携帯端末が得られる。
【0043】
上記2つの実施の形態の説明において、プログラムデータ領域61における区分メモリ領域の数を3つ、各区分メモリ領域における画像データであるプログラムデータの数を3つ、携帯端末上で動作するプログラムの数を1としたが、それぞれ何個でも存在するように拡張してもよい。
【0044】
【発明の効果】
以上述べたように、本発明によるダイナミックメモリ装置においては、本体において動作するプログラムが使用するデータ(プログラムデータ)を格納する複数の区分メモリ領域を含むダイナミックメモリと、これらの各区分メモリ領域におけるプログラムデータの格納状況を記憶するデータ格納状況記憶手段と、このデータ格納状況記憶手段が記憶するデータの格納状況に基づきプログラムデータを他の区分メモリ領域に移動するデータ移動手段と、区分メモリ領域単位でリフレッシュを行うリフレッシュ手段と、データ格納状況記憶手段が記憶するデータの格納状況に基づきリフレッシュを行う区分メモリ領域を選択するリフレッシュ領域選択手段とを備え、プログラムデータの存在する区分メモリ領域に対しリフレッシュを行うので、ダイナミックメモリのリフレッシュに要する消費電力を低減するダイナミックメモリ制御装置が得られる。
【0045】
また、本発明による携帯端末においては、携帯端末において動作するプログラムが使用するデータ(プログラムデータ)を格納する複数の区分メモリ領域を含むダイナミックメモリと、これらの各区分メモリ領域におけるプログラムデータの格納状況を記憶するデータ格納状況記憶手段と、このデータ格納状況記憶手段が記憶するデータの格納状況に基づきプログラムデータを他の区分メモリ領域に移動するデータ移動手段と、区分メモリ領域単位でリフレッシュを行うリフレッシュ手段と、データ格納状況記憶手段が記憶するデータの格納状況に基づきリフレッシュを行う区分メモリ領域を選択するリフレッシュ領域選択手段とを備え、プログラムデータが複数の区分メモリ領域に分散して格納されるとき、プログラムデータが存在する区分メモリ領域中の空き領域へ他の区分メモリ領域に存在するプログラムデータを移動することによりプログラムデータが存在しない区分メモリ領域を形成してから、所定の時間経過した後に、プログラムデータが存在しない区分メモリ領域に対しリフレッシュを中止するので、ダイナミックメモリのリフレッシュに要する消費電力を低減する携帯端末が得られる。
【0046】
【図面の簡単な説明】
【図1】本発明の実施の形態1を示すダイナミックメモリ制御装置及びこれを用いた携帯端末の全体構成を説明するブロック図である。
【図2】本発明の実施の形態1の要部構成であるダイナミックメモリ制御装置の構成と動作を説明するブロック図である。
【図3】本発明の実施の形態1におけるプログラムデータ領域のデータの記憶状態を説明するブロック図である。
【図4】本発明の実施の形態1の要部構成であるダイナミックメモリ制御装置の動作を説明するフローチャートである。
【図5】本発明の実施の形態1の要部構成であるダイナミックメモリ制御装置の動作を説明するフローチャートである。
【図6】本発明の実施の形態2の要部構成であるダイナミックメモリ制御装置の構成と動作を説明するブロック図である。
【図7】本発明の実施の形態2の要部構成であるダイナミックメモリ制御装置の動作を説明するフローチャートである。
【図8】本発明の実施の形態2の要部構成であるダイナミックメモリ制御装置の動作を説明するフローチャートである。
【符号の説明】
1 本体である携帯端末、2 送受信部、3 表示部、4 入力部、5 記憶部、6 ダイナミックメモリである主記憶部、61 プログラムデータ領域、61a、61b、61c 区分メモリ領域、62 プログラムデータ管理領域、62a、62b、62c データベース、7 メモリコントローラ、71 アドレス制御部、72 リフレッシュ制御部、73 タイマ手段、74 データ移動用レジスタ、75 アドレス信号線、76 RAS/CAS信号線、77 データ線、8 制御部、9 電源部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a dynamic memory control device for reducing power consumption in refreshing a dynamic memory and a portable terminal using the same.
[0002]
[Prior art]
In a conventional dynamic memory control device, when information symbols received by the CDMA method are stored in the dynamic memory, the memory area of the dynamic memory is electrically partitioned to form a partitioned memory area (symbol storage memory), Access is possible for each partitioned memory area, and information symbols are stored in the partitioned memory area in communication code units or reception slot units, and the partitioned memory area where unnecessary information symbols are stored and access does not occur is not refreshed. (For example, refer to Patent Document 1).
[0003]
[Patent Document 1]
Japanese Patent Laid-Open No. 2001-217750 (page 3-5, FIG. 1)
[0004]
[Problems to be solved by the invention]
Since the conventional dynamic memory control device is configured as described above, the operation area and the non-operation area are identified and controlled using the presence / absence of access to the partitioned memory area for the partitioned memory area of the dynamic memory. Even if there is an empty area where no data is stored in the partitioned memory area, if it is necessary to use data stored in a plurality of partitioned memory areas, the partitioned memory area where the data is stored There is a problem that it is necessary to refresh all of them in an operating state, and the efficiency of the power saving control for suppressing the power consumption required for the refreshing is poor.
[0005]
The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain a dynamic memory control device that reduces power consumption required for refreshing a dynamic memory.
It is another object of the present invention to reduce power consumption of a portable terminal equipped with a dynamic memory.
[0006]
[Means for Solving the Problems]
In the dynamic memory control device according to the present invention, a dynamic memory including a plurality of partitioned memory areas for storing data used by a program operating in the main body (hereinafter referred to as program data), and in each of the partitioned memory areas Data storage status storage means for storing program data storage status, data moving means for moving program data to another partitioned memory area based on the storage status of data stored in the data storage status storage means, and partitioned memory area unit Refresh means for refreshing in the memory and refresh area selecting means for selecting a partitioned memory area to be refreshed based on the storage status of data stored in the data storage status storage means, and refreshing the partitioned memory area in which program data exists What to do That.
[0007]
In the portable terminal according to the present invention, a dynamic memory including a plurality of partitioned memory areas for storing data (program data) used by a program operating on the portable terminal, and storage of program data in each of the partitioned memory areas. Data storage status storage means for storing status, data moving means for moving program data to another partitioned memory area based on the storage status of data stored in the data storage status storage means, and refreshing in units of partitioned memory areas A refresh means and refresh area selecting means for selecting a partitioned memory area to be refreshed based on the storage status of data stored in the data storage status storage means are provided, and program data is distributed and stored in a plurality of partitioned memory areas When the program data exists A partitioned memory in which program data does not exist after a predetermined time has elapsed since a partitioned memory area in which no program data exists is formed by moving program data in another partitioned memory area to an empty area in the memory area. The refresh is stopped for the area.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
A case where the main body including the dynamic memory control device is a portable terminal will be described as an example.
Embodiment 1 FIG.
FIG. 1 is a block diagram illustrating the overall configuration of a dynamic memory control device and a mobile terminal using the same according to Embodiment 1 of the present invention. In FIG. 1, a mobile terminal 1 as a main body includes a transmission / reception unit 2 that transmits and receives voice and data using wireless or wired, a display unit 3 such as a liquid crystal display, a numeric key, and several types of input keys. An input unit 4, a storage unit 5 including a static random access memory (SRAM) that does not require data holding power and can be rewritten as necessary, a main storage unit 6 including a dynamic memory, and a main storage unit 6 Connected to the main memory unit 6 and connected to the memory controller 7 for controlling writing, reading, refreshing, etc. of the data, and the transmission / reception unit 2, the display unit 3, the input unit 4, the storage unit 5 and the memory controller 7. A control unit 8 that is a microprocessor to be controlled and a power supply unit 9 that supplies power to each unit in the mobile terminal 1 are provided. Here, the dynamic memory control device includes a main storage unit 6 and a memory controller 7.
[0009]
The storage unit 5 stores a program, software such as an operating system (hereinafter referred to as OS) that performs interface processing, interrupt processing, and the like between the program and the transmission / reception unit 2, the display unit 3, and the input unit 4. The main storage unit 6 includes a program data area 61 composed of a plurality of partitioned memory areas for storing data (program data) used by the program, addresses, sizes and access states of the program data, and free space in the program data area 61 And a program data management area 62 which is data storage status storage means for storing the storage status of program data such as area capacity.
[0010]
Although not shown in FIG. 1, in order to use the mobile terminal 1 as a mobile phone, a microphone unit that converts an audio signal into a low-frequency electric signal and modulation that superimposes the low-frequency electric signal on a high-frequency carrier wave A high-frequency transmission unit that transmits the high-frequency signal to the outside of the mobile terminal 1, a detection unit that receives and detects a high-frequency signal received from the outside of the mobile terminal 1, and a low-frequency signal that is an audio signal from the high-frequency signal A demodulation unit that extracts and demodulates the electrical signal, a speaker unit that converts the demodulated low-frequency electrical signal into an audio signal, and a control circuit unit that controls these components are provided.
[0011]
FIG. 2 is a block diagram illustrating the configuration and operation of the main memory unit 6 and the memory controller 7 which are dynamic memory control devices including the configuration described in FIG. However, the storage unit 5 illustrated in FIG. 1 is omitted.
[0012]
An example in which the program data area 61 includes three partitioned memory areas 61a, 61b, and 61c is shown. These partitioned memory areas are controlled independently from the memory controller 7. Program data is stored in each partitioned memory area. The program data management area 62 stores databases 62a, 62b, and 62c that describe the storage status of program data in the three partitioned memory areas 61a, 61b, and 61c. Each database stores information on the address and access status of each program data, the size of the program data, and the free space capacity in each partitioned memory area.
[0013]
The memory controller 7 instructs the dynamic memory in the main storage unit 6 to be accessed to output an address control unit 71 that outputs the address data, and to read row address data and column address data that constitute the address data. And a refresh control unit 72 which is a refresh means for refreshing in units of partitioned memory areas by outputting a RAS (Row Address Strobe) / CAS (Column Address Strobe) signal which is also used as a refresh control signal of a dynamic memory. A means for moving program data between the divided memory areas, and a data movement register 74 for temporarily storing the program data. The control unit 8 refers to a database stored in the program data management area 62 and instructs the memory controller 7 to specify a partitioned memory area to be refreshed, thereby constituting a refresh area selecting means.
[0014]
Here, the address control unit 71 and the refresh control unit 72 are address control units 71a, 71b, and 71c that independently control the partitioned memory areas 61a, 61b, and 61c in the program data area 61 of the main storage unit 6, and , Refresh control units 72a, 72b and 72c. Although not shown in FIG. 2, the memory controller 7 also includes an address control unit and a refresh control unit that read, write, and refresh each database in the program data management area 62.
[0015]
The main memory 6 and the memory controller 7 are connected by an address signal line 75, a RAS / CAS signal line 76, and a data line 77. However, in addition to these signal lines and data lines, there are also control lines such as a WE (Write Enable) control line and an OE (Output Enable) control line, but in order to avoid complication of the drawings, the signal lines and Other than data lines are omitted. Although not shown in FIG. 2, each database is read, written, and refreshed in the program data management area 62, and the address controller and refresh controller provided in the memory controller 7 and the program data management area 62 Address signal lines, RAS / CAS signal lines, data lines, WE control lines, and OE control lines are also provided.
[0016]
Here, the address control units 71a, 71b, and 71c output address signals to the partitioned memory areas 61a, 61b, and 61c in the program data area 61 of the main storage unit 6 using the address signal lines 75a, 75b, and 75c, respectively. To do. The refresh controllers 72a, 72b, and 72c output RAS / CAS signals to the partitioned memory areas 61a, 61b, and 61c using RAS / CAS signal lines 76a, 76b, and 76c, respectively. Further, the memory controller 7 and the partitioned memory areas 61a, 61b and 61c are connected by data lines 77a, 77b and 77c, respectively.
[0017]
Next, the operation will be described. When the mobile terminal 1 is activated, power is supplied from the power supply unit 9 to each unit, and the OS stored in the storage unit 5 is activated. When the OS is activated, a predetermined program stored in the storage unit 5 and operating on the mobile terminal 1 is activated. Further, the OS issues a command to the control unit 8 such as refreshing the partitioned memory area and moving program data. Here, a program for receiving a plurality of image data from the outside of the mobile terminal 1 and storing it in the main storage unit 6 and displaying the image on the display unit 3 is taken as an example, and the main storage unit 6 for storing the received image data is used. The control of the dynamic memory will be described. The program data is image data.
[0018]
A command is input from the input unit 4 so as to acquire predetermined image data from the outside of the portable terminal 1. In response to the command, the control unit 8 controls the transmission / reception unit 2 to receive image data. Next, the control unit 8 instructs the memory controller 7 to store the received image data in the program data area 61 of the main storage unit 6.
[0019]
FIG. 3 is a block diagram for explaining a storage state of program data that is image data in the program data area 61. FIG. 4 is a flowchart for explaining the operation related to the refresh of the memory controller 7. 3A is a diagram showing an initial storage state of image data. In the program data area 61, data A, data B, data C, data D, data E, data F, which are seven image data are shown. And data G are stored. Data A to C are stored in the partitioned memory area (# 1) 61a, data D to data F are stored in the partitioned memory area (# 2) 61b, and data G is stored in the partitioned memory area (# 3) 61c. At this time, the database (# 1) 62a, the database (# 2) 62b, and the database (# 3) 62c of the program data management area 62 shown in FIG. # 2) Start address information of each image data stored in 61b and the partitioned memory area (# 3) 61c, being accessed from the control unit 8 and being locked in memory, or waiting for access from the control unit 8 Thus, the access information on the memory unlock state, the data size, and the information on the free area capacity in each partitioned memory area are stored.
[0020]
In the state of FIG. 3A, in order to hold all the image data stored in the program data area 61, the memory controller 7 of FIG. 2 uses the partitioned memory area (# 1) 61a and the partitioned memory area (# 2). ) 61b and the partitioned memory area (# 3) 61c, address signals are sent from the address control units 71a, 71b and 71c via the address signal lines 75a, 75b and 75c, respectively, and the refresh control units 72a, 72b, And 72c through RAS / CAS signal lines 76a, 76b and 76c, RAS / CAS signals which are refresh control signals are transmitted.
[0021]
In step S1 of FIG. 4, the control unit 8 refers to each database in the program data management area 62 and confirms the storage status of the image data as program data in each partitioned memory area. By referring to the start address information of each image data in the database, it is determined in step S2 whether there are a plurality of divided memory areas in which the image data is stored. In the state of FIG. 3A, the partitioned memory areas in which image data is stored are the partitioned memory area (# 1) 61a, the partitioned memory area (# 2) 61b, and the partitioned memory area (# 3) 61c. Since there are a plurality (three regions), the process proceeds to step S3.
[0022]
In step S3, it is determined whether the image data in the memory unlocked state and waiting can be moved to another partitioned memory area in which other program data is stored. This determination is made by referring to information on the free area capacity in each database in the program data management area 62. Here, as a moving procedure, data in a partitioned memory area having a large number (number after #) of the partitioned memory area is preferentially moved. In FIG. 3A, when step S3 is applied to data G, it is a separate memory area (# 3) 61c in which data G is stored, and other image data is stored. There is no free space in the partitioned memory area (# 1) 61a and the partitioned memory area (# 2) 61b, and the process proceeds to step S5.
[0023]
In step S5, the refresh is stopped for the partitioned memory area in which image data is not stored. In the state of FIG. 3A, there is no partitioned memory area in which image data is not stored, so there is no partitioned memory area to stop refreshing, and all the partitioned memory areas are refreshed.
[0024]
When the image data of data A is being displayed on the display unit 3 and in the memory locked state, and other image data is in the memory unlocked state, for the partitioned memory area (# 1) 61a in which the data A is stored, The address control unit 71a and the refresh control unit 72a perform normal refresh. That is, the control unit 8 refers to each database in the program data management area 62 and detects that the data A is in a memory lock state. The address control unit 71a transmits a row address signal to the partitioned memory area (# 1) 61a in which the data A exists, and the refresh control unit 72a performs normal refresh by the RAS only refresh method by transmitting only the RAS signal.
[0025]
On the other hand, for the partitioned memory area (# 2) 62b and the partitioned memory area (# 3) 62c in which data in the memory unlocked state is stored, the address control unit 71b, the refresh control unit 72b, and the address control unit 71c. The refresh controller 72c performs self-refresh. That is, the control unit 8 refers to each database in the program data management area 62, and there is no memory locked data in the image data stored in the partitioned memory area (# 2) 61b and the partitioned memory area (# 3) 61c. The presence of data in the memory unlock state is detected. The refresh control unit 72b and the refresh control unit 72c send a CAS before RAS signal to the partitioned memory area (# 2) 61b and the partitioned memory area (# 3) 61c, respectively, and perform self refresh.
[0026]
Next, a command for deleting a part of the image data is input from the input unit 4. Then, the control unit 8 controls the memory controller 7 to delete the designated image data. As a result, it is assumed that the data B, data D, data F, and data G in FIG. 3A are deleted and the state shown in FIG. FIG. 3B is a diagram showing the storage state of the image data after part of the image data in FIG. 3A is deleted. As will be described later, the data E is stored in the partitioned memory area (# 1). ) Shows the state before moving to 61a. Corresponding to the deletion of the data, the start address information and access of each image data stored in the database (# 1) 62a, the database (# 2) 62b, and the database (# 3) 62c in the program data management area 62 Information, data size, and information on free space capacity in each partitioned memory area are updated and stored. Also here, the image data of data A is being displayed on the display unit 3 and in the memory locked state, and the other image data is in the memory unlocked state.
[0027]
In the state of FIG. 3B, the memory controller 7 performs normal refresh on the partitioned memory area (# 1) 61a in which the data A in the memory lock state is stored. The memory controller 7 performs self-refresh on the partitioned memory area (# 2) 61b in which there is no image data in the memory locked state and only image data in the memory unlocked state exists. On the other hand, the refresh is stopped for the partitioned memory area (# 3) 61c in which no image data exists. The determination that the image data does not exist in the partitioned memory area can be performed by referring to the start address information of the image data or the information on the free area capacity in the database corresponding to the partitioned memory area.
[0028]
Next, step S1 in FIG. 4 is executed for the state of FIG. Similar to the processing in the state of FIG. 3A, the control unit 8 refers to each database in the program data management area 62 and confirms the usage status of the image data as program data in each partitioned memory area. By referring to the start address information of each image data in the database, it is determined in step S2 whether there are a plurality of partitioned memory areas to which the image data is allocated. In the state of FIG. 3B, there are a plurality of (two areas) divided memory areas (# 1) 61a and divided memory areas (# 2) 61b to which the image data is allocated. Proceed to
[0029]
In step S3, it is determined whether the image data in the memory unlocked state and waiting can be moved to another partitioned memory area in which other program data is stored. This determination is made by referring to information on the free area capacity in each database in the program data management area 62. Here again, as a moving procedure, data in the partitioned memory area having a large number of the partitioned memory area (number after #) is preferentially moved. In FIG. 3B, when step S3 is applied to data E, it is a separate memory area (# 2) 61b in which data E is stored, and other image data is stored. There is a sufficient free area in the partitioned memory area (# 1) 61a, and the process proceeds to step S4.
[0030]
In step S4, the data E which is waiting and in the memory unlock state is moved to the partitioned memory area (# 1) 61a. Here, the controller 8 moves the image data E to the data movement register 74 between the access operations for the image data A, and moves the image data E moved to the data movement register 74 to the partitioned memory area (# 1) Move to 61a. As a result, the program data area 6 is in the state shown in FIG. FIG. 3C is a diagram showing a storage state of the image data after the data E in the partitioned memory area (# 2) 61b is moved to the partitioned memory area (# 1) 61a. Along with the movement of this data, the start address information, access information, and the like of each image data stored in the database (# 1) 62a, the database (# 2) 62b, and the database (# 3) 62c in the program data management area 62, Information on the data size and the free area capacity in each partitioned memory area is updated and stored. Next, the process proceeds to step S5.
[0031]
In step S5, the refresh is stopped for the partitioned memory area in which image data is not stored. In the state of FIG. 3C, the refresh is stopped for the partitioned memory area (# 2) 61b and the partitioned memory area (# 3) 61c in which no image data is stored. On the other hand, normal refresh is performed on the partitioned memory area (# 1) 61a in which the image data A in the memory lock state is stored.
[0032]
In this way, the data E is moved from the partitioned memory area (# 2) 61b to the partitioned memory area (# 1) 61a, thereby forming the partitioned memory area (# 2) 61b in which no image data exists, and the partitioned memory area Since the refresh for (# 2) 61b is stopped, the power consumption required for the self-refresh for the partitioned memory area (# 2) 61b in the state of FIG. Can be reduced.
[0033]
In the above description, step S5 is executed after step S4 as shown in FIG. 4. However, as shown in FIG. 5, the image data that is the waiting program data is moved to the partitioned memory area before the movement. Step S6 for determining whether or not program data exists may be added. This determination can also be performed by referring to the start address information of each image data or the information on the free area capacity in each database of the program data management area 62. By providing step S6, even if there are a plurality of movable image data, it is possible to form a partitioned memory area in which no image data exists by moving the image data by repeating the processes of steps S3 and S4. Thus, there is an advantage that the efficiency that can reduce the power consumption required for refreshing the dynamic memory is increased.
[0034]
In the dynamic memory device according to the first embodiment configured as described above and the portable terminal using the dynamic memory device, a plurality of partitioned memory areas for storing data (program data) used by a program operating in the main body which is the portable terminal are provided. Including dynamic memory, data storage status storage means for storing program data storage status in each of these partitioned memory areas, and program data stored in other partitioned memory areas based on the data storage status stored in the data storage status storage means A data moving means for moving to each other, a refresh means for refreshing in units of partitioned memory areas, and a refresh area selecting means for selecting partitioned memory areas to be refreshed based on the storage status of data stored in the data storage status storage means The presence of program data Since the refresh to division memory areas, the mobile terminal using the dynamic memory control device and which reduces the power consumption required for refreshing the dynamic memory can be obtained.
[0035]
In addition, when data used by a program is distributed and stored in a plurality of partitioned memory areas, the data is moved by moving the data existing in the other partitioned memory areas to an empty area in the partitioned memory area where the data exists. Since the partitioned memory area that does not exist is formed, the efficiency of reducing the power consumption required for refreshing the dynamic memory is increased.
[0036]
Embodiment 2. FIG.
FIG. 6 is a block diagram illustrating the overall configuration of the dynamic memory control device and the mobile terminal using the same according to Embodiment 2 of the present invention. FIG. 6 is a block diagram illustrating the configuration and operation of the main memory unit 6 and the memory controller 7 which are dynamic memory control devices according to the first embodiment. In addition to the configuration described in FIG. Timer means 73 for outputting a signal for instructing the refresh control unit 72 to stop refreshing of the partitioned memory area after a predetermined time has elapsed after detecting that the partitioned memory area in which no image data exists is formed. Prepare. Other configurations are the same as those of the first embodiment.
[0037]
Next, the operation will be described. A case where the state of FIG. 3B is changed to the state of FIG. 3C will be described. FIG. 7 is a flowchart for explaining the operation related to the refresh of the memory controller 7 in the second embodiment. FIG. 7 is a flowchart for explaining the operation related to the refresh of the memory controller 7 in the first embodiment. In FIG. 4, before step S5, a partitioned memory area in which no image data exists is formed by moving the image data. In step S7, the timer unit is set so as to stop refreshing the partitioned memory area where no image data exists after a predetermined time has elapsed.
[0038]
In step S4, the data E is moved from the partitioned memory area (# 2) 61b to the partitioned memory area (# 1) 61a by the procedure described in the first embodiment. Along with the movement of this data, the start address information, access information, and the like of each image data stored in the database (# 1) 62a, the database (# 2) 62b, and the database (# 3) 62c in the program data management area 62, Information on the data size and the free area capacity in each partitioned memory area is updated and stored. After step S4 is executed, step S7 is executed. Here, the control unit 8 refers to the start address information or the free space capacity information of each image data stored in the database (# 2) 62b of the program data management area 62, so that the partitioned memory area (# 2 ) 61b is determined to be a partitioned memory area in which no image data exists. Further, the control unit 8 generates a signal for controlling the refresh control unit 72b to the timer unit 73b so as to stop refreshing the partitioned memory area (# 2) 61b after a predetermined time has elapsed from this determination. Set to.
[0039]
Step S5 is executed after a predetermined time has elapsed after the image data is moved to form the partitioned memory area in which no image data exists, and the refresh for the partitioned memory area in which no image data exists is stopped.
[0040]
Here, the reason why step S5 is executed after a predetermined time has elapsed will be described. In general, after stopping refreshing a partitioned memory area, when trying to store new image data in the partitioned memory area where refresh is stopped, the partitioned memory area is returned to the memory lock state, and the refresh control is stopped from the stopped state. It is necessary to switch to normal refresh, and this switching takes time. If the partitioned memory area where no image data exists is formed by moving the image data, the refresh for the partitioned memory area where the image data does not exist is stopped immediately. If new image data is stored after moving the image data, it is likely that the refresh stop and normal refresh will be switched frequently, so it takes time to switch the refresh control and impairs the responsiveness of the program processing. Cause problems. Therefore, the refresh is suspended for a predetermined time, and when new image data is stored during this time, switching from self-refresh to normal refresh is performed, so that the switching time is reduced.
[0041]
In the above description, step S7 is executed after step S4 as shown in FIG. 7. However, as shown in FIG. 8, the image data that is the waiting program data is moved to the partitioned memory area before the movement. Step S6 for determining whether or not program data exists may be added. As described in the first embodiment, this determination can also be performed by referring to the start address information or the free area capacity information of each image data in each database of the program data management area 62. By providing step S6, even if there are a plurality of movable image data, it is possible to form a partitioned memory area in which no image data exists by moving the image data by repeating the processes of steps S3 and S4. Thus, there is an advantage that the efficiency that can reduce the power consumption required for refreshing the dynamic memory is increased.
[0042]
The dynamic memory control device according to the second embodiment configured as described above and the mobile terminal using the same include a dynamic memory including a plurality of partitioned memory areas for storing data used by a program operating in the mobile terminal, and these Data storage status storage means for storing the storage status of program data in each partitioned memory area, and data moving means for moving program data to another partitioned memory area based on the storage status of data stored in the data storage status storage means A refresh means for performing refresh in units of partitioned memory areas, and a refresh area selecting means for selecting a partitioned memory area to be refreshed based on a storage status of data stored in the data storage status storage means, wherein the program data is divided into a plurality of sections. Distributed and stored in memory area After a predetermined time has elapsed since the partitioned memory area in which no program data exists is formed by moving the program data in another partitioned memory area to an empty area in the partitioned memory area in which the program data exists. Since the refresh is stopped for the partitioned memory area in which no program data exists, a dynamic memory control device that reduces power consumption required for refreshing the dynamic memory and a portable terminal using the same can be obtained.
[0043]
In the description of the above two embodiments, the number of partitioned memory areas in the program data area 61 is 3, the number of program data as image data in each partitioned memory area is 3, and the number of programs operating on the mobile terminal Although 1 is set to 1, it may be expanded so that any number of them exist.
[0044]
【The invention's effect】
As described above, in the dynamic memory device according to the present invention, a dynamic memory including a plurality of partitioned memory areas for storing data (program data) used by a program operating in the main body, and a program in each of these partitioned memory areas Data storage status storage means for storing data storage status, data moving means for moving program data to another partitioned memory area based on the storage status of data stored in the data storage status storage means, and in units of partitioned memory areas Refresh means for performing refresh, and refresh area selection means for selecting a partitioned memory area to be refreshed based on the storage status of data stored in the data storage status storage means, and refreshing the partitioned memory area in which program data exists So do Dynamic memory control device is obtained to reduce the power consumption required for refreshing Ina Mick memory.
[0045]
Further, in the portable terminal according to the present invention, a dynamic memory including a plurality of partitioned memory areas for storing data (program data) used by a program operating on the portable terminal, and the storage status of the program data in each of the partitioned memory areas Data storage status storage means for storing data, data movement means for moving program data to another partitioned memory area based on the storage status of data stored in the data storage status storage means, and refresh for refreshing in units of partitioned memory areas And a refresh area selection means for selecting a partitioned memory area to be refreshed based on the storage status of data stored in the data storage status storage means, and the program data is distributed and stored in a plurality of partitioned memory areas , Where the program data exists A partitioned memory in which program data does not exist after a predetermined time has elapsed since a partitioned memory area in which no program data exists is formed by moving program data in another partitioned memory area to an empty area in the memory area. Since the refresh is stopped for the area, a portable terminal that reduces power consumption required for refreshing the dynamic memory can be obtained.
[0046]
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an overall configuration of a dynamic memory control device and a mobile terminal using the same according to Embodiment 1 of the present invention.
FIG. 2 is a block diagram illustrating the configuration and operation of a dynamic memory control device that is a main configuration of the first embodiment of the present invention.
FIG. 3 is a block diagram illustrating a storage state of data in a program data area in the first embodiment of the present invention.
FIG. 4 is a flowchart for explaining the operation of the dynamic memory control device that is the main configuration of the first embodiment of the present invention;
FIG. 5 is a flowchart for explaining the operation of the dynamic memory control device that is the main configuration of the first embodiment of the present invention;
FIG. 6 is a block diagram illustrating the configuration and operation of a dynamic memory control device that is a main configuration of the second embodiment of the present invention.
FIG. 7 is a flowchart for explaining the operation of the dynamic memory control device that is the main configuration of the second embodiment of the present invention;
FIG. 8 is a flowchart for explaining the operation of the dynamic memory control device that is the main configuration of the second embodiment of the present invention;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Mobile terminal which is main body, 2 Transmission / reception part, 3 Display part, 4 Input part, 5 Storage part, 6 Main storage part which is dynamic memory, 61 Program data area, 61a, 61b, 61c Partition memory area, 62 Program data management Area, 62a, 62b, 62c database, 7 memory controller, 71 address controller, 72 refresh controller, 73 timer means, 74 data movement register, 75 address signal line, 76 RAS / CAS signal line, 77 data line, 8 Control unit, 9 power supply unit.

Claims (4)

本体において動作するプログラムが使用するデータを格納する複数の区分メモリ領域を含むダイナミックメモリと、上記各区分メモリ領域における上記データの格納状況を記憶するデータ格納状況記憶手段と、該データ格納状況記憶手段が記憶する上記データの格納状況に基づき上記データを他の上記区分メモリ領域に移動するデータ移動手段と、上記区分メモリ領域単位でリフレッシュを行うリフレッシュ手段と、上記データ格納状況記憶手段が記憶する上記データの格納状況に基づき上記リフレッシュを行う上記区分メモリ領域を選択するリフレッシュ領域選択手段とを備え、上記プログラムが使用する上記データの存在する上記区分メモリ領域に対しリフレッシュを行うことを特徴とするダイナミックメモリ制御装置。Dynamic memory including a plurality of partitioned memory areas for storing data used by a program operating in the main body, data storage status storage means for storing the storage status of the data in each of the partitioned memory areas, and the data storage status storage means The data moving means for moving the data to the other partitioned memory area based on the storage status of the data stored in the memory, the refresh means for refreshing in units of the partitioned memory area, and the data stored in the data storage status storage means Refresh area selecting means for selecting the partitioned memory area to be refreshed based on the data storage status, and performing refresh on the partitioned memory area in which the data used by the program is present Memory controller. プログラムが使用するデータが複数の区分メモリ領域に分散して格納されるとき、上記データが存在する上記区分メモリ領域中の空き領域へ他の上記区分メモリ領域に存在する上記データを移動することにより上記データが存在しない上記区分メモリ領域を形成することを特徴とする請求項1に記載のダイナミックメモリ制御装置。When data used by the program is distributed and stored in a plurality of partitioned memory areas, the data existing in the other partitioned memory areas is moved to a free area in the partitioned memory area where the data exists. 2. The dynamic memory control device according to claim 1, wherein the partitioned memory area in which the data does not exist is formed. プログラムが使用するデータが複数の区分メモリ領域に分散して格納されるとき、上記データが存在する上記区分メモリ領域中の空き領域へ他の上記区分メモリ領域に存在する上記データを移動することにより、上記データが存在しない上記区分メモリ領域を形成してから、所定の時間経過した後に、上記データが存在しない上記区分メモリ領域に対しリフレッシュを中止することを特徴とする請求項1または請求項2のいずれかに記載のダイナミックメモリ制御装置。When data used by the program is distributed and stored in a plurality of partitioned memory areas, the data existing in the other partitioned memory areas is moved to a free area in the partitioned memory area where the data exists. 3. The refresh for the partitioned memory area in which the data does not exist is stopped after a predetermined time has elapsed since the partitioned memory area in which the data does not exist is formed. The dynamic memory control device according to any one of the above. 携帯端末において動作するプログラムが使用するデータを格納する複数の区分メモリ領域を含むダイナミックメモリと、上記各区分メモリ領域における上記データの格納状況を記憶するデータ格納状況記憶手段と、該データ格納状況記憶手段が記憶する上記データの格納状況に基づき上記データを他の上記区分メモリ領域に移動するデータ移動手段と、上記区分メモリ領域単位でリフレッシュを行うリフレッシュ手段と、上記データ格納状況記憶手段が記憶する上記データの格納状況に基づき上記リフレッシュを行う上記区分メモリ領域を選択するリフレッシュ領域選択手段とを備え、上記プログラムが使用するデータが複数の区分メモリ領域に分散して格納されるとき、上記データが存在する上記区分メモリ領域中の空き領域へ他の上記区分メモリ領域に存在する上記データを移動することにより上記データが存在しない上記区分メモリ領域を形成してから、所定の時間経過した後に、上記データが存在しない上記区分メモリ領域に対しリフレッシュを中止することを特徴とする携帯端末。A dynamic memory including a plurality of partitioned memory areas for storing data used by a program operating in a portable terminal, a data storage status storage means for storing a storage status of the data in each of the partitioned memory areas, and the data storage status storage The data storage means for moving the data to the other partitioned memory area based on the storage status of the data stored by the means, the refresh means for refreshing in units of the partitioned memory area, and the data storage status storage means Refresh area selecting means for selecting the partitioned memory area for performing the refresh based on the storage status of the data, and when the data used by the program is distributed and stored in a plurality of partitioned memory areas, the data To the empty area in the existing partitioned memory area, The refresh is stopped for the partitioned memory area in which the data does not exist after a predetermined time elapses after the data in the memory area is moved to form the partitioned memory area in which the data does not exist. A mobile terminal characterized by.
JP2003174432A 2003-06-19 2003-06-19 Dynamic memory control device, and portable terminal using the same Pending JP2005011434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003174432A JP2005011434A (en) 2003-06-19 2003-06-19 Dynamic memory control device, and portable terminal using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003174432A JP2005011434A (en) 2003-06-19 2003-06-19 Dynamic memory control device, and portable terminal using the same

Publications (1)

Publication Number Publication Date
JP2005011434A true JP2005011434A (en) 2005-01-13

Family

ID=34097915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003174432A Pending JP2005011434A (en) 2003-06-19 2003-06-19 Dynamic memory control device, and portable terminal using the same

Country Status (1)

Country Link
JP (1) JP2005011434A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009525555A (en) * 2006-02-01 2009-07-09 クゥアルコム・インコーポレイテッド Reduce power consumption by disabling refresh of unused portions of DRAM during periods of device inactivity
JP2011039904A (en) * 2009-08-17 2011-02-24 Fujitsu Ltd Relay device, mac address search method
WO2011151963A1 (en) * 2010-05-31 2011-12-08 パナソニック株式会社 Memory management device, memory management method, memory management program, computer-readable recording medium storing the memory management program and integrated circuit
JP2013515299A (en) * 2009-12-18 2013-05-02 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Power saving memory
US8656199B2 (en) 2010-03-04 2014-02-18 Samsung Electronics Co., Ltd. Power-down method for system having volatile memory devices
JP2016001515A (en) * 2010-08-24 2016-01-07 クアルコム,インコーポレイテッド System and method of reducing power usage of content addressable memory

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009525555A (en) * 2006-02-01 2009-07-09 クゥアルコム・インコーポレイテッド Reduce power consumption by disabling refresh of unused portions of DRAM during periods of device inactivity
JP2011039904A (en) * 2009-08-17 2011-02-24 Fujitsu Ltd Relay device, mac address search method
US8719361B2 (en) 2009-08-17 2014-05-06 Fujitsu Limited Relay device, MAC address search method
JP2013515299A (en) * 2009-12-18 2013-05-02 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Power saving memory
US9041720B2 (en) 2009-12-18 2015-05-26 Advanced Micro Devices, Inc. Static image retiling and power management method and circuit
US8656199B2 (en) 2010-03-04 2014-02-18 Samsung Electronics Co., Ltd. Power-down method for system having volatile memory devices
WO2011151963A1 (en) * 2010-05-31 2011-12-08 パナソニック株式会社 Memory management device, memory management method, memory management program, computer-readable recording medium storing the memory management program and integrated circuit
US8601232B2 (en) 2010-05-31 2013-12-03 Panasonic Corporation Memory management device, memory management method, memory management program, computer-readable recording medium recording memory management program and integrated circuit
JP5405663B2 (en) * 2010-05-31 2014-02-05 パナソニック株式会社 MEMORY MANAGEMENT DEVICE, MEMORY MANAGEMENT METHOD, MEMORY MANAGEMENT PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING MEMORY MANAGEMENT PROGRAM, AND INTEGRATED CIRCUIT
JP2016001515A (en) * 2010-08-24 2016-01-07 クアルコム,インコーポレイテッド System and method of reducing power usage of content addressable memory

Similar Documents

Publication Publication Date Title
US8022959B1 (en) Loading an internal frame buffer from an external frame buffer
KR100918471B1 (en) Semiconductor memory, system, and operating method of semiconductor memory
JP2003122648A (en) Semiconductor memory
US7606982B2 (en) Multi-path accessible semiconductor memory device having data transmission mode between ports
JP4765222B2 (en) DRAM device
JP2006221381A (en) Processor system and image forming device provided with this processor system
US7068566B2 (en) Semiconductor memory device capable of outputting data when a read request not accompanied with an address change being issued
JPH09212416A (en) Computer system and its power managing method
KR100458699B1 (en) Semiconductor memory device, information apparatus, and method for determining access period for semiconductor memory device
JP2004507856A (en) Method and system for hiding refresh of dynamic random access memory
CN106601284B (en) Memory device and system including the same
JP2005011434A (en) Dynamic memory control device, and portable terminal using the same
JP4791714B2 (en) Method, circuit, and system for using pause time of dynamic frequency scaling cache memory
JP2003015949A (en) Control device for semiconductor storage device and control method for semiconductor storage device
KR100585179B1 (en) Semiconductor memory device and data write and read method thereof
JPWO2008111396A1 (en) Semiconductor integrated circuit device
KR100592106B1 (en) Method and apparatus for allowing access to individual memory
US6633505B2 (en) Semiconductor memory device, control method thereof, and control method of semiconductor device
JP2004171678A (en) Apparatus, method, and program for storing information
JP2001250377A (en) Electronic equipment with energy saving function
EP1543525B1 (en) Multi-port memory cells
JPH0756817A (en) Semiconductor memory device
JP2012088906A (en) Electronic device and control method for the same
JPS6259396B2 (en)
JP3867001B2 (en) Semiconductor memory device refresh method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090507