JP4987492B2 - Electronic device and application program control method - Google Patents

Electronic device and application program control method Download PDF

Info

Publication number
JP4987492B2
JP4987492B2 JP2007006363A JP2007006363A JP4987492B2 JP 4987492 B2 JP4987492 B2 JP 4987492B2 JP 2007006363 A JP2007006363 A JP 2007006363A JP 2007006363 A JP2007006363 A JP 2007006363A JP 4987492 B2 JP4987492 B2 JP 4987492B2
Authority
JP
Japan
Prior art keywords
information
external storage
application program
storage device
displayed
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
JP2007006363A
Other languages
Japanese (ja)
Other versions
JP2008171363A (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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2007006363A priority Critical patent/JP4987492B2/en
Publication of JP2008171363A publication Critical patent/JP2008171363A/en
Application granted granted Critical
Publication of JP4987492B2 publication Critical patent/JP4987492B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、外部メモリを有する電子機器及びアプリケーションプログラム制御方法に関する。   The present invention relates to an electronic device having an external memory and an application program control method.

携帯電話やPDA(Personal Digital Assistant)等の電子機器において、SDメモリーカード(商標)等の外部メモリーカードを装着可能なものが増えてきている。こうした外部メモリーカードは、自由に装着及び取り外しを行うことができる、という利点を有する。
ただし、電子機器上で外部メモリーカード内のデータを使用しているアプリケーションプログラムの動作中に外部メモリーカードが抜かれることによって、アプリケーションプログラムが正常に動作しなくなったり、外部メモリーカード上のデータが破壊されてしまったりする、等の事態が生じることがあった。
Electronic devices such as mobile phones and PDAs (Personal Digital Assistants) that can be equipped with external memory cards such as SD memory cards (trademark) are increasing. Such an external memory card has the advantage that it can be freely inserted and removed.
However, if an external memory card is removed while an application program that uses data in an external memory card is operating on an electronic device, the application program may not operate normally or the data on the external memory card may be destroyed. There have been cases where it has been done.

こうした事態を回避するため、例えば特許文献1には、アプリケーションプログラムが外部メモリーカードにアクセス中に外部メモリーカードが取り外されると、その旨の警告画面を表示する携帯電話機が開示されている。さらに、当該アプリケーションプログラムの動作を中止して当該アプリケーションプログラムの実行画面から初期画面(待受け画面等)に移行する、等の処理を行う電子機器も一般的である。
特開2004−343661号公報
In order to avoid such a situation, for example, Patent Document 1 discloses a mobile phone that displays a warning screen to that effect when an external memory card is removed while an application program is accessing the external memory card. Further, an electronic device that performs processing such as stopping the operation of the application program and shifting from the execution screen of the application program to an initial screen (standby screen or the like) is also common.
JP 2004-343661 A

ところで、携帯電話やPDA等の電子機器は、通信ネットワークを介した電子メールを行う機能を有するものが多い。また、電子メールに所定のデータ(画像データ、音声データ等を含む)を添付して電子メール本体のデータと同時に添付データを送信することが可能であるものが一般的である。さらに、電子メールの添付データとして外部メモリーカードに記憶されているデータを使用することが可能であるものも存在する。
このような電子機器には、外部メモリーカード上のデータを保守するため、例えば電子メール機能に関する画面(以下メール画面と称する)の表示中に外部メモリーカードが取り外されると、その外部メモリーカードに電子メール機能がアクセスしているか否かにかかわらず、メール画面から待受け画面に移行する、等の機能を有するものがあるが、こうした画面遷移はユーザの意図に沿ったものではないため、ユーザに不快感を与えてしまうことがあり、ユーザビリティの点において問題がある、という不利益があった。
By the way, many electronic devices such as mobile phones and PDAs have a function of performing electronic mail via a communication network. In addition, it is common that predetermined data (including image data, audio data, etc.) can be attached to an e-mail and the attached data can be transmitted simultaneously with the data of the e-mail body. Furthermore, there is a data that can use data stored in an external memory card as attached data of an e-mail.
In such an electronic device, in order to maintain the data on the external memory card, for example, if the external memory card is removed while a screen related to the electronic mail function (hereinafter referred to as a mail screen) is displayed, the electronic memory Regardless of whether the e-mail function is accessed or not, there are some functions that shift from the e-mail screen to the standby screen. There is a disadvantage that it may give a pleasant feeling and there is a problem in terms of usability.

また、例えば電子機器が電子メールの一覧を表示しているとき、添付データがある電子メールに関しては添付データの存在を示唆するアイコン等が電子メールに付記されて表示されていることが多いが、この際に外部メモリーカードが取り外されると、添付データが外部メモリーカード内にある場合には、添付データの有無を再度チェックし、メール一覧画面を再生成しないと、実際とは異なる表示がされてしまい(外部メモリーカード内に添付データが存在するため、外部メモリーカードが取り外された現在では添付データにアクセスできないのに、添付データの存在を示唆するアイコンが表示されてしまう、等)、ユーザが混乱してしまう、という不利益がある。さらに、電子メールの一覧を表示しているとき外部メモリーカードが取り外されてしまった場合、添付データの有無を再度チェックしてメール一覧画面を表示するために、電子機器のパフォーマンスに悪影響が出る、という不利益もある。   In addition, for example, when an electronic device displays a list of e-mails, icons that indicate the presence of attached data are often displayed attached to the e-mail for e-mails with attached data, If the external memory card is removed at this time, if the attached data is in the external memory card, the presence or absence of the attached data is checked again, and if the mail list screen is not regenerated, the actual display will be displayed. (Since the attached data exists in the external memory card, the attached data cannot be accessed at the time when the external memory card is removed, but an icon indicating the presence of the attached data is displayed). There is a disadvantage of being confused. In addition, if the external memory card is removed while displaying the e-mail list, checking the presence of attached data again and displaying the e-mail list screen will adversely affect the performance of the electronic device. There is also a disadvantage.

上述した不利益は、電子機器の電子メール機能のみならず、電子機器上で動作する、動作中には関連した画面に遷移するアプリケーションプログラム全般においても同様である。   The above-mentioned disadvantages are the same not only in the electronic mail function of the electronic device but also in all application programs that operate on the electronic device and transition to a related screen during the operation.

本発明は、上述した不利益を解消するために、動作中には関連した画面を表示するアプリケーションプログラムの動作中に、外部メモリーカードが取り外された場合にユーザビリティのよい画面遷移を行う電子機器及びアプリケーションプログラム制御方法を提供することを目的とする。   In order to eliminate the above-described disadvantages, the present invention provides an electronic device that performs screen transition with good usability when an external memory card is removed during operation of an application program that displays a related screen during operation. An object is to provide an application program control method.

上述した目的を達成するために、第1の発明の電子機器は、データを記憶する外部記憶装置を着脱可能な電子機器であって、第1情報と当該第1情報の下位情報である第2情報とを有するアプリケーションプログラムが記憶された内部記憶部と、前記アプリケーションプログラムを実行するアプリ実行制御部と、前記アプリケーションプログラムが実行されていない場合に、所定の初期情報が表示され、前記アプリ実行制御部により前記アプリケーションプログラムが実行される場合に、前記第1情報と前記第2情報とを含む各種情報が表示される表示部と、前記外部記憶装置が装着される外部記憶装着部と、前記外部記憶装着部への前記外部記憶装置の着脱状態を検出する着脱検出部と、を備え、前記第2情報は、前記外部記憶装置に記憶された前記データとリンク可能な情報を有して構成され、前記アプリ実行制御部は、前記アプリケーションプログラムの実行中に前記第2情報が前記表示部に表示されている場合に、前記着脱検出部により前記外部記憶装置が前記外部記憶装着部から取り外されたことが検知されると、前記第1情報を前記表示部に表示させ、前記アプリ実行制御部は、前記アプリケーションプログラムの実行中に連携アプリケーションプログラムを実行可能とし、当該連携アプリケーションプログラムの実行中に前記着脱検出部により前記外部記憶装置が前記外部記憶装着部から取り外されたことが検知された場合には、前記連携アプリケーションプログラムの実行前に前記表示部に表示されていた情報に応じた処理を行うIn order to achieve the above-described object, an electronic device according to a first aspect of the present invention is an electronic device in which an external storage device for storing data is detachable, and is second information that is first information and subordinate information of the first information. An internal storage unit in which an application program having information is stored; an application execution control unit that executes the application program; and when the application program is not executed, predetermined initial information is displayed, and the application execution control When the application program is executed by a unit, a display unit for displaying various information including the first information and the second information, an external storage mounting unit to which the external storage device is mounted, and the external An attachment / detachment detection unit for detecting an attachment / detachment state of the external storage device to the storage mounting unit, and the second information is stored in the external storage device The application execution control unit is configured to include the attachment / detachment detection unit when the second information is displayed on the display unit during execution of the application program. When it is detected that the external storage device is removed from the external storage mounting unit, the first information is displayed on the display unit, and the application execution control unit If the program can be executed and the attachment / detachment detection unit detects that the external storage device has been removed from the external storage mounting unit during the execution of the cooperative application program, before executing the cooperative application program Processing according to the information displayed on the display unit is performed .

第2の発明のアプリケーションプログラム制御方法は、データを記憶する外部記憶装置を着脱可能な電子機器における第1情報と当該第1情報の下位情報である第2情報とを有するアプリケーションプログラムを制御するアプリケーションプログラム制御方法であって、前記外部記憶装置が前記電子機器から取り外されたか否かを判定する第1の工程と、前記第1の工程において前記外部記憶装置が取り外されたと判定された場合に、前記外部記憶装置に記憶されたデータとリンク可能な情報を有して構成された前記第2情報が前記アプリケーションプログラムの実行中に前記電子機器の有する表示部に表示されているか否かを判定する第2の工程と、前記第2の工程において、前記外部記憶装置に記憶されたデータとリンク可能な情報を有して構成された前記第2情報が前記アプリケーションプログラムの実行中に表示されていると判定された場合に、前記第1情報を前記表示部に表示する第3の工程と、前記アプリケーションプログラムの実行中に連携アプリケーションプログラムを実行可能とし、当該連携アプリケーションプログラムの実行中に前記外部記憶装置が前記電子機器から取り外されたことが検知された場合には、前記連携アプリケーションプログラムの実行前に前記表示部に表示されていた情報に応じた処理を行う第4の工程と、を有する。 An application program control method according to a second aspect of the invention is an application that controls an application program having first information and second information that is subordinate information of the first information in an electronic device in which an external storage device that stores data is removable. In the program control method, when it is determined that the external storage device is removed from the electronic apparatus, and a first step of determining whether or not the external storage device is removed in the first step, It is determined whether or not the second information configured to include information that can be linked to data stored in the external storage device is displayed on the display unit of the electronic device during the execution of the application program. In the second step and the second step, there is information that can be linked to the data stored in the external storage device. When the second information formed is determined to be displayed during the execution of the application program Te, a third step of displaying the first information on the display unit, during the execution of the application program When it is detected that the external storage device has been removed from the electronic device during the execution of the cooperative application program, the display unit displays on the display unit before the cooperative application program is executed. A fourth step of performing processing according to the displayed information .

本発明によれば、動作中には関連した画面を表示するアプリケーションプログラムの動作中に、外部メモリーカードが取り外された場合にユーザビリティのよい画面遷移を行う電子機器及びアプリケーションプログラム制御方法を提供することができる。   According to the present invention, it is possible to provide an electronic device and an application program control method that perform screen transition with good usability when an external memory card is removed during operation of an application program that displays a related screen during operation. Can do.

以下、本発明の携帯端末100(本発明の電子機器)について説明する。
<第1実施形態>
図1は、携帯端末100の構成の一例を示すブロック図である。
図1に示すように、携帯端末100は、通信部1、内部記憶部2、表示部3、入力部4、外部記憶装着部5、着脱検出部6、制御部7を有する。
Hereinafter, the portable terminal 100 of the present invention (the electronic device of the present invention) will be described.
<First Embodiment>
FIG. 1 is a block diagram illustrating an example of the configuration of the mobile terminal 100.
As illustrated in FIG. 1, the mobile terminal 100 includes a communication unit 1, an internal storage unit 2, a display unit 3, an input unit 4, an external storage mounting unit 5, an attachment / detachment detection unit 6, and a control unit 7.

通信部1は、図1に図示しない通信ネットワークを介してサーバ装置と各種データの送受信を行う。各種データとは、例えば、音声通話やメール等のデータである。
内部記憶部2は、携帯端末100の各動作に使用される各種データを記憶する。各種データとは、例えば、通信部1が通信ネットワークを介してサーバ装置から受信したメールや、音声データ、画像データ、また携帯端末100上で動作するアプリケーション等のプログラムや動作に必要なデータの類である。
The communication unit 1 transmits and receives various data to and from the server device via a communication network (not shown in FIG. 1). The various data are data such as voice calls and emails, for example.
The internal storage unit 2 stores various data used for each operation of the mobile terminal 100. The various types of data are, for example, emails received by the communication unit 1 from the server device via the communication network, audio data, image data, programs such as applications running on the mobile terminal 100, and data necessary for operation. It is.

表示部3は、例えば液晶や有機EL(Electro-Luminescence)等のディスプレイを有する表示デバイスであり、メール画面や画像再生画面等を表示する。
入力部4は、テンキーやボタン、スイッチ等の入力デバイスであり、携帯端末100の各種動作時のユーザの入力を受け付ける。
The display unit 3 is a display device having a display such as a liquid crystal or an organic EL (Electro-Luminescence), and displays a mail screen, an image reproduction screen, and the like.
The input unit 4 is an input device such as a numeric keypad, a button, or a switch, and accepts user input during various operations of the mobile terminal 100.

外部記憶装着部5は、各種メモリーカード等の外部記憶装置を装着し当該外部記憶装置内のデータを読み出し、或いは外部記憶装置内にデータを書き込みすることが可能なカードスロット等の端子部である。
着脱検出部6は、外部記憶装着部5に外部記憶装置が接続されているか否かを検出することができる検出部である。外部記憶装置の着脱の検出方法は、例えば接触式のセンサで検出するようにすればよい。
制御部7は、携帯端末100の動作を統括的に制御する。すなわち、携帯端末100の各構成を制御してその動作を行わせる処理を実行する。
The external storage mounting unit 5 is a terminal unit such as a card slot that can be loaded with an external storage device such as various memory cards and read data in the external storage device or write data into the external storage device. .
The attachment / detachment detection unit 6 is a detection unit that can detect whether or not an external storage device is connected to the external storage mounting unit 5. As a method for detecting attachment / detachment of the external storage device, for example, a contact type sensor may be used.
The control unit 7 comprehensively controls the operation of the mobile terminal 100. That is, the process which controls each structure of the portable terminal 100 and performs the operation | movement is performed.

図2は、携帯端末100の外観の一例を示す図である。
図2に示すように、携帯端末100は、上部筐体101と下部筐体102とがヒンジ部103によって開閉可能に接続されている。
上部筐体101は液晶画面等の表示部3を有する。
下部筐体102は、テンキーや十字キー等の入力部4を有する。
FIG. 2 is a diagram illustrating an example of the appearance of the mobile terminal 100.
As shown in FIG. 2, in the mobile terminal 100, an upper housing 101 and a lower housing 102 are connected by a hinge portion 103 so as to be opened and closed.
The upper housing 101 has a display unit 3 such as a liquid crystal screen.
The lower housing 102 has an input unit 4 such as a numeric keypad or a cross key.

以下、本発明の具体例について説明する。
制御部7は、アプリケーションプログラムを実行させるためにアプリ実行制御部71をさらに有する。
アプリケーションプログラムとは、例えば、電子メールの作成や閲覧のための画面を表示するメール機能等のプログラムである。
本実施形態では、より詳細な説明を行うために、アプリ実行制御部71がメール機能を制御する場合について説明する。
Hereinafter, specific examples of the present invention will be described.
The control unit 7 further includes an application execution control unit 71 for executing the application program.
The application program is, for example, a program such as a mail function that displays a screen for creating and browsing an e-mail.
In the present embodiment, a case where the application execution control unit 71 controls the mail function will be described in order to provide a more detailed description.

アプリ実行制御部71は、メール機能の実行時には、以下のように動作する。
図3は、メール機能実行時に表示部3に表示される画面の例を示した図である。
まず、携帯端末100の表示部3に図3(a)に示す初期画面(待受け画面)が表示されている状態で、ユーザの入力部4等を介してメール機能の起動が入力されると、アプリ実行制御部71は、図3(b)に示すメールメニュー画面を表示部3に表示させる。
メールメニュー画面には、図3(b)に示すように、「新規作成」、「受信ボックス」、「送信ボックス」、「新着メール問合せ」等の項目が表示されており、ユーザの入力部4を介した入力によりいずれかが選択可能となっている。
なお、メールメニュー画面が本発明の第1情報に対応している。
The application execution control unit 71 operates as follows when the mail function is executed.
FIG. 3 is a diagram showing an example of a screen displayed on the display unit 3 when the mail function is executed.
First, when the activation of the mail function is input via the user input unit 4 or the like while the initial screen (standby screen) shown in FIG. 3A is displayed on the display unit 3 of the mobile terminal 100, The application execution control unit 71 causes the display unit 3 to display a mail menu screen shown in FIG.
As shown in FIG. 3B, items such as “new creation”, “inbox”, “outbox”, “new mail inquiry”, etc. are displayed on the mail menu screen. Any one of them can be selected by inputting via.
The mail menu screen corresponds to the first information of the present invention.

アプリ実行制御部71は、図3(b)に示すメールメニュー画面において「新規作成」が選択された場合には、図4(a)に示す送信メール作成画面を表示部3に表示させる。
図4は、メールメニュー画面において各項目が選択された際の表示画面を示した図である。
送信メール作成画面は、図4(a)に示すように、「宛先」、「件名」、「添付」、「本文」等の各入力欄を有し、ユーザは入力部4を介して各入力欄に入力を行うことができる。
なお、「宛先」はメールの送信先であり、「件名」はメールのタイトル、「添付」はメールに添付するデータ、「本文」はメールの本文を入力する欄である。
ここで、送信メール作成画面は本発明の第2情報に対応している。
When “new creation” is selected on the mail menu screen shown in FIG. 3B, the application execution control unit 71 causes the display unit 3 to display the outgoing mail creation screen shown in FIG.
FIG. 4 is a diagram showing a display screen when each item is selected on the mail menu screen.
As shown in FIG. 4A, the outgoing mail creation screen has input fields such as “address”, “subject”, “attachment”, and “text”, and the user inputs each via the input unit 4. You can make entries in the fields.
Note that “destination” is a mail transmission destination, “subject” is a title of the mail, “attachment” is data to be attached to the mail, and “text” is a column for inputting the text of the mail.
Here, the outgoing mail creation screen corresponds to the second information of the present invention.

また、アプリ実行制御部71は、図3(b)に示すメールメニュー画面において「受信ボックス」が選択された場合には、図4(b)に示す受信ボックス画面を表示部3に表示させる。
受信ボックス画面は、図4(b)に示すように、「メインフォルダ」、「フォルダ1」、「フォルダ2」等のフォルダを有しており、それぞれのフォルダには携帯端末100が受信したメールが、ユーザの入力部4を介した入力に従って行われた設定に応じて割り振られ格納されている。
ここで、受信ボックス画面が本発明の第3情報に対応している。
The application execution control unit 71 causes the display unit 3 to display the reception box screen shown in FIG. 4B when “reception box” is selected on the mail menu screen shown in FIG.
As shown in FIG. 4B, the inbox screen has folders such as “Main Folder”, “Folder 1”, “Folder 2”, etc. Mail received by the mobile terminal 100 in each folder. Are allocated and stored in accordance with the settings made according to the input through the user input unit 4.
Here, the inbox screen corresponds to the third information of the present invention.

また、アプリ実行制御部71は、図3(b)に示すメールメニュー画面において「送信ボックス」が選択された場合には、図4(c)に示す受信ボックス画面を表示部3に表示させる。
送信ボックス画面は、図4(c)に示すように、携帯端末100が送信したメール及び、未送信メール、送信失敗メールが格納されている。
ここで、送信ボックス画面は本発明の第2情報に対応している。
Further, the application execution control unit 71 causes the display unit 3 to display the reception box screen illustrated in FIG. 4C when “transmission box” is selected on the mail menu screen illustrated in FIG.
As shown in FIG. 4C, the transmission box screen stores mail transmitted by the mobile terminal 100, unsent mail, and transmission failure mail.
Here, the transmission box screen corresponds to the second information of the present invention.

また、アプリ実行制御部71は、図3(b)に示すメールメニュー画面において「新着メール問合せ」が選択された場合には、通信部1を介して図1に図示しないメールサーバ装置と通信を行い、まだ受信していないメールの問合せを行い、メールサーバに未受信メールが存在した場合にはそのメールを受信する。未受信メールがない場合には、その旨表示して図3(b)に示すメールメニュー画面に戻る。   In addition, when “new mail inquiry” is selected on the mail menu screen shown in FIG. 3B, the application execution control unit 71 communicates with a mail server device (not shown in FIG. 1) via the communication unit 1. And inquiries about mail that has not been received yet, and if there is an unreceived mail in the mail server, the mail is received. If there is no unreceived mail, the message is displayed and the mail menu screen shown in FIG.

ここで、上述した各画面において外部記憶装置が外部記憶装着部5から取り外された場合にアプリ実行制御部71が表示部3に表示させる画面について説明する。
まず、図3(b)に示したメールメニュー画面(本発明の第1情報)表示中に着脱検出部6が外部記憶装着部5から外部記憶装置が取り外されたことを検知した場合には、アプリ実行制御部71はメールメニュー画面を表示部3に表示させたままにする(変化させない)。
次に、図4(a)に示す送信メール作成画面(本発明の第2情報)表示中に着脱検出部6が外部記憶装着部5から外部記憶装置が取り外されたことを検知した場合には、送信メール中に添付データが添付されている可能性があり、その添付データが外部記憶装置内に記憶されていたデータであった場合には、それまで表示していた送信メール作成画面を表示し続けることが不可能になる場合があるため、アプリ実行制御部71は、送信メール作成画面をキャンセルして図3(b)に示すメールメニュー画面に切り替える。
Here, a screen that the application execution control unit 71 displays on the display unit 3 when the external storage device is removed from the external storage mounting unit 5 in each screen described above will be described.
First, when the attachment / detachment detection unit 6 detects that the external storage device is removed from the external storage mounting unit 5 while the mail menu screen (first information of the present invention) shown in FIG. The application execution control unit 71 keeps the mail menu screen displayed on the display unit 3 (not changed).
Next, when the attachment / detachment detection unit 6 detects that the external storage device is removed from the external storage mounting unit 5 while the outgoing mail creation screen (second information of the present invention) shown in FIG. If there is a possibility that the attached data is attached to the outgoing mail, and the attached data is the data stored in the external storage device, the outgoing mail creation screen that has been displayed is displayed. Since it may be impossible to continue, the application execution control unit 71 cancels the outgoing mail creation screen and switches to the mail menu screen shown in FIG.

次に、図4(b)に示す受信ボックス画面(本発明の第3情報)表示中に着脱検出部6が外部記憶装着部5から外部記憶装置が取り外されたことを検知した場合には、受信メールにも添付データが添付されている可能性はあるが、それらの添付データは外部記憶装置内には存在しない(なぜなら受信メールの添付データはメールサーバから受信したもので、外部記憶装置に移動する操作を行わないと外部記憶装置内に記憶されることはないから)ため、アプリ実行制御部71は、受信ボックス画面を表示部3に表示させたままにする。
次に、図4(c)に示す送信ボックス画面(本発明の第2情報)表示中に着脱検出部6が外部記憶装着部5から外部記憶装置が取り外されたことを検知した場合には、上述したように送信メールには外部記憶装置内の添付データが添付されている可能性があるため、アプリ実行制御部71は、送信ボックス画面をキャンセルして図3(b)に示すメールメニュー画面に切り替える。
Next, when the attachment / detachment detection unit 6 detects that the external storage device has been removed from the external storage mounting unit 5 during the display of the inbox screen (third information of the present invention) shown in FIG. Although there is a possibility that attached data is also attached to the received mail, the attached data does not exist in the external storage device (because the attached data of the received mail is received from the mail server and stored in the external storage device). The application execution control unit 71 keeps the reception box screen displayed on the display unit 3 because it is not stored in the external storage device unless an operation for moving is performed.
Next, when the attachment / detachment detection unit 6 detects that the external storage device is removed from the external storage mounting unit 5 while the transmission box screen (second information of the present invention) shown in FIG. As described above, since there is a possibility that the attached data in the external storage device is attached to the transmission mail, the application execution control unit 71 cancels the transmission box screen and displays the mail menu screen shown in FIG. Switch to.

上述したように、アプリ実行制御部71は、外部記憶装置内に添付データが存在する可能性があるか否かに応じて(第2情報であるか第3情報であるかに応じて)、外部記憶装置取り外し前に表示していた画面を表示し続けることが可能であるか否かを判定し(第2情報の場合は不可能、第3情報の場合は可能と判定する)、可能である場合には従前の画面を表示し続け、可能でない場合はより上位の画面(ここではメールメニュー画面)を表示する。   As described above, the application execution control unit 71 determines whether there is a possibility that the attached data exists in the external storage device (depending on whether it is the second information or the third information). It is possible to determine whether it is possible to continue displaying the screen that was displayed before removing the external storage device (determined that the second information is not possible, and the third information is possible). In some cases, the previous screen is continuously displayed, and if it is not possible, a higher-level screen (here, the mail menu screen) is displayed.

すなわち、本実施形態のアプリ実行制御部71では、送信メールにかかわる画面において外部記憶装置が取り外された場合には、外部記憶装置取り外し前に表示していた画面を表示し続けることが不可能であるとしてメールメニュー画面に切り替える処理を実行している。反対に、本実施形態のアプリ実行制御部71では、送信メールを扱わない画面において外部記憶装置が取り外された場合には、外部記憶装置取り外し前に表示していた画面を表示し続けることが可能であるとして従前の画面(例えば表示ボックス画面)を表示し続ける処理を実行している。   That is, in the application execution control unit 71 of this embodiment, when the external storage device is removed from the screen related to the outgoing mail, it is impossible to continue displaying the screen that was displayed before the external storage device was removed. Assuming there is a process of switching to the mail menu screen. On the contrary, in the application execution control unit 71 of this embodiment, when the external storage device is removed on a screen that does not handle outgoing mail, it is possible to continue displaying the screen that was displayed before the external storage device was removed. As a result, a process of continuing to display a previous screen (for example, a display box screen) is executed.

なお、図4に示した各画面以外のメール機能に関する画面において外部記憶装置が取り外された場合にも、アプリ実行制御部71は同様の判断、すなわち、送信メールにかかわる画面であれば外部記憶装置取り外し前に表示していた画面を表示し続けることが不可能であるとしてメールメニュー画面に切り替える処理を実行し、送信メールを扱わない画面であれば、外部記憶装置取り外し前に表示していた画面を表示し続けることが可能であるとして従前の画面を表示し続ける処理を実行する。
例えば、他の送信メールを扱う画面としては、送信メール作成画面、送信ボックス画面の他に、送信メール閲覧画面、送信メール一覧表示画面等がある。また、送信メールを扱わない画面としては、受信ボックス画面以外にも、受信メール閲覧画面、受信メール一覧表示画面、メール機能設定画面等がある。
Even when the external storage device is removed from the screen related to the mail function other than the screens shown in FIG. 4, the application execution control unit 71 determines that the screen is related to the same determination, that is, the screen related to the outgoing mail. If it is impossible to continue to display the screen that was displayed before the removal, it is possible to switch to the mail menu screen, and if it is a screen that does not handle outgoing mail, the screen that was displayed before removing the external storage device The processing for continuing to display the previous screen is executed as it is possible to continue displaying.
For example, as screens for handling other outgoing mails, there are a sent mail browsing screen, a sent mail list display screen, and the like in addition to a sent mail creation screen and a send box screen. In addition to the inbox screen, the screen that does not handle outgoing mail includes a received mail browsing screen, a received mail list display screen, a mail function setting screen, and the like.

以下、本実施形態の携帯端末100の動作例について説明する。
図5は、第1実施形態の携帯端末100の動作例を説明するためのフローチャートである。
ステップST1:
着脱検出部6が、外部記憶装着部5に装着されていた外部記憶装置が取り外されたか否かの判定を行う。取り外された場合はステップST2に進み、装着されたままであった場合はステップST1を繰り返す。また、取り外されたと判定した場合には、外部記憶装置が取り外されたことをユーザに警告する警告画面を表示部3に表示させるようにしてもよい。
ステップST2:
アプリ実行制御部71は、メール機能の起動中において、送信メールを扱う画面が表示部3に表示されているか否かの判定を行う。送信メールを扱う画面が表示部3に表示されている場合はステップST3に進み、送信メールを扱わない画面が表示部3に表示されている場合はステップST6に進む。
Hereinafter, an operation example of the mobile terminal 100 of the present embodiment will be described.
FIG. 5 is a flowchart for explaining an operation example of the mobile terminal 100 according to the first embodiment.
Step ST1:
The attachment / detachment detection unit 6 determines whether or not the external storage device attached to the external storage attachment unit 5 has been removed. If it has been removed, the process proceeds to step ST2, and if it remains attached, step ST1 is repeated. If it is determined that the external storage device has been removed, a warning screen that warns the user that the external storage device has been removed may be displayed on the display unit 3.
Step ST2:
The application execution control unit 71 determines whether or not a screen for handling outgoing mail is displayed on the display unit 3 during activation of the mail function. If a screen that handles outgoing mail is displayed on the display unit 3, the process proceeds to step ST3. If a screen that does not handle outgoing mail is displayed on the display unit 3, the process proceeds to step ST6.

ステップST3:
アプリ実行制御部71は、ユーザの入力部4を介した入力に応じてメールを編集中であるか否かの判定を行う。メールを編集中である場合(例えば新規にメールを作成している状態)である場合にはステップST4に進み、そうでない場合(例えば過去に送信したメールを閲覧している場合等)にはステップST5に進む。
ステップST4:
アプリ実行制御部71は、ステップST3において編集中であると判定されたメールを新規の未送信メールとして内部記憶部2に記憶する。
Step ST3:
The application execution control unit 71 determines whether or not the mail is being edited according to the input via the user input unit 4. If the mail is being edited (for example, when a new mail is being created), the process proceeds to step ST4. If not (for example, if a mail sent in the past is being browsed), the process proceeds to step ST4. Proceed to ST5.
Step ST4:
The application execution control unit 71 stores the mail determined to be being edited in step ST3 in the internal storage unit 2 as a new unsent mail.

ステップST5:
アプリ実行制御部71は、送信メールを扱う各画面の上位画面であるメールメニュー画面を表示部3に表示させる。
ステップST6:
アプリ実行制御部71は、ステップST1の時点で表示中であった、送信メールを扱わない画面をそのまま表示部3に表示させ続ける。なお、ステップST1の時点でメール機能の最上位画面、すなわちメールメニュー画面が表示されていた場合には、メールメニュー画面をそのまま表示させ続けるのではなく、待受け画面を表示し、メール機能を終了させるようにしてもよい。
Step ST5:
The application execution control unit 71 causes the display unit 3 to display a mail menu screen that is an upper screen of each screen that handles outgoing mail.
Step ST6:
The application execution control unit 71 continues to display on the display unit 3 the screen that is being displayed at the time of step ST1 and does not handle outgoing mail. If the top screen of the mail function, that is, the mail menu screen is displayed at the time of step ST1, the mail menu screen is not displayed as it is, but the standby screen is displayed and the mail function is terminated. You may do it.

以上説明したように、本実施形態の携帯端末100によれば、アプリ実行制御部71がメール機能にかかわる各画面を表示部3に表示中に外部記憶装置が外部記憶装着部5から取り外されたことを着脱検出部6が検出した際には、外部記憶装置内に添付データが存在する可能性があるか否かに応じて、外部記憶装置取り外し前に表示していた画面を表示し続けることが可能であるか否かを判定し、可能である場合には従前の画面を表示し続け、可能でない場合はメール機能における最上位の画面(メールメニュー画面)を表示する。
このため、携帯端末100のメール機能実行中の外部記憶装置の取り外しに起因する添付データのリンク切れ(添付データが外部記憶装置に記憶されており、取り外しとともに当該データにアクセスできなくなる)によって、表示部3に表示される画面に矛盾が生じたり(画面上では添付データが表示されているが、アクセスしようとしてもできない等)、ユーザの意図しない画面遷移が生じたり(外部記憶装置の取り外しに伴ってメール画面から待受け画面にいきなり遷移する等)といった不利益を解消することができる。また、外部記憶装置の取り外しに応じて現在表示中の画面を矛盾のないように再構成する(例えば、送信メニュー表示中に外部記憶装置が取り外された場合に、その時点でリンク切れとなった添付データがあるか否かのチェックを行う)ということをしないために、外部記憶装置取り外し時に携帯端末100のパフォーマンスが低下することがない。
As described above, according to the portable terminal 100 of the present embodiment, the external storage device is removed from the external storage mounting unit 5 while the application execution control unit 71 displays each screen related to the mail function on the display unit 3. When the attachment / detachment detection unit 6 detects this, depending on whether or not there is a possibility that the attached data exists in the external storage device, the screen displayed before the external storage device is removed is continuously displayed. If it is possible, the previous screen is continuously displayed, and if it is not possible, the highest screen (mail menu screen) in the mail function is displayed.
For this reason, the display is caused by the link break of the attached data resulting from the removal of the external storage device that is executing the mail function of the mobile terminal 100 (the attached data is stored in the external storage device, and the data cannot be accessed upon removal). Contradiction may occur in the screen displayed in the section 3 (attached data is displayed on the screen, but it cannot be accessed, etc.), screen transition unintended by the user may occur (with removal of the external storage device) And so on), such as a sudden transition from the mail screen to the standby screen). Also, reconfigure the screen that is currently displayed according to the removal of the external storage device so that there is no contradiction (for example, if the external storage device was removed while the transmission menu was displayed, the link was broken at that time. Therefore, the performance of the portable terminal 100 does not deteriorate when the external storage device is removed.

<第2実施形態>
本第2実施形態では、携帯端末100のアプリ実行制御部71が現在起動中のアプリケーションと他のアプリケーションとを連携させている際に、外部記憶装置が取り外された場合の表示部3への表示処理について説明する。
本第2実施形態では、アプリ実行制御部71が、例えばメール機能(本発明のアプリケーションプログラム)と、アドレス帳機能(本発明の連携アプリケーションプログラム)とを連携させて実行する場合について説明する。
Second Embodiment
In the second embodiment, when the application execution control unit 71 of the mobile terminal 100 links the currently activated application with another application, the display on the display unit 3 when the external storage device is removed is displayed. Processing will be described.
In the second embodiment, a case where the application execution control unit 71 executes, for example, a mail function (application program of the present invention) and an address book function (cooperative application program of the present invention) in cooperation with each other will be described.

なお、第2実施形態における携帯端末100の構成は、第1実施形態の図1において説明した構成と同様であり、アプリ実行制御部71の動作に若干の違いがあるのみである。従って、第2実施形態ではアプリ実行制御部71以外の各構成の説明を省略する。   The configuration of the mobile terminal 100 in the second embodiment is the same as the configuration described in FIG. 1 of the first embodiment, and there is only a slight difference in the operation of the application execution control unit 71. Therefore, in the second embodiment, description of each component other than the application execution control unit 71 is omitted.

アドレス帳機能とは、メール機能や音声通話機能で使用する、メールアドレスや電話番号等を名前と関連付けてアドレス帳のように登録し、必要な場合にユーザの入力により呼び出されて必要な情報を提供する機能である。
アドレス帳機能は、例えばメール機能と連携して動作する場合、以下の2つの動作形態を有する。
The address book function is used in the mail function and voice call function to register an e-mail address, telephone number, etc., associated with a name like an address book, and is called up by the user's input when necessary. It is a function to provide.
For example, when the address book function operates in cooperation with the mail function, the address book function has the following two operation modes.

1つは、メール機能で使用されたメールアドレスや名前をアドレス帳機能に登録する場合である。
すなわち、受信メール閲覧画面等において、メールの差出人の名前及びメールアドレスをアドレス帳機能に登録することが可能である。
もう1つは、送信メールを作成する際に、アドレス帳機能に登録されたメールアドレスをアドレス帳から読み出して使用する、すなわち、図4(a)において説明した送信メール作成画面の「宛先」の入力欄にアドレス帳機能から読み出したメールアドレスをコピー&ペーストすることが可能である。
One is a case where the mail address and name used in the mail function are registered in the address book function.
That is, the name and mail address of the mail sender can be registered in the address book function on the received mail browsing screen or the like.
The other is to use the mail address registered in the address book function by reading it from the address book when creating the outgoing mail. That is, the “destination” of the outgoing mail creation screen described in FIG. It is possible to copy and paste the mail address read from the address book function in the input field.

第2実施形態のアプリ実行制御部71は、メール機能の起動中にアドレス帳機能を連携して起動させている際に、外部記憶装置が外部記憶装着部5から取り外されたことが着脱検出部6によって検知された場合には、アドレス帳機能の起動直前のメール機能における表示画面に応じた画面を表示部3に表示させる。   The application execution control unit 71 of the second embodiment detects that the external storage device has been removed from the external storage mounting unit 5 when the address book function is activated in cooperation with the mail function being activated. 6 is displayed on the display unit 3 according to the display screen in the mail function immediately before the activation of the address book function.

以下詳しく説明する。
まず、メール機能で使用されたメールアドレスや名前をアドレス帳機能に登録するためにアドレス帳機能がメール機能に連携されて起動した場合について説明する。
受信メールを表示する受信メール閲覧画面において、ユーザが入力部4を介して所定の入力を行い、差出人のメールアドレスが表示されている表示欄を選択することにより、当該表示欄に表示されているメールアドレスをアドレス帳機能に登録するためのアドレス帳機能が起動しアドレス帳登録画面が表示部3に表示される。
This will be described in detail below.
First, a case will be described in which the address book function is activated in cooperation with the mail function in order to register the mail address or name used in the mail function in the address book function.
In the received mail browsing screen for displaying the received mail, the user performs a predetermined input via the input unit 4, and the display field in which the sender's mail address is displayed is displayed in the display field. An address book function for registering a mail address in the address book function is activated, and an address book registration screen is displayed on the display unit 3.

アドレス帳登録画面が表示部3に表示されている際に、外部記憶装置が外部記憶装着部5から取り外されたことを着脱検出部6が検知した場合には、アドレス帳登録画面の表示直前にはメール機能において受信メール閲覧画面が表示されていた、すなわち、送信メールを扱わない画面が表示されていたため、アプリ実行制御部71は、第1実施形態と同様の判断を行い、外部記憶装置取り外し前に表示していた画面を表示し続けることが可能であるとして従前の画面(ここではアドレス帳登録画面)を表示し続ける処理を実行する。   When the address book registration screen is displayed on the display unit 3, if the attachment / detachment detection unit 6 detects that the external storage device has been removed from the external storage mounting unit 5, immediately before the address book registration screen is displayed. Since the received mail browsing screen was displayed in the mail function, that is, the screen not handling outgoing mail was displayed, the application execution control unit 71 makes the same determination as in the first embodiment and removes the external storage device A process of continuing to display the previous screen (here, the address book registration screen) is executed on the assumption that the previously displayed screen can be continuously displayed.

次に、送信メール作成画面において、アドレス帳機能に登録されたメールアドレスを利用する場合に、アドレス帳機能がメール機能に連携されて起動した場合について説明する。
送信メールを作成・編集する送信メール作成画面において、ユーザが入力部4を介して所定の入力を行い、宛先の欄を選択することにより、アドレス帳に登録されているメールアドレスを宛先の欄に記入するためにアドレス帳機能が起動し、アドレス帳検索画面が表示部3に表示される。アドレス帳検索画面にはあらかじめ登録された名前の一覧が表示されており、ユーザが宛先の名前を選択することによって、選択された名前と関連付けられて登録されていたメールアドレスが送信メール作成画面の宛先の欄に記入されるようになっている。
Next, the case where the address book function is activated in cooperation with the mail function when the mail address registered in the address book function is used on the outgoing mail creation screen will be described.
On the outgoing mail creation screen for creating / editing outgoing mail, the user makes a predetermined input via the input unit 4 and selects the address field, so that the mail address registered in the address book is displayed in the address field. The address book function is activated to complete the entry, and an address book search screen is displayed on the display unit 3. A list of names registered in advance is displayed on the address book search screen. When the user selects a destination name, the email address registered in association with the selected name is displayed on the send email creation screen. It will be filled in the address field.

ここで、アドレス帳検索画面が表示部3に表示されている際に、外部記憶装置が外部記憶装着部5から取り外されたことを着脱検出部6が検知した場合には、アドレス帳登録画面の表示直前にはメール機能において送信メール作成画面が表示されていた、すなわち、送信メールを扱う画面が表示されていたため、アプリ実行制御部71は、第1実施形態と同様の判断を行い、外部記憶装置取り外し前に表示していた画面を表示し続けることが不可能であるとしてメールメニュー画面を表示する処理を実行する。   Here, when the address book search screen is displayed on the display unit 3, when the attachment / detachment detection unit 6 detects that the external storage device has been removed from the external storage mounting unit 5, the address book registration screen is displayed. Immediately before the display, the outgoing mail creation screen was displayed in the mail function, that is, the screen for handling outgoing mail was displayed. Therefore, the application execution control unit 71 performs the same determination as in the first embodiment, and external storage A process of displaying the mail menu screen is executed assuming that it is impossible to continue displaying the screen that was displayed before the device was removed.

すなわち、第2実施形態のアプリ実行制御部71は、メール機能起動中にメール機能と連携する他機能(アドレス帳機能等)が起動中である際に、外部記憶装置が外部記憶装着部5から取り外されたことを着脱検出部6が検知した場合には、他機能の起動前のメール機能の画面に応じた判断を行い、表示部3に表示させる画面を決定する。他機能の起動前のメール機能の画面に応じた判断では、第1実施形態と同様、送信メールを扱う画面が表示部3に表示されていた場合には外部記憶装置取り外し前に表示していた画面を表示し続けることが不可能であるとして上位画面(メールメニュー画面)を表示する処理を実行し、送信メールを扱わない画面が表示部3に表示されていた場合には、第1実施形態と同様の判断を行い、外部記憶装置取り外し前に表示していた画面を表示し続けることが可能であるとして従前の画面(他機能起動中画面)を表示し続ける処理を実行する。   That is, the application execution control unit 71 according to the second embodiment allows the external storage device to move from the external storage mounting unit 5 when other functions (such as the address book function) that cooperate with the mail function are activated while the mail function is activated. When the attachment / detachment detection unit 6 detects that it has been removed, a determination is made according to the screen of the mail function before activation of other functions, and the screen to be displayed on the display unit 3 is determined. In the determination according to the screen of the mail function before starting other functions, as in the first embodiment, when the screen for handling outgoing mail is displayed on the display unit 3, it is displayed before the external storage device is removed. When it is impossible to continue displaying the screen, a process of displaying the upper screen (mail menu screen) is executed, and when a screen that does not handle outgoing mail is displayed on the display unit 3, the first embodiment The same determination as above is performed, and processing for continuing to display the previous screen (screen during activation of other functions) is executed on the assumption that the screen displayed before the external storage device removal can be continued.

以下、第2実施形態の携帯端末100の動作例について説明する。
図6は、第2実施形態の携帯端末100の動作例を示すフローチャートである。
ステップST11:
メール機能起動中に、ユーザの入力部4を介した入力に応じてメール機能と連携した他機能(アドレス帳機能等)が起動される。
ステップST12:
着脱検出部6が、外部記憶装着部5に装着されていた外部記憶装置が取り外されたか否かの判定を行う。取り外された場合はステップST13に進み、装着されたままであった場合はステップST12を繰り返す。また、取り外されたと判定した場合には、外部記憶装置が取り外されたことをユーザに警告する警告画面を表示部3に表示させるようにしてもよい。
Hereinafter, an operation example of the mobile terminal 100 according to the second embodiment will be described.
FIG. 6 is a flowchart illustrating an operation example of the mobile terminal 100 according to the second embodiment.
Step ST11:
While the mail function is activated, other functions (such as an address book function) linked with the mail function are activated in response to an input via the user input unit 4.
Step ST12:
The attachment / detachment detection unit 6 determines whether or not the external storage device attached to the external storage attachment unit 5 has been removed. If it has been removed, the process proceeds to step ST13, and if it remains attached, step ST12 is repeated. If it is determined that the external storage device has been removed, a warning screen that warns the user that the external storage device has been removed may be displayed on the display unit 3.

ステップST13:
アプリ実行制御部71は、メール機能と連携した他機能起動直前のメール機能において、送信メールを扱う画面が表示部3に表示されていたか否かの判定を行う。メール機能と連携した他機能起動直前のメール機能において、送信メールを扱う画面が表示部3に表示されていた場合はステップST14に進み、送信メールを扱わない画面が表示部3に表示されていた場合はステップST17に進む。
ステップST14:
アプリ実行制御部71は、ユーザの入力部4を介した入力に応じて、メール機能と連携する他機能起動直前にメールが編集中であったか否かの判定を行う。メールが編集中であった場合(例えば新規にメールを作成している状態)である場合にはステップST15に進み、そうでない場合(例えば過去に送信した送信メールからアドレス帳に登録している場合等)にはステップST16に進む。
Step ST13:
The application execution control unit 71 determines whether or not a screen for handling outgoing mail has been displayed on the display unit 3 in the mail function immediately before the activation of another function in cooperation with the mail function. In the mail function immediately before the activation of other functions linked with the mail function, if a screen that handles outgoing mail is displayed on the display unit 3, the process proceeds to step ST14, and a screen that does not handle outgoing mail is displayed on the display unit 3. In this case, the process proceeds to step ST17.
Step ST14:
The application execution control unit 71 determines whether or not the mail is being edited immediately before the activation of another function linked to the mail function, in response to an input via the input unit 4 by the user. If the mail is being edited (for example, when a new mail is being created), the process proceeds to step ST15. If not (for example, if a previously sent mail is registered in the address book) Etc.), the process proceeds to step ST16.

ステップST15:
アプリ実行制御部71は、ステップST14においてメール機能と連携する他機能起動直前に編集中であったと判定されたメールを新規の未送信メールとして内部記憶部2に記憶する。
ステップST16:
アプリ実行制御部71は、メール機能に連携する他機能を終了させ、メールメニュー画面を表示部3に表示させる。
Step ST15:
The application execution control unit 71 stores, in the internal storage unit 2, a mail that is determined to be being edited immediately before the activation of another function that cooperates with the mail function in step ST14 as a new unsent mail.
Step ST16:
The application execution control unit 71 ends other functions linked to the mail function, and causes the display unit 3 to display a mail menu screen.

ステップST17:
アプリ実行制御部71は、ステップST12の時点で表示中であったメール機能に連携する他機能の起動中画面をそのまま表示部3に表示させ続ける。
Step ST17:
The application execution control unit 71 continues to display the startup screen of other functions linked to the mail function being displayed at the time of step ST12 on the display unit 3 as it is.

以上説明したように、本実施形態の携帯端末100によれば、アプリ実行制御部71がメール機能起動中にメール機能に連携する他機能を起動させた場合に、外部記憶装置が外部記憶装着部5から取り外されたことを着脱検出部6が検出した際には、外部記憶装置内に添付データが存在する可能性があるか否か、すなわち、外部記憶装置内に記憶されているデータを取り扱っている可能性があるか否かに応じて、外部記憶装置取り外し前に表示していた画面を表示し続けることが可能であるか否かを判定し、可能である場合には従前の画面を表示し続け、可能でない場合はメール機能に連携して起動する他機能を終了しメール機能における最上位の画面(メールメニュー画面)を表示する。
このため、携帯端末100のメール機能起動中にメール機能に連携する他機能を起動させた場合に、他機能起動中にもかかわらず、他機能起動直前のメール機能に応じた画面を即座に表示することができ、使い勝手が向上する。また、外部記憶装置の取り外しに起因する添付データのリンク切れ(添付データが外部記憶装置に記憶されており、取り外しとともに当該データにアクセスできなくなる)によって、表示部3に表示される画面に矛盾が生じたり(画面上では添付データが表示されているが、アクセスしようとしてもできない等)、ユーザの意図しない画面遷移が生じたり(外部記憶装置の取り外しに伴って他機能起動中画面から待受け画面にいきなり遷移する等)といった不利益を解消することができる。また、外部記憶装置の取り外しに応じて現在表示中の画面を矛盾のないように再構成する(例えば、アドレス帳検索画面表示中に外部記憶装置が取り外された場合に、その時点でリンク切れとなった添付データがあるか否かのチェックを行う)ということをしないために、外部記憶装置取り外し時に携帯端末100のパフォーマンスが低下することがない。
As described above, according to the mobile terminal 100 of the present embodiment, when the application execution control unit 71 activates another function linked to the mail function while the mail function is activated, the external storage device is the external storage mounting unit. When the attachment / detachment detection unit 6 detects that it has been removed from the external storage device 5, it is determined whether there is a possibility that attached data exists in the external storage device, that is, the data stored in the external storage device is handled. Depending on whether or not it is possible to continue displaying the screen that was displayed before removing the external storage device, and if so, the previous screen is displayed. Continue to display, and if not possible, end other functions that start in conjunction with the mail function and display the top screen (mail menu screen) in the mail function.
For this reason, when other functions linked to the mail function are activated while the mail function of the mobile terminal 100 is activated, a screen corresponding to the mail function immediately before the activation of the other function is immediately displayed even when the other function is activated. Can improve usability. In addition, there is a contradiction in the screen displayed on the display unit 3 due to a broken link of the attached data due to the removal of the external storage device (the attached data is stored in the external storage device, and the data cannot be accessed with the removal). (The attached data is displayed on the screen, but it cannot be accessed, etc.), or the screen transition is not intended by the user (from the other function activation screen to the standby screen when the external storage device is removed) Such as sudden transition) can be eliminated. Also, the screen currently displayed is reconfigured so that there is no contradiction when the external storage device is removed (for example, if the external storage device is removed while the address book search screen is displayed, the link is broken at that time. Therefore, when the external storage device is removed, the performance of the portable terminal 100 is not deteriorated.

なお、本実施形態において、メール機能に連携して起動する他機能の一例としてアドレス帳機能を挙げたが、本発明はこれには限定されない。メール機能に連携して起動する機能であれば他の機能、例えば、画像再生機能や、音声再生機能等であってもよい。   In the present embodiment, the address book function is given as an example of another function that is activated in cooperation with the mail function. However, the present invention is not limited to this. Other functions such as an image reproduction function and an audio reproduction function may be used as long as the functions are activated in cooperation with the mail function.

本発明は上述した実施形態には限定されない。
すなわち、本発明の実施に際しては、本発明の技術的範囲またはその均等の範囲内において、上述した実施形態の構成要素に関し様々な変更、コンビネーション、サブコンビネーション、並びに代替を行ってもよい。
The present invention is not limited to the embodiment described above.
That is, when implementing the present invention, various modifications, combinations, sub-combinations, and alternatives may be made to the components of the above-described embodiments within the technical scope of the present invention or an equivalent scope thereof.

上述した第1及び第2実施形態においては、アプリ実行制御部71が実行するアプリケーションプログラムの一例として、メール機能について説明したが、本発明はこれには限定されない。すなわち、メール機能ではなく、携帯端末100において実行可能な機能のうち、上位画面(上述した実施形態ではメールメニュー画面)とその下位画面(上述した実施形態ではメールメニュー画面以外のメール機能の画面)とを有する機能であればよい。また、メール機能以外の機能において本発明を適用する場合には、アプリ実行制御部71は、上述した実施形態のように外部記憶装置取り外し時に送信メールを扱う画面が表示部3に表示されていたか否かに応じて判断を行う代わりに、外部記憶装置に記憶されたデータにアクセス可能な画面であるか否か(すなわち本発明の第2情報であるか第3情報であるか)に応じて判断を行うようにすればよい。   In the first and second embodiments described above, the mail function has been described as an example of the application program executed by the application execution control unit 71, but the present invention is not limited to this. That is, of the functions that can be executed in the mobile terminal 100 instead of the mail function, the upper screen (the mail menu screen in the embodiment described above) and the lower screen (the mail function screen other than the mail menu screen in the embodiment described above). Any function that has When the present invention is applied to a function other than the mail function, the application execution control unit 71 has displayed a screen for handling outgoing mail on the display unit 3 when the external storage device is removed as in the above-described embodiment. Instead of making a determination according to whether or not it is a screen that can access data stored in the external storage device (that is, whether it is the second information or the third information of the present invention). Judgment should be made.

具体的には、例えば、本発明は音楽再生機能にも適用可能である。すなわち、音楽再生機能では、音楽再生メニュー画面を最上位の画面として、その下位に音楽データを格納したフォルダ画面や、設定画面等が存在する。アプリ実行制御部71は、例えば、内部記憶部2に記憶された音楽データを参照する内部フォルダ画面においては、外部記憶装置に記憶されたデータにアクセス可能な画面でないと判断し、外部記憶装置に記憶された音楽データを参照する外部フォルダ画面では、外部記憶装置に記憶されたデータにアクセス可能な画面であると判断するようにすればよい。
また、カメラ起動時に、保存先が内部メモリか外部メモリ(外部記憶装置)かに応じて、外部記憶装置を取り外した際の画面遷移を変更するようにしてもよい。また、データフォルダアプリの起動時にも外部記憶装置との関係に応じて画面遷移を変更するようにしてもよい。
また、上述した第2実施形態においては、連携アプリケーションプログラムの実行中に外部記憶装置が取り外されたか否かを検知し、取り外された場合には連携アプリケーションプログラムの実行前に表示部にて表示されていた情報に応じた処理を行う構成としたが、本発明はこれに限定されるものではない。例えば、連携アプリケーションプログラムが起動されると、該起動時の外部記憶装置の状態を検知して記憶し、その後に連携アプリケーションプログラムの実行が終了したと判断されると外部記憶装置の状態を検知して、起動時の状態と比較する、この比較結果により、外部記憶装置が連携アプリケーションプログラムの実行中に取り外された、または異なる外部記憶装置が装着された、或いは記憶内容が変更されたと判断した場合には、連携アプリケーションプログラムの実行前(起動時)に表示部に表示されていた情報に応じて同様の処理を行うようにしてもよい。これは、連携アプリケーションプログラムの実行中に外部記憶装置が取り外されたか否かを判断できない場合等に有効である。
Specifically, for example, the present invention can be applied to a music playback function. That is, in the music playback function, the music playback menu screen is the top screen, and there are a folder screen, a setting screen, and the like in which music data is stored below. For example, the application execution control unit 71 determines that the internal folder screen that refers to the music data stored in the internal storage unit 2 is not a screen that can access the data stored in the external storage device, and stores the data in the external storage device. The external folder screen that refers to the stored music data may be determined to be a screen that can access the data stored in the external storage device.
Further, when the camera is activated, the screen transition when the external storage device is removed may be changed depending on whether the storage destination is the internal memory or the external memory (external storage device). The screen transition may be changed according to the relationship with the external storage device even when the data folder application is activated.
In the second embodiment described above, it is detected whether or not the external storage device has been removed during the execution of the cooperative application program. If the external storage device is removed, it is displayed on the display unit before the cooperative application program is executed. However, the present invention is not limited to this. For example, when the cooperative application program is activated, the state of the external storage device at the time of activation is detected and stored, and when it is determined that the execution of the cooperative application program has ended, the state of the external storage device is detected. If the external storage device is removed during the execution of the cooperative application program, or a different external storage device is installed, or the stored content has been changed based on the comparison result Alternatively, the same processing may be performed according to the information displayed on the display unit before the cooperation application program is executed (at the time of activation). This is effective when it cannot be determined whether or not the external storage device has been removed during execution of the cooperative application program.

図1は、携帯端末100の構成の一例を示すブロック図である。FIG. 1 is a block diagram illustrating an example of the configuration of the mobile terminal 100. 図2は、携帯端末100の外観の一例を示す図である。FIG. 2 is a diagram illustrating an example of the appearance of the mobile terminal 100. 図3は、メール機能実行時に表示部3に表示される画面の例を示した図である。FIG. 3 is a diagram showing an example of a screen displayed on the display unit 3 when the mail function is executed. 図4は、メールメニュー画面において各項目が選択された際の表示画面を示した図である。FIG. 4 is a diagram showing a display screen when each item is selected on the mail menu screen. 図5は、第1実施形態の携帯端末100の動作例を説明するためのフローチャートである。FIG. 5 is a flowchart for explaining an operation example of the mobile terminal 100 according to the first embodiment. 図6は、第2実施形態の携帯端末100の動作例を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining an operation example of the mobile terminal 100 according to the second embodiment.

符号の説明Explanation of symbols

100…携帯端末、101…上部筐体、102…下部筐体、103…ヒンジ部、1…通信部、2…内部記憶部、3…表示部、4…入力部、5…外部記憶装着部、6…着脱検出部、7…制御部、71…アプリ実行制御部   DESCRIPTION OF SYMBOLS 100 ... Portable terminal 101 ... Upper housing | casing 102 ... Lower housing | casing 103 ... Hinge part 1 ... Communication part 2 ... Internal storage part 3 ... Display part 4 ... Input part 5 ... External memory mounting part, 6 ... Detachment detection unit, 7 ... Control unit, 71 ... Application execution control unit

Claims (7)

データを記憶する外部記憶装置を着脱可能な電子機器であって、
第1情報と当該第1情報の下位情報である第2情報とを有するアプリケーションプログラムが記憶された内部記憶部と、
前記アプリケーションプログラムを実行するアプリ実行制御部と、
前記アプリケーションプログラムが実行されていない場合に、所定の初期情報が表示され、前記アプリ実行制御部により前記アプリケーションプログラムが実行される場合に、前記第1情報と前記第2情報とを含む各種情報が表示される表示部と、
前記外部記憶装置が装着される外部記憶装着部と、
前記外部記憶装着部への前記外部記憶装置の着脱状態を検出する着脱検出部と、
を備え、
前記第2情報は、前記外部記憶装置に記憶された前記データとリンク可能な情報を有して構成され、
前記アプリ実行制御部は、前記アプリケーションプログラムの実行中に前記第2情報が前記表示部に表示されている場合に、前記着脱検出部により前記外部記憶装置が前記外部記憶装着部から取り外されたことが検知されると、前記第1情報を前記表示部に表示させ
前記アプリ実行制御部は、前記アプリケーションプログラムの実行中に連携アプリケーションプログラムを実行可能とし、当該連携アプリケーションプログラムの実行中に前記着脱検出部により前記外部記憶装置が前記外部記憶装着部から取り外されたことが検知された場合には、前記連携アプリケーションプログラムの実行前に前記表示部に表示されていた情報に応じた処理を行う
ことを特徴とする電子機器。
An electronic device in which an external storage device for storing data is detachable,
An internal storage unit in which an application program having first information and second information which is lower information of the first information is stored;
An application execution control unit for executing the application program;
When the application program is not executed, predetermined initial information is displayed, and when the application program is executed by the application execution control unit, various types of information including the first information and the second information are displayed. A display section to be displayed;
An external storage mounting unit to which the external storage device is mounted;
An attachment / detachment detection unit for detecting an attachment / detachment state of the external storage device to the external storage mounting unit;
With
The second information is configured to include information that can be linked to the data stored in the external storage device,
The application execution control unit has removed the external storage device from the external storage mounting unit by the attachment / detachment detection unit when the second information is displayed on the display unit during execution of the application program. Is detected, the first information is displayed on the display unit ,
The application execution control unit is capable of executing a cooperative application program during execution of the application program, and the external storage device has been removed from the external storage mounting unit by the attachment / detachment detection unit during execution of the cooperative application program. An electronic device is characterized in that when an error is detected, processing corresponding to information displayed on the display unit is executed before the execution of the cooperative application program .
前記アプリケーションプログラムは、前記外部記憶装置に記憶された前記データとリンク可能な情報を含まない第3情報を前記第1情報の下位情報として前記第2情報とは別に有し、
前記アプリ実行制御部は、前記アプリケーションプログラムの実行中に前記第3情報が前記表示部に表示されているときに、前記着脱検出部により前記外部記憶装置が前記外部記憶装着部から取り外されたことが検知された場合には、前記第3情報の前記表示部への表示を維持する
ことを特徴とする請求項1に記載の電子機器。
The application program has third information that does not include information that can be linked to the data stored in the external storage device as lower information of the first information, separately from the second information,
The application execution control unit has removed the external storage device from the external storage mounting unit by the attachment / detachment detection unit when the third information is displayed on the display unit during execution of the application program. The electronic device according to claim 1, wherein the display of the third information is maintained on the display unit when the detection is detected.
前記アプリ実行制御部は、前記連携アプリケーションプログラムの実行終了後に、当該連携アプリケーションプログラムの実行前に前記表示部に表示されていた情報に応じた処理を行う
ことを特徴とする請求項1または2に記載の電子機器。
The application execution control unit, said after execution of the cooperative application program, to claim 1 or 2, characterized in that the corresponding to information displayed on the display unit process before execution of the cooperative application program The electronic device described.
前記アプリ実行制御部は、前記第2情報を前記表示部に表示しているときに、前記着脱検出部により前記外部記憶装置が前記外部記憶装着部から取り外されたことが検知されると、前記第2情報が編集されたか否かを判断し、編集されていると判断した場合には前記第2情報を保存する
ことを特徴とする請求項1からのいずれか一項に記載の電子機器。
When the application execution control unit displays the second information on the display unit, the attachment / detachment detection unit detects that the external storage device has been removed from the external storage mounting unit. determining whether the second information is edited, the electronic device according to any one of claims 1 to 3 when it is determined to be edited, characterized in that the storing the second information .
前記アプリ実行制御部は、前記第1情報を前記表示部に表示しているときに、前記着脱検出部により前記外部記憶装着部から取り外されたことが検知されると、前記初期情報を前記表示部に表示させる
ことを特徴とする請求項1からのいずれか一項に記載の電子機器。
The application execution control unit displays the initial information when the detachment detection unit detects that the first information is removed from the external storage mounting unit while displaying the first information on the display unit. the electronic device according to claim 1, any one of 4, characterized in that to display the part.
前記アプリ実行部は、前記アプリケーションプログラムの実行中に前記着脱検出部により前記外部記憶装置が前記外部記憶装着部から取り外されたことが検知されると、前記表示部に警告情報を表示させる
ことを特徴とする請求項1からにいずれか一項に記載の電子機器。
The application execution unit displays warning information on the display unit when the attachment / detachment detection unit detects that the external storage device is removed from the external storage mounting unit during execution of the application program. electronic apparatus as claimed in any one of claims 1 to 5, characterized.
データを記憶する外部記憶装置を着脱可能な電子機器における第1情報と当該第1情報の下位情報である第2情報とを有するアプリケーションプログラムを制御するアプリケーションプログラム制御方法であって、
前記外部記憶装置が前記電子機器から取り外されたか否かを判定する第1の工程と、
前記第1の工程において前記外部記憶装置が取り外されたと判定された場合に、前記外部記憶装置に記憶されたデータとリンク可能な情報を有して構成された前記第2情報が前記アプリケーションプログラムの実行中に前記電子機器の有する表示部に表示されているか否かを判定する第2の工程と、
前記第2の工程において、前記外部記憶装置に記憶されたデータとリンク可能な情報を有して構成された前記第2情報が前記アプリケーションプログラムの実行中に表示されていると判定された場合に、前記第1情報を前記表示部に表示する第3の工程と、
前記アプリケーションプログラムの実行中に連携アプリケーションプログラムを実行可能とし、当該連携アプリケーションプログラムの実行中に前記外部記憶装置が前記電子機器から取り外されたことが検知された場合には、前記連携アプリケーションプログラムの実行前に前記表示部に表示されていた情報に応じた処理を行う第4の工程と、
を有することを特徴とするアプリケーションプログラム制御方法。
An application program control method for controlling an application program having first information and second information which is subordinate information of the first information in an electronic device to which an external storage device for storing data can be attached and detached,
A first step of determining whether or not the external storage device has been removed from the electronic device;
When it is determined in the first step that the external storage device has been removed, the second information configured to include information that can be linked to data stored in the external storage device is stored in the application program. A second step of determining whether the electronic device is displayed on the display unit during execution;
In the second step, when it is determined that the second information configured to include information that can be linked to the data stored in the external storage device is displayed during the execution of the application program A third step of displaying the first information on the display unit ;
When it is detected that the external storage device has been removed from the electronic device during execution of the cooperative application program, the cooperative application program is executed. A fourth step of performing processing according to the information previously displayed on the display unit;
An application program control method comprising:
JP2007006363A 2007-01-15 2007-01-15 Electronic device and application program control method Expired - Fee Related JP4987492B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007006363A JP4987492B2 (en) 2007-01-15 2007-01-15 Electronic device and application program control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007006363A JP4987492B2 (en) 2007-01-15 2007-01-15 Electronic device and application program control method

Publications (2)

Publication Number Publication Date
JP2008171363A JP2008171363A (en) 2008-07-24
JP4987492B2 true JP4987492B2 (en) 2012-07-25

Family

ID=39699372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007006363A Expired - Fee Related JP4987492B2 (en) 2007-01-15 2007-01-15 Electronic device and application program control method

Country Status (1)

Country Link
JP (1) JP4987492B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1146314A (en) * 1997-05-26 1999-02-16 Seiko Epson Corp Digital camera with recording medium selection function
JP2005193403A (en) * 2003-12-26 2005-07-21 Canon Sales Co Inc Image forming apparatus, its control method, control program and recording medium
JP2005218015A (en) * 2004-02-02 2005-08-11 Konica Minolta Photo Imaging Inc Digital camera
JP4287385B2 (en) * 2005-01-28 2009-07-01 株式会社東芝 Communication terminal device and control method thereof

Also Published As

Publication number Publication date
JP2008171363A (en) 2008-07-24

Similar Documents

Publication Publication Date Title
US8001120B2 (en) Recent contacts and items
JP3850374B2 (en) Terminal having power saving mode and terminal having folding mechanism that can be opened and closed
KR101188857B1 (en) Transparent layer application
US9122365B2 (en) Method and system for operating application of a touch device with touch-based input interface
US8713476B2 (en) Computing device with improved user interface for applications
US8326368B2 (en) Mobile communication terminal
US8606327B2 (en) Mobile terminal, display switching method and display switching program
WO2011100099A1 (en) Apparatus and methods of receiving and acting on user-entered information
EP1899787B1 (en) Method, device and computer software product for controlling user interface of electronic device
US9628598B2 (en) Method for operating application and electronic device thereof
JP2011147019A (en) Mobile terminal
US20100099448A1 (en) Method and apparatus for inputting receiver information of text message
WO2011093409A1 (en) Portable terminal device and display control method
JP2009253772A (en) Input device, input method, input control program for mobile terminal device, and mobile terminal device
JP4987492B2 (en) Electronic device and application program control method
CA2524011C (en) Extended user interface for email composition
JP5246773B2 (en) Portable terminal device and program
WO2007094536A1 (en) Method and apparatus of retrieving for mobile terminal
JP5563422B2 (en) Electronic device and control method
JP2005065016A (en) Portable information terminal
US20070050730A1 (en) Method and apparatus for controlling a display in an electronic device
CA2558210C (en) Method and apparatus for controlling a display in an electronic device
JP5089952B2 (en) Electronic device and authentication method in electronic device
JP2014150315A (en) Information processing device, control method therefor, and program
KR100680208B1 (en) Mobile communication terminal and the operating method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120210

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: 20120403

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120425

R150 Certificate of patent or registration of utility model

Ref document number: 4987492

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees