Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5722072B2 - Mail terminal device and mail client program - Google Patents
[go: Go Back, main page]

JP5722072B2 - Mail terminal device and mail client program - Google Patents

Mail terminal device and mail client program Download PDF

Info

Publication number
JP5722072B2
JP5722072B2 JP2011032574A JP2011032574A JP5722072B2 JP 5722072 B2 JP5722072 B2 JP 5722072B2 JP 2011032574 A JP2011032574 A JP 2011032574A JP 2011032574 A JP2011032574 A JP 2011032574A JP 5722072 B2 JP5722072 B2 JP 5722072B2
Authority
JP
Japan
Prior art keywords
message
volatile memory
mail
client program
account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011032574A
Other languages
Japanese (ja)
Other versions
JP2012160152A5 (en
JP2012160152A (en
Inventor
高秀 等々力
高秀 等々力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aplix IP Holdings Corp
Original Assignee
Aplix IP Holdings 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 Aplix IP Holdings Corp filed Critical Aplix IP Holdings Corp
Priority to JP2011032574A priority Critical patent/JP5722072B2/en
Publication of JP2012160152A publication Critical patent/JP2012160152A/en
Publication of JP2012160152A5 publication Critical patent/JP2012160152A5/ja
Application granted granted Critical
Publication of JP5722072B2 publication Critical patent/JP5722072B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、メール端末装置およびメールクライアントプログラムに関するものである。  The present invention relates to a mail terminal device and a mail client program.

コンピュータネットワークを利用してメッセージを交換する方法として、電子メールは広く利用されている。また携帯電話端末ではSMS(Short Message Service)、MMS(Multimedia Messaging Service)といったメッセージを交換するサービスが同じ通信事業者の契約端末間で提供されており、さらに携帯電話端末とインターネットに接続されたコンピュータまたは他通信事業者の契約端末との間では電子メールを交換することも広く行われている。  E-mail is widely used as a method for exchanging messages using a computer network. Also, mobile phone terminals provide services for exchanging messages such as SMS (Short Message Service) and MMS (Multimedia Messaging Service) between contract terminals of the same carrier, and computers connected to the mobile phone terminal and the Internet. Alternatively, exchanging electronic mails with contract terminals of other communication carriers is also widely performed.

個々のローカルネットワーク内で独自の通信方式(プロトコル)によって運用されていた電子メールは、インターネットが普及することにより、TCP/IPネットワーク上でSMTP(Send Mail Transfer Protocol)、POP(Post Office Protocol)、IMAP(Internet Message Access Protocol)、MIME(Multipurpose Internet Mail Extensions)等のRFCで定められた共通のプロトコルによって運用されている。  E-mails that have been operated by individual communication methods (protocols) in individual local networks are spread on the TCP / IP network as the Internet spreads, so that SMTP (Send Mail Transfer Protocol), POP (Post Office Protocol), It is operated by a common protocol defined by RFC, such as IMAP (Internet Message Access Protocol) and MIME (Multipurpose Internet Mail Extensions).

携帯電話端末の電子メールも基本的には同様のプロトコルに沿って運用されているが、移動体通信事業者が提供しているネットワークやサービスに対応するため独自の拡張および修正が加えられている場合もある。  The e-mail of mobile phone terminals is basically operated according to the same protocol, but has been expanded and modified in order to support networks and services provided by mobile carriers. In some cases.

特開平1997−261344公報Japanese Patent Laid-Open No. 1997-261344

携帯電話端末でメッセージの作成、送受信、閲覧および管理を実現するためには、携帯電話端末上でMUA(Mail User Agent)のプログラム(以下、メーラー、メールクライアントと称する場合がある)を実行する必要がある。しかしながら、携帯電話端末はパーソナルコンピュータやサーバコンピュータ等の汎用コンピュータと比べて処理能力やメモリ容量が制限されており、またメモリの構成も異なっている。このため、携帯電話端末用のメールクライアントでは、携帯電話端末に固有の問題が生じる場合がある。  In order to create, send, receive, view and manage messages on a mobile phone terminal, it is necessary to execute a MUA (Mail User Agent) program (hereinafter sometimes referred to as a mailer or mail client) on the mobile phone terminal. There is. However, the cellular phone terminal is limited in processing capacity and memory capacity as compared with general-purpose computers such as personal computers and server computers, and the memory configuration is also different. For this reason, in a mail client for a mobile phone terminal, a problem specific to the mobile phone terminal may occur.

例えば携帯電話のフラッシュメモリに電子メールのメッセージを蓄積すると、メッセージ一覧を表示するにはフラッシュメモリに格納された大量のデータを読み出す処理が必要となる。このためフラッシュメモリの読み書き速度が低速な場合、ユーザがメッセージ一覧を表示するためのコマンドを入力してから一覧画面が表示されるまでの間にタイムラグが発生し、ユーザのコマンド入力に対するレスポンスが遅延して快適に操作することが難しくなる。  For example, when e-mail messages are stored in the flash memory of a mobile phone, a process of reading a large amount of data stored in the flash memory is required to display the message list. For this reason, when the read / write speed of the flash memory is low, a time lag occurs between the time when the user enters a command to display the message list and the time when the list screen is displayed, and the response to the user's command input is delayed. It becomes difficult to operate comfortably.

また、携帯電話端末のプラットフォームにデータベースAPIが組み込まれている場合には、データベースAPIを利用することによりメッセージやアドレスのデータ管理を簡単に行うことが可能である。しかし、データベースAPIを利用することは関数の実行を介在させることになるため、データベースAPIの使用もコマンド入力から画面表示までのレスポンスを遅延させる要因となる。  Further, when a database API is incorporated in the platform of the mobile phone terminal, it is possible to easily manage data of messages and addresses by using the database API. However, since the use of the database API intervenes the execution of the function, the use of the database API also causes a delay in response from command input to screen display.

そこで本発明は、大量のメッセージがフラッシュメモリに蓄積されていてもレスポンス良くメッセージ一覧画面を表示することの可能なメール端末装置およびメールクライアントプログラムを提供することを目的とする。さらに、データベースとしてメッセージが管理されていてもレスポンス良くメッセージ一覧画面を表示することの可能なメール端末装置およびメールクライアントプログラムを提供することを目的とする。  Accordingly, an object of the present invention is to provide a mail terminal device and a mail client program that can display a message list screen with good response even when a large number of messages are stored in a flash memory. It is another object of the present invention to provide a mail terminal device and a mail client program that can display a message list screen with good response even if messages are managed as a database.

上記課題を解決するために、本発明の第1の観点は、メールクライアントプログラムが格納された書き込み可能な不揮発性メモリと、揮発性メモリと、処理装置と、表示装置とを備えたメール端末装置である。
このメール端末装置に用いられる処理装置は、メールクライアントプログラムを実行することにより、ヘッダ情報およびボディ情報からなるメッセージを、不揮発性メモリ上に設けられたアカウント毎のデータベースであるメールボックス蓄積し、メールクライアントプログラムの起動時に、デフォルトに設定されているアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を揮発性メモリにキャッシュする。そして、揮発性メモリにキャッシュされたヘッダ情報を表示装置に表示させることを特徴とする。
また、この処理装置は、メールクライアントプログラムの起動時に、いずれのアカウントもデフォルトに設定されていない場合には、メールクライアントプログラムの起動後に選択されたアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を揮発性メモリにキャッシュすることを特徴とする。
また、この処理装置は、メールクライアントプログラムの起動後にアカウントが切り替えられた場合には、当該切り替え前に揮発性メモリにキャッシュされた内容を破棄し、切り替え後のアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を揮発性メモリにキャッシュすることを特徴とする。
In order to solve the above problems, a first aspect of the present invention is to provide a mail terminal apparatus including a writable nonvolatile memory storing a mail client program, a volatile memory, a processing device, and a display device. It is.
The processing device used for this mail terminal device, by executing a mail client program, accumulates messages consisting of header information and body information in a mailbox that is a database for each account provided on the nonvolatile memory, When starting the mail client program, a message is acquired from the mailbox of the account set as a default, and the header information of the acquired message is cached in volatile memory. The header information cached in the volatile memory is displayed on the display device.
In addition, this processing device acquires a message from the mailbox of the account selected after the mail client program is started if no account is set as the default when the mail client program is started. The header information of the received message is cached in a volatile memory.
In addition, when the account is switched after the mail client program is started, this processing device discards the contents cached in the volatile memory before the switching and acquires a message from the mailbox of the account after the switching. Thus, the header information of the acquired message is cached in a volatile memory.

このメール端末装置の構成においては、メールボックスから揮発性メモリにキャッシュするメッセージの件数に上限値を設けることが好適である。また、メールボックスから揮発性メモリにキャッシュする容量に上限値を設けることが好適である。 In the configuration of this mail terminal device, it is preferable to set an upper limit for the number of messages cached from the mailbox to the volatile memory. It is also preferable to set an upper limit for the capacity cached from the mailbox to the volatile memory.

また、処理装置は、メールクライアントプログラムを実行することにより、メールボックスから取得したメッセージのボディ情報を不揮発性メモリ上のファイルに格納し、不揮発性メモリ上の当該ファイルに格納されたボディ情報を表示装置に表示させる構成としても良い。 Further, processing apparatus, by executing a mail client program, stores the body information of the message acquired from the mail box in a file in the nonvolatile memory, Bo Di information stored in the file of the nonvolatile memory May be displayed on the display device.

また、本発明の第2の観点は、書き込み可能な不揮発性メモリと、揮発性メモリと、処理装置と、表示装置とを備えたメール端末装置で実行されるメールクライアントプログラムである。このプログラムは、処理装置に、ヘッダ情報およびボディ情報からなるメッセージを、不揮発性メモリ上に設けられたアカウント毎のデータベースであるメールボックス蓄積るステップと、当該メールクライアントプログラムの起動時に、デフォルトに設定されているアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を揮発性メモリにキャッシュするステップと、揮発性メモリにキャッシュされたヘッダ情報を表示装置に表示させるステップとを実行させることを特徴とする。
また、このプログラムにおいて、揮発性メモリにキャッシュするステップは、当該メールクライアントプログラムの起動時に、いずれのアカウントもデフォルトに設定されていない場合には、当該メールクライアントプログラムの起動後に選択されたアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を揮発性メモリにキャッシュすることを特徴とする。
また、このプログラムにおいて、揮発性メモリにキャッシュするステップは、当該メールクライアントプログラムの起動後にアカウントが切り替えられた場合には、当該切り替え前に揮発性メモリにキャッシュされた内容を破棄し、切り替え後のアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を揮発性メモリにキャッシュすることを特徴とする。
A second aspect of the present invention is a mail client program that is executed by a mail terminal device that includes a writable nonvolatile memory, a volatile memory, a processing device, and a display device. This program causes the processor, a message consisting of the header information and body information, and Luz step be accumulated in the mail box is a database for each account provided on the nonvolatile memory, when starting of the mail client program, retrieving messages from the account of the mail box is set to the default, view the header information of the acquired message cache to Luz step in a volatile memory, a display device header information cached in the volatile memory characterized in that to execute the automatic answering step is.
In this program, the step of caching in the volatile memory is that the mail of the account selected after the mail client program is started if no account is set as default when the mail client program is started. A message is acquired from a box, and header information of the acquired message is cached in a volatile memory.
In this program, the step of caching in the volatile memory is to discard the contents cached in the volatile memory before the switching when the account is switched after the mail client program is started. A message is acquired from an account mailbox, and header information of the acquired message is cached in a volatile memory.

上述のプログラムにおいて、揮発性メモリにキャッシュするステップでは、メールボックスから揮発性メモリにキャッシュするメッセージの件数に上限値を設けることが好適である。また、揮発性メモリにキャッシュするステップでは、メールボックスから揮発性メモリにキャッシュする容量に上限値を設けることが好適である。 In the above program, in the step of caching in the volatile memory, it is preferable to set an upper limit on the number of messages cached from the mailbox to the volatile memory. Further, in the step of caching the volatile memory, it is preferable that the capacity of the cache from the mailbox to the volatile memory an upper limit value.

また、処理装置に、メールボックスから取得したメッセージのボディ情報を不揮発性メモリ上のファイルに格納るステップを実行させ、表示装置に表示させるステップでは、不揮発性メモリ上のファイルに格納されたボディ情報を表示装置に表示させる構成としても良い。 Further, the processing apparatus, the body information of the message acquired from the mail box to execute the automatic answering step to store the file in the nonvolatile memory, in the step of causing the display on the display device, stored in a file in the nonvolatile memory Bo di information may be configured to be displayed on the display device.

本発明のメール端末装置およびメールクライアントプログラムによれば、書き換え可能な不揮発性メモリ上に設けられたアカウント毎のデータベースであるメールボックスヘッダ情報およびボディ情報からなるメッセージを蓄積し、メールクライアントプログラムの起動時に、デフォルトに設定されているアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を揮発性メモリにキャッシュするステップと、揮発性メモリにキャッシュされたヘッダ情報を表示装置に表示するステップとが実行される。したがって、コマンド入力から表示までの間には、アクセス速度の遅い書き換え可能な不揮発性メモリ(フラッシュメモリ)に対するアクセスが大量に発生することはなく、より高速な揮発性メモリ(RAM)からメッセージのヘッダ情報を読み出してレスポンス良く表示を行うことができる。 According to the mail terminal device and the mail client program of the present invention, a message composed of header information and body information is stored in a mailbox that is a database for each account provided on a rewritable nonvolatile memory . At startup, a message is acquired from the account mailbox set as default, and the header information of the acquired message is cached in the volatile memory, and the header information cached in the volatile memory is stored in the display device. The displaying step is executed. Therefore, a large amount of access to the rewritable nonvolatile memory (flash memory) having a low access speed does not occur between the command input and the display, and the message header is sent from the faster volatile memory (RAM). Information can be read and displayed with good response.

ここで、最新のメッセージから所定件数のメッセージをキャッシュ対象とすること、および/または、最新のメッセージから所定容量を超えないようにメッセージをキャッシュ対象とすれば、揮発性メモリの消費量やキャッシュ処理のオーバーヘッドが過大とならないように抑制することできる。 Here, be cached messages of a predetermined number from the most recent message, and / or, if the message as the most recent message does not exceed a predetermined capacity and cached, the consumption of the volatile memory Ya The cache processing overhead can be suppressed so as not to become excessive.

また、本発明をヘッダ情報およびボディ情報からなるメッセージアカウント毎のデータベースであるメールボックスに蓄積されているメール端末装置およびメールクライアントプログラムに適用した場合には、揮発性メモリにキャッシュされたヘッダ情報を、データベースAPIを介在させずに読み出すことが可能となり、これによりデータベースAPIを介在させるオーバーヘッドを軽減することができる。 Further, when the present invention is applied to a mail terminal device and a mail client program in which a message including header information and body information is stored in a mailbox that is a database for each account , header information cached in a volatile memory and it is possible to read back without interposing a database API, thereby making it possible to reduce the overhead of interposing the database API.

この場合には、さらにメッセージのヘッダ情報の一部を揮発性メモリにキャッシュし、ボディ情報は不揮発性メモリ上のファイルに蓄積して、当該ファイルに蓄積されたメッセージのボディ情報を表示装置に表示することが好適である。メッセージのボディ情報はヘッダ情報と比べてサイズが大きく揮発性メモリの容量的にキャッシュすることが難しい場合もあるが、不揮発性メモリ上にファイルとして保持することで少なくともデータベースAPIを使用することなくボディ情報を読み出して表示することが可能となる。 In this case, caches part of the header information of the message to further the volatile memory, the body information is accumulated in a file in the nonvolatile memory, the display device body information of the stored message to the file It is preferable to display on the screen. The body information of the message is larger than the header information and may be difficult to cache due to the capacity of the volatile memory, but the body information can be stored as a file on the nonvolatile memory without using at least the database API. Information can be read and displayed.

本発明の一実施形態にかかる端末装置のハードウェアブロック図である。  It is a hardware block diagram of the terminal device concerning one embodiment of the present invention. 本発明の一実施形態にかかる端末装置のソフトウェアブロック図である。  It is a software block diagram of the terminal device concerning one Embodiment of this invention. メールクライアントプログラムのブロック図である。  It is a block diagram of a mail client program. (a)はフォルダ一覧表示部画面の一例、(b)メッセージ一覧表示画面の一例、(c)メッセージ個別表示画面の一例、(d)メッセージ一覧表示画面の別の例をそれぞれ示す図面である。  (A) is a drawing showing an example of a folder list display section screen, (b) an example of a message list display screen, (c) an example of a message individual display screen, and (d) another example of a message list display screen. (a)はメッセージのデータ構造の一例を示す図面であり、(b)はデータ構造の別の例を示す図面である。  (A) is drawing which shows an example of the data structure of a message, (b) is drawing which shows another example of a data structure. メール端末装置の動作例を示したフローチャートである。  It is the flowchart which showed the operation example of the mail terminal device. キャッシュ処理の動作例を示したフローチャートである。  It is the flowchart which showed the operation example of the cache process.

以下、本発明にかかるメール端末装置およびプログラムの実施の形態について説明する。図1は本発明にかかるメール端末装置の一実施形態である通信端末装置100のハードウェアブロック図である。この図では、標準的なハードウェア構成について示しており、機能ブロックの一部には本発明と関係ないものも併せて示されている。図1に示すように、この通信端末装置100は、主として、処理装置であるアプリケーションプロセッサ101およびベースバンドプロセッサ102と、アプリケーションプロセッサ101に接続されたバッテリー103、揮発性メモリであるRAM104、書き込み可能な不揮発性メモリであるフラッシュメモリ105、メモリーカード端子106、GPSトランシーバ108、WiFi/Bluetoothトランシーバ109、キーパッド/ボタン110、LCD/タッチパネル111、マイク112、スピーカ113、USB端子114およびカメラ115と、ベースバンドプロセッサ102に接続されたトランシーバ/USIM107とから構成されている。以下、これらの構成について説明する。  Embodiments of a mail terminal device and a program according to the present invention will be described below. FIG. 1 is a hardware block diagram of a communication terminal device 100 which is an embodiment of a mail terminal device according to the present invention. This figure shows a standard hardware configuration, and some of the functional blocks are also shown that are not related to the present invention. As shown in FIG. 1, this communication terminal device 100 mainly includes an application processor 101 and a baseband processor 102 as processing devices, a battery 103 connected to the application processor 101, a RAM 104 as volatile memory, and a writable memory. Flash memory 105 which is a nonvolatile memory, memory card terminal 106, GPS transceiver 108, WiFi / Bluetooth transceiver 109, keypad / button 110, LCD / touch panel 111, microphone 112, speaker 113, USB terminal 114 and camera 115, base A transceiver / USIM 107 connected to the band processor 102 is included. Hereinafter, these configurations will be described.

アプリケーションプロセッサ101はMPUないしCPUであり、バッテリー103から電力の供給を受けて後述するフラッシュメモリ105に格納されたプログラムを実行することにより種々の機能を実現する部である。ベースバンドプロセッサ102は、無線通信の基本的な機能を実現するための信号処理を行うプロセッサである。これらアプリケーションプロセッサ101およびベースバンドプロセッサ102は一つのチップセットとして構成してもよいし、両者の機能を一つのプロセッサに統合したものであっても構わない。  The application processor 101 is an MPU or CPU, and is a unit that implements various functions by receiving power supplied from the battery 103 and executing a program stored in a flash memory 105 described later. The baseband processor 102 is a processor that performs signal processing for realizing basic functions of wireless communication. The application processor 101 and the baseband processor 102 may be configured as one chip set, or the functions of both may be integrated into one processor.

バッテリー103は、各機能ブロックに電力を供給する部であり、必要に応じてバッテリーを制御するコントローラチップが併用される。  The battery 103 is a unit that supplies power to each functional block, and a controller chip that controls the battery is used in combination as necessary.

RAM104は、揮発性メモリでありSRAMやPSRAM、各種DRAM等の半導体記憶装置が採用される。フラッシュメモリ105は、書き換え可能な不揮発性メモリであって、NAND型であってもNOR型であってもよいし他の形式であっても構わない。RAM104とフラッシュメモリ105とを比較すると、その読み出し時間および書き込み時間はいずれもRAM104がより高速である。また、通信端末装置100にはメモリーカード端子106が設けられており、小型のフラッシュメモリモジュールを外部メモリとして接続することが可能である。  The RAM 104 is a volatile memory and employs a semiconductor storage device such as SRAM, PSRAM, and various DRAMs. The flash memory 105 is a rewritable nonvolatile memory, and may be a NAND type, a NOR type, or another type. Comparing the RAM 104 and the flash memory 105, the RAM 104 is faster in both reading time and writing time. In addition, the communication terminal device 100 is provided with a memory card terminal 106, and a small flash memory module can be connected as an external memory.

フラッシュメモリ105には、アプリケーションプロセッサ101およびベースバンドプロセッサ102で実行することにより通信端末装置100で所定の機能を実現するための種々のプログラムおよびデータが格納されている。これらのプログラムおよび/またはデータは必要に応じてRAM104にロードされ、RAM104上に確保されたヒープメモリを利用して実行される。  The flash memory 105 stores various programs and data for realizing predetermined functions in the communication terminal device 100 by being executed by the application processor 101 and the baseband processor 102. These programs and / or data are loaded into the RAM 104 as necessary, and are executed using a heap memory secured on the RAM 104.

トランシーバ/USIM107はベースバンドプロセッサ102と接続されており、装着されたUSIM(Universal Subscriber Identity Module)すなわち汎用加入者識別モジュールの情報に基づいて、ベースバンドプロセッサ102の制御により所定電波帯域で電波を送受信して通信を行う回路である。本実施形態における通信端末装置100は、ベースバンドプロセッサ102とトランシーバ/USIM107により移動体通信網に接続して通信を行う構成となっている。  The transceiver / USIM 107 is connected to the baseband processor 102, and transmits / receives radio waves in a predetermined radio wave band under the control of the baseband processor 102 based on information of the installed USIM (Universal Subscriber Identity Module), that is, a general-purpose subscriber identification module. This is a circuit that performs communication. The communication terminal device 100 according to the present embodiment is configured to perform communication by connecting to a mobile communication network using a baseband processor 102 and a transceiver / USIM 107.

GPSトランシーバ108は、通信端末装置100の位置情報を取得するGPS信号を受信するための部であり、WiFi/Bluetoothトランシーバ109はIEEE802.11a,IEEE802,11b,IEEE802.11g,IEEE802.11n等で規定されたWiFi(無線LAN)技術を利用した通信およびIEEE802.15.1およびBluetooth規格で規定されたBluetooth技術を利用した通信を行う回路である。これらの回路は互いに独立したチップとして実装しても良いし、双方の回路を一つのチップに実装した構成であっても構わない。  The GPS transceiver 108 is a unit for receiving a GPS signal for acquiring position information of the communication terminal device 100. The WiFi / Bluetooth transceiver 109 is defined by IEEE802.11a, IEEE802.11b, IEEE802.11g, IEEE802.11n, and the like. This is a circuit for performing communication using the established WiFi (wireless LAN) technology and communication using the Bluetooth technology defined by IEEE 802.15.1 and the Bluetooth standard. These circuits may be mounted as chips independent of each other, or a configuration in which both circuits are mounted on one chip may be used.

キーパッド/ボタン110は、通信端末装置100の筐体に設けられた入力装置であって、後述するLCD/タッチパネル111とともにユーザが通信端末装置100を操作するための入力を受け付ける。  The keypad / button 110 is an input device provided in the housing of the communication terminal device 100 and accepts an input for the user to operate the communication terminal device 100 together with an LCD / touch panel 111 described later.

LCD/タッチパネル111は、タッチパネル機能を備えた液晶ディスプレイ装置であって、通信端末装置100はLCD/タッチパネル111の画面にアプリケーションの情報を表示するとともにGUI(Graphical User Interface)を表示してユーザの操作に供する。  The LCD / touch panel 111 is a liquid crystal display device having a touch panel function, and the communication terminal device 100 displays application information on the screen of the LCD / touch panel 111 and displays a GUI (Graphical User Interface). To serve.

さらに、マイク112およびスピーカ113は通信端末装置100で音声の入出力を実現し、USB114は通信端末装置100を別の機器に接続してデータを送受信したり機能を制御したりするために使用される。また、カメラ115は、通信端末装置100で写真撮影する機能を提供する。  Furthermore, the microphone 112 and the speaker 113 realize voice input / output in the communication terminal apparatus 100, and the USB 114 is used to connect the communication terminal apparatus 100 to another device to transmit / receive data and control functions. The In addition, the camera 115 provides a function of taking a picture with the communication terminal device 100.

次に、以上のように構成された通信端末装置100のフラッシュメモリ105に格納されたプログラムの構成について概略を説明する。図2は、通信端末装置100の全体的なプログラム構成を示す図面である。
図2に示すように通信端末装置100のプログラム構成は、主として、オペレーティングシステム200、ミドルウェア202およびアプリケーション207の3層からなっている。これらのプログラムはフラッシュメモリ105に格納されており、実行時には必要に応じてRAM104を使用してアプリケーションプロセッサ101および/またはベースバンドプロセッサ102により実行されることにより各種機能を実現するものである。
Next, an outline of the configuration of the program stored in the flash memory 105 of the communication terminal device 100 configured as described above will be described. FIG. 2 is a diagram showing an overall program configuration of the communication terminal apparatus 100.
As shown in FIG. 2, the program configuration of the communication terminal device 100 is mainly composed of three layers: an operating system 200, middleware 202, and an application 207. These programs are stored in the flash memory 105, and at the time of execution, various functions are realized by being executed by the application processor 101 and / or the baseband processor 102 using the RAM 104 as necessary.

オペレーティングシステム200は、ハードウェアを制御するためのデバイスドライバ201を内蔵しており、ミドルウェア202およびアプリケーション207に入出力の制御、メモリ管理、プロセス管理等といったコンピュータシステムとしての基本的な機能を提供する。  The operating system 200 includes a device driver 201 for controlling hardware, and provides basic functions as a computer system such as input / output control, memory management, and process management to the middleware 202 and the application 207. .

ミドルウェア202は、例えばグラフィック処理を行うグラフィックライブラリ203、HTMLファイルのレンダリング処理を行うHTMLレンダリングエンジン204、データベースを管理するためのデータベースAPIを提供するデータベース管理システム205、Unix系OSにおけるIibcに代表される標準ライブラリ206を含み、アプリケーション207が利用する汎用的な機能を提供する。ここで、通信端末100でJava(登録商標)アプリケーションのように実行環境を必要とするプログラムを実行する場合には、ミドルウェア202として当該実行環境を実装する。  The middleware 202 is represented by, for example, a graphic library 203 that performs graphic processing, an HTML rendering engine 204 that performs rendering processing of HTML files, a database management system 205 that provides a database API for managing a database, and Iibc in a Unix-based OS. The standard library 206 is included, and general-purpose functions used by the application 207 are provided. Here, when the communication terminal 100 executes a program that requires an execution environment such as a Java (registered trademark) application, the execution environment is mounted as the middleware 202.

アプリケーション207は、Webページを取得してHTMLレンダリングエンジン204で作成した画面を表示するブラウザ208、後述するメールクライアントプログラム209、電話機能を提供する電話アプリケーション210等を含み、通信端末装置100のユーザに各種機能を提供するものである。  The application 207 includes a browser 208 that acquires a Web page and displays a screen created by the HTML rendering engine 204, a mail client program 209, which will be described later, a telephone application 210 that provides a telephone function, and the like. It provides various functions.

以下、メールクライアントプログラム209について説明する。図3はメールクライアントプログラム209のソフトウェアブロック図に、フラッシュメモリ105に格納されたデータ類を併せて示した図面である。図3に示すようにメールクライアントプログラム209は、主としてメニュー表示部221、アカウント設定管理部222、アドレス管理部223、メッセージ管理部227およびキャッシュ管理部234から構成される。なお、図3には全ての機能ブロックがRAM104に配置された状態を示しているが、各機能ブロックは必要なタイミングでフラッシュメモリ105からロードされる構成としても構わない。また、データ類は、データベース管理システム205で管理されたアカウント情報241、アドレスデータ部242、メールボックスA243およびメールボックスB244(以下、メッセージボックスと総称する場合がある)と、ボディ情報格納ファイル250を含んでいる。  Hereinafter, the mail client program 209 will be described. FIG. 3 is a drawing showing the software block diagram of the mail client program 209 together with the data stored in the flash memory 105. As shown in FIG. 3, the mail client program 209 mainly includes a menu display unit 221, an account setting management unit 222, an address management unit 223, a message management unit 227, and a cache management unit 234. Although FIG. 3 shows a state in which all functional blocks are arranged in the RAM 104, each functional block may be loaded from the flash memory 105 at a necessary timing. The data includes the account information 241, the address data part 242, the mail box A 243 and the mail box B 244 (hereinafter may be collectively referred to as a message box) managed by the database management system 205, and the body information storage file 250. Contains.

フォルダ一覧表示部221は、起動後に表示される画面をなすブロックであり、デフォルトに設定されているアカウントのメールボックスについて、設定されているフォルダの一覧を表示してユーザの選択に供する。また、アカウント切り替え、設定、メール作成、アドレス帳表示の各機能を呼び出すためのUIを併せて画面に表示する。図4(a)にフォルダ一覧表示部221のなす画面の一例を示す。  The folder list display unit 221 is a block that forms a screen that is displayed after activation, and displays a list of folders that have been set for the mailbox of the account that is set as a default for selection by the user. A UI for calling account switching, setting, mail creation, and address book display functions is also displayed on the screen. FIG. 4A shows an example of a screen formed by the folder list display unit 221.

アカウント設定管理部222は、フォルダ一覧表示部表示部221のなす画面からアカウントの切り替えのUIまたは設定のUIを操作することで呼び出され、アカウント一覧を表示してユーザの選択したものにアカウントを切り替える機能、アカウントの設定を行う機能を提供する。アカウント管理部222が設定管理するユーザのアカウント情報は、データベース管理システム205によって管理されたアカウント情報部241に保存される。  The account setting management unit 222 is called by operating the account switching UI or the setting UI from the screen formed by the folder list display unit display unit 221, and displays the account list to switch the account to the one selected by the user. Provide functions and account settings. User account information set and managed by the account management unit 222 is stored in the account information unit 241 managed by the database management system 205.

アドレス管理部223は、フォルダ一覧表示部表示部221のなす画面からアドレス帳表示のUIを操作することで呼び出され、登録されたアドレスの一覧を表示するアドレス一覧表示部224、登録されたアドレスを個別に画面に表示するアドレス個別表示部225、アドレスの追加および登録されたアドレスの修正を行うアドレス追加修正部226を備え、アドレス帳に登録されたデータの利用および管理する処理を行う。アドレス管理部223が管理するアドレス帳のデータは、データベース管理システム205によって管理されたアドレスデータ部242に保存される。  The address management unit 223 is called by operating the UI for address book display from the screen formed by the folder list display unit display unit 221, and displays an address list display unit 224 that displays a list of registered addresses. An address individual display unit 225 for individually displaying on a screen and an address addition / modification unit 226 for adding an address and modifying a registered address are provided, and processing for using and managing data registered in the address book is performed. The address book data managed by the address management unit 223 is stored in the address data unit 242 managed by the database management system 205.

メッセージ管理部227は、メッセージ(メールクライアントプログラム209が作成ないし送受信した個々のメールをいう)を一覧表示するメッセージ一覧表示部232およびメッセージを個別に表示するメッセージ個別表示部233を有するメッセージ表示部228、新規メッセージの作成編集を行うメッセージ作成編集部229、メールサーバに接続してメッセージの送信を行うメッセージ送信部230、メールサーバに接続してメッセージの受信を行うメッセージ受信部231を備え、これらにより新規メールを作成して送信し、新規メールを受信して管理し、また画面に表示する処理を行う。ここで、図4(b)はメッセージ一覧表示部232が表示する画面の一例であり、図4(c)はメッセージ個別表示部233が表示する画面の一例である。メッセージ管理部227が管理するメッセージを蓄積したメールデータは、データベース管理システム205によって管理されたメールボックスに保存されている。  The message management unit 227 includes a message display unit 228 including a message list display unit 232 that displays a list of messages (referred to as individual emails created or transmitted / received by the mail client program 209) and a message individual display unit 233 that displays messages individually. A message creation / editing unit 229 for creating and editing a new message, a message sending unit 230 for sending a message by connecting to a mail server, and a message receiving unit 231 for receiving a message by connecting to the mail server. Create and send new mail, receive and manage new mail, and display it on the screen. Here, FIG. 4B is an example of a screen displayed by the message list display unit 232, and FIG. 4C is an example of a screen displayed by the message individual display unit 233. Mail data storing messages managed by the message management unit 227 is stored in a mailbox managed by the database management system 205.

以下、メッセージ管理部227が管理するメッセージおよびメールボックスのデータ形式について説明する。メールクライアントプログラムが送受信するメッセージは電子メールとして標準的なデータ形式をとるものであり、その構造は図5(a)および(b)に示す通りである。図5(a)は添付ファイルが無いテキストメールのデータ構造を示しており、この場合のメッセージはヘッダ情報と、本文からなるボディ情報とが空行により分離された構造となっている。これに対して図5(b)はファイルの添付されたマルチパートメールのデータ構造を示しており、この場合のメッセージはヘッダ情報と、本文のパートと添付ファイルのパートからなるボディ情報とが空行により分離された構造となっている。  Hereinafter, the data format of messages and mailboxes managed by the message management unit 227 will be described. A message transmitted and received by the mail client program takes a standard data format as an electronic mail, and its structure is as shown in FIGS. 5 (a) and 5 (b). FIG. 5A shows the data structure of a text mail without an attached file, and the message in this case has a structure in which header information and body information consisting of a body are separated by a blank line. On the other hand, FIG. 5B shows the data structure of a multipart mail to which a file is attached. In this case, the message has empty header information and body information consisting of a body part and an attached file part. The structure is separated by lines.

メッセージ管理部227は、このようなメッセージから、受信した形態が(T0,CC,BCC)のいずれかであるかを示す受信タイプ、Uid、タイトル、受信日、送信日、送信元、返信先、ボディ情報、コンテンツ形式およびMIMEタイプ等を抽出ないし判断し、さらにメッセージを格納するデータベース名、データベースのプライマリーキーとして使用するID、ユーティリティフラグ、フォルダ名、既読フラグ等を付与したメッセージオブジェクトをなし、当該メッセージオブジェクトの管理を行う。また、データベース管理システム205を利用してメールボックスA243またはメールボックスB244にメッセージオブジェクトを格納し、データベースとして管理する。  The message management unit 227 receives a reception type, Uid, title, reception date, transmission date, transmission source, reply destination, which indicates whether the received form is (T0, CC, BCC) from such a message. Extracting or judging body information, content format, MIME type, etc., and further providing a message object with a database name storing the message, an ID used as a primary key of the database, a utility flag, a folder name, a read flag, etc. Manage the message object. Further, the message object is stored in the mailbox A243 or the mailbox B244 using the database management system 205, and managed as a database.

キャッシュ管理部234は、メッセージ管理部227が使用するメッセージオブジェクトをメールボックスA243またはB244から取得して、ボディ情報以外のデータをRAM104上のメッセージキャッシュ235に配置し、ボディ情報はフラッシュメモリ105上のボディ情報格納ファイル250に格納し、メッセージ管理部227の利用に供する。  The cache management unit 234 acquires the message object used by the message management unit 227 from the mailbox A243 or B244, places data other than the body information in the message cache 235 on the RAM 104, and the body information is stored in the flash memory 105. It is stored in the body information storage file 250 and used for the message management unit 227.

すなわち、メッセージ管理部227がメッセージ表示部228、メッセージ一覧表示部232およびメッセージ個別表示部233によりメッセージを表示する際には、メールデータベースキャッシュ235から表示するメッセージのヘッダ情報等を読み出すとともに、ボディ情報をボディ情報格納ファイル250から読み出して表示画面を生成する。  That is, when the message management unit 227 displays a message by the message display unit 228, the message list display unit 232, and the message individual display unit 233, the header information of the message to be displayed is read from the mail database cache 235, and the body information Is read from the body information storage file 250 to generate a display screen.

これによりフラッシュメモリ105の読み出し量を低減することができ、かつ、データベース管理システム205を利用することのオーバーヘッドを軽減できるので、メッセージ表示をレスポンス良く行うことが可能となる。ただし、キャッシュ管理部234がメッセージをキャッシュするプロセスの負荷は依然として存在するので、メッセージのキャッシュは先読みの形で事前に開始しておくことが好ましい。例えば、起動後に表示するアカウントが決まっている場合には、起動時に当該アカウントについてメッセージのキャッシュを開始してバックグラウンドで実行することができる。この場合、ユーザがアカウント管理部222によりアカウントを切り替えた際には、それまでにキャッシュした内容を破棄して新しいアカウントについてメッセージのキャッシュを開始しなければならない。また、表示するアカウントを起動後に選択させる場合には、アカウントが選択された時点でメッセージのキャッシュを開始することができる。  As a result, the reading amount of the flash memory 105 can be reduced, and the overhead of using the database management system 205 can be reduced, so that message display can be performed with good response. However, since there is still a load on the process in which the cache management unit 234 caches the message, it is preferable to start the message caching in advance in a prefetched form. For example, when an account to be displayed after activation is determined, message caching can be started for the account at the time of activation and executed in the background. In this case, when the user switches accounts using the account management unit 222, the contents cached so far must be discarded and message caching for a new account must be started. When an account to be displayed is selected after activation, message caching can be started when the account is selected.

ここで、キャッシュ管理部234は、メールボックスから取得したメッセージオブジェクトの全てをメッセージキャッシュ235に配置することも可能である。しかし、添付ファイルのあるメッセージでは、ボディ情報が添付ファイルのデータを含むために数メガバイトのサイズに達することもあり、メールクライアントプログラム209が利用できるRAM104の容量が制限されている場合にはメモリ不足となる懸念がある。このため、本実施形態ではボディ情報をフラッシュメモリ105上のボディ情報格納ファイル250に格納する構成とした。  Here, the cache management unit 234 can place all of the message objects acquired from the mailbox in the message cache 235. However, a message with an attached file may reach a size of several megabytes because the body information includes the data of the attached file, and the memory is insufficient when the capacity of the RAM 104 that can be used by the mail client program 209 is limited. There is concern to become. For this reason, in this embodiment, the body information is stored in the body information storage file 250 on the flash memory 105.

また、メールボックスに大量のメッセージが蓄積された状態で全メッセージをキャッシュすると、キャッシュ処理に要する時間とRAM104の消費量が過大になるという問題がある。このため、本実施形態ではキャッシュするメッセージの件数に上限値(例えば500件)を設け、さらにキャッシュ容量にも上限値(例えば10MB)を設けるものとする。ただし、これらの制限は必須ではなく、メッセージ件数とキャッシュ容量のいずれかのみに上限値を設定する構成としてもよいし、上限値を設けない構成としてもよい。また、上限値はその他の値としても構わない。  In addition, if all messages are cached with a large amount of messages stored in the mailbox, there is a problem that the time required for the cache processing and the amount of consumption of the RAM 104 become excessive. For this reason, in this embodiment, an upper limit value (for example, 500) is set for the number of messages to be cached, and an upper limit value (for example, 10 MB) is set for the cache capacity. However, these restrictions are not essential, and an upper limit value may be set only for either the number of messages or the cache capacity, or a configuration in which no upper limit value is provided. Further, the upper limit value may be other values.

メッセージ一覧表示部232は、画面に所定数のメッセージを一覧形式で表示し、画面をスクロール等することでメッセージの一覧は順に送られていく。したがって、スクロールを繰り返していると表示するメッセージがキャッシュされている範囲を超えてしまい、そのままではメッセージが表示できなくなる。このためキャッシュ管理部234は、表示するメッセージが常にキャッシュされているように画面のスクロールに応じてキャッシュするメッセージの範囲を移動させる必要がある。  The message list display unit 232 displays a predetermined number of messages on the screen in a list format, and the list of messages is sequentially sent by scrolling the screen. Therefore, if scrolling is repeated, the displayed message exceeds the cached range, and the message cannot be displayed as it is. Therefore, the cache management unit 234 needs to move the range of the message to be cached according to the scrolling of the screen so that the message to be displayed is always cached.

また、メッセージ管理部227がメッセージ作成編集部229によりメッセージを作成または編集し場合、メッセージ送信部230によりメッセージを送信した場合およびメッセージ受信部231がメッセージを受信した場合には、まずメッセージキャッシュ235およびボディ情報格納ファイル250の内容を更新し、その後キャッシュ管理部234がメールボックスの内容を更新された内容に同期させる構成とすることができる。  When the message management unit 227 creates or edits a message with the message creation / editing unit 229, when the message transmission unit 230 transmits a message, and when the message reception unit 231 receives a message, first, the message cache 235 and The contents of the body information storage file 250 can be updated, and then the cache management unit 234 can synchronize the contents of the mailbox with the updated contents.

アカウント情報部241は、メッセージの送受信に使用するメールサーバにログインするためのアカウント情報を格納したデータベースであり、フラッシュメモリ105上に設けられている。アカウント情報にはメールの送受信に使用するメールアドレスが含まれており、さらに当該メールアドレスで送受信されたメッセージの蓄積されたメールボックスが関連付けられている。  The account information unit 241 is a database that stores account information for logging in to a mail server used for message transmission / reception, and is provided on the flash memory 105. The account information includes a mail address used for mail transmission / reception, and is associated with a mail box in which messages transmitted / received at the mail address are stored.

アドレスデータ部242は、メッセージを送受信する相手の情報を格納したデータベースであり、フラッシュメモリ105上に設けられている。アドレスデータ部242には、相手の名前、メールアドレス等が含まれている。  The address data unit 242 is a database that stores information of a partner that transmits and receives messages, and is provided on the flash memory 105. The address data part 242 includes the name of the other party, the mail address, and the like.

メールボックス243および244は、アカウント毎に送受信したメッセージの蓄積されたデータベースであり、フラッシュメモリ105上に設けられている。メールボックス243および244はメッセージ管理部227のメッセージ表示部228およびメッセージ作成編集部229よって読み出され、また、メールボックス登録部232によってメッセージ受信部231およびバックグラウンド受信部233が受信したメッセージが追加登録される。  Mailboxes 243 and 244 are databases in which messages transmitted and received for each account are accumulated, and are provided on the flash memory 105. Mailboxes 243 and 244 are read by message display unit 228 and message creation / editing unit 229 of message management unit 227, and messages received by message reception unit 231 and background reception unit 233 by mailbox registration unit 232 are added. be registered.

ボディ情報格納ファイル250は、キャッシュ管理部234がメッセージボックスから取得したメッセージのボディ情報を格納するために、フラッシュメモリ105上に設けられるファイルである。  The body information storage file 250 is a file provided on the flash memory 105 in order to store the body information of the message acquired by the cache management unit 234 from the message box.

以下、以上のようなメールクライアントプログラム209の動作について、図面を参照しながら説明する。図6はメールクライアントプログラム209の動作を示すフローチャートであり、図7はキャッシュ処理の動作を示すフローチャートである。  Hereinafter, the operation of the mail client program 209 will be described with reference to the drawings. FIG. 6 is a flowchart showing the operation of the mail client program 209, and FIG. 7 is a flowchart showing the operation of the cache processing.

この動作では、まずメールクライアントプログラム209が起動され(ST101)、続いてデフォルトのアカウント、すなわち起動してから何の指示もしない場合に使用されるアカウントが設定されているかが判断され(ST102)、設定されていない場合にはアカウント登録/デフォルトアカウント設定がなされる(ST103)。  In this operation, the mail client program 209 is first activated (ST101), and then it is determined whether a default account, that is, an account used when no instruction is given after activation (ST102), is set. If not set, account registration / default account setting is performed (ST103).

ST102で設定されていると判断された場合には、デフォルトのアカウントに関連付けられたメールボックスのキャッシュ処理が開始される(ST104)。このキャッシュ処理は、例えばマルチスレッド機能を利用してST105以降の処理とは非同期に実行される。すなわち、メールクライアントプログラム209は、ST104のキャッシュ処理が完了することを待つことなく、キャッシュ処理と並行してST105以降の処理を進める動作を行う。  If it is determined in ST102 that the setting is made, the cache processing for the mailbox associated with the default account is started (ST104). This cache process is executed asynchronously with the processes after ST105 using, for example, a multi-thread function. That is, the mail client program 209 performs an operation of advancing the processing after ST105 in parallel with the cache processing without waiting for the completion of the cache processing of ST104.

以下、ST104におけるキャッシュ処理の動作について、図7を参照しながら説明する。この動作では、まずRAM104上にメッセージキャッシュ235の領域が確保され(ST121)、フラッシュメモリ105上にボディ情報格納ファイル250が準備される(ST122)。次いでカウンタkが1にセットされ(ST123)、対象メールボックス、すなわちデフォルトのアカウントと関連付けられたメールボックスの最新からk番目のメッセージが取得される(ST124)。ここでのメッセージの取得は、データベース管理システム205(データベースAPI)を介して実行される。  Hereinafter, the cache processing operation in ST104 will be described with reference to FIG. In this operation, first, an area of the message cache 235 is secured on the RAM 104 (ST121), and a body information storage file 250 is prepared on the flash memory 105 (ST122). Next, the counter k is set to 1 (ST123), and the k-th message from the latest of the target mailbox, that is, the mailbox associated with the default account is acquired (ST124). The message acquisition here is executed via the database management system 205 (database API).

次にST124で取得したメッセージのヘッダ情報等、すなわちボディ情報以外の情報をメッセージキャッシュに格納し(ST125)、さらに同メッセージのボディ情報をボディ情報格納ファイル250に格納する(ST126)。これにより、メールクライアントプログラム209は、データベース管理システム205を介することなく、フラッシュメモリ105よりも高速なRAM104からメッセージのヘッダ情報等を読み出すことが可能となる。また、メッセージのボディ情報についてもデータベース管理システム205を介することなく読み出すことが可能となる。  Next, the header information of the message acquired in ST124, that is, information other than body information is stored in the message cache (ST125), and the body information of the message is stored in the body information storage file 250 (ST126). As a result, the mail client program 209 can read message header information and the like from the RAM 104 faster than the flash memory 105 without using the database management system 205. Also, the body information of the message can be read without going through the database management system 205.

続いてカウンタkが上限値に達したかが判断され(ST127)、達していると判断された場合にはキャッシュ処理は終了する。ST127で達していないと判断された場合には、次にキャッシュの容量が上限値を超えたかが判断され(ST128)、超えていると判断された場合には同様にキャッシュ処理は終了する。一方、ST128で超えていないと判断された場合には、カウンタkの値がインクリメントされ(ST129)、ST124以降の処理が繰り返される。  Subsequently, it is determined whether the counter k has reached the upper limit value (ST127). If it is determined that the counter k has been reached, the cache processing is terminated. If it is determined in ST127 that the cache capacity has not been reached, it is next determined whether or not the cache capacity has exceeded the upper limit value (ST128). If it is determined that the capacity has been exceeded, the cache processing is similarly terminated. On the other hand, if it is determined in ST128 that the value does not exceed, the value of the counter k is incremented (ST129), and the processes after ST124 are repeated.

以下、上記キャッシュ処理と並行して行われる図6のST105以降の処理について説明する。まずデフォルトのアカウントに関連付けられたメールボックスからフォルダ情報が読み出され、これに基づいて図4(a)に例示される画面でメールボックス内のフォルダ一覧画面が表示される(ST105)。この画面表示後、ユーザによっていずれかのフォルダが選択されたかが判断され(ST106)、選択されていない場合には続いてアプリ終了が指示されているかが判断されて(ST107)、アプリ終了が指示されている場合には一連の処理を終了し、アプリ終了が指示されていない場合にはST106以降の処理を繰り返す。  Hereinafter, the processing after ST105 of FIG. 6 performed in parallel with the cache processing will be described. First, folder information is read from the mailbox associated with the default account, and based on this, the folder list screen in the mailbox is displayed on the screen illustrated in FIG. 4A (ST105). After this screen is displayed, it is determined whether any folder has been selected by the user (ST106). If it has not been selected, it is determined whether application termination has been instructed (ST107), and application termination has been instructed. If the application is not instructed to end the application, the process after ST106 is repeated.

一方、ST106でいずれかのフォルダが選択されていると判断された場合には、選択されたフォルダ内のメッセージにかかる情報がメッセージキャッシュ235から抽出される(ST108)。すなわち、この段階でメッセージキャッシュ235にはST104で開始されたキャッシュ処理によりメールボックスから取り出されたメッセージのヘッダ情報等が蓄積されているので、その中から選択されたフォルダに収容されているメッセージを抽出する。続いて抽出されたメッセージの情報からメッセージ一覧画面がレンダリングされ(ST109)、図4(b)に例示される画面で選択されたフォルダ内のメッセージ一覧画面が表示される(ST110)。  On the other hand, if it is determined in ST106 that any folder is selected, information relating to the message in the selected folder is extracted from message cache 235 (ST108). That is, at this stage, the message cache 235 stores the header information and the like of the message extracted from the mailbox by the cache processing started in ST104, so the message stored in the folder selected from the message cache 235 is stored. Extract. Subsequently, the message list screen is rendered from the extracted message information (ST109), and the message list screen in the folder selected on the screen illustrated in FIG. 4B is displayed (ST110).

一覧画面の表示後、ユーザによっていずれかのメッセージが選択されたかが判断され(ST111)、選択されていない場合には続いて一覧表示終了が指示されているかが判断される(ST112)。ここで一覧表示終了が指示されている場合にはST105のフォルダ一覧表示に戻り、一覧表示終了が指示されていない場合にはST111の判断が繰り返される。  After the list screen is displayed, it is determined whether any message has been selected by the user (ST111). If not selected, it is determined whether the end of list display is instructed (ST112). If the end of list display is instructed here, the process returns to the folder list display of ST105, and if the end of list display is not instructed, the determination of ST111 is repeated.

一方、ST111でいずれかのメッセージが選択されていると判断された場合には、選択されたメッセージのボディ情報がボディ情報格納ファイル250から取得され(ST113)、これに基づいてメッセージ個別表示画面がレンダリングされて(ST114)、図4(c)に例示されるメッセージ個別表示画面が表示される(ST115)。その後、ユーザにより個別表示画面終了が指示されたかが判断され(ST116)、指示されている場合にはST110のメッセージ一覧画面表示に戻り、指示されていない場合にはST116の判断が繰り返される。  On the other hand, if it is determined in ST111 that any message is selected, body information of the selected message is acquired from the body information storage file 250 (ST113), and based on this, the message individual display screen is displayed. Rendered (ST114), the message individual display screen illustrated in FIG. 4C is displayed (ST115). Thereafter, it is determined whether or not the user has instructed the end of the individual display screen (ST116). If instructed, the process returns to the message list screen display in ST110, and if not instructed, the determination in ST116 is repeated.

以上のような動作では、ユーザがST105で表示されたフォルダ一覧から表示するフォルダを選択する前に、ST104で開始されたキャッシュ処理によりメッセージのヘッダ情報はRAM104上のメッセージキャッシュ235にキャッシュされている。そして、ユーザが表示するフォルダを選択すると、メッセージキャッシュ235から表示するフォルダ内のメッセージが抽出されて(ST108)、メッセージ一覧画面がレンダリングされ(ST109)、画面表示が行われる(ST110)。すなわち、ユーザが表示するフォルダを選択してから低速なフラッシュメモリ105上のメールボックス243,244からデータベース管理システム205を利用してメッセージを読み出す方式と異なり、フォルダ選択からメッセージ一覧表示までの間に低速なフラッシュメモリ105に対するアクセスが大量に発生することはなく、データベース管理システム205が介在することもない。したがって、フォルダ選択からメッセージ一覧表示までのタイムラグを効果的に短縮して、レスポンスを改善することが可能である。  In the operation as described above, before the user selects a folder to be displayed from the folder list displayed in ST105, the message header information is cached in the message cache 235 on the RAM 104 by the cache processing started in ST104. . When the user selects a folder to be displayed, messages in the folder to be displayed are extracted from the message cache 235 (ST108), a message list screen is rendered (ST109), and screen display is performed (ST110). That is, unlike the method of reading a message from the mailboxes 243 and 244 on the low-speed flash memory 105 using the database management system 205 after the user selects a folder to be displayed, the folder is selected and the message list is displayed. A large amount of access to the low-speed flash memory 105 does not occur, and the database management system 205 does not intervene. Therefore, it is possible to effectively shorten the time lag from folder selection to message list display and improve the response.

また、ユーザがST110で表示されたメッセージ一覧から所定のメッセージを選択して個別表示を行う際には、フラッシュメモリ105上のボディ情報格納ファイル250から選択されたメッセージのボディ情報を読み出すので、フラッシュメモリ105に対するアクセスが最小限発生する。しかし、この場合もデータベース管理システム205を介在させることなくボディ情報を読み出すことができるので、メッセージ選択から個別表示までのタイムラグを短縮してレスポンスを改善することができる。  Also, when the user selects a predetermined message from the message list displayed in ST110 and performs individual display, the body information of the selected message is read from the body information storage file 250 on the flash memory 105, so that the flash Access to the memory 105 is minimal. However, in this case as well, the body information can be read without intervening the database management system 205, so that the time lag from message selection to individual display can be shortened and the response can be improved.

さらに、上記動作ではキャッシュ処理を非同期で実行しているため、メッセージ一覧画面はキャッシュ処理が完了する前に表示されるので、キャッシュ処理自体がオーバーヘッドとなることによるレスポンスの劣化は最小限に抑制されている。さらにまた、キャッシュするメッセージの件数および容量に上限値を設けているので、メッセージキャッシュ250によりRAM104の空き容量が圧迫されることもない。  In addition, since the cache process is executed asynchronously in the above operation, the message list screen is displayed before the cache process is completed, so the degradation of the response due to the cache process itself being overhead is minimized. ing. Furthermore, since the upper limit is set for the number of messages to be cached and the capacity, the message cache 250 does not press the free capacity of the RAM 104.

また、メッセージによってはボディ情報が数MBとなる場合も有り得るが、上記動作においてはメッセージのうちヘッダ情報はRAM104にキャッシュし、ボディ情報はフラッシュメモリ105上のファイルにキャッシュしているので、大容量のボディ情報によってRAM104の空き容量が圧迫されることはない。  Also, depending on the message, the body information may be several MB, but in the above operation, the header information of the message is cached in the RAM 104, and the body information is cached in a file on the flash memory 105. The free space of the RAM 104 is not compressed by the body information.

以上、詳細に説明したように、本発明のメール端末装置およびメールクライアントプログラムによれば、大量のメッセージがフラッシュメモリに蓄積されていてもレスポンス良くメッセージ一覧画面を表示することができ、データベースとしてメッセージが管理されていてもレスポンス良くメッセージ一覧画面を表示することができる。  As described above in detail, according to the mail terminal device and mail client program of the present invention, a message list screen can be displayed with good response even if a large number of messages are stored in the flash memory, and messages can be stored as a database. Even if is managed, the message list screen can be displayed with good response.

本発明は上記実施の形態に限られるものではなく、種々変形が可能である。例えば、図4(a)のメッセージ一覧画面および図4(b)のメッセージ個別表示画面に代えて若しくは追加して、図4(d)に示したように画面の上半分にメッセージの一覧を示して下半分にフォーカスが当たっているメッセージの本文を表示する画面を採用することも可能である。この場合もメッセージをキャッシュすることで、表示のレスポンスを改善することができる。  The present invention is not limited to the above embodiment, and various modifications can be made. For example, instead of or in addition to the message list screen of FIG. 4 (a) and the message individual display screen of FIG. 4 (b), a message list is shown in the upper half of the screen as shown in FIG. 4 (d). It is also possible to adopt a screen that displays the body of the message that is focused on the lower half. In this case as well, the display response can be improved by caching the message.

また、キャッシュ処理を開始するタイミングについても上記に限られるものではなく、メッセージが必要とされる以前であれば特に制限はない。ただし、メッセージが必要とされる時点で十分な量のメッセージをキャッシュしておく観点からは、表示対象とするアカウントが確定した時点でキャッシュ処理を開始することが望ましい。なお、メッセージのキャッシュ後にアカウントが切り替えられた場合には、それまでにキャッシュした内容を破棄してから、新しいアカウントのメッセージをキャッシュする必要がある。  The timing for starting the cache processing is not limited to the above, and there is no particular limitation as long as it is before the message is required. However, from the viewpoint of caching a sufficient amount of messages when messages are required, it is desirable to start the cache processing when the account to be displayed is determined. If the account is switched after the message is cached, it is necessary to discard the cached contents before caching the message of the new account.

また、メッセージキャッシュ235およびボディ情報格納ファイル250はいずれもメールクライアントプログラムの終了時に削除されることが望ましいが、メールクライアントプログラムが強制終了されると通常の終了処理を実施できない場合がある。そのような場合、メッセージキャッシュ235はアプリケーションのヒープ領域とともにRAM104から削除されるが、ボディ情報格納ファイル250はフラッシュ105に残ってしまう。これを回避するには、メールクライアントプログラム起動時に前回作成したボディ情報格納ファイル250が残っているかを確認し、残っている場合にはこれを削除する処理を行うことが好適である。  Further, it is desirable that both the message cache 235 and the body information storage file 250 are deleted when the mail client program is terminated. However, if the mail client program is forcibly terminated, normal termination processing may not be performed. In such a case, the message cache 235 is deleted from the RAM 104 together with the application heap area, but the body information storage file 250 remains in the flash 105. In order to avoid this, it is preferable to check whether or not the body information storage file 250 created last time remains when the mail client program is started, and to delete it if it remains.

さらに、上記では移動体通信網に接続する携帯端末に本実施形態を適用した場合について示したが、本発明はフラッシュメモリ等にメッセージを蓄積するタイプのメール端末装置およびメールクライアントプログラムであれば広く適用することが可能である。  Furthermore, the case where the present embodiment is applied to a mobile terminal connected to a mobile communication network has been described above. However, the present invention is widely applicable to mail terminal devices and mail client programs of the type that store messages in a flash memory or the like. It is possible to apply.

104 RAM
105 フラッシュメモリ
205 データベース管理システム
221 フォルダ一覧表示部
223 アドレス管理部
224 アドレス一覧表示部
225 アドレス個別表示部
226 アドレス追加修正部
227 メッセージ管理部
228 メッセージ表示部
229 メッセージ作成編集部
230 メッセージ送信部
231 メッセージ受信部
232 メッセージ一覧表示部
233 メッセージ個別表示部
234 キャッシュ管理部
235 メッセージキャッシュ
241 アカウント情報部
242 アドレスデータ部
243 メールボックスA
244 メールボックスB
250 ボディ情報格納ファイル
104 RAM
105 Flash memory 205 Database management system 221 Folder list display unit 223 Address management unit 224 Address list display unit 225 Address individual display unit 226 Address addition modification unit 227 Message management unit 228 Message display unit 229 Message creation / editing unit 230 Message transmission unit 231 Message Reception unit 232 Message list display unit 233 Message individual display unit 234 Cache management unit 235 Message cache 241 Account information unit 242 Address data unit 243 Mailbox A
244 Mailbox B
250 Body information storage file

Claims (12)

メールクライアントプログラムが格納された書き込み可能な不揮発性メモリと、揮発性メモリと、処理装置と、表示装置とを備えたメール端末装置であって、
前記処理装置は、前記メールクライアントプログラムを実行することにより、
ヘッダ情報およびボディ情報からなるメッセージを、前記不揮発性メモリ上に設けられたアカウント毎のデータベースであるメールボックス蓄積し、
前記メールクライアントプログラムの起動時に、デフォルトに設定されているアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を前記揮発性メモリにキャッシュし、
前記揮発性メモリにキャッシュされたヘッダ情報を前記表示装置に表示させることを特徴とするメール端末装置。
A mail terminal device comprising a writable nonvolatile memory in which a mail client program is stored, a volatile memory, a processing device, and a display device,
The processing device executes the mail client program,
A message consisting of the header information and body information, stored in the mail box is a database for each account that is provided on the non-volatile memory,
When starting the mail client program, obtain a message from the mailbox of the account set as a default , cache the header information of the obtained message in the volatile memory,
A mail terminal device that causes the display device to display header information cached in the volatile memory .
前記メールクライアントプログラムの起動時に、いずれのアカウントもデフォルトに設定されていない場合には、前記メールクライアントプログラムの起動後に選択されたアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を前記揮発性メモリにキャッシュすることを特徴とする請求項1に記載のメール端末装置。If no account is set as default when the mail client program is started, a message is acquired from the mailbox of the account selected after the mail client program is started, and header information of the acquired message is acquired. The mail terminal device according to claim 1, wherein the mail terminal device is cached in the volatile memory. 前記メールクライアントプログラムの起動後にアカウントが切り替えられた場合には、当該切り替え前に前記揮発性メモリにキャッシュされた内容を破棄し、切り替え後のアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を前記揮発性メモリにキャッシュすることを特徴とする請求項1または請求項2に記載のメール端末装置。When the account is switched after the mail client program is started, the contents cached in the volatile memory before the switching are discarded, the message is acquired from the mailbox of the account after the switching, and the acquired 3. The mail terminal device according to claim 1, wherein message header information is cached in the volatile memory. 前記メールボックスから前記揮発性メモリにキャッシュするメッセージの件数に上限値を設けることを特徴とする請求項1から請求項3のいずれか1項に記載のメール端末装置。 The mail terminal device according to any one of claims 1 to 3, wherein an upper limit is provided for the number of messages cached from the mailbox to the volatile memory. 前記メールボックスから前記揮発性メモリにキャッシュする容量に上限値を設けることを特徴とする請求項1から請求項4のいずれか1項に記載のメール端末装置。 Mail terminal device as claimed in any one of claims 4, characterized in that an upper limit value to the capacity of the cache in the volatile memory from the mailbox. 前記処理装置は、前記メールクライアントプログラムを実行することにより、
さらに、
前記メールボックスから取得したメッセージのボディ情報を前記不揮発性メモリ上のファイルに格納し、
前記不揮発性メモリ上のファイルに格納されたボディ情報を前記表示装置に表示させることを特徴とする請求項1から請求項5のいずれか1項に記載のメール端末装置。
The processing device executes the mail client program,
further,
Storing the body information of the message obtained from the mailbox in a file on the nonvolatile memory;
Mail terminal device according to any one of claims 5 to file volume di information stored on the nonvolatile memory of claims 1, characterized in that to be displayed on the display device.
書き込み可能な不揮発性メモリと、揮発性メモリと、処理装置と、表示装置とを備えたメール端末装置で実行されるメールクライアントプログラムであって、
前記処理装置に、
ヘッダ情報およびボディ情報からなるメッセージを、前記不揮発性メモリ上に設けられたアカウント毎のデータベースであるメールボックス蓄積るステップと、
当該メールクライアントプログラムの起動時に、デフォルトに設定されているアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を前記揮発性メモリにキャッシュするステップと、
前記揮発性メモリにキャッシュされたヘッダ情報を前記表示装置に表示させるステップと、
を実行させることを特徴とするメールクライアントプログラム。
A mail client program that is executed by a mail terminal device including a writable nonvolatile memory, a volatile memory, a processing device, and a display device,
In the processing device,
A message consisting of the header information and body information, and Luz step be accumulated in the mail box is a database for each account that is provided on the non-volatile memory,
When starting the mail client program obtains the message from the account of the mail box is set to the default, the cache to Luz step header information of the acquired message to the volatile memory,
And Luz steps to display the header information cached in the volatile memory to the display device,
A mail client program characterized by executing
前記揮発性メモリにキャッシュするステップは、当該メールクライアントプログラムの起動時に、いずれのアカウントもデフォルトに設定されていない場合には、当該メールクライアントプログラムの起動後に選択されたアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を前記揮発性メモリにキャッシュすることを特徴とする請求項7に記載のメールクライアントプログラム。The step of caching in the volatile memory obtains a message from the mailbox of the account selected after the mail client program is started if no default account is set when the mail client program is started. The mail client program according to claim 7, wherein the header information of the acquired message is cached in the volatile memory. 前記揮発性メモリにキャッシュするステップは、当該メールクライアントプログラムの起動後にアカウントが切り替えられた場合には、当該切り替え前に前記揮発性メモリにキャッシュされた内容を破棄し、切り替え後のアカウントのメールボックスからメッセージを取得して、当該取得したメッセージのヘッダ情報を前記揮発性メモリにキャッシュすることを特徴とする請求項7または請求項8に記載のメールクライアントプログラム。When the account is switched after starting the mail client program, the step of caching in the volatile memory discards the contents cached in the volatile memory before the switching, and the account mailbox after switching The mail client program according to claim 7 or 8, wherein a message is acquired from the cache and header information of the acquired message is cached in the volatile memory. 前記揮発性メモリにキャッシュするステップでは、前記メールボックスから前記揮発性メモリにキャッシュするメッセージの件数に上限値を設けることを特徴とする請求項7から請求項9のいずれか1項に記載のメールクライアントプログラム。 Wherein in the step of caching the volatile memory, according to any one of claims 7 to 9, characterized in that an upper limit value from the mailbox number of the message to be cached in the volatile memory write Client program. 前記揮発性メモリにキャッシュするステップでは、前記メールボックスから前記揮発性メモリにキャッシュする容量に上限値を設けることを特徴とする請求項7から請求項10のいずれか1項に記載のメールクライアントプログラム。 Wherein in the step of caching the volatile memory, wherein the mailbox according to any one of claims 10 claim 7, characterized in that an upper limit value to the capacity of the cache in the volatile memory mail client program . 前記処理装置に、
さらに、前記メールボックスから取得したメッセージのボディ情報を前記不揮発性メモリ上のファイルに格納るステップを実行させ、
前記表示装置に表示させるステップは、前記不揮発性メモリ上のファイルに格納されたボディ情報を前記表示装置に表示させることを特徴とする請求項7から請求項11のいずれか1項に記載のメールクライアントプログラム。
In the processing device,
Further, the body information of the message obtained from the mailbox to execute the automatic answering step be stored in a file on the non-volatile memory,
The step of displaying on the display device, according to any one of the nonvolatile claims file volume di information stored in the memory from the claims 7, characterized in that to be displayed on the display device 11. Mail client program.
JP2011032574A 2011-01-31 2011-01-31 Mail terminal device and mail client program Expired - Fee Related JP5722072B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011032574A JP5722072B2 (en) 2011-01-31 2011-01-31 Mail terminal device and mail client program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011032574A JP5722072B2 (en) 2011-01-31 2011-01-31 Mail terminal device and mail client program

Publications (3)

Publication Number Publication Date
JP2012160152A JP2012160152A (en) 2012-08-23
JP2012160152A5 JP2012160152A5 (en) 2014-03-13
JP5722072B2 true JP5722072B2 (en) 2015-05-20

Family

ID=46840607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011032574A Expired - Fee Related JP5722072B2 (en) 2011-01-31 2011-01-31 Mail terminal device and mail client program

Country Status (1)

Country Link
JP (1) JP5722072B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278896A (en) * 2001-03-19 2002-09-27 Sanyo Electric Co Ltd E-mail storing method and terminal device using the e- mail storing method
JP2003303158A (en) * 2002-04-10 2003-10-24 Canon Inc Information processing system, method, program, and storage medium
JP4188341B2 (en) * 2005-05-11 2008-11-26 株式会社東芝 Portable electronic devices
JP5072408B2 (en) * 2007-03-30 2012-11-14 株式会社エクシング Mail receiving apparatus, received mail list generating method, and computer program
JP2009171538A (en) * 2007-12-17 2009-07-30 Mitsubishi Electric Corp Image reproducing apparatus, digital television, and image reproducing method
JP2009181201A (en) * 2008-01-29 2009-08-13 Yaskawa Information Systems Co Ltd Mail archiving system and program for mail archiving system

Also Published As

Publication number Publication date
JP2012160152A (en) 2012-08-23

Similar Documents

Publication Publication Date Title
JP4819308B2 (en) Method for controlling a multimedia messaging service between a telecommunication device and a telecommunication network, each smart card and telecommunication device
US8693992B2 (en) System and method for storage of electronic mail
JP2004536507A (en) Email manager program for wireless information devices
EP1071029A2 (en) Method and system for providing electronic mail services to mobile devices with efficient use of network bandwidth
JP2002543496A (en) Wireless terminal device with browser
JP2002543676A (en) Wireless terminal for browsing the Internet
JP2010531006A (en) SMS message browsing confirmation method and terminal device for performing the method
WO2012116613A1 (en) Information notification method, device, and electronic apparatus
CN102377688B (en) File transmission method and equipment
JP5722072B2 (en) Mail terminal device and mail client program
JP2002543641A (en) Wireless terminal device with browser
JP2004178294A (en) Mobile terminal displaying related e-mail, method of displaying e-mail, and program
CN101527887A (en) Processing method in mail receiving process
JP2005027057A (en) Terminal device
CN1610435B (en) Mobile terminal and method of managing data reception using the mobile terminal
JP5718088B2 (en) Message receiving method, mobile phone terminal device and mail client program
JPH10285205A (en) E-mail transmission / display device, e-mail transmission / display method
CN100455054C (en) A method, device and terminal for establishing mapping spontaneously
JP2012160153A (en) Mail terminal device, message acquisition method, message transmission method and mail client program
JP5695932B2 (en) Mail client program and mobile phone terminal device
JP2001257709A (en) Electronic mail transfer device and electronic mail transfer method
JP4721612B2 (en) E-mail sending method with attached file deletion function and e-mail sending terminal
JP2007249372A (en) E-mail transmission / reception system, e-mail transmission / reception method, mail transmission terminal apparatus, mail reception terminal apparatus
CN102447716B (en) Portable electric appts and the reminding method for content choice
CN102316427A (en) Method for processing short message and terminal thereof

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140124

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140124

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140902

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141030

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150324

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150325

R150 Certificate of patent or registration of utility model

Ref document number: 5722072

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees