[go: up one dir, main page]

JP2000089859A - Storage means initialization device - Google Patents

Storage means initialization device

Info

Publication number
JP2000089859A
JP2000089859A JP10254469A JP25446998A JP2000089859A JP 2000089859 A JP2000089859 A JP 2000089859A JP 10254469 A JP10254469 A JP 10254469A JP 25446998 A JP25446998 A JP 25446998A JP 2000089859 A JP2000089859 A JP 2000089859A
Authority
JP
Japan
Prior art keywords
storage
input
unit
storage unit
initializing
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
JP10254469A
Other languages
Japanese (ja)
Inventor
Koichiro Sakamoto
浩一郎 坂本
Tadasu Watabe
校 渡部
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP10254469A priority Critical patent/JP2000089859A/en
Publication of JP2000089859A publication Critical patent/JP2000089859A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

(57)【要約】 【課題】 所定時間以上ユーザからの操作入力がなかっ
た場合、装置を省電力モードにするとともに、RAMの
初期化を行うことによって、いつでもRAMを適切な状
態で有効に使用できるようにする記憶手段初期化装置を
提供することである。 【解決手段】 装置の指示操作あるいは情報を入力する
入力手段6と、前記入力に応じて処理を行う処理手段1
と、前記処理を行う際に必要な情報を記憶する記憶手段
3と、時間を計測する時間計測手段7と、所定時間以上
前記入力手段6からの入力が無い場合、前記記憶手段3
を初期化する初期化手段1を備えてなることで実現す
る。
(57) [Summary] [PROBLEMS] When no operation input is made by a user for a predetermined time or more, the device is put into a power saving mode and the RAM is initialized so that the RAM can be used effectively in an appropriate state at any time. It is an object of the present invention to provide a storage device initialization device that enables the storage device to be initialized. SOLUTION: An input means 6 for inputting an instruction operation or information of a device, and a processing means 1 for performing processing in accordance with the input
A storage unit 3 for storing information necessary for performing the processing, a time measurement unit 7 for measuring time, and a storage unit 3 when there is no input from the input unit 6 for a predetermined time or more.
Is realized by providing an initializing means 1 for initializing.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、RAM(Random A
ccess Memory)を備えた電子装置、例えば汎用/パーソ
ナルコンピュータ、ワードプロセッサ、携帯型電子装
置、通信端末装置などにおける該RAMの初期化に関す
るものである。
The present invention relates to a RAM (Random A)
The present invention relates to the initialization of the RAM in an electronic device having a ccess memory, for example, a general-purpose / personal computer, a word processor, a portable electronic device, a communication terminal device, and the like.

【0002】[0002]

【従来の技術】従来よりRAMを備えた電子装置では、
制御装置(CPU:中央処理装置)が所定の処理を実行
する際に、RAM内に所定の量のメモリ領域を確保して
バッファメモリとして使用する場合がある。
2. Description of the Related Art Conventionally, in an electronic device having a RAM,
When a control device (CPU: central processing unit) executes a predetermined process, a predetermined amount of memory area may be reserved in a RAM and used as a buffer memory.

【0003】制御装置は所定の処理が終了した場合、前
記確保したメモリ領域を開放するが、その前に他の処理
を実行する必要がある場合には、そのためのメモリ領域
を更に確保するため、RAMには同時に複数のメモリ領
域が確保される。
[0003] When a predetermined process is completed, the control device releases the secured memory area. If it is necessary to execute another process before that, the control apparatus further secures a memory area for the purpose. A plurality of memory areas are secured in the RAM at the same time.

【0004】また、処理の完了する順序は一定ではない
ため、RAMが断片化され、連続したメモリ領域の容量
が小さくなったり、処理速度が低下するなどの問題が発
生していた。
Further, since the order in which the processing is completed is not fixed, the RAM is fragmented, causing a problem that the capacity of a continuous memory area is reduced and the processing speed is reduced.

【0005】上記問題点を解決する方法としては、ガー
ベージコレクションと呼ばれる処理が行われている。ガ
ーベージコレクションとは、制御装置が所定量のメモリ
領域を確保しようとした際に、該所定量以上の連続した
空き容量がRAMに存在しない場合、断片化しているR
AM(分散しているメモリ領域)を一箇所にまとめ、連
続した空き容量を生成するという方法である。
As a method for solving the above problem, a process called garbage collection is performed. Garbage collection means that when the control device attempts to secure a predetermined amount of memory area and there is no continuous free space in the RAM equal to or more than the predetermined amount, the fragmented R
This is a method in which AMs (distributed memory areas) are collected at one location and a continuous free space is generated.

【0006】また、特開平5−40549号公報に記載
されているように、定時あるいは一定時間ごとに装置の
再起動を行うことによっても、断片化しているRAMを
初期化することができる。
As described in Japanese Patent Application Laid-Open No. 5-40549, the fragmented RAM can also be initialized by restarting the apparatus at regular intervals or at regular intervals.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、前記記
載の各技術においては、なお以下のような課題を有して
いる。
However, each of the techniques described above still has the following problems.

【0008】1)前記ガーベージコレクションを用いた
方法では、このガーベージコレクションの処理中は、他
の処理、例えば表示画面の書き換えやユーザの指示操作
の入力など、が実行できないため、ユーザには装置が停
止してしまったように見え、故障と思われてしまう場合
がある。また、ユーザの自然な操作を妨げてしまうとい
う課題がある。
1) In the method using garbage collection, other processing, such as rewriting the display screen and inputting a user's instruction operation, cannot be performed during the garbage collection processing. It may appear to have stopped and may be considered a malfunction. In addition, there is a problem that a natural operation of the user is hindered.

【0009】また、本来なら既に解放されているはずの
メモリ領域が、何らかの理由(コンピュータプログラム
の不具合など)で、解放されずに残ってしまった場合、
ガーベージコレクションでは解決できず、使用可能なメ
モリ容量が減少してしまうといった課題がある。
In addition, if a memory area that should have been released is left unreleased for some reason (such as a defect in a computer program),
There is a problem that garbage collection cannot solve the problem and the available memory capacity decreases.

【0010】2)前記特開平5−40549号公報に記
載されている技術では、ユーザが装置を使用している最
中にシステムの再起動が行われてしまう場合があるとい
う課題がある。
2) The technique described in Japanese Patent Laid-Open No. 5-40549 has a problem that the system may be restarted while the user is using the apparatus.

【0011】また、システムの再起動にはある程度長い
時間がかかってしまい、その間ユーザは待っていなけれ
ばならないという課題がある。
There is also a problem that it takes a long time for the system to be restarted to some extent, during which time the user must wait.

【0012】本発明は、上記問題点を解決するためにな
されたもので、その目的とするところは、記憶手段(R
AM)を備えた電子装置において、ユーザからの指示操
作あるいは情報の入力が所定時間以上無かった場合、記
憶手段(RAM)を初期化することにより、RAMをい
つでも有効に使用できる記憶手段初期化装置を提供する
ことである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object the storage means (R
In the electronic device provided with AM), when there is no instruction operation or information input from the user for a predetermined time or more, the storage means (RAM) is initialized, so that the RAM can be used effectively at any time. It is to provide.

【0013】[0013]

【課題を解決するための手段】本発明の請求項1に係る
記憶手段初期化装置は、情報を入力する入力手段と、前
記入力に応じて処理を行う処理手段と、前記処理を行う
際に必要な情報を記憶する記憶手段と、時間を計測する
時間計測手段と、所定時間以上前記入力手段からの入力
が無い場合、前記記憶手段を初期化する初期化手段を備
えてなることを特徴とする。
According to a first aspect of the present invention, there is provided a storage unit initializing apparatus, comprising: an input unit for inputting information; a processing unit for performing a process in accordance with the input; Storage means for storing necessary information, time measurement means for measuring time, and initialization means for initializing the storage means when there is no input from the input means for a predetermined time or more. I do.

【0014】本発明の請求項2に係る記憶手段初期化装
置は、請求項1記載の記憶手段初期化装置において、記
憶手段は、主メモリとして使用される記憶領域を含む複
数の記憶領域からなる第1の記憶手段を有し、初期化手
段は、所定時間以上入力手段からの入力が無い場合、前
記第1の記憶手段の主メモリとして使用される記憶部の
みを初期化することを特徴とする。
According to a second aspect of the present invention, in the storage unit initializing apparatus, the storage unit includes a plurality of storage areas including a storage area used as a main memory. A first storage unit, wherein the initialization unit initializes only a storage unit used as a main memory of the first storage unit when there is no input from the input unit for a predetermined time or more. I do.

【0015】本発明の請求項3に係る記憶手段初期化装
置は、請求項1または2に記載の記憶手段初期化装置に
おいて、初期化手段は、所定時間以上入力手段からの入
力が無い場合、かつ入力手段からの入力に応じた処理が
完了した状態の場合、記憶手段を初期化することを特徴
とする。
According to a third aspect of the present invention, there is provided the storage unit initializing apparatus according to the first or second aspect, wherein the initializing unit is configured such that when there is no input from the input unit for a predetermined time or more, When the processing according to the input from the input unit is completed, the storage unit is initialized.

【0016】本発明の請求項4に係る記憶手段初期化装
置は、請求項1乃至3のいずれか記載の記憶手段初期化
装置において、記憶手段は、補助記憶として使用される
記憶領域からなる第2の記憶手段を有し、初期化手段
は、第1の記憶手段に記憶されている情報を第2の記憶
手段に退避させた後、前記第1の記憶手段を初期化する
ことを特徴とする。
According to a fourth aspect of the present invention, in the storage device initialization apparatus according to any one of the first to third aspects, the storage means includes a storage area used as auxiliary storage. And an initialization unit that initializes the first storage unit after saving the information stored in the first storage unit to the second storage unit. I do.

【0017】本発明の請求項5に係る記憶手段初期化装
置は、請求項1乃至4のいずれか記載の記憶手段初期化
装置において、処理手段は、第2の記憶手段に情報を記
憶させる場合、まず第1の記憶手段に記憶した後、任意
のタイミングまたは初期化するタイミングで第2の記憶
手段に記憶することを特徴とする。
According to a fifth aspect of the present invention, there is provided a storage unit initializing apparatus according to any one of the first to fourth aspects, wherein the processing unit stores information in the second storage unit. First, after storing in the first storage means, it is stored in the second storage means at an arbitrary timing or a timing of initialization.

【0018】本発明の請求項6に係る記憶手段初期化装
置は、請求項1乃至5のいずれか記載の記憶手段初期化
装置において、初期化手段は、所定時間以上入力手段か
らの入力が無い場合、かつ第1の記憶手段の空き容量が
所定値以下の場合、記憶手段を初期化することを特徴と
する。
According to a sixth aspect of the present invention, there is provided a storage unit initializing apparatus according to any one of the first to fifth aspects, wherein the initializing unit has not received an input from the input unit for a predetermined time or more. In this case, if the free space of the first storage unit is equal to or smaller than a predetermined value, the storage unit is initialized.

【0019】本発明の請求項7に係る記憶手段初期化装
置は、請求項1乃至6のいずれか記載の記憶手段初期化
装置において、初期化手段は、所定時間以上入力手段か
らの入力が無い場合、かつ第1の記憶手段の連続した空
き容量が所定値以下の場合、記憶手段を初期化すること
を特徴とする。
According to a seventh aspect of the present invention, there is provided the storage unit initializing device according to any one of the first to sixth aspects, wherein the initializing unit has not received an input from the input unit for a predetermined time or more. In this case, if the continuous free space of the first storage means is equal to or smaller than a predetermined value, the storage means is initialized.

【0020】本発明の請求項8に係る記憶手段初期化装
置は、請求項1乃至7のいずれか記載の記憶手段初期化
装置において、初期化手段は、所定時間以上入力手段か
らの入力が無い場合、表示画面を消去し、第1の記憶手
段を初期化することを特徴とする。
According to an eighth aspect of the present invention, in the storage unit initializing apparatus according to any one of the first to seventh aspects, the initializing unit has not received an input from the input unit for a predetermined time or more. In this case, the display screen is erased and the first storage unit is initialized.

【0021】本発明の請求項9に係る記憶手段初期化装
置は、請求項1乃至8のいずれか記載の記憶手段初期化
装置において、初期化手段は、所定時間以上入力手段か
らの入力が無い場合、あるいはユーザから終了指示操作
がなされた場合、表示画面を消去し、第1の記憶手段を
初期化することを特徴とする。
According to a ninth aspect of the present invention, in the storage means initializing apparatus according to any one of the first to eighth aspects, the initializing means has not received an input from the input means for a predetermined time or more. In this case, or when an end instruction operation is performed by the user, the display screen is erased and the first storage unit is initialized.

【0022】[0022]

【発明の実施の形態】以下に、本発明における記憶手段
初期化装置の実施の形態に関して図面を用いて説明す
る。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of an apparatus for initializing storage means according to the present invention.

【0023】図1は、本発明を実現する一実施例の通信
端末装置の外観図である。
FIG. 1 is an external view of a communication terminal device according to an embodiment for realizing the present invention.

【0024】なお、本発明における記憶手段初期化装置
は、図1に示した通信端末装置に限定されず、いずれの
電子装置においても適用できる。
The storage device initialization device according to the present invention is not limited to the communication terminal device shown in FIG. 1, but can be applied to any electronic device.

【0025】101は通話用ハンドセット、102はダ
イヤルボタン、103は透明タブレットと透過型LCD
(液晶ディスプレイ)一体型の表示入力装置、104は
下にキーボタン画像が印刷された上記透明タブレットの
一部分、105はタブレット入力用ペン、106はペン
収納溝、107は電源ランプ、108は留守メッセージ
有無ランプ、109は赤外線送受信部である。
Reference numeral 101 denotes a telephone handset, 102 denotes a dial button, 103 denotes a transparent tablet and a transmissive LCD.
(Liquid crystal display) Integrated display and input device, 104 is a part of the above transparent tablet with key button image printed below, 105 is a tablet input pen, 106 is a pen storage groove, 107 is a power lamp, and 108 is an absence message The presence / absence lamp 109 is an infrared transceiver.

【0026】図2は、上記図1に示された通信端末装置
のハードウェアの機能ブロック図である。
FIG. 2 is a functional block diagram of the hardware of the communication terminal device shown in FIG.

【0027】1はCPU(Central Processing Unit)
であり、ROM(Read Only Memory)2に記憶されたコ
ンピュータプログラム(以降、単にプログラムと称す
る)およびデータに従って本通信端末装置の各装置を制
御する。
1 is a CPU (Central Processing Unit)
And controls each device of the communication terminal device according to a computer program (hereinafter simply referred to as a program) and data stored in a ROM (Read Only Memory) 2.

【0028】図3は 、本通信端末装置の各種記憶装置
のメモリマップを示した図である。
FIG. 3 is a diagram showing a memory map of various storage devices of the communication terminal device.

【0029】ROM2は図3(1)に示すように、本通
信端末装置の各装置を初期化するプログラムが記憶され
ている初期化プログラム記憶領域2−1、基本処理やハ
ードウェア制御プログラム(BIOS:Basic Input Ou
tput System)が記憶されているBIOS記憶領域2−
2、各アプリケーションプログラムの起動・切り換え・
終了などの制御を行うOS(Operating System)が記憶
されているOS記憶領域2−3、各種アプリケーション
プログラム(電話送受話プログラムやFAX送受信プロ
グラム、電話帳プログラム、インターネットブラウジン
グプログラムなど)が記憶されているアプリケーション
プログラム記憶領域2−4、表示・印刷用の文字フォン
トデータが記憶されている文字フォントデータ記憶領域
2−5、その他のデータが記憶されているその他データ
記憶領域2−6に区分されている。
As shown in FIG. 3A, the ROM 2 stores an initialization program storage area 2-1 for storing a program for initializing each device of the communication terminal device, a basic process and a hardware control program (BIOS). : Basic Input Ou
BIOS storage area 2- in which the tput system is stored.
2. Start / switch each application program
An OS storage area 2-3 in which an OS (Operating System) for controlling termination and the like is stored, and various application programs (a telephone transmission / reception program, a FAX transmission / reception program, a telephone directory program, an Internet browsing program, etc.) are stored. It is divided into an application program storage area 2-4, a character font data storage area 2-5 storing character font data for display and printing, and a data storage area 2-6 storing other data. .

【0030】3はRAM(Random Access Memory)であ
り、第1の記憶手段として位置付けられる。
Reference numeral 3 denotes a RAM (Random Access Memory), which is positioned as first storage means.

【0031】RAM3は図3(2)に示すように、CP
U1が動作する際の主メモリとして使用される主メモリ
領域3−1、表示データが記憶されるVRAM領域3−
2、通信端末装置の各種データ(ヒストリダイヤルデー
タ:最近ダイヤルした電話番号データ、ベストダイヤル
データ:よくダイヤルする上位10個の電話番号データ
など)を記憶するRAMディスク領域3−3に区分され
ている。また、主メモリ領域3−1の一部は、後述する
補助記憶装置4のキャッシュメモリ3−1−1として使
用される。
As shown in FIG. 3 (2), the RAM 3
A main memory area 3-1 used as a main memory when the U1 operates, a VRAM area 3 storing display data 3-
2. It is divided into a RAM disk area 3-3 for storing various data (history dial data: recently dialed telephone number data, best dial data: top ten frequently dialed telephone number data, etc.) of the communication terminal device. . Further, a part of the main memory area 3-1 is used as a cache memory 3-1-1 of the auxiliary storage device 4 described later.

【0032】4は補助記憶装置であり、ハードディスク
やフラッシュメモリなどの内蔵された記憶装置あるいは
光磁気ディスクやDVDやMDなどの外付けされた記憶
装置など、通常のRAMに比べてアクセス速度は低速で
あるが、大容量の記憶装置である。つまり、補助記憶装
置4は第2の記憶手段として位置付けられる。
Reference numeral 4 denotes an auxiliary storage device, such as a built-in storage device such as a hard disk or a flash memory, or an external storage device such as a magneto-optical disk, DVD, or MD, which has a lower access speed than a normal RAM. However, it is a large-capacity storage device. That is, the auxiliary storage device 4 is positioned as a second storage unit.

【0033】補助記憶装置4には、図3(3)に示すよ
うに、通信端末装置が接続されている通信回線の種別
(例えばダイヤル回線かプッシュホン回線か)が記憶さ
れている回線種別フラグ領域4−1、ユーザが独自に入
力した電話帳データを記憶する電話帳データ記憶領域4
−2、留守番電話の音声応答・用件メッセージのサンプ
リングデータが記憶される留守録データ記憶領域4−
3、FAX送受信画像データが記憶されるFAXデータ
記憶領域4−4、電子メール文書が記憶されるメールデ
ータ記憶領域4−5、その他のデータが記憶されるその
他データ記憶領域4−6などに区分されている。
As shown in FIG. 3 (3), the line type flag area in which the type of the communication line to which the communication terminal device is connected (for example, dial line or push-phone line) is stored in the auxiliary storage device 4. 4-1. Phone book data storage area 4 for storing phone book data uniquely input by the user
-2, an answering machine data storage area 4- in which sampling data of a voice response / work message of an answering machine is stored;
3. FAX data storage area 4-4 for storing FAX transmission / reception image data, mail data storage area 4-5 for storing e-mail documents, and other data storage area 4-6 for storing other data Have been.

【0034】5は透過型(バックライト方式)LCDな
どの表示装置(図1の符号103に対応)であり、VR
AM領域3−2に記憶されたデータ(各種メッセージや
タブレット入力のためのボタンイメージなど)が表示さ
れる。
Reference numeral 5 denotes a display device (corresponding to the reference numeral 103 in FIG. 1) such as a transmissive (backlight type) LCD.
The data (such as various messages and button images for tablet input) stored in the AM area 3-2 is displayed.

【0035】6はタッチパネル(図1の符号103およ
び符号104に対応)であり、ペン105や指で押され
た位置(XY座標)を検出する。
Reference numeral 6 denotes a touch panel (corresponding to reference numerals 103 and 104 in FIG. 1) for detecting a position (XY coordinates) pressed by the pen 105 or a finger.

【0036】7は計時装置であり、現在の日付や時刻、
時間を計時する、例えばタイマーなどである。
Reference numeral 7 denotes a timing device, which is used for the current date and time,
It measures time, for example, a timer.

【0037】8は通信装置であり、アナログ電話回線を
用いた通話・FAX通信・パソコン通信(インターネッ
ト通信)を行うFAXモデムである。また、赤外線送受
信部109を用いて、他の装置と赤外線通信を行う手段
も備えている。なお、通信装置8の対応する回線は上記
アナログ回線のみではなく、デジタル回線であってもよ
い。
Reference numeral 8 denotes a communication device, which is a facsimile modem for performing telephone communication, facsimile communication, and personal computer communication (internet communication) using an analog telephone line. In addition, a unit for performing infrared communication with another device using the infrared transmitting / receiving unit 109 is also provided. The corresponding line of the communication device 8 is not limited to the analog line, but may be a digital line.

【0038】図4は、本通信端末装置の動作を表わすメ
インフローチャートである。
FIG. 4 is a main flowchart showing the operation of the communication terminal device.

【0039】本フローチャートは、CPU1がROM2
に記憶されているOS2−3に基づいて動作することに
よって実現される。
This flowchart is based on the assumption that the CPU 1
Is realized by operating based on the OS 2-3 stored in the.

【0040】本通信端末装置の電源が投入されると、本
フローチャートが起動される。
When the power of the communication terminal device is turned on, this flowchart is started.

【0041】ステップ(以降、Sと称する)1では、フ
ラグFに0がセットされ、その後、S2でシステムの初
期化ルーチンが呼び出される。ここでフラグFは、例え
ばCPU1の所定のレジスタの所定のビットである。フ
ラグFに0をセットしたのは、電源がONされた直後で
あることを初期化ルーチンに通知するためである。
In step (hereinafter referred to as S) 1, the flag F is set to 0, and then in S2, the system initialization routine is called. Here, the flag F is a predetermined bit of a predetermined register of the CPU 1, for example. The reason why the flag F is set to 0 is to notify the initialization routine that immediately after the power is turned on.

【0042】S2では、初期化ルーチンが呼び出される
ことによって本通信端末装置の各手段(RAMや通信装
置など)の初期化が行われる。図5(1)は初期化終了
後のRAM3の主メモリ領域3−1の状態を示した図で
ある。全体がフリー領域(ブロックA5−1−1)とな
っているようすが示されている(ヘッダAにはブロック
Aのサイズや、使用中/フリーの判別フラグ、次のブロ
ックへのポインタなどの情報が記憶されている)。な
お、S2のシステム初期化処理の詳細は、図9にその動
作を表すフローチャートを示し、説明は後述する。
At S2, the initialization routine is called to initialize each means (RAM, communication device, and the like) of the communication terminal device. FIG. 5A is a diagram showing a state of the main memory area 3-1 of the RAM 3 after completion of the initialization. It is shown that the entire area is a free area (block A5-1-1) (information such as the size of the block A, a used / free discrimination flag, and a pointer to the next block is included in the header A). Is stored). The details of the system initialization processing in S2 are shown in a flowchart showing the operation in FIG. 9, and the description will be given later.

【0043】S3では、電話アプリケーションプログラ
ムを起動する。電話アプリケーションプログラムは、表
示画面103に図6で示すような画面を表示し(具体的
にはVRAM3−2に表示画面データを記憶させる)、
処理をOSに戻す(S4へ移行する)。
In S3, a telephone application program is started. The telephone application program displays a screen as shown in FIG. 6 on the display screen 103 (specifically, stores the display screen data in the VRAM 3-2),
The process returns to the OS (migrate to S4).

【0044】ここで図6は、図1の外観図の表示入力装
置103の一表示例を示したものである。103はLC
D表示画面で、104はアプリケーション切り換えボタ
ン図面が印刷されている領域である。なお、LCD表示
画面103およびアプリケーション切り換えボタン図面
104が印刷されている領域の前面には透明タッチパネ
ル6が重畳されている。このアプリケーション切り換え
ボタン図面104には、留守録やFAXやメールの件数
などを表示するメッセージ表示領域103−1、さらに
ユーザがタッチすることによって指示を行うことができ
るダイヤルボタン領域103−2、各機能ボタン領域1
03−3、その他機能ボタン領域103−4、およびア
プリケーション切り換えボタン領域104などを備えて
いる。なお、このS3の時点ではLCDのバックライト
(図示していない)はまだ点灯していないため、実際に
は表示画面は真っ暗の状態で何も見えない。
FIG. 6 shows one display example of the display input device 103 in the external view of FIG. 103 is LC
On the D display screen, reference numeral 104 denotes an area where an application switching button drawing is printed. The transparent touch panel 6 is superimposed on the front surface of the area where the LCD display screen 103 and the application switching button drawing 104 are printed. The application switching button drawing 104 includes a message display area 103-1 for displaying the number of recorded messages, facsimile and mail, a dial button area 103-2 for giving an instruction by touching by a user, and various functions. Button area 1
03-3, a function button area 103-4, an application switching button area 104, and the like. At the time of S3, the backlight (not shown) of the LCD is not turned on yet, so that the display screen is actually black and nothing can be seen.

【0045】S4では、LCDのバックライトを点灯さ
せる。これによって、上記図6に示す表示画面を見るこ
とができる。
In S4, the backlight of the LCD is turned on. Thus, the display screen shown in FIG. 6 can be viewed.

【0046】本通信端末装置において、各機能プログラ
ムは、処理を実行するために必要なサイズのメモリの確
保をOSに対して要求する。OSは要求されたサイズの
メモリを確保可能なフリーのブロックを主メモリ領域3
−1から検索し、要求元の機能プログラムに使用許可を
与える。図5(2)は電話アプリケーションプログラム
に対してブロックA5−2−1を割り当てた状態を示し
ている。なお、各機能プログラムはメモリが不要になっ
た場合(処理が完了した場合など)はOSに対してメモ
リの解放を要求する。OSは要求に応じて、該当するメ
モリブロックを解放する。
In the present communication terminal device, each functional program requests the OS to secure a memory of a size necessary for executing the processing. The OS allocates a free block capable of securing a memory of the requested size in the main memory area 3
The search is started from -1 to give the use permission to the requesting function program. FIG. 5B shows a state in which the block A5-2-1 is assigned to the telephone application program. Note that each functional program requests the OS to release the memory when the memory becomes unnecessary (for example, when the processing is completed). The OS releases the corresponding memory block in response to the request.

【0047】S5では、タイマー手段(計時装置7によ
って実現される)を初期化し、スタートさせる。
In S5, the timer means (realized by the timer 7) is initialized and started.

【0048】S6では、タッチパネル6に入力がなされ
たか否かを判断し、入力があればS7へ移行する。入力
が無ければ、S9でタイマーが所定値を超えたか否かを
判断し、超えていない場合はS6へ戻りタッチパネルの
入力を待つ。本通信端末装置は、節電や表示装置保護の
ため、所定時間タッチパネルからの入力が無い場合、節
電モードへ切り換わる。タイマー(計時装置7)はその
時間を計測するためのものである。
In S6, it is determined whether or not an input has been made on the touch panel 6, and if there is an input, the flow shifts to S7. If there is no input, it is determined in S9 whether the timer has exceeded a predetermined value. If not, the process returns to S6 and waits for an input on the touch panel. The communication terminal device switches to the power saving mode when there is no input from the touch panel for a predetermined time for power saving and protection of the display device. The timer (time measuring device 7) is for measuring the time.

【0049】ここで上記所定時間はあらかじめプログラ
ムにおいて複数個準備されていて、それをユーザが選択
できる手段を有している構成であってもよい。また、実
際に入力手段を用いて、ユーザが適当な時間を入力し、
それを所定時間として設定でき、さらにこれを変更する
ことができる手段を有する構成であってもよい。これら
の手段は、図2のCPU1、ROM2、タッチパネル6
等の機能を用いて実現できる。
Here, a plurality of the predetermined times may be prepared in advance in the program, and a configuration may be provided in which the user can select the predetermined time. Also, the user actually inputs an appropriate time using the input means,
The configuration may be such that it can be set as a predetermined time and further change this. These means are the CPU 1, the ROM 2, the touch panel 6 in FIG.
It can be realized by using functions such as.

【0050】なお、通信装置8などから割り込み(電話
の着呼、FAX受信要求など)があった場合は、いつで
もそれに応じた割り込み処理を行う。割り込みの処理自
体は本発明の要旨に直接関係しないため、説明は省略す
るが、その処理プログラムも必要なメモリ領域の確保を
OSに要求する。図5(3)はブロックB5−3−2を
電話着呼割り込み処理プログラムに割り当てた例を示し
ている。
When there is an interruption (such as an incoming call of a telephone or a FAX reception request) from the communication device 8 or the like, an interruption process corresponding to the interruption is performed at any time. Since the interrupt processing itself is not directly related to the gist of the present invention, the description is omitted, but the processing program also requests the OS to secure a necessary memory area. FIG. 5C shows an example in which block B5-3-2 is assigned to a telephone call interruption processing program.

【0051】S7では、S6で入力された座標が「表示
入/切」ボタン(領域)104−6(図6のアプリケー
ション切り換えボタン図面104の一番下のボタン)で
あったか否かを判断し、そうであればS10へ、そうで
なければS8へ移行する。
In S7, it is determined whether or not the coordinate input in S6 is the "display on / off" button (area) 104-6 (the button at the bottom of the application switching button drawing 104 in FIG. 6). If so, proceed to S10, otherwise proceed to S8.

【0052】S8では、(図6に示す)アプリケーショ
ン切り換えボタン図面104の「表示入/切」ボタン
(領域)104−6を除くボタン(領域)が押された場
合の処理を行い、その後S5へ戻る。なお、その他のボ
タンの処理の詳細は図7乃至図8に示し、説明は後述す
る。
In step S8, a process is performed when a button (area) other than the "display on / off" button (area) 104-6 in the application switching button drawing 104 (shown in FIG. 6) 104-6 is pressed, and thereafter, the flow returns to step S5. Return. The details of the other button processes are shown in FIGS. 7 and 8, and the description will be given later.

【0053】一方S10では、ハンドセット101がオ
フフック(手に取った状態)であるか否かを判断し、オ
フフックの状態であればS5へ戻り、そうでなければS
11へ移行する。
On the other hand, in S10, it is determined whether or not the handset 101 is off-hook (in a state where the handset is picked up).
Move to 11.

【0054】S11では、LCDのバックライトをOF
Fにする。これにより、通信端末装置の消費電力が削減
できる。この状態を省電力モードと呼ぶ。
In S11, the backlight of the LCD is turned off.
Change to F. Thereby, the power consumption of the communication terminal device can be reduced. This state is called a power saving mode.

【0055】S12では、通信端末装置の再初期化を行
うか否かを判断し、行うと判断された場合はS13へ、
行わないと判断された場合はS15へ移行する。再初期
化を行うと判断されるのは、主メモリ3−1の空き容量
が所定量以下である場合である。つまり、補助記憶手段
4に保存するという指示が、まだユーザからなされてい
ない状態でメール文書などのデータが入力中である場合
を除いて、主メモリ3−1内の連続した空き容量(複数
のフリーエリアブロックがある場合、その最大ブロック
のサイズ)が所定量以下である場合である。
In S12, it is determined whether or not to reinitialize the communication terminal device. If it is determined to be performed, the process proceeds to S13.
If it is determined not to perform the process, the process proceeds to S15. It is determined that re-initialization is performed when the free space of the main memory 3-1 is equal to or less than a predetermined amount. In other words, unless there is an instruction to save the data in the auxiliary storage unit 4 and data such as a mail document is being input in a state in which the user has not yet given an instruction, the continuous free space (a plurality of free space in the main memory 3-1) is set. This is a case where the free area block is present and the maximum block size is equal to or smaller than a predetermined amount.

【0056】S13では、初期化を行うためフラグFに
1をセットし、S14で再び初期化ルーチンを呼び出
す。なお、S14のシステムの初期化処理の詳細は、図
9にその動作を表すフローチャートを示し、説明は後述
する。
In S13, 1 is set to the flag F for initialization, and the initialization routine is called again in S14. The details of the system initialization process in S14 are shown in a flowchart of FIG. 9, and the description will be given later.

【0057】一方S15では、タッチパネル6が押され
たか否かを判断し、押された場合はS16へ移行する。
本通信端末装置は、省電力モードの際にタッチパネル6
を押すと通常の状態に復帰する。
On the other hand, in S15, it is determined whether or not the touch panel 6 has been pressed, and if so, the process proceeds to S16.
The communication terminal device operates the touch panel 6 in the power saving mode.
Press to return to the normal state.

【0058】S16では、上記電話アプリケーションプ
ログラムが起動されているか否かを判断し、起動されて
いる場合はS4へ戻り、起動されていない場合、すなわ
ち他のアプリケーションプログラム(FAXアプリケー
ションや電子メールアプリケーションなど)が起動され
ている場合、S17で該アプリケーションプログラムを
終了させ、S18で電話アプリケーションを起動させ、
その後S4へ戻る。S4へ戻った後は、上記説明の通り
LCDバックライトを点灯し、ユーザからの指示操作や
データの入力が受付可能な状態に戻る。
In step S16, it is determined whether or not the telephone application program has been activated. If the telephone application program has been activated, the process returns to step S4. If the telephone application program has not been activated, that is, if another application program (such as a FAX application or an e-mail application) has been activated. ) Is activated, the application program is terminated in S17, the telephone application is activated in S18,
Then, the process returns to S4. After returning to S4, the LCD backlight is turned on as described above, and the state returns to a state where an instruction operation and data input from the user can be accepted.

【0059】図7乃至図8は、上記S8の処理(図6の
アプリケーション切り換えボタン図面104の一番下の
「表示入/切」ボタン(領域)104−6を除くボタン
の入力処理)の詳細を示したフローチャートである。本
フローチャートは、CPU1がROM2に記憶されてい
るOS2−3に基づいて動作することによって実現され
る。
FIGS. 7 and 8 show the details of the processing of S8 (input processing of buttons excluding the "display on / off" button (area) 104-6 at the bottom of the application switching button drawing 104 of FIG. 6). 5 is a flowchart illustrating the operation of the embodiment. This flowchart is realized by the CPU 1 operating based on the OS 2-3 stored in the ROM 2.

【0060】S21では、S6で入力された座標が「電
話」ボタン(領域)104−1(図6の104の一番上
のボタン)であったか否かを判断し、そうであればS2
2へ、そうでなければS24へ移行する。
In S21, it is determined whether or not the coordinate input in S6 is the "telephone" button (area) 104-1 (the top button of 104 in FIG. 6).
The process proceeds to S2, otherwise to S24.

【0061】S22では、電話アプリケーションプログ
ラムが既に起動されているか否かを判断し、起動されて
いれば本処理を終了し(図4のS5へ戻り)、そうでな
ければS23で電話アプリケーションプログラムを起動
し、本処理を終了する。
In S22, it is determined whether or not the telephone application program has already been started. If the telephone application program has been started, this processing ends (return to S5 in FIG. 4). Activate and end this process.

【0062】電話アプリケーションプログラムは起動後
図6で示す画面を表示し、その後OSへ処理を戻す(図
4のS5へ戻る)。
After the telephone application program is started, the screen shown in FIG. 6 is displayed, and thereafter, the process returns to the OS (return to S5 in FIG. 4).

【0063】S24では、S6で入力された座標が「F
AX」ボタン(領域)104−2(図6の104の上か
ら2番目のボタン)であったか否かを判断し、そうであ
ればS25へ、そうでなければS27へ移行する。
In S24, the coordinates input in S6 are "F
It is determined whether or not the button is an “AX” button (area) 104-2 (the second button from the top of 104 in FIG. 6). If so, the process proceeds to S25; otherwise, the process proceeds to S27.

【0064】S25乃至S26では同様に、FAXアプ
リケーションプログラムが起動していなければ起動させ
る処理を行う。
Similarly, in steps S25 to S26, if the FAX application program has not been started, a process for starting it is performed.

【0065】FAXアプリケーションプログラムは起動
後、FAX送信メッセージの入力画面や受信したFAX
メッセージの一覧などの表示を行った後、処理をOSへ
戻す(図4のS5へ戻る)。
After the FAX application program is started, the input screen of the FAX transmission message and the received FAX
After the message list is displayed, the process returns to the OS (return to S5 in FIG. 4).

【0066】S27乃至S29では同様に、電子メール
アプリケーションプログラムの起動処理を行う(入力さ
れた座標が「メール」ボタン(領域)104−3(図6
の104の上から3番目のボタン)であったか否かを判
断して、該当処理を行う)。
In steps S27 to S29, the e-mail application program is similarly activated (the input coordinates are the "mail" button (area) 104-3 (FIG. 6).
Is determined to be the third button from the top of (104), and the corresponding process is performed).

【0067】電子メールアプリケーションプログラムは
起動後、電子メール文書の作成画面や受信した電子メー
ル文書の一覧などの表示を行った後、処理をOSへ戻す
(図4のS5へ戻る)。
After the e-mail application program starts, after displaying an e-mail document creation screen and a list of received e-mail documents, the process returns to the OS (return to S5 in FIG. 4).

【0068】S30乃至S32では同様に、インターネ
ットアプリケーションプログラム(ウェブブラウザ)の
起動処理を行う(入力された座標が「インターネット」
ボタン(領域)104−4(図6の104の上から4番
目のボタン)であったか否かを判断して、該当処理を行
う)。
In steps S30 to S32, the Internet application program (web browser) is similarly started (when the input coordinates are "Internet").
The button (area) 104-4 (the fourth button from the top of 104 in FIG. 6 is determined, and the corresponding process is performed).

【0069】ウェブブラウザは起動後、所定のウェブサ
イトのホームページを表示させる処理を行った後、処理
をOSへ戻す(図4のS5へ戻る)。
After starting the web browser, the web browser performs a process of displaying a home page of a predetermined web site, and then returns the process to the OS (return to S5 in FIG. 4).

【0070】S33乃至S35では同様に、各種設定ア
プリケーションプログラムの起動処理を行う(入力され
た座標が「各種設定」ボタン(領域)104−5(図6
の104の下から2番目のボタン)であったか否かを判
断して、該当処理を行う)。
In steps S33 to S35, similarly, the activation processing of the various setting application programs is performed (the input coordinates are the "various setting" button (area) 104-5 (FIG. 6).
(The second button from the bottom of step 104)), and performs the corresponding process).

【0071】各種設定アプリケーションプログラムは起
動後、各種設定画面(通信設定など)の表示を行った
後、処理をOSへ戻す(図4のS5へ戻る)。
After the various setting application programs are started, various setting screens (such as communication settings) are displayed, and then the process returns to the OS (return to S5 in FIG. 4).

【0072】S36では、S6で入力された座標値を、
現在起動されているアプリケーションプログラムへ引き
渡す。アプリケーションプログラムは渡された座標値に
基づいて各種処理を行う。
In S36, the coordinate value input in S6 is
Deliver to the currently running application program. The application program performs various processes based on the passed coordinate values.

【0073】例えば、図6で示すような画面が表示され
て電話アプリケーションプログラムが起動されている場
合は、次のようになる。
For example, when the screen shown in FIG. 6 is displayed and the telephone application program is activated, the following is performed.

【0074】渡された座標値がダイヤルボタン103−
2領域であればその数字のダイヤル音を通信装置8によ
って発生させる。機能ボタン103−3が押された場合
は、該当する機能をそれぞれ実行する。例えば、留守ボ
タン103−31の場合には留守番電話のON/OFF
を切り換え、リダイヤルボタン103−32の場合には
直前にダイヤルした番号を再度ダイヤルし、ヒストリダ
イヤルボタン103−33の場合には最近ダイヤルした
番号を10個分リスト表示し、ベストダイヤル103−
34の場合にはダイヤル回数の多い上位10人をリスト
表示する。また電話帳ボタン103−35はユーザが独
自に入力した電話帳データを表示する。なお、ダイヤル
ボタン103−32が押された場合は、その電話番号を
リダイヤルデータとして主メモリ3−1の所定の場所に
記憶する。また、留守ボタン103−31が押された場
合は、留守番電話のON/OFFの切り換え状態を主メ
モリ3−1の所定の場所に記憶する。
When the passed coordinate value is entered on the dial button 103-
In the case of two areas, the communication device 8 generates the dial sound of the numeral. When the function button 103-3 is pressed, the corresponding function is executed. For example, in the case of the answering button 103-31, ON / OFF of the answering machine
And the last dialed number is displayed again in the case of the history dial button 103-33, and a list of ten recently dialed numbers is displayed in the case of the history dial button 103-33.
In the case of 34, a list is displayed of the top 10 persons who dial the most. The telephone directory button 103-35 displays telephone directory data input by the user. When the dial button 103-32 is pressed, the telephone number is stored as a redial data in a predetermined location of the main memory 3-1. When the answering button 103-31 is pressed, the ON / OFF switching state of the answering machine is stored in a predetermined location of the main memory 3-1.

【0075】また、上記各機能プログラムはOSに対し
てメモリの確保を要求する。
Each of the above function programs requests the OS to secure a memory.

【0076】図5(4)は、電話帳データ表示プログラ
ムに対してのメモリ領域であるブロックC5−4−3を
確保した状態を示している。前述したようにブロックA
5−4−1は電話アプリケーションプログラム、ブロッ
クB5−4−2は電話着呼割り込み処理プログラムに割
り当てたものである。つまり図5(4)の主メモリ3−
1の状態は、電話アプリケーションプログラム実行中
(図6の画面が表示されている状態の時)に電話を着呼
(通話を開始)し、その後ユーザの指示などによって電
話帳を表示した場合の状態を示している。もし、ここで
通話を終了した場合、ブロックB5−4−2は不要にな
るため、電話着呼割り込み処理プログラムはOSにブロ
ックB5−4−2の解放を要求する。それに従ってOS
はブロックB5−4−2を解放しフリーとなり、その結
果図5(5)に示すように主メモリ3−1が断片化して
しまう。このようにメモリが断片化すると、次に他の機
能プログラムがメモリの確保を要求した場合、必要な容
量を確保できなくて処理が実行できなかったり、不連続
な領域を確保することにより処理速度が低下してしまう
などの問題が発生してしまう。そのため、この断片化を
解消するためにRAM3の初期化を行う必要がある。
FIG. 5D shows a state where a block C5-4-3, which is a memory area for the telephone directory data display program, is secured. Block A as described above
5-4-1 is assigned to a telephone application program, and block B5-4-2 is assigned to a telephone call interruption processing program. That is, the main memory 3 in FIG.
State 1 is a state in which a telephone call is received (call is started) during execution of the telephone application program (when the screen in FIG. 6 is displayed), and then the telephone directory is displayed according to a user's instruction or the like. Is shown. If the call is terminated here, the block B5-4-2 becomes unnecessary, and the telephone call interruption processing program requests the OS to release the block B5-4-2. OS accordingly
Releases the block B5-4-2 and becomes free, resulting in fragmentation of the main memory 3-1 as shown in FIG. 5 (5). When memory is fragmented in this way, when another function program requests memory reservation next time, the required capacity cannot be secured and processing cannot be executed, or the processing speed may be reduced by securing discontinuous areas. Problems, such as a decrease in the image quality. Therefore, it is necessary to initialize the RAM 3 in order to eliminate the fragmentation.

【0077】図9は、上記S2およびS14の処理(シ
ステムの初期化ルーチン)の詳細を示したフローチャー
トである。
FIG. 9 is a flowchart showing the details of the processing of S2 and S14 (system initialization routine).

【0078】本フローチャートは、CPU1がROM2
に記憶されている初期化プログラム2−1に基づいて動
作することによって実現される。
This flowchart shows that the CPU 1
Is realized by operating based on the initialization program 2-1 stored in the.

【0079】なお、図4で説明した通り、本システム初
期化ルーチンが呼び出される前に、フラグFは0または
1にセットされている。
As described with reference to FIG. 4, the flag F is set to 0 or 1 before the present system initialization routine is called.

【0080】S41では、VRAM3−2をクリア(す
べて0を記憶)する。その後、現在初期化中であること
を示すメッセージを表示(VRAM3−2に記憶)す
る。ただし、バックライトは消灯しているため、表示は
見えない。
In S41, the VRAM 3-2 is cleared (all 0s are stored). Thereafter, a message indicating that initialization is currently being performed is displayed (stored in the VRAM 3-2). However, the display is not visible because the backlight is off.

【0081】S42では、フラグFが0であるか否かを
判断し、0であればS43へ、0で無ければS46へ移
行する。
In S42, it is determined whether or not the flag F is 0. If it is 0, the process proceeds to S43, and if not, the process proceeds to S46.

【0082】フラグFが0である場合、すなわち通信端
末装置の電源がONされた直後の場合は、S43で主メ
モリ3−1(キャッシュメモリ3−1−1を含む)をク
リアし(図5(1)で示すような初期状態に戻し)、S
44でRAMディスク3−2をクリアする。つまりこの
時点で、RAM3は全エリアがすべてクリアされたこと
になる。
If the flag F is 0, that is, immediately after the power of the communication terminal device is turned on, the main memory 3-1 (including the cache memory 3-1-1) is cleared in S43 (FIG. 5). (Return to the initial state as shown in (1)), S
At 44, the RAM disk 3-2 is cleared. That is, at this point, all the areas of the RAM 3 have been cleared.

【0083】S45では、通信装置8に接続されている
回線が、プッシュ回線であるかダイヤル回線であるかを
判別し、その判別結果を補助記憶装置4の回線種別フラ
グ4−1に記憶する。なお、判別方法は機知の方法を用
いる。
In S45, it is determined whether the line connected to the communication device 8 is a push line or a dial line, and the result of the determination is stored in the line type flag 4-1 of the auxiliary storage device 4. Note that a known method is used as the determination method.

【0084】一方フラグFが0でない場合、すなわち再
初期化時には、S46で主メモリ3内のキャッシュメモ
リ3−1−1の内容を本来記憶すべき補助記憶装置4の
所定の領域へ記憶させ、S47で、主メモリ3−1に記
憶されている現在の通信端末装置の各種記憶データ(例
えば留守録ON/OFF設定状態、リダイヤル電話番号
データなど)を一時的に補助記憶装置4あるいはRAM
ディスク3−3に退避させ、S48で現在起動中のすべ
てのアプリケーションプログラムを終了させる。
On the other hand, when the flag F is not 0, that is, at the time of re-initialization, the contents of the cache memory 3-1-1 in the main memory 3 are stored in a predetermined area of the auxiliary storage device 4 where the original storage is to be performed in S46. At S47, the various storage data (for example, the answering machine ON / OFF setting state, redial telephone number data, etc.) stored in the main memory 3-1 are temporarily stored in the auxiliary storage device 4 or the RAM.
The program is saved to the disk 3-3, and all application programs currently running are terminated in S48.

【0085】その後、S49で主メモリ3−1(キャッ
シュメモリ3−1−1を含む)をクリアし、S50で
は、前記S47で退避した装置の各種記憶データを呼び
出して再設定する。
Thereafter, the main memory 3-1 (including the cache memory 3-1-1) is cleared in S49, and in S50, various storage data of the device saved in S47 is called and reset.

【0086】つまり、これは第1の記憶手段の主メモリ
として使用される記憶部のみを初期化する、または、第
1の記憶手段に記憶されている情報を第2の記憶手段に
退避させた後、第1の記憶手段を初期化することを意味
している。
That is, this means that only the storage unit used as the main memory of the first storage means is initialized, or the information stored in the first storage means is saved in the second storage means. Later, it means that the first storage means is initialized.

【0087】上記の通り、通信端末装置の電源がONさ
れた直後に本初期化ルーチンが呼び出された場合はRA
M3のすべての領域はクリアされるが、再初期化時に本
初期化ルーチンが呼び出された場合は、RAM3の一部
の領域(RAMディスク領域3−3)はクリアされな
い。また、前者の場合は回線種別の判断処理を行うが後
者の場合は行わないため、後者の初期化処理は前者の初
期化処理よりも短い時間で完了する。
As described above, when this initialization routine is called immediately after the power of the communication terminal device is turned on, RA
All areas of M3 are cleared, but if this initialization routine is called at the time of reinitialization, some areas of RAM3 (RAM disk area 3-3) are not cleared. In the former case, the line type determination process is performed, but not in the latter case. Therefore, the latter initialization process is completed in a shorter time than the former initialization process.

【0088】なお、上記初期化処理中にタッチパネルに
入力があったことが検出された場合は、バックライトを
点灯するとよい。つまり、S41で現在初期化中である
ことを示すメッセージがVRAMに記憶されているの
で、これが実際に表示されるからである。
When it is detected that an input has been made on the touch panel during the initialization processing, the backlight may be turned on. That is, since a message indicating that initialization is currently being performed is stored in the VRAM in S41, this is actually displayed.

【0089】以上、本発明の実施形態の一例は上記図1
乃至図9に示した記載内容によって実現され、以下の特
徴を得ることができる。
As described above, one example of the embodiment of the present invention is shown in FIG.
The following features can be obtained by the contents described in FIGS.

【0090】(1)本記憶手段初期化装置によれば、入
力手段からユーザの指示操作あるいは文字等の情報が入
力されると、処理手段は前記入力に応じて、必要な情報
等を記憶手段に記憶/呼出しながら処理を行い、また時
間計測手段により、所定時間以上ユーザからの指示操作
が無いことが計測された場合、初期化手段は前記記憶手
段を初期化する。
(1) According to the storage device initialization device, when a user's instruction operation or information such as characters is input from the input device, the processing device stores necessary information or the like in accordance with the input. The processing is performed while storing / calling the data, and when the time measuring means measures that there is no instruction operation from the user for a predetermined time or more, the initializing means initializes the storing means.

【0091】これによって、ユーザからの指示操作ある
いは情報の入力が所定時間以上無かった場合、記憶手段
(RAM)を初期化するため、RAMをいつでも有効に
使用することができる。これにより、電子装置に搭載す
るRAMの容量を削減することができ、コストダウンを
図ることができる。また、メモリ不足エラーにより所望
の機能が使えなくなるといった不具合の発生を解消する
ことができる。また、電子装置の処理速度の低下を防ぐ
ことができる。
Thus, when there is no instruction operation or information input from the user for a predetermined time or more, the storage means (RAM) is initialized, so that the RAM can be used effectively at any time. Thus, the capacity of the RAM mounted on the electronic device can be reduced, and the cost can be reduced. Further, it is possible to eliminate a problem that a desired function cannot be used due to a memory shortage error. Further, a reduction in the processing speed of the electronic device can be prevented.

【0092】(2)本記憶手段初期化装置によれば、入
力手段からユーザの指示操作あるいは文字等の情報が入
力されると、処理手段は前記入力に応じて、必要な情報
等を記憶手段の一部の領域に記憶/呼出しながら処理を
行い、時間計測手段により、所定時間以上ユーザからの
指示操作が無いことが計測された場合、初期化手段は前
記記憶手段の一部の領域のみを初期化する。
(2) According to the storage means initialization device, when a user's instruction operation or information such as characters is input from the input means, the processing means stores necessary information or the like in accordance with the input. The processing is performed while storing / recalling in a partial area of the memory. When the time measuring means measures that there is no instruction operation from the user for a predetermined time or more, the initializing means stores only a partial area of the memory means. initialize.

【0093】これによって、再初期化を行う際に、RA
Mの一部の領域(メモリの断片化や解放忘れなどの起こ
りやすい領域:主メモリ)のみをクリアするため、消去
したくないデータはその他の領域に記憶させておくこと
により、残しておくことができる。またこれにより、再
初期化処理の処理時間を削減することができる。
Thus, when re-initialization is performed, RA
To clear only some areas of M (areas where memory fragmentation and forgetting to release are likely to occur: main memory), store data that you do not want to be erased in other areas and keep them. Can be. Thus, the processing time of the re-initialization processing can be reduced.

【0094】(3)本記憶手段初期化装置によれば、時
間計測手段により、所定時間以上ユーザからの指示操作
が無いことが計測された場合、かつ前記入力に応じた処
理が完了した状態の場合、初期化手段は前記記憶手段を
初期化する。
(3) According to the storage means initializing device, when the time measuring means determines that there is no instruction operation from the user for a predetermined time or more, and when the processing corresponding to the input is completed, In this case, the initialization means initializes the storage means.

【0095】これによって、ユーザが入力したデータが
まだ保存されていない場合には再初期化を行わないた
め、入力中のデータが消去されてしまうといったことが
発生しない。
Thus, if the data input by the user has not been saved yet, re-initialization is not performed, so that the data being input is not erased.

【0096】(4)本記憶手段初期化装置によれば、初
期化手段は、記憶手段(第1の記憶手段)に記憶されて
いる情報を他の記憶手段(第2の記憶手段)に退避させ
た後、前記第1の記憶手段を初期化する。
(4) According to the storage means initialization apparatus, the initialization means saves the information stored in the storage means (first storage means) to another storage means (second storage means). After that, the first storage unit is initialized.

【0097】これによって、再初期化する領域のRAM
に記憶されているデータの一部を別の記憶手段(例えば
第2の記憶手段)に退避させた後でRAMの再初期化を
行うため、必要なデータが消去されてしまうといったこ
とが発生しない。
Thus, the RAM in the area to be reinitialized
Since part of the data stored in the RAM is re-initialized after being saved in another storage means (for example, the second storage means), the necessary data is not erased. .

【0098】(5)本記憶手段初期化装置によれば、処
理手段は、前記第2の記憶手段に情報を記憶させる場
合、まず第1の記憶手段に記憶した後、任意のタイミン
グまたは前記初期化するタイミングで第2の記憶手段に
記憶する。
(5) According to the storage means initializing apparatus, the processing means, when storing information in the second storage means, first stores the information in the first storage means, and then stores the information in an arbitrary timing or the initial state. At the timing of the conversion to the second storage means.

【0099】これによって、速度の遅い記憶手段(第2
の記憶手段として、例えば補助記憶装置)にデータを記
憶させる場合、まず速度の速い記憶手段(第1の記憶手
段)に記憶させ、その後任意のタイミングまたは再初期
化するタイミングで本来の速度の遅い記憶手段(第2の
記憶手段)へ記憶させるため、データの消失なしに、ユ
ーザの指示操作に対する処理速度の向上を図ることがで
きる。
Thus, the low-speed storage means (second
When storing data in, for example, an auxiliary storage device, the data is first stored in a high-speed storage device (first storage device), and then the original low-speed data is stored at an arbitrary timing or at a re-initialization timing. Since the data is stored in the storage unit (second storage unit), the processing speed for the user's instruction operation can be improved without data loss.

【0100】(6)本記憶手段初期化装置によれば、時
間計測手段により、所定時間以上ユーザからの指示操作
が無いことが計測された場合で、かつ第1の記憶手段の
空き容量が所定値以下の場合、または、所定時間以上ユ
ーザからの指示操作が無いことが計測された場合で、か
つ第1の記憶手段の連続した空き容量が所定値以下の場
合に、初期化手段は第1の記憶手段を初期化する。
(6) According to the storage means initializing device, when the time measuring means determines that there is no instruction operation from the user for a predetermined time or more, and the free space of the first storage means is equal to the predetermined value. If the value is equal to or less than the predetermined value, or if it is measured that there is no instruction operation from the user for a predetermined time or more, and if the continuous free space in the first storage means is equal to or less than the predetermined value, the initialization means sets the first Is initialized.

【0101】これによって、再初期化する前にRAMの
空き容量(連続した空き容量)をチェックして、再初期
化が必要と判断したときのみ再初期化を行うので、不必
要な処理を行うことがない。
As a result, the free space (continuous free space) in the RAM is checked before the re-initialization, and the re-initialization is performed only when it is determined that the re-initialization is necessary, so that unnecessary processing is performed. Nothing.

【0102】(7)本記憶手段初期化装置によれば、時
間計測手段により、所定時間以上ユーザからの指示操作
が無いことが計測された場合、初期化手段は、表示画面
を消去し、第1の記憶手段を初期化する。
(7) According to the storage means initializing apparatus, when the time measuring means determines that there is no instruction operation from the user for a predetermined time or more, the initializing means erases the display screen, and 1 is initialized.

【0103】これによって、ユーザからの指示操作ある
いは情報の入力が所定時間以上無かった場合、表示画面
を消灯し、その後再初期化を行うため、ユーザが装置の
再初期化の動作を気に留めることなく、いつでも装置の
状態が正常に保たれる。
Thus, when there is no instruction operation or information input from the user for a predetermined time or more, the display screen is turned off, and then re-initialization is performed. Therefore, the user pays attention to the operation of re-initialization of the apparatus. Without this, the state of the device is always kept normal.

【0104】(8)本記憶手段初期化装置によれば、時
間計測手段により、所定時間以上ユーザからの指示操作
が無いことが計測された場合、あるいはユーザから終了
指示操作がなされた場合、初期化手段は、表示画面を消
去し、第1の記憶手段を初期化する。
(8) According to the storage means initializing device, when the time measuring means measures that there is no instruction operation from the user for a predetermined time or more, or when the user performs an end instruction operation, the initializing operation is started. The initialization means erases the display screen and initializes the first storage means.

【0105】これによって、ユーザの終了指示に応じて
表示画面を消去し、再初期化を行うため、ユーザが装置
を使用していない間に、装置の再初期化を行うことがで
きる。
As a result, the display screen is erased and re-initialized in response to the end instruction of the user, so that the apparatus can be re-initialized while the user is not using the apparatus.

【0106】なお、ここまで挙げた実施形態における内
容は、本発明の主旨を変えない限り、上記記載内容に限
定されるものではない。
The contents of the above-described embodiments are not limited to the contents described above unless the gist of the present invention is changed.

【0107】[0107]

【発明の効果】本発明における記憶手段初期化装置で
は、各請求項において以下の効果が得られる。
According to the storage means initializing device of the present invention, the following effects can be obtained in each claim.

【0108】本発明の請求項1においては、ユーザから
の指示操作入力が所定時間以上無かった場合、記憶手段
(RAM)を初期化するため、RAMをいつでも有効に
使用することができる。これにより、電子装置に搭載す
るRAMの容量を削減することができ、コストダウンを
図ることができる。また、メモリ不足エラーにより所望
の機能が使えなくなるといった不具合の発生を解消する
ことができる。また、電子装置の処理速度の低下を防ぐ
ことができる。
According to the first aspect of the present invention, when there is no instruction operation input from the user for a predetermined time or more, the storage means (RAM) is initialized, so that the RAM can be used effectively at any time. Thus, the capacity of the RAM mounted on the electronic device can be reduced, and the cost can be reduced. In addition, it is possible to eliminate a problem that a desired function cannot be used due to a memory shortage error. Further, a reduction in the processing speed of the electronic device can be prevented.

【0109】本発明の請求項2においては、前記効果に
加えて、再初期化を行う際に、RAMの一部の領域(メ
モリの断片化や解放忘れなどの起こりやすい領域:主メ
モリ)のみをクリアするため、消去したくないデータは
その他の領域に記憶させておくことにより、残しておく
ことができる。またこれにより、再初期化処理の処理時
間を削減することができる。
According to a second aspect of the present invention, in addition to the above effects, when reinitialization is performed, only a part of the RAM (an area in which fragmentation of the memory or forgetting to release the memory is likely to occur: main memory) is performed. In order to clear the data, the data that should not be erased can be left by storing it in another area. Thus, the processing time of the re-initialization processing can be reduced.

【0110】本発明の請求項3においては、前記効果に
加えて、ユーザが入力したデータがまだ保存されていな
い場合には再初期化を行わないため、入力中のデータが
消去されてしまうといったことがないという効果があ
る。
According to the third aspect of the present invention, in addition to the above-described effects, if the data input by the user has not been saved yet, re-initialization is not performed, so that the data being input is erased. There is no effect.

【0111】本発明の請求項4においては、前記効果に
加えて、再初期化する領域のRAMに記憶されているデ
ータの一部を別の記憶手段(記憶領域)に退避させた後
で再初期化を行うため、必要なデータが消去されてしま
うといったことがないという効果がある。
According to a fourth aspect of the present invention, in addition to the above effects, a part of the data stored in the RAM in the area to be reinitialized is saved in another storage means (storage area) and then re-initialized. Since the initialization is performed, there is an effect that necessary data is not erased.

【0112】本発明の請求項5においては、前記効果に
加えて、速度の遅い記憶手段にデータを記憶させる場
合、まず速度の速い記憶手段に記憶させ、その後任意の
タイミングまたは再初期化するタイミングで本来の速度
の遅い記憶手段へ記憶させるため、データの消失なし
に、ユーザの指示操作に対する処理速度の向上を図るこ
とができる。
According to a fifth aspect of the present invention, in addition to the above-described effects, when data is stored in a low-speed storage unit, the data is first stored in a high-speed storage unit, and thereafter, an arbitrary timing or a timing of re-initialization. Therefore, since the data is stored in the storage unit having the original low speed, the processing speed for the user's instruction operation can be improved without data loss.

【0113】本発明の請求項6および請求項7において
は、前記効果に加えて、再初期化する前にRAMの空き
容量(連続した空き容量)をチェックして、再初期化が
必要と判断したときのみ再初期化を行うので、不必要な
処理を行うことがないという効果がある。
According to the sixth and seventh aspects of the present invention, in addition to the above-mentioned effects, before re-initialization, the free space (continuous free space) of the RAM is checked to determine that re-initialization is necessary. Since the re-initialization is performed only when the processing is performed, there is an effect that unnecessary processing is not performed.

【0114】本発明の請求項8においては、前記効果に
加えて、所定時間以上ユーザからの入力がない場合、表
示画面を消灯し、その後再初期化を行うため、ユーザが
装置の再初期化の動作を気に留めることなく、いつでも
装置の状態が正常に保たれるという効果がある。
According to an eighth aspect of the present invention, in addition to the above-mentioned effects, when there is no input from the user for a predetermined time or more, the display screen is turned off and then re-initialized. There is an effect that the state of the device can be kept normal at any time without regard to the operation of the device.

【0115】本発明の請求項9においては、前記効果に
加えて、ユーザの終了指示に応じて表示画面を消去し、
再初期化を行うため、ユーザが装置を使用していない間
に、装置の再初期化を行うことができるという効果があ
る。
According to a ninth aspect of the present invention, in addition to the above effects, the display screen is erased in response to a user's termination instruction,
Since the re-initialization is performed, the device can be re-initialized while the user is not using the device.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の記憶手段初期化装置の一実施形態であ
る通信端末装置の外観図である。
FIG. 1 is an external view of a communication terminal device which is an embodiment of a storage device initialization device of the present invention.

【図2】本発明の一実施形態のハードウェアの機能ブロ
ック図である。
FIG. 2 is a functional block diagram of hardware according to an embodiment of the present invention.

【図3】本発明の一実施形態のメモリ(RAM/ROM
/補助記憶装置)の構成図である。
FIG. 3 shows a memory (RAM / ROM) according to an embodiment of the present invention;
FIG. 2 is a configuration diagram of a (/ auxiliary storage device).

【図4】本発明の一実施形態の処理の流れを示すメイン
フローチャートである。
FIG. 4 is a main flowchart showing the flow of processing according to an embodiment of the present invention.

【図5】本発明の一実施形態の主メモリの状態の遷移を
示した図である。
FIG. 5 is a diagram showing a state transition of a main memory according to an embodiment of the present invention.

【図6】本発明の一実施形態の画面表示例を示した図で
ある。
FIG. 6 is a diagram showing a screen display example according to an embodiment of the present invention.

【図7】本発明の一実施形態のその他ボタンの入力処理
の前半を示したフローチャートである。
FIG. 7 is a flowchart illustrating a first half of input processing of other buttons according to the embodiment of the present invention.

【図8】本発明の一実施形態のその他ボタンの入力処理
の後半を示したフローチャートである。
FIG. 8 is a flowchart showing the latter half of the input processing of the other buttons according to the embodiment of the present invention.

【図9】本発明の一実施形態のシステム初期化処理のフ
ローチャートである。
FIG. 9 is a flowchart of a system initialization process according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 CPU 2 ROM 3 RAM 4 補助記憶装置 5 表示装置 6 タッチパネル 7 計時装置 8 通信装置 Reference Signs List 1 CPU 2 ROM 3 RAM 4 Auxiliary storage device 5 Display device 6 Touch panel 7 Clock device 8 Communication device

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 情報を入力する入力手段と、 前記入力に応じて処理を行う処理手段と、 前記処理を行う際に必要な情報を記憶する記憶手段と、 時間を計測する時間計測手段と、 所定時間以上前記入力手段からの入力が無い場合、前記
記憶手段を初期化する初期化手段を備えてなることを特
徴とする記憶手段初期化装置。
An input unit for inputting information; a processing unit for performing a process in accordance with the input; a storage unit for storing information necessary for performing the process; a time measuring unit for measuring time; A storage unit initialization device, comprising: an initialization unit that initializes the storage unit when there is no input from the input unit for a predetermined time or more.
【請求項2】 請求項1記載の記憶手段初期化装置にお
いて、 記憶手段は、主メモリとして使用される記憶領域を含む
複数の記憶領域からなる第1の記憶手段を有し、 初期化手段は、所定時間以上入力手段からの入力が無い
場合、前記第1の記憶手段の主メモリとして使用される
記憶部のみを初期化することを特徴とする記憶手段初期
化装置。
2. The storage device initialization device according to claim 1, wherein the storage device has a first storage device including a plurality of storage regions including a storage region used as a main memory, A storage unit initializing unit that initializes only a storage unit used as a main memory of the first storage unit when there is no input from the input unit for a predetermined time or more.
【請求項3】 請求項1または2に記載の記憶手段初期
化装置において、 初期化手段は、所定時間以上入力手段からの入力が無い
場合、かつ入力手段からの入力に応じた処理が完了した
状態の場合、記憶手段を初期化することを特徴とする記
憶手段初期化装置。
3. The storage device initialization device according to claim 1, wherein the initialization device completes a process according to the input from the input device when there is no input from the input device for a predetermined time or more. A storage unit initializing device for initializing a storage unit in a state.
【請求項4】 請求項1乃至3のいずれか記載の記憶手
段初期化装置において、 記憶手段は、補助記憶として使用される記憶領域からな
る第2の記憶手段を有し、 初期化手段は、第1の記憶手段に記憶されている情報を
第2の記憶手段に退避させた後、前記第1の記憶手段を
初期化することを特徴とする記憶手段初期化装置。
4. The storage device initialization device according to claim 1, wherein the storage device has a second storage device including a storage area used as auxiliary storage, and the initialization device includes: A storage unit initializing device, wherein after the information stored in the first storage unit is saved in the second storage unit, the first storage unit is initialized.
【請求項5】 請求項1乃至4のいずれか記載の記憶手
段初期化装置において、 処理手段は、第2の記憶手段に情報を記憶させる場合、
まず第1の記憶手段に記憶した後、任意のタイミングま
たは初期化するタイミングで第2の記憶手段に記憶する
ことを特徴とする記憶手段初期化装置。
5. The storage unit initializing device according to claim 1, wherein the processing unit stores information in the second storage unit.
A storage device initializing device, wherein the storage device first stores the data in the first storage device and then stores the data in the second storage device at an arbitrary timing or a timing of initialization.
【請求項6】 請求項1乃至5のいずれか記載の記憶手
段初期化装置において、 初期化手段は、所定時間以上入力手段からの入力が無い
場合、かつ第1の記憶手段の空き容量が所定値以下の場
合、記憶手段を初期化することを特徴とする記憶手段初
期化装置。
6. The storage unit initializing device according to claim 1, wherein the initializing unit is configured to execute the operation when there is no input from the input unit for a predetermined time or more, and when the free space of the first storage unit is a predetermined amount. A storage unit initialization device, wherein the storage unit is initialized when the value is equal to or less than the value.
【請求項7】 請求項1乃至6のいずれか記載の記憶手
段初期化装置において、 初期化手段は、所定時間以上入力手段からの入力が無い
場合、かつ第1の記憶手段の連続した空き容量が所定値
以下の場合、記憶手段を初期化することを特徴とする記
憶手段初期化装置。
7. The storage unit initializing device according to claim 1, wherein the initializing unit is configured such that when there is no input from the input unit for a predetermined time or more, and when there is no continuous free space in the first storage unit. A memory means for initializing the storage means when is less than or equal to a predetermined value.
【請求項8】 請求項1乃至7のいずれか記載の記憶手
段初期化装置において、 初期化手段は、所定時間以上入力手段からの入力が無い
場合、表示画面を消去し、第1の記憶手段を初期化する
ことを特徴とする記憶手段初期化装置。
8. The storage device initialization device according to claim 1, wherein the initialization device erases the display screen when there is no input from the input device for a predetermined time or more. And a storage unit initialization device.
【請求項9】 請求項1乃至8のいずれか記載の記憶手
段初期化装置において、 初期化手段は、所定時間以上入力手段からの入力が無い
場合、あるいはユーザから終了指示操作がなされた場
合、表示画面を消去し、第1の記憶手段を初期化するこ
とを特徴とする記憶手段初期化装置。
9. The storage unit initializing device according to claim 1, wherein the initializing unit is configured to execute the operation when there is no input from the input unit for a predetermined time or more, or when an end instruction operation is performed by a user. A storage unit initializing device for erasing a display screen and initializing a first storage unit.
JP10254469A 1998-09-09 1998-09-09 Storage means initialization device Pending JP2000089859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10254469A JP2000089859A (en) 1998-09-09 1998-09-09 Storage means initialization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10254469A JP2000089859A (en) 1998-09-09 1998-09-09 Storage means initialization device

Publications (1)

Publication Number Publication Date
JP2000089859A true JP2000089859A (en) 2000-03-31

Family

ID=17265478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10254469A Pending JP2000089859A (en) 1998-09-09 1998-09-09 Storage means initialization device

Country Status (1)

Country Link
JP (1) JP2000089859A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006163687A (en) * 2004-12-06 2006-06-22 Nissan Motor Co Ltd System and method for controlling start of computer
JP2011088292A (en) * 2009-10-20 2011-05-06 Fuji Xerox Co Ltd Image forming apparatus, control device, and program
JP2013222394A (en) * 2012-04-18 2013-10-28 Canon Inc Information processing apparatus, control method therefor, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006163687A (en) * 2004-12-06 2006-06-22 Nissan Motor Co Ltd System and method for controlling start of computer
JP2011088292A (en) * 2009-10-20 2011-05-06 Fuji Xerox Co Ltd Image forming apparatus, control device, and program
JP2013222394A (en) * 2012-04-18 2013-10-28 Canon Inc Information processing apparatus, control method therefor, and program

Similar Documents

Publication Publication Date Title
KR100593982B1 (en) Apparatus and method for providing virtual graffiti and a recording medium thereof
US20040030943A1 (en) Terminal device having power saving mode and folding mechanism enabling open/close motion of the same
JPH1074217A (en) Schedule management system and storage medium using communication line
JPH10243080A (en) Telephone number database for telephone system
JP2012014429A (en) Information processing device, its control method and program
CN108804164A (en) Data rendering method, device, mobile terminal and the storage medium of small routine
JP2000089859A (en) Storage means initialization device
JP2002254775A (en) Image forming device
KR100297745B1 (en) Connection-cut web phone and method thereof
JP2000112612A (en) Electronics
US6587033B1 (en) Message display control in selective call receiver
JP4411772B2 (en) Facsimile machine
KR0169423B1 (en) Modified dialing method in keyphone system
JP2000298543A (en) Browser display device and recording medium for realizing functions of the device
JP2001125921A (en) Electronic book device, electronic book data processing method, and storage medium
JP2002099484A (en) Message display device, message display method and record medium
JP2007086213A (en) Image processing apparatus, portable device, image display method, image display program, and image display system
JPH0520275A (en) Compact information terminal equipment
JP2002099508A (en) Terminal device
KR101196742B1 (en) Method for hierarchical user interface using multi demensional graphic in mobile communication terminal
JP2002207539A (en) Information terminal device, system off processing method thereof, and program therefor
KR100195006B1 (en) Selective Storage Method of Receiving Information of Portable Information Terminal Equipment
JP3454054B2 (en) Internet information display device
JP2849081B2 (en) Facsimile machine
JPH0855004A (en) Data display