JP4503466B2 - Portable terminal device, program termination method, and computer program therefor - Google Patents

Portable terminal device, program termination method, and computer program therefor Download PDF

Info

Publication number
JP4503466B2
JP4503466B2 JP2005051333A JP2005051333A JP4503466B2 JP 4503466 B2 JP4503466 B2 JP 4503466B2 JP 2005051333 A JP2005051333 A JP 2005051333A JP 2005051333 A JP2005051333 A JP 2005051333A JP 4503466 B2 JP4503466 B2 JP 4503466B2
Authority
JP
Japan
Prior art keywords
program
applet
unit
execution unit
execution
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
JP2005051333A
Other languages
Japanese (ja)
Other versions
JP2006236102A (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 JP2005051333A priority Critical patent/JP4503466B2/en
Priority to US11/362,417 priority patent/US7761853B2/en
Publication of JP2006236102A publication Critical patent/JP2006236102A/en
Application granted granted Critical
Publication of JP4503466B2 publication Critical patent/JP4503466B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数のプログラムの実行を制御する携帯端末装置及びプログラム終了方法並びにそのコンピュータプログラムに関する。   The present invention relates to a portable terminal device that controls execution of a plurality of programs, a program termination method, and a computer program thereof.

従来の技術では、シングルタスクオペレーティングシステムにおいて、複数のアプリケーションプログラムを同時に起動させるマルチタスク的な動きをさせるために、OS(オペレーティングシステム)のメモリ上で動作しているアプリケーションプログラムについてのスレッド履歴を記憶しておく。そして、次に動作を要求するアプリケーションプログラムがあるか否かをオペレーティングシステムにてタイマー等により監視する。次に動作を要求するアプリケーションプログラムがある場合には、アプリケーションプログラムのスレッド履歴に当該アプリケーションプログラムを追加し、当該アプリケーションプログラムにオペレーティングシステムが制御を切り替える。そして、元に使用していたアプリケーションプログラムを再び操作するために切り替えるときは、蓄積されたスレッド履歴において最先に蓄積されたものから順に読み出して1つずつ処理を切り替える形にして実現していた(例えば、特許文献1)。   In the conventional technology, in a single task operating system, a thread history of an application program operating on an OS (operating system) memory is stored in order to perform a multitasking operation of simultaneously starting a plurality of application programs. Keep it. Then, it is monitored by a timer or the like in the operating system whether there is an application program that requires the next operation. Next, when there is an application program that requires an operation, the application program is added to the thread history of the application program, and the operating system switches control to the application program. And when switching to operate again the application program that was originally used, it was realized in the form of reading out from the earliest accumulated one in the accumulated thread history and switching the processing one by one (For example, patent document 1).

特許文献1に示す技術は、処理能力的に携帯電話端末よりも余裕があり、かつ、着信のような突発的割り込み制御の発生率が低いパーソナルコンピュータ上での制御例である。
携帯電話端末における従来技術では、複数のアプリケーションプログラムの起動指示がタイマー等から指定されたとしても、1つずつの処理が完了しない限りは、次のアプリケーションプログラムの処理に入ることができなかった。さらに、元のアプリケーションプログラムの状態を複数保持しておくこともできなかった。そのため、従来技術である特許文献2に示す携帯端末では、着信等の事象発生時にアプリケーションプログラムの種別または状態によって個別に監視して制御を行っている。
特開平6−44084号公報 特開2003−319020号公報
The technique shown in Patent Document 1 is an example of control on a personal computer that has more processing capacity than a mobile phone terminal and has a low incidence of sudden interrupt control such as incoming calls.
In the conventional technology for a mobile phone terminal, even if an instruction to start a plurality of application programs is specified from a timer or the like, it is not possible to enter the next application program unless one process is completed. Furthermore, it was not possible to maintain multiple states of the original application program. Therefore, in the portable terminal shown in Patent Document 2 which is a conventional technique, when an event such as an incoming call occurs, it is individually monitored and controlled according to the type or state of the application program.
JP-A-6-44084 JP 2003-319020 A

一般的な携帯電話端末においては、図12に示すように、電源が入力されると、最初に待ち受け画面を表示する待ち受け画面アプリケーションプログラム(以下、アプリケーションプログラムをアプレットと呼ぶ)が起動される。その後、ユーザの操作を受けて、携帯電話端末の開発メーカによって標準実装されている電話処理や電子メール処理を行うアプレット(以下、スタティックアプレットと呼ぶ)や、ユーザが携帯電話端末を操作してインターネット経由でダウンロードしたゲームなどのダウンロードアプレットなどが順に起動される。このとき、携帯電話端末に実装されているアプリケーション管理などの機能ブロックでは、上述したマルチタスク的な動作をさせるために、図12に示すように、起動されたプログラムを起動順にメモリに積み上げていく。このとき、先に起動されているプログラムは一時停止され、一時停止されたプログラムは後に起動されたプログラムを終了させることで起動順とは逆に復帰させることになる。   In a general mobile phone terminal, as shown in FIG. 12, when power is input, a standby screen application program (hereinafter referred to as an applet) for displaying a standby screen is started first. After that, in response to the user's operation, an applet (hereinafter referred to as a static applet) that performs telephone processing and e-mail processing, which is standardly implemented by a mobile phone terminal developer, or a user operates the mobile phone terminal to operate the Internet Download applets such as games downloaded via the Internet are launched in order. At this time, in the functional blocks such as application management installed in the cellular phone terminal, the activated programs are stacked in the memory in the activation order as shown in FIG. 12 in order to perform the multitask operation described above. . At this time, the previously activated program is temporarily stopped, and the suspended program is returned to the reverse of the activation order by ending the subsequently activated program.

ところで、上記のゲームなどのダウンロードアプレットは、携帯電話端末に備えられている所定のキーを押下することにより、強制的に終了させることが可能となっている場合が多い。そのような場合、携帯電話端末では、図12のようなアプレットの起動順の情報を維持することができない構成となっている。   By the way, in many cases, the download applet such as the above-mentioned game can be forcibly terminated by pressing a predetermined key provided in the mobile phone terminal. In such a case, the cellular phone terminal has a configuration that cannot maintain the activation order information of the applet as shown in FIG.

例えば、図12に示すようにあるダウンロードアプレットAを起動した後に、当該ダウンロードアプレットAからスタティックアプレットBが起動され、さらに当該スタティックアプレットBからダウンロードアプレットBが起動される場合を想定する。   For example, assume that a download applet A is activated from a download applet A and then a download applet B is activated from the static applet B after the download applet A is activated as shown in FIG.

このような場合、スタティックアプレットBには起動元のダウンロードアプレットAと通信するためのパラメータが設定されていたり、また、ダウンロードアプレットAへのコールバック関数が登録されていることがある。   In such a case, the static applet B may be set with parameters for communicating with the download source applet A, and a callback function for the download applet A may be registered.

ところが、最後に起動されたダウンロードアプレットBが強制終了された場合、携帯電話端末に備えられているOSでは、メモリ節約の観点から、ダウンロードアプレットBに関連する情報が記憶されているメモリからデータをクリアするととともに、中断されメモリ上にデータが記憶されている他のダウンロードアプレットをも削除する構成となっている場合が多い。すなわち、図12の例では、ダウンロードアプレットBが強制終了されることにより、ダウンロードアプレットAも終了されることになる。   However, when the download applet B that is activated last is forcibly terminated, the OS provided in the mobile phone terminal saves data from the memory storing information related to the download applet B from the viewpoint of saving memory. In many cases, the download applet is deleted and other downloaded applets whose data are stored in the memory are deleted. That is, in the example of FIG. 12, when the download applet B is forcibly terminated, the download applet A is also terminated.

ここで、ダウンロードアプレットAが終了されてしまうと、以下のような問題が存在する。すなわち、ダウンロードアプレットAから起動されたスタティックアプレットBには、上述したようにダウンロードアプレットAと通信するためのパラメータが設定されていたり、ダウンロードアプレットAへのコールバック関数が登録されていることがある。そのため、スタティックアプレットBが復帰した際に、既に存在しないダウンロードアプレットAへのアクセスが発生することになり、不正なアクセスとしてOSに検出されると異常処理としてリセットされてしまうという問題がある。   Here, if the download applet A is terminated, the following problem exists. That is, in the static applet B started from the download applet A, parameters for communicating with the download applet A as described above may be set, or a callback function for the download applet A may be registered. . For this reason, when the static applet B is restored, access to the download applet A that does not exist already occurs, and if it is detected by the OS as unauthorized access, it is reset as an abnormal process.

この問題を回避するため、アプリケーション管理ブロックでは、図13に示すように、ダウンロードアプレットBが終了された場合には、OSによって他のダウンロードアプレットであるダウンロードアプレットAが終了された後に、スタティックアプレットA及びBをも終了させ、待ち受け画面アプレットを起動することでOSによってリセットされることを防ぐ構成などを採用している。   To avoid this problem, in the application management block, as shown in FIG. 13, when the download applet B is terminated, the download applet A, which is another download applet, is terminated by the OS, and then the static applet A is terminated. And B are also terminated and a standby screen applet is activated to prevent resetting by the OS.

しかしながら、単にダウンロードプログラムが強制終了されただけで、全ての中断されているダウンロードアプレットやスタティックアプレットが終了され、待ち受け画面となる上記の構成は起動順とは逆に復帰すると考えているユーザにとっては、非常に使い勝手が良くないという問題がある。   However, for the user who thinks that the above configuration that becomes a standby screen will return to the reverse of the startup order because all suspended download applets and static applets are terminated simply by forcibly terminating the download program. There is a problem that it is not very convenient to use.

本発明は、上記問題を解決するためになされたもので、その目的は、実行状態のプログラムが強制終了された場合に、中断状態のプログラムを終了させず、実行状態のプログラムのみを個別に終了させて中断状態のプログラムの復帰順序を維持することを可能にする携帯端末装置、プログラム終了方法、そのコンピュータプログラムを提供することにある。   The present invention has been made to solve the above-described problem, and its purpose is to terminate only an individual program in an execution state without terminating the program in an interruption state when the program in the execution state is forcibly terminated. It is another object of the present invention to provide a portable terminal device, a program end method, and a computer program thereof that can maintain the return order of suspended programs.

上述した課題を解決するために、本発明は、プログラムの実行、中断及び終了を制御するプログラム実行部と、前記プログラムの指示に基づいて情報の出力を行う出力部と、前記プログラム実行部により第1のプログラムが中断され、第2のプログラムが実行されている状態にて、前記第2のプログラムから前記第1のプログラムの終了要求を受信したとき、前記出力部に対して一時停止要求を送信するとともに前記プログラム実行部に前記第2のプログラムを終了させて前記第1のプログラムを実行させた後に前記第1のプログラムを終了させるプログラム管理部と、を備えたことを特徴とする携帯端末装置である。   In order to solve the above-described problems, the present invention provides a program execution unit that controls execution, interruption, and termination of a program, an output unit that outputs information based on an instruction of the program, and a program execution unit. When a request for termination of the first program is received from the second program while the first program is interrupted and the second program is being executed, a temporary stop request is transmitted to the output unit And a program management unit that terminates the first program after causing the program execution unit to terminate the second program and execute the first program. It is.

本発明は、上記に記載の発明において、前記プログラム管理部は、前記プログラム実行部に第1のプログラムを終了させた後に、前記出力部に対して再開要求を送信することを特徴とする。   The present invention is characterized in that, in the invention described above, the program management unit transmits a restart request to the output unit after the program execution unit terminates the first program.

本発明は、上記に記載の発明において、前記プログラム管理部は、前記第1のプログラムが実行される前に実行され、かつ中断されている第3のプログラムが存在する場合に、前記プログラム実行部に前記第1のプログラムを終了させたときは、前記第3のプログラムを前記プログラム実行部に実行させることを特徴とする。   According to the present invention, in the above-described invention, the program management unit executes the program execution unit when there is a third program that is executed and interrupted before the first program is executed. When the first program is terminated, the third program is executed by the program execution unit.

本発明は、上記に記載の発明において、前記第2のプログラムは、前記第1のプログラムが実行されている状態にて、所定のキー操作を検出すると当該第1のプログラムを中断して起動される終了確認プログラムであることを特徴とする。   According to the present invention, in the invention described above, when the second program detects a predetermined key operation while the first program is being executed, the second program is started by interrupting the first program. This is an end confirmation program.

本発明は、上記に記載の発明において、前記プログラムは、中断された場合に前記プログラム実行部にて一時停止される管理非対象プログラムと、中断された場合に前記プログラム実行部にて終了されるとともに復帰させるための復帰情報が前記プログラム管理部にて記録され、前記プログラム管理部にて再開が指示されると前記復帰情報が読み出されて前記プログラム実行部にて実行される管理対象プログラムとを含み、前記プログラム管理部は、前記第3のプログラムが前記管理対象プログラムの場合、前記プログラム実行部に前記第1のプログラムを終了させたときは、前記第3のプログラムに対応する復帰情報を読み出し、当該復帰情報に基づいて前記第3のプログラムを前記プログラム実行部に実行させることを特徴とする。   The present invention is the above-described invention, wherein the program is a management non-target program suspended in the program execution unit when interrupted and terminated in the program execution unit when interrupted. The return information for returning together is recorded in the program management unit, and when the restart is instructed in the program management unit, the return information is read out and executed in the program execution unit And when the third program is the management target program, the program management unit outputs return information corresponding to the third program when the program execution unit terminates the first program. Reading and causing the program execution unit to execute the third program based on the return information.

本発明は、プログラムの実行、中断及び終了を制御するプログラム実行部と、前記プログラム実行部によって制御されるプログラムを管理するプログラム管理部と、前記プログラムの指示に基づいて情報の出力を行う出力部とを備えた携帯端末装置におけるプログラム終了方法であって、前記プログラム実行部が第1のプログラムを中断し、第2のプログラムを実行するステップと、前記プログラム管理部が、前記第2のプログラムから前記第1のプログラムの終了要求を受信するステップと、前記プログラム管理部が、前記出力部に対して一時停止要求を送信するステップと、前記プログラム管理部が、前記プログラム実行部に前記第2のプログラムを終了させるステップと、前記プログラム管理部が、前記プログラム実行部に前記第1のプログラムを実行させ、前記第1のプログラムを終了させるステップと、を有することを特徴とするプログラム終了方法である。   The present invention includes a program execution unit that controls execution, interruption, and termination of a program, a program management unit that manages a program controlled by the program execution unit, and an output unit that outputs information based on instructions of the program A program termination method in a mobile terminal device comprising: a step in which the program execution unit interrupts the first program and executes a second program; and the program management unit starts from the second program. Receiving a termination request for the first program, a step in which the program management unit transmits a suspension request to the output unit, and the program management unit sends the second request to the program execution unit. A step of terminating the program, and the program management unit sends the first program execution unit to the first program execution unit. To execute the program, a program termination method characterized by having a step of terminating the first program.

本発明は、プログラムの実行、中断及び終了を制御するプログラム実行部と、前記プログラム実行部によって制御されるプログラムを管理するプログラム管理部と、前記プログラムの指示に基づいて情報の出力を行う出力部とを備えた携帯端末装置のコンピュータに、前記プログラム実行部が第1のプログラムを中断し、第2のプログラムを実行するステップと、前記プログラム管理部が、前記第2のプログラムから前記第1のプログラムの終了要求を受信するステップと、前記プログラム管理部が、前記出力部に対して一時停止要求を送信するステップと、前記プログラム管理部が、前記プログラム実行部に前記第2のプログラムを終了させるステップと、前記プログラム管理部が、前記プログラム実行部に前記第1のプログラムを実行させ、前記第1のプログラムを終了させるステップと、を実行させるためのコンピュータプログラムである。   The present invention includes a program execution unit that controls execution, interruption, and termination of a program, a program management unit that manages a program controlled by the program execution unit, and an output unit that outputs information based on instructions of the program The program execution unit interrupts the first program and executes the second program, and the program management unit executes the first program from the second program. Receiving a program termination request, a step in which the program management unit transmits a pause request to the output unit, and the program management unit causes the program execution unit to terminate the second program. And the program management unit executes the first program on the program execution unit. Is a computer program for executing the steps of: to terminate the first program.

この発明によれば、実行状態のプログラムが強制終了された場合に、中断状態のプログラムを終了させず、実行状態のプログラムのみを個別に終了させて中断状態のプログラムの復帰順序を維持することを可能にする携帯端末装置を得ることができる。   According to the present invention, when an execution state program is forcibly terminated, the suspended state program is not terminated, and only the execution state program is individually terminated to maintain the return order of the suspension state program. It is possible to obtain a portable terminal device that enables this.

以下、本発明の携帯端末装置の一実施形態による携帯電話端末を図面を参照して説明する。
図1は、本実施形態による携帯電話端末1を示す概略ブロック図である。
図1において携帯電話端末1は、携帯電話としての基本的な機能として無線により公衆通信網に接続する無線通信部50や、ユーザの入力を受けるキー操作部52を備えている。また、無線通信部50を経由してインターネットからダウンロードした動画のコンテンツデータなどを出力する表示部51や、電話時にユーザの音声を入出力し、また着信時に着信メロディのデータや音声のコンテンツデータを再生する音声処理部53を備えている。また、携帯電話端末1は、アプレットの起動、一時停止、終了などを制御する制御部2を備えている。
A mobile phone terminal according to an embodiment of the mobile terminal device of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic block diagram showing a mobile phone terminal 1 according to the present embodiment.
In FIG. 1, the mobile phone terminal 1 includes a wireless communication unit 50 that is wirelessly connected to a public communication network and a key operation unit 52 that receives user input as basic functions as a mobile phone. In addition, a display unit 51 that outputs content data of a video downloaded from the Internet via the wireless communication unit 50, a user's voice is input / output at the time of a call, and an incoming melody data or voice content data is received at the time of an incoming call An audio processing unit 53 for reproduction is provided. The mobile phone terminal 1 also includes a control unit 2 that controls activation, suspension, termination, and the like of the applet.

制御部2は、ソフトウェアのアプリケーションプログラムであるアプレットを実行するオペレーティングシステム10(以下、OSと呼ぶ)、アプレットの競合状態等を判定してアプレットの起動制御を行うアプリケーション管理20(以下、APMAN:Aplication Program Managerと呼ぶ)、携帯電話端末に標準実装されているスタティックアプレットを記憶するスタティックアプレット記憶部40、携帯電話端末に標準実装されていないダウンロードアプレットを記憶するダウンロードアプレット記憶部30を備えている。   The control unit 2 includes an operating system 10 (hereinafter referred to as an OS) that executes an applet that is an application program of software, and an application management 20 (hereinafter referred to as APMAN: Application) that controls applet activation by determining the competition state of the applet. A static applet storage unit 40 that stores a static applet that is standardly mounted on a mobile phone terminal, and a download applet storage unit 30 that stores a download applet that is not standardly mounted on the mobile phone terminal.

制御部2において、スタティックアプレット記憶部40は、携帯電話端末1の開発メーカによって標準実装されているスタティックアプレットを記憶する。スタティックアプレットとしては、例えば待ち受け画面を表示部51へ表示する待ち受け画面アプレット40aや、電子メールを無線通信部50を介して送受信する電子メールアプレット40bや、ダウンロードされた動画や音声のコンテンツデータを表示部51や音声処理部53に出力して再生するコンテンツ再生アプレット40bなどが存在する。また、それ以外のスタティックアプレットとして、ユーザに確認を要求する画面を表示し、確認を要求する画面上でのユーザのキー操作部52の操作に基づいて実行中のアプレットを中断あるいは強制的に終了させる終了確認アプレット40dなども存在する。   In the control unit 2, the static applet storage unit 40 stores a static applet that is mounted as a standard by the manufacturer of the mobile phone terminal 1. As the static applet, for example, a standby screen applet 40a that displays a standby screen on the display unit 51, an electronic mail applet 40b that transmits and receives an electronic mail via the wireless communication unit 50, and downloaded moving image and audio content data are displayed. There is a content playback applet 40b that is output to the unit 51 or the audio processing unit 53 for playback. In addition, as a static applet other than that, a screen requesting confirmation from the user is displayed, and the applet being executed is suspended or forcibly terminated based on the user's operation of the key operation unit 52 on the screen requesting confirmation. An end confirmation applet 40d is also present.

ダウンロードアプレット記憶部30は、ユーザがキー操作部52を操作することによって無線通信部50を用いて公衆通信網を介してインターネットなどからダウンロードされるゲームなどのアプレット、あるいは脱着可能な記録媒体から所定の操作により読み込み可能なゲームなどのアプレットなどのダウンロードアプレットを記憶する。   The download applet storage unit 30 is a predetermined applet such as a game downloaded from the Internet or the like via the public communication network by using the wireless communication unit 50 when the user operates the key operation unit 52 or a removable recording medium. Stores download applets such as applets for games that can be read by the operation of.

OS10は、スタティックアプレット及びダウンロードアプレットの実行、一時停止、終了を制御する。OS10において、送受信部11は、APMAN20に接続され、APMAN20との間でアプレットに対する起動などの要求や、起動されたアプレットからの応答などの情報を送受信する。実行状態記憶部13は、実行部12によって実行されているアプレットのデータ及び一時停止されているアプレットのデータを記憶する。実行部12は、送受信部11経由で受信したAPMAN20からの要求に基づいてスタティックアプレット記憶部40あるいはダウンロードアプレット記憶部30からスタティックアプレットあるいはダウンロードアプレットを読み出し、読み出したアプレットのデータを実行状態記憶部13に記録して実行する。   The OS 10 controls execution, suspension, and termination of the static applet and the download applet. In the OS 10, the transmission / reception unit 11 is connected to the APMAN 20 and transmits / receives information such as a request for activation to the applet and a response from the activated applet to / from the APMAN 20. The execution state storage unit 13 stores data on applets being executed by the execution unit 12 and data on applets that have been paused. The execution unit 12 reads the static applet or download applet from the static applet storage unit 40 or the download applet storage unit 30 based on the request from the APMAN 20 received via the transmission / reception unit 11, and executes the read applet data as the execution state storage unit 13. Record and execute.

APMAN20は、標準実装されたスタティックアプレットの起動、停止、終了やスタティックアプレット間の競合判定を行う。APMAN20において、送受信部21は、OS10の送受信部11に接続され、送受信部11との間でアプレットに対する起動などの指示や起動されたアプレットからの応答などの情報を送受信する。管理部22は、スタティックアプレットを起動する場合には、スタティックアプレットの競合状態などを判定し、スタティックアプレットが起動できる場合には、送受信部21を介してOS10の実行部12にスタティックアプレットの起動要求を送信する。また、管理部22は、ユーザによって操作されたキー操作部52から入力を受けて、ダウンロードアプレットを起動する場合には、OS10の実行部12にダウンロードアプレットの起動要求を送信する。   APMAN 20 starts, stops, and terminates a static applet that is implemented as a standard, and determines conflicts between static applets. In the APMAN 20, the transmission / reception unit 21 is connected to the transmission / reception unit 11 of the OS 10, and transmits / receives information such as an activation instruction to the applet and a response from the activated applet to / from the transmission / reception unit 11. When the static applet is activated, the management unit 22 determines the competition state of the static applet. If the static applet can be activated, the management unit 22 requests the execution unit 12 of the OS 10 via the transmission / reception unit 21 to activate the static applet. Send. Further, when the management unit 22 receives an input from the key operation unit 52 operated by the user and activates the download applet, the management unit 22 transmits a download applet activation request to the execution unit 12 of the OS 10.

起動状態記憶部23は、OS10の実行部12によって実行あるいは一時停止されているアプレットに関する情報を記憶する。復帰情報記憶部24は、スタティックアプレットに対してマルチタスク的な動作を行うため、管理部22によってOS10において終了されているがAPMAN20において停止されているスタティックアプレットが存在する場合に、当該スタティックアプレットを復帰させるための情報を記憶する。   The activation state storage unit 23 stores information on applets that are executed or suspended by the execution unit 12 of the OS 10. Since the return information storage unit 24 performs a multitasking operation on the static applet, when there is a static applet that has been terminated in the OS 10 by the management unit 22 but stopped in the APMAN 20, the static applet is displayed. Information for returning is stored.

イベント受信部25は、アプレットの起動あるいは終了させるために、ユーザがキー操作部52を操作することによって入力される指示に基づくイベントや、アプレットから他のアプレットが起動される場合に、起動元のアプレットから送信されるイベントなどを受信する。   The event receiving unit 25 is used to start or end an applet when an event based on an instruction input by the user operating the key operation unit 52 or when another applet is started from the applet. Receive events sent from applets.

なお、上述した、プログラム実行部は実行部12に該当し、プログラム管理部は、管理部22に該当する。また、ダウンロードアプレットは上述した管理対象外プログラムに該当し、スタティックアプレットは上述した管理対象プログラムに該当する。また、終了確認プログラムは終了確認アプレット40dに該当する。   The program execution unit described above corresponds to the execution unit 12, and the program management unit corresponds to the management unit 22. The download applet corresponds to the above-described unmanaged program, and the static applet corresponds to the above-described managed program. The end confirmation program corresponds to the end confirmation applet 40d.

また、本実施形態において、アプレットの処理に関連する状態の用語を以下のように定義する。まず、OS10において終了されているがAPMAN20において停止されている状態を「仮終了」状態と定義する。   Further, in this embodiment, the terminology related to applet processing is defined as follows. First, a state that is terminated in the OS 10 but stopped in the APMAN 20 is defined as a “provisional termination” state.

「終了」の用語を以下のように定義する。「正常終了」と記載した場合には、アプレットが終了確認アプレット40dによって強制的に終了されるのではなく、アプレットの内部処理によって終了することを意味する。一方、「強制終了」と記載した場合には、アプレットが終了確認アプレット40dによって終了される場合を示しており、アプレットの内部処理により終了されず、強制的に実行状態記憶部13から削除されることを意味する。   The term “end” is defined as follows. When “normal termination” is described, it means that the applet is not forcibly terminated by the termination confirmation applet 40d but is terminated by internal processing of the applet. On the other hand, “forced termination” indicates that the applet is terminated by the termination confirmation applet 40d, and is not terminated by the applet internal processing, but is forcibly deleted from the execution state storage unit 13. Means that.

「中断」の用語は、ダウンロードアプレットについては実行状態記憶部13に記憶された状態を維持する「一時停止」の状態を意味し、スタティックアプレットについては、上述した「仮終了」の状態を意味する。   The term “suspend” means a “pause” state for maintaining a state stored in the execution state storage unit 13 for a download applet, and a “provisional end” state for a static applet. .

図2は、実行状態記憶部13のデータ構成を示した図である。実行状態記憶部13は、アプレットの実行時にアプレットのデータを記憶するヒープ領域に確保されるスタック型の記憶領域である。実行状態記憶部13は、スタック型の記憶領域であるため、最初に起動されたアプレットがスタックの最下段に記憶され、新たなアプレットが起動されると、先に起動されていたアプレットが一時停止され、一時停止されたアプレットの上に積み上げられる。つまり、最上段に記憶されているアプレットデータが実行中のアプレットとなる。また、実行部12によって終了された場合には、最上段のアプレットデータは削除され、1つ下の段に記憶されているアプレットデータに対応するアプレットの一時停止が実行部12によって解除され、当該アプレットデータのアプレットが再起動される。   FIG. 2 is a diagram illustrating a data configuration of the execution state storage unit 13. The execution state storage unit 13 is a stack type storage area secured in a heap area for storing applet data when the applet is executed. Since the execution state storage unit 13 is a stack type storage area, the applet that is activated first is stored at the bottom of the stack, and when a new applet is activated, the applet that was activated first is suspended. And stacked on top of the paused applet. That is, the applet data stored at the top is the applet being executed. When the execution unit 12 terminates the uppermost applet data, the execution unit 12 cancels the suspension of the applet corresponding to the applet data stored in the next lower level. The applet with applet data is restarted.

図3は、起動状態記憶部23のデータ構成を示した図である。起動状態記憶部23もスタック型の記憶領域であり、実行部12によって実行されているアプレットに関する情報、例えば、アプレットそれぞれに付与された識別情報(以下、ID:IDentification)などが記憶される。つまり、実行状態記憶部13に記憶されているアプレットデータに対応するアプレットのIDが実行状態記憶部13に記憶されている順に従って記憶される。APMAN20の管理部22は、起動状態記憶部23を参照することで、OS10の実行状態記憶部13において実行中あるいは一時停止されているアプレットの情報を取得することができる。   FIG. 3 is a diagram illustrating a data configuration of the activation state storage unit 23. The activation state storage unit 23 is also a stack type storage area, and stores information related to the applet being executed by the execution unit 12, for example, identification information (hereinafter referred to as ID: IDentification) given to each applet. That is, the applet IDs corresponding to the applet data stored in the execution state storage unit 13 are stored in the order stored in the execution state storage unit 13. The management unit 22 of the APMAN 20 can acquire information on applets being executed or temporarily stopped in the execution state storage unit 13 of the OS 10 by referring to the activation state storage unit 23.

図4は、復帰情報記憶部24のデータ構成を示した図である。復帰情報記憶部24もスタック型の記憶領域である。APMAN20は、実行状態記憶部13のメモリ容量を節約しつつ、複数のスタティックアプレットが同時起動できるように、OS10において実行されるスタティックアプレットが常に1つになるように起動制御を行っている。このとき、OS10において終了されたアプレットであってAPMAN20によって停止されている上述した仮終了状態に該当するスタティックアプレットを復帰させるための復帰情報がスタティックアプレットごとに付与されたIDに対応付けられて復帰情報記憶部24に記録される。   FIG. 4 is a diagram showing a data configuration of the return information storage unit 24. The return information storage unit 24 is also a stack type storage area. The APMAN 20 controls activation so that the number of static applets executed in the OS 10 is always one so that a plurality of static applets can be activated simultaneously while saving the memory capacity of the execution state storage unit 13. At this time, return information for returning a static applet that has been terminated in the OS 10 and that has been stopped by the APMAN 20 is returned in association with the ID assigned to each static applet. It is recorded in the information storage unit 24.

次に、図5から図8を参照して、OS10とAPMAN20によって行われるアプレットの起動の処理について説明する。ここでは、携帯電話端末1の電源投入時に待ち受け画面アプレット40aが起動された後、ユーザによってキー操作部52が操作され、電子メールアプレット40b、ダウンロードアプレットAの順に起動され、ダウンロードアプレットAからコンテンツ再生アプレット40cが起動され、さらにダウンロードアプレットBが起動される場合の処理について説明する。   Next, an applet activation process performed by the OS 10 and APMAN 20 will be described with reference to FIGS. Here, after the standby screen applet 40a is activated when the mobile phone terminal 1 is turned on, the user operates the key operation unit 52 to activate the e-mail applet 40b and the download applet A in this order. Processing when the applet 40c is activated and the download applet B is activated will be described.

図5は、待ち受け画面アプレット40a、電子メールアプレット40b、ダウンロードアプレットAが起動される際の処理を示したシーケンス図である。また、図6は、図5に続いて、コンテンツ再生アプレット40c、ダウンロードアプレットBが起動される際の処理を示したシーケンス図である。また、図7は、図5及び図6の処理において、復帰情報記憶部24に記憶されている情報が書き換えられる過程を示した図である。また、図8は、図5及び図6の処理において、実行状態記憶部13に記憶されている情報が書き換えられる過程を示した図である。   FIG. 5 is a sequence diagram showing processing when the standby screen applet 40a, the e-mail applet 40b, and the download applet A are activated. FIG. 6 is a sequence diagram showing processing when the content playback applet 40c and the download applet B are activated following FIG. FIG. 7 is a diagram showing a process in which information stored in the return information storage unit 24 is rewritten in the processes of FIGS. 5 and 6. FIG. 8 is a diagram illustrating a process in which information stored in the execution state storage unit 13 is rewritten in the processes of FIGS. 5 and 6.

最初に、ユーザがキー操作部52を操作することによって携帯電話端末1に電源が投入されると、APMAN20が起動された後に、APMAN20の管理部22は自律的に待ち受け画面アプレット起動要求をOS10の実行部12に送信する(ステップSa1)。実行部12は、待ち受け画面アプレット起動要求を受信すると、スタティックアプレット記憶部40から待ち受け画面アプレット40aを読み出し、実行状態記憶部13に記録し、待ち受け画面アプレット40aを実行する(ステップSa2)。このとき実行状態記憶部13は図8(a)の状態となる。待ち受け画面アプレット40aは起動されると起動応答を実行部12に送信する(ステップSa3)。実行部12は、待ち受け画面アプレット40aの起動情報を管理部22に送信する。待ち受け画面アプレット40aの起動情報を受信した管理部22は、起動状態記憶部23に待ち受け画面アプレット40aのIDを記録する(ステップSa4)   First, when the user operates the key operation unit 52 to power on the mobile phone terminal 1, after the APMAN 20 is activated, the management unit 22 of the APMAN 20 autonomously issues a standby screen applet activation request of the OS 10. It transmits to the execution part 12 (step Sa1). When receiving the standby screen applet activation request, the execution unit 12 reads the standby screen applet 40a from the static applet storage unit 40, records it in the execution state storage unit 13, and executes the standby screen applet 40a (step Sa2). At this time, the execution state storage unit 13 is in the state shown in FIG. When the standby screen applet 40a is activated, it transmits an activation response to the execution unit 12 (step Sa3). The execution unit 12 transmits activation information of the standby screen applet 40 a to the management unit 22. The management unit 22 that has received the activation information of the standby screen applet 40a records the ID of the standby screen applet 40a in the activation state storage unit 23 (step Sa4).

次に、電子メールアプレット40bを起動するために、ユーザがキー操作部52を操作して電子メールアプレット40bの起動指示を入力する。入力された起動指示に基づいて発生する起動イベントがAPMAN20のイベント受信部25によって受信される。イベント受信部25は、受信した当該イベントを管理部22に送信する(ステップSa10)。当該起動イベントをイベント受信部25から受信した管理部22は、起動状態記憶部23から、実行中のアプレットのIDを読み出す。読み出されたアプレットのIDがAPMAN20によって管理される待ち受け画面アプレット40aであることから、管理部22は、待ち受け画面アプレット40aを仮終了状態にするため、OS10の実行部12に仮終了要求を送信する(ステップSa11)。   Next, in order to activate the email applet 40b, the user operates the key operation unit 52 to input an activation instruction for the email applet 40b. An activation event generated based on the inputted activation instruction is received by the event receiving unit 25 of the APMAN 20. The event receiving unit 25 transmits the received event to the management unit 22 (step Sa10). The management unit 22 that has received the activation event from the event reception unit 25 reads the ID of the applet being executed from the activation state storage unit 23. Since the ID of the read applet is the standby screen applet 40a managed by the APMAN 20, the management unit 22 sends a temporary termination request to the execution unit 12 of the OS 10 in order to put the standby screen applet 40a into a temporary termination state. (Step Sa11).

仮終了要求を受信した実行部12は、待ち受け画面アプレット40aをOS10において終了させると共にAPMAN20において停止状態にするため、仮終了の情報を含む終了指示を待ち受け画面アプレット40aに送信する(ステップSa12)。待ち受け画面アプレット40aは、仮終了の情報を含む終了指示を受信して、終了応答を実行部12に送信し、実行部12によって実行状態記憶部13から削除される(ステップSa13)。このとき実行状態記憶部13は図8(b)の状態となる。   The execution unit 12 that has received the provisional termination request transmits the termination instruction including the provisional termination information to the standby screen applet 40a in order to terminate the standby screen applet 40a in the OS 10 and to stop the APMAN 20 (step Sa12). The standby screen applet 40a receives a termination instruction including provisional termination information, transmits a termination response to the execution unit 12, and is deleted from the execution state storage unit 13 by the execution unit 12 (step Sa13). At this time, the execution state storage unit 13 is in the state shown in FIG.

なお、待ち受け画面アプレット40aは、復帰する場合に復帰情報を必要としないため、仮終了される場合にも復帰情報記憶部24に復帰情報は記憶されず、待ち受け画面アプレット40aを復帰させる場合には、初期状態からの起動と同様に起動することになる。   Since the standby screen applet 40a does not require return information when returning, the return information is not stored in the return information storage unit 24 even if it is temporarily terminated, and when the standby screen applet 40a is returned. This is the same as the startup from the initial state.

終了応答を受信した実行部12は、終了応答の情報を管理部22に送信する。終了応答の情報を受信した管理部22は、起動状態記憶部23から待ち受け画面アプレット40bのIDを削除する(ステップSa14)。次に、待ち受け画面アプレット40bの終了応答を受信した管理部22は、ダミーアプレットを起動するために、ダミーアプレット起動指示を実行部12に送信する(ステップSa15)。   The execution unit 12 that has received the end response transmits information on the end response to the management unit 22. The management unit 22 that has received the information of the end response deletes the ID of the standby screen applet 40b from the activation state storage unit 23 (step Sa14). Next, the management unit 22 that has received the end response of the standby screen applet 40b transmits a dummy applet activation instruction to the execution unit 12 in order to activate the dummy applet (step Sa15).

ここで、ダミーアプレットとは、特に表示や音声の出力などを行わないアプレットである。ダミーアプレットを起動する理由としては、以下の(1)と(2)の2つの理由が存在する。   Here, the dummy applet is an applet that does not display or output audio. There are two reasons (1) and (2) below for starting the dummy applet.

(1)仮終了されているスタティックアプレットと当該スタティックアプレットより後に起動されかつ一時停止されているダウンロードアプレットが存在する場合に、スタティックアプレットは実行状態記憶部13からは削除されているため、実行中のアプレットが終了された場合に実行状態記憶部13においてダウンロードアプレットが先に復帰してしまうことになる。そこで、ダウンロードアプレットを起動する前にダミーアプレットを起動しておくことで、ダウンロードアプレットより先にダミーアプレットが復帰し、当該ダミーアプレットの復帰を契機にスタティックアプレットを復帰させることで復帰順序を維持することを可能とする。   (1) When there is a static applet that has been temporarily terminated and a download applet that is activated and suspended after the static applet, the static applet is deleted from the execution state storage unit 13 and is being executed. When the applet is terminated, the download applet returns to the execution state storage unit 13 first. Therefore, by starting the dummy applet before starting the download applet, the dummy applet returns before the download applet, and the return order is maintained by returning the static applet when the dummy applet returns. Make it possible.

(2)起動時に起動される待ち受け画面アプレット40aは、APMAN20によって仮終了されても、仮終了された状態から復帰させるための復帰情報が存在せず、再起動することによって復帰させることになる。しかし、その場合に復帰情報記憶部24に復帰させるための復帰情報がなく、待ち受け画面アプレット40aを再起動する契機がなくなる。そこで、待ち受け画面アプレット40aを仮終了させる際にダミーアプレットを起動しておくことで待ち受け画面アプレット40aを再起動させることを可能とする。   (2) Even if the standby screen applet 40a activated at the time of activation is provisionally terminated by the APMAN 20, there is no restoration information for restoring from the provisionally terminated state, and it is restored by restarting. However, in that case, there is no return information for returning to the return information storage unit 24, and there is no opportunity to restart the standby screen applet 40a. Therefore, the standby screen applet 40a can be restarted by activating the dummy applet when the standby screen applet 40a is temporarily terminated.

次に、図5においてダミーアプレット起動指示を受信した実行部12は、ダミーアプレットを起動するため、ダミーアプレットのデータを実行状態記憶部13に記録する(ステップSa16)。このとき実行状態記憶部13は図8(c)の状態となる。   Next, the execution unit 12 that has received the dummy applet activation instruction in FIG. 5 records the dummy applet data in the execution state storage unit 13 to activate the dummy applet (step Sa16). At this time, the execution state storage unit 13 is in the state of FIG.

起動されたダミーアプレットは起動応答を実行部12に送信する(ステップSa17)。ダミーアプレットから起動応答を受信した実行部12は、管理部22にダミーアプレットの起動情報を送信する。ダミーアプレットの起動情報を受信した管理部22は、起動状態記憶部23にダミーアプレットのIDを記録する(ステップSa18)。次に、ダミーアプレットの起動情報を受信した管理部22は、電子メールアプレット40bを起動するため実行部12に電子メールアプレット40bの起動要求を送信する(ステップSa19)。起動要求を受信した実行部12は、ダミーアプレットを一時停止状態にするため、一時停止指示をダミーアプレットに送信する(ステップSa20)。   The activated dummy applet transmits an activation response to the execution unit 12 (step Sa17). Upon receiving the activation response from the dummy applet, the execution unit 12 transmits the dummy applet activation information to the management unit 22. Upon receiving the dummy applet activation information, the management unit 22 records the dummy applet ID in the activation state storage unit 23 (step Sa18). Next, the management unit 22 that has received the activation information of the dummy applet transmits an activation request for the email applet 40b to the execution unit 12 to activate the email applet 40b (step Sa19). The execution unit 12 that has received the activation request transmits a pause instruction to the dummy applet to place the dummy applet in a paused state (step Sa20).

一時停止指示を受信したダミーアプレットは一時停止状態となり、一時停止応答を実行部12に送信する。ここで、ダミーアプレットのデータは、一時停止されても実行状態記憶部13から削除されず、保持された状態を継続する(ステップSa21)。次に、一時停止応答を受信した実行部12は、電子メールアプレット40bを起動するため、スタティックアプレット記憶部40から電子メールアプレット40bを読み出し、実行状態記憶部13に電子メールアプレット40bを記録する(ステップSa22)。このとき実行状態記憶部13は図8(d)の状態となる。起動された電子メールアプレット40bは、起動応答を実行部12に送信する(ステップSa23)。電子メールアプレット40bの起動応答を受信した実行部12は、電子メールアプレット40bの起動情報を管理部22に送信する。電子メールアプレット40bの起動情報を受信した管理部22は、起動状態記憶部23に電子メールアプレット40bのIDを記録する(ステップSa24)。   The dummy applet that has received the pause instruction enters a pause state and transmits a pause response to the execution unit 12. Here, the data of the dummy applet is not deleted from the execution state storage unit 13 even if it is temporarily stopped, and the held state is continued (step Sa21). Next, the execution unit 12 that has received the suspension response reads the email applet 40b from the static applet storage unit 40 and records the email applet 40b in the execution state storage unit 13 in order to activate the email applet 40b ( Step Sa22). At this time, the execution state storage unit 13 is in the state shown in FIG. The activated email applet 40b transmits an activation response to the execution unit 12 (step Sa23). The execution unit 12 that has received the activation response of the email applet 40b transmits activation information of the email applet 40b to the management unit 22. Receiving the activation information of the email applet 40b, the management unit 22 records the ID of the email applet 40b in the activation state storage unit 23 (step Sa24).

次に、ダウンロードアプレットAを起動するために、ユーザがキー操作部52を操作してダウンロードアプレットAの起動指示を入力する。入力された起動指示に基づいて発生する起動イベントがAPMAN20のイベント受信部25によって受信される。イベント受信部25は、受信した当該起動イベントを管理部22に送信する(ステップSa30)。当該起動イベントを受信した管理部22は、起動状態記憶部23から、実行中のアプレットのIDを読み出す。読み出されたアプレットのIDがAPMAN20によって管理される電子メールアプレット40bであることから、管理部22は、電子メールアプレット40bを仮終了状態にするため、OS10の実行部12に仮終了要求を送信する(ステップSa31)。   Next, in order to activate the download applet A, the user operates the key operation unit 52 to input an activation instruction for the download applet A. An activation event generated based on the inputted activation instruction is received by the event receiving unit 25 of the APMAN 20. The event receiving unit 25 transmits the received activation event to the management unit 22 (step Sa30). The management unit 22 that has received the activation event reads the ID of the applet being executed from the activation state storage unit 23. Since the read applet ID is the email applet 40b managed by the APMAN 20, the management unit 22 sends a provisional termination request to the execution unit 12 of the OS 10 in order to place the email applet 40b in a provisional termination state. (Step Sa31).

仮終了要求を受信した実行部12は、電子メールアプレット40bをOS10において終了させると共にAPMAN20において停止状態にするため、仮終了要求情報を含む終了指示を電子メールアプレット40bに送信する(ステップSa32)。電子メールアプレット40bは、仮終了要求情報を含む終了指示を受信して、復帰するための復帰情報を含む終了応答を実行部12に送信し、実行部12によって実行状態記憶部13から削除される(ステップSa33)。このとき実行状態記憶部13は図8(e)の状態となる。   The execution unit 12 that has received the provisional termination request transmits an termination instruction including provisional termination request information to the email applet 40b in order to terminate the email applet 40b in the OS 10 and in the APMAN 20 (step Sa32). The email applet 40b receives the termination instruction including the provisional termination request information, transmits a termination response including the restoration information for returning to the execution unit 12, and is deleted from the execution state storage unit 13 by the execution unit 12. (Step Sa33). At this time, the execution state storage unit 13 is in the state shown in FIG.

電子メールアプレット40bから終了応答を受信した実行部12は、電子メールアプレット40bの復帰情報を管理部22に送信する。復帰情報を受信した管理部22は、復帰情報記憶部24に復帰情報を記録する。また、起動状態記憶部23から電子メールアプレット40bのIDを削除する(ステップSa34)。このとき、復帰情報記憶部24は、図7(a)に示す状態となり、電子メールアプレット40bの復帰情報が記憶されることとなる。   The execution unit 12 that has received the end response from the email applet 40b transmits the return information of the email applet 40b to the management unit 22. The management unit 22 that has received the return information records the return information in the return information storage unit 24. Further, the ID of the email applet 40b is deleted from the activation state storage unit 23 (step Sa34). At this time, the return information storage unit 24 is in the state shown in FIG. 7A, and the return information of the email applet 40b is stored.

また、電子メールアプレット40bから終了応答を受信した実行部12は、ダウンロードアプレットAを起動するため、ダウンロードアプレットAのデータをダウンロードアプレット記憶部30から読み出して実行状態記憶部13に記録する(ステップSa35)。このとき実行状態記憶部13は図8(f)の状態となる。起動したダウンロードアプレットAは起動応答を実行部12に送信する(ステップSa36)。ダウンロードアプレットAから起動応答を受信した実行部12は、管理部22にダミーアプレットの起動情報を送信する。ダウンロードアプレットAの起動情報を受信した管理部22は、起動状態記憶部23にダウンロードアプレットAのIDを記録する(ステップSa37)。ここで、例えばダウンロードアプレットAが、予め携帯電話端末1の内部の記憶領域に読み込まれている音楽や動画などのコンテンツデータを検索するアプレットであったとすると、ユーザがキー操作部52を操作することにより検索が行われ、いくつかのコンテンツデータのファイル名が表示部51に表示される。   The execution unit 12 that has received the end response from the email applet 40b reads the data of the download applet A from the download applet storage unit 30 and records it in the execution state storage unit 13 in order to activate the download applet A (step Sa35). ). At this time, the execution state storage unit 13 is in the state shown in FIG. The activated download applet A transmits an activation response to the execution unit 12 (step Sa36). The execution unit 12 that has received the activation response from the download applet A transmits dummy applet activation information to the management unit 22. The management unit 22 that has received the activation information of the download applet A records the ID of the download applet A in the activation state storage unit 23 (step Sa37). Here, for example, if the download applet A is an applet that searches for content data such as music or video that has been read in advance in the internal storage area of the mobile phone terminal 1, the user operates the key operation unit 52. Thus, the search is performed, and the file names of some content data are displayed on the display unit 51.

図6は、図5に続いてダウンロードアプレットAからコンテンツ再生アプレット40cが起動され、さらにダウンロードアプレットBが起動される際の処理を示したシーケンス図である。なお、図6では、待ち受け画面アプレット40a及び電子メールアプレット40bは仮終了の状態である。また、当該ダウンロードアプレットBは、ゲームのアプレットであるとする。   FIG. 6 is a sequence diagram showing processing when the content playback applet 40c is activated from the download applet A and the download applet B is activated following FIG. In FIG. 6, the standby screen applet 40a and the e-mail applet 40b are temporarily ended. The download applet B is assumed to be a game applet.

以下、図6を参照して、上記のコンテンツ再生アプレット40c及びダウンロードアプレットBが起動される処理について説明する。最初に、起動されているダウンロードアプレットAは、コンテンツデータのファイル名を検索結果として表示部51に表示している。ユーザがキー操作部52を操作することによって、いずれかのコンテンツデータが選択されると、ダウンロードアプレットAによりコンテンツ再生アプレット40cの起動指示がAPMAN20に入力される。入力された起動指示に基づいて発生する起動イベントがAPMAN20のイベント受信部25によって受信される。イベント受信部25は、受信した当該起動イベントを管理部22に送信する。(ステップSa40)。当該イベントをイベント受信部25から受信した管理部22は、起動状態記憶部23から、実行中のアプレットのIDを読み出す。読み出されたアプレットのIDがAPMAN20に管理されないダウンロードアプレットAであることから、管理部22は、ダミーアプレットを起動するため、OS10の実行部12にダミーアプレット起動指示を送信する。ここで、ダミーアプレットを起動する理由は上述した(1)の理由に基づく(ステップSa41)。   In the following, with reference to FIG. 6, a process for starting the content reproduction applet 40c and the download applet B will be described. First, the activated download applet A displays the file name of the content data on the display unit 51 as a search result. When any content data is selected by the user operating the key operation unit 52, the download applet A inputs an activation instruction for the content reproduction applet 40c to the APMAN 20. An activation event generated based on the inputted activation instruction is received by the event receiving unit 25 of the APMAN 20. The event reception unit 25 transmits the received activation event to the management unit 22. (Step Sa40). The management unit 22 that has received the event from the event reception unit 25 reads the ID of the applet being executed from the activation state storage unit 23. Since the read applet ID is the download applet A that is not managed by the APMAN 20, the management unit 22 transmits a dummy applet activation instruction to the execution unit 12 of the OS 10 in order to activate the dummy applet. Here, the reason for starting the dummy applet is based on the reason (1) described above (step Sa41).

ダミーアプレット起動指示を受信した実行部12は、実行中のダウンロードアプレットAに一時停止指示を送信する(ステップSa42)。一時停止指示を受信したダウンロードアプレットAは一時停止状態となり、一時停止応答を実行部12に送信する。ここで、ダウンロードアプレットAのデータは、一時停止されても実行状態記憶部13から削除されず、保持された状態を継続する(ステップSa43)。一時停止応答を受信した実行部12は、ダミーアプレットを起動するため、ダミーアプレットのデータを実行状態記憶部13に記録する(ステップSa44)。このとき、実行状態記憶部13の状態は図8(g)に示す状態となる。起動されたダミーアプレットは起動応答を実行部12に送信する(ステップSa45)。ダミーアプレットから起動応答を受信した実行部12は、管理部22にダミーアプレットの起動情報を送信する。ダミーアプレットの起動情報を受信した管理部22は、起動状態記憶部23にダミーアプレットのIDを記録する(ステップSa46)。   The execution unit 12 that has received the dummy applet activation instruction transmits a pause instruction to the download applet A being executed (step Sa42). The download applet A that has received the pause instruction enters a pause state and transmits a pause response to the execution unit 12. Here, the data of the download applet A is not deleted from the execution state storage unit 13 even if it is temporarily stopped, and the held state is continued (step Sa43). The execution unit 12 that has received the temporary stop response records the data of the dummy applet in the execution state storage unit 13 in order to activate the dummy applet (step Sa44). At this time, the state of the execution state storage unit 13 is as shown in FIG. The activated dummy applet transmits an activation response to the execution unit 12 (step Sa45). Upon receiving the activation response from the dummy applet, the execution unit 12 transmits the dummy applet activation information to the management unit 22. Upon receiving the dummy applet activation information, the management unit 22 records the dummy applet ID in the activation state storage unit 23 (step Sa46).

次に、ダミーアプレットの起動情報を受信した管理部22は、コンテンツ再生アプレット40cを起動するため実行部12に起動要求を送信する(ステップSa47)。起動要求を受信した実行部12は、ダミーアプレットを一時停止状態にするため、一時停止指示をダミーアプレットに送信する(ステップSa48)。一時停止指示を受信したダミーアプレットは一時停止状態となり、一時停止応答を実行部12に送信する。ここで、ダミーアプレットのデータは、一時停止されても実行状態記憶部13から削除されず、保持された状態を継続する(ステップSa49)。一時停止応答を受信した実行部12は、コンテンツ再生アプレット40cを起動するため、スタティックアプレット記憶部40からコンテンツ再生アプレット40cを読み出し、実行状態記憶部13にコンテンツ再生アプレット40cを記録し、コンテンツ再生アプレット40cを実行する(ステップSa50)。このとき、実行状態記憶部13の状態は図8(h)に示す状態となる。起動後のコンテンツ再生アプレット40cは、起動応答を実行部12に送信する(ステップSa51)。そして、実行部12は、コンテンツ再生アプレット40cの起動情報を管理部22に送信する。コンテンツ再生アプレット40cの起動情報を受信した管理部22は、起動状態記憶部23にコンテンツ再生アプレット40cのIDを記録する(ステップSa52)。   Next, the management unit 22 that has received the activation information of the dummy applet transmits an activation request to the execution unit 12 to activate the content reproduction applet 40c (step Sa47). The execution unit 12 that has received the activation request transmits a pause instruction to the dummy applet to place the dummy applet in a paused state (step Sa48). The dummy applet that has received the pause instruction enters a pause state and transmits a pause response to the execution unit 12. Here, the data of the dummy applet is not deleted from the execution state storage unit 13 even if it is temporarily stopped, and the held state is continued (step Sa49). The execution unit 12 that has received the pause response reads the content playback applet 40c from the static applet storage unit 40 to start the content playback applet 40c, records the content playback applet 40c in the execution state storage unit 13, and the content playback applet. 40c is executed (step Sa50). At this time, the state of the execution state storage unit 13 is as shown in FIG. The activated content playback applet 40c transmits an activation response to the execution unit 12 (step Sa51). Then, the execution unit 12 transmits activation information of the content reproduction applet 40c to the management unit 22. The management unit 22 that has received the activation information of the content reproduction applet 40c records the ID of the content reproduction applet 40c in the activation state storage unit 23 (step Sa52).

次に、コンテンツ再生アプレット40cは、内部の記憶領域からコンテンツデータを読み出し、読み出した動画や音声のコンテンツデータをそれぞれ表示部51と音声処理部53とに出力する。そして、コンテンツ再生アプレット40cがコンテンツデータを出力している途中あるいは再生が終了した状態で、ユーザがキー操作部52を操作して、ゲームのダウンロードアプレットBの起動指示を入力する。   Next, the content reproduction applet 40c reads the content data from the internal storage area, and outputs the read moving image and audio content data to the display unit 51 and the audio processing unit 53, respectively. Then, while the content reproduction applet 40c is outputting content data or in a state where the reproduction is finished, the user operates the key operation unit 52 to input an activation instruction for the game download applet B.

入力された起動指示に基づいて発生する起動イベントがAPMAN20のイベント受信部25によって受信される。イベント受信部25は、受信した当該起動イベントを管理部22に送信する(ステップSa60)。当該起動イベントを受信した管理部22は、起動状態記憶部23から、実行中のアプレットのIDを読み出す。読み出されたアプレットのIDがAPMAN20によって管理されるコンテンツ再生アプレット40cであることから、管理部22は、コンテンツ再生アプレット40cを仮終了状態にするため、OS10の実行部12に仮終了要求を送信する(ステップSa61)。   An activation event generated based on the inputted activation instruction is received by the event receiving unit 25 of the APMAN 20. The event receiving unit 25 transmits the received activation event to the management unit 22 (step Sa60). The management unit 22 that has received the activation event reads the ID of the applet being executed from the activation state storage unit 23. Since the read applet ID is the content reproduction applet 40c managed by the APMAN 20, the management unit 22 sends a temporary termination request to the execution unit 12 of the OS 10 in order to put the content reproduction applet 40c into a provisional termination state. (Step Sa61).

仮終了要求を受信した実行部12は、コンテンツ再生アプレット40cをOS10において終了させると共にAPMAN20において停止状態にするため、仮終了要求情報を含む終了指示をコンテンツ再生アプレット40cに送信する(ステップSa62)。コンテンツ再生アプレット40cは、仮終了要求情報を含む終了指示を受信して、復帰するための復帰情報を含む終了応答を実行部12に送信し、実行部12によって実行状態記憶部13から削除される(ステップSa63)。このとき実行状態記憶部13は図8(i)の状態となる。   The execution unit 12 that has received the provisional termination request transmits the termination instruction including the provisional termination request information to the content reproduction applet 40c in order to terminate the content reproduction applet 40c in the OS 10 and to stop the content reproduction applet 40c in the APMAN 20 (step Sa62). The content reproduction applet 40c receives an end instruction including provisional end request information, transmits an end response including return information for returning to the execution unit 12, and is deleted from the execution state storage unit 13 by the execution unit 12. (Step Sa63). At this time, the execution state storage unit 13 is in the state shown in FIG.

コンテンツ再生アプレット40cから終了応答を受信した実行部12は、コンテンツ再生アプレット40cの復帰情報をAPMAN20に送信する。復帰情報を受信したコンテンツ再生アプレット40cは、復帰情報記憶部24に復帰情報を記録する。また、起動状態記憶部23からコンテンツ再生アプレット40cのIDを削除する(ステップSa64)。このとき、復帰情報記憶部24は、図7(b)に示す状態となり、電子メールアプレット40bの復帰情報に加えて、コンテンツ再生アプレット40cの復帰情報が記憶されることとなる。   The execution unit 12 that has received the end response from the content reproduction applet 40c transmits return information of the content reproduction applet 40c to the APMAN 20. The content reproduction applet 40 c that has received the return information records the return information in the return information storage unit 24. Further, the ID of the content reproduction applet 40c is deleted from the activation state storage unit 23 (step Sa64). At this time, the return information storage unit 24 is in the state shown in FIG. 7B, and the return information of the content reproduction applet 40c is stored in addition to the return information of the email applet 40b.

一方で、コンテンツ再生アプレット40cから終了応答を受信した実行部12は、ダウンロードアプレットBを起動するため、ダウンロードアプレットBのデータをダウンロードアプレット記憶部30から読み出して実行状態記憶部13に記録する(ステップSa65)。このとき実行状態記憶部13は図8(j)の状態となる。起動したダウンロードアプレットBは起動応答を実行部12に送信する(ステップSa66)。ダウンロードアプレットBから起動応答を受信した実行部12は、管理部22にダミーアプレットの起動情報を送信する。ダウンロードアプレットBの起動情報を受信した管理部22は、起動状態記憶部23にダウンロードアプレットBのIDを記録する(ステップSa67)。そして、ダウンロードアプレットBによって表示部51にはゲームの初期画面が表示され、音声出力部53にはゲームの初期状態の音楽が出力される。そして、ユーザがキー操作部52を操作することによりゲームが開始される。   On the other hand, the execution unit 12 that has received the end response from the content playback applet 40c reads the data of the download applet B from the download applet storage unit 30 and records it in the execution state storage unit 13 in order to activate the download applet B (step S1). Sa65). At this time, the execution state storage unit 13 is in the state shown in FIG. The activated download applet B transmits an activation response to the execution unit 12 (step Sa66). The execution unit 12 that has received the activation response from the download applet B transmits dummy applet activation information to the management unit 22. The management unit 22 that has received the activation information of the download applet B records the ID of the download applet B in the activation state storage unit 23 (step Sa67). Then, the download applet B displays an initial screen of the game on the display unit 51, and music in the initial state of the game is output to the audio output unit 53. Then, when the user operates the key operation unit 52, the game is started.

次に、図9から図11を参照して、実行中のダウンロードアプレットBが終了確認アプレット40dによって強制終了された場合に、終了確認アプレット40dによって強制終了されるアプレットのみを個別に終了させる処理について説明する。   Next, referring to FIGS. 9 to 11, when the download applet B being executed is forcibly terminated by the termination confirmation applet 40d, only the applet forcibly terminated by the termination confirmation applet 40d is individually terminated. explain.

図9は、実行中のダウンロードアプレットBが終了確認アプレット40dにより強制終了される際の処理を示したシーケンス図であり、この処理が行われる前に図5及び6で説明した処理が行われていることを前提としている。また、図10は、図9の処理において、実行状態記憶部13に記憶されている情報が書き換えられる過程を示した図である。図11は、図9の処理において、終了確認アプレット40dが表示部51に表示する画面を示した図である。   FIG. 9 is a sequence diagram showing a process when the download applet B being executed is forcibly terminated by the termination confirmation applet 40d. The processes described in FIGS. 5 and 6 are performed before this process is performed. It is assumed that FIG. 10 is a diagram illustrating a process in which information stored in the execution state storage unit 13 is rewritten in the process of FIG. FIG. 11 is a diagram showing a screen displayed on the display unit 51 by the end confirmation applet 40d in the process of FIG.

最初に、ダウンロードアプレットBが実行中であり、ダウンロードアプレットBによって表示部51に図11(a)の画面が表示されている。このとき、ユーザが実行中のダウンロードアプレットBを強制終了するために、終了確認アプレット40dの起動のために割り当てられたキー操作部52の所定のキー(例えば、クリアーキー)を操作する。当該操作によって終了確認アプレット起動指示が入力され、終了確認アプレット起動指示イベントがイベント受信部25によって受信される。イベント受信部25は、終了確認アプレット起動指示イベントを管理部22に送信する(ステップSb1)。イベント受信部25から終了確認アプレット起動指示イベントを受信した管理部22は、起動状態記憶部23から、実行中のアプレットのIDを読み出す。読み出されたアプレットのIDがAPMAN20によって管理されないダウンロードアプレットBであることから、管理部22は、ダウンロードアプレットBの一時停止要求をOS10の実行部12に送信する(ステップSb2)。   First, the download applet B is running, and the download applet B displays the screen of FIG. At this time, in order to forcibly terminate the download applet B being executed by the user, a predetermined key (for example, a clear key) of the key operation unit 52 assigned to activate the termination confirmation applet 40d is operated. By this operation, an end confirmation applet activation instruction is input, and an end confirmation applet activation instruction event is received by the event receiver 25. The event receiving unit 25 transmits an end confirmation applet activation instruction event to the management unit 22 (step Sb1). The management unit 22 that has received the end confirmation applet activation instruction event from the event reception unit 25 reads the ID of the applet being executed from the activation state storage unit 23. Since the read applet ID is the download applet B that is not managed by the APMAN 20, the management unit 22 transmits a request for temporarily stopping the download applet B to the execution unit 12 of the OS 10 (step Sb2).

当該一時停止要求を受信した実行部12は、実行中のダウンロードアプレットBに一時停止指示を送信する(ステップSb3)。一時停止指示を受信したダウンロードアプレットBは一時停止状態となり、一時停止応答を実行部12に送信する(ステップSb4)。このとき、実行状態記憶部13には、ダウンロードアプレットBの情報は保持され、図8(j)と同じ図10(a)の状態が継続される。一時停止応答を受信した実行部12は、終了確認アプレット40dを起動するため、スタティックアプレット記憶部40から終了確認アプレット40dを読み出し、実行状態記憶部13に終了確認アプレット40dを記録し、終了確認アプレット40dを実行する(ステップSb5)。このとき、実行状態記憶部13の状態は図10(b)に示す状態となる。起動後の終了確認アプレット40dは、起動応答を実行部12に送信すると共に、図11(b)の画面を表示部51に表示する(ステップSb6)。そして、実行部12は、終了確認アプレット40dの起動情報を管理部22に送信する。終了確認アプレット40dの起動情報を受信した管理部22は、起動状態記憶部23に終了確認アプレット40dのIDを記録する(ステップSb7)。   The execution unit 12 that has received the pause request transmits a pause instruction to the download applet B that is being executed (step Sb3). The download applet B that has received the pause instruction enters a pause state and transmits a pause response to the execution unit 12 (step Sb4). At this time, the information of the download applet B is held in the execution state storage unit 13, and the state of FIG. 10A that is the same as FIG. 8J is continued. The execution unit 12 that has received the suspension response reads the end confirmation applet 40d from the static applet storage unit 40, records the end confirmation applet 40d in the execution state storage unit 13, and starts the end confirmation applet 40d. 40d is executed (step Sb5). At this time, the state of the execution state storage unit 13 is as shown in FIG. The startup confirmation applet 40d after startup transmits a startup response to the execution unit 12, and displays the screen of FIG. 11B on the display unit 51 (step Sb6). Then, the execution unit 12 transmits activation information of the end confirmation applet 40d to the management unit 22. The management unit 22 that has received the activation information of the end confirmation applet 40d records the ID of the end confirmation applet 40d in the activation state storage unit 23 (step Sb7).

次に、図11(b)の画面において、ユーザによってキー操作部52が操作され「2:終了」が選択されると、強制終了指示が入力される。このとき、強制終了の対象となるのは、起動状態記憶部23において、終了確認アプレット40dの直前に記憶されているアプレットとなる。この場合では、ダウンロードアプレットBが強制終了される対象のアプレットとなる。   Next, on the screen of FIG. 11B, when the user operates the key operation unit 52 and selects “2: End”, a forced end instruction is input. At this time, the target of forced termination is the applet stored in the activation state storage unit 23 immediately before the termination confirmation applet 40d. In this case, the download applet B is an applet to be forcibly terminated.

終了確認アプレット40dによって入力される強制終了指示に基づいて発生された強制終了イベントをイベント受信部25が受信する(ステップSb10)。イベント受信部25は、受信した当該強制終了イベントを管理部22に送信する。当該強制終了イベントを受信した管理部22は、最初に、終了確認アプレットの終了要求を実行部12に送信する(ステップSb11)。   The event receiving unit 25 receives a forced end event generated based on the forced end instruction input by the end confirmation applet 40d (step Sb10). The event receiving unit 25 transmits the received forced end event to the management unit 22. Upon receiving the forced termination event, the management unit 22 first transmits a termination request for termination confirmation applet to the execution unit 12 (step Sb11).

終了要求を受信した実行部12は、終了確認アプレット40dを終了させるため、終了指示を終了確認アプレット40dに送信する(ステップSb12)。終了確認アプレット40dは、終了指示を受信して、終了応答を実行部12に送信し、実行部12によって実行状態記憶部13から削除される(ステップSb13)。このとき実行状態記憶部13は図10(c)の状態となる。   The execution unit 12 that has received the termination request transmits a termination instruction to the termination confirmation applet 40d in order to terminate the termination confirmation applet 40d (step Sb12). The end confirmation applet 40d receives the end instruction, transmits an end response to the execution unit 12, and is deleted from the execution state storage unit 13 by the execution unit 12 (step Sb13). At this time, the execution state storage unit 13 is in the state shown in FIG.

終了応答を受信した実行部12は、終了応答の情報を管理部22に送信する。終了応答の情報を受信した管理部22は、起動状態記憶部23から終了確認アプレット40dのIDを削除する(ステップSb14)。   The execution unit 12 that has received the end response transmits information on the end response to the management unit 22. The management unit 22 that has received the end response information deletes the ID of the end confirmation applet 40d from the activation state storage unit 23 (step Sb14).

ここで、終了応答を受信した管理部22は、従来では、全てのダウンロードアプレットを削除する強制終了を行っていたが、本実施形態では、ダウンロードアプレットBのみを個別に終了させるため、ダウンロードアプレットBについての終了が正常終了の処理となるように制御を行う。すなわち、ダウンロードアプレットBを一時停止状態から実行状態にして、正常終了する処理となるように制御する。   Here, the management unit 22 that has received the end response has forcibly terminated all the download applets in the past, but in this embodiment, only the download applet B is individually terminated. Control is performed so that the end of is a normal end process. That is, the download applet B is controlled from the pause state to the execution state so as to be normally terminated.

このとき、ダウンロードアプレットBを一時停止状態から実行状態にすると、一時停止前の状態に戻り、表示部51にダウンロードアプレットBによりゲームの画面が表示され、また、音声処理部53からゲームの音楽が出力されてしまう。この状態は、終了確認アプレット40dにおいて当該ダウンロードアプレットBを終了させたと思っているユーザにとって不自然な動作となるため、管理部22は、ダウンロードアプレットBを正常終了させる前に、表示部51と音声処理部53などの出力部の機能を一時停止させるため、表示部51に表示一時停止要求を送信し、音声処理部53に音声鳴動一時停止要求を送信する。それぞれの停止要求を受信した表示部51と音声処理部53とはその機能を停止する(ステップSb15)。   At this time, when the download applet B is changed from the pause state to the execution state, the download applet B returns to the state before the pause, and the game screen is displayed on the display unit 51 by the download applet B. Will be output. This state is an unnatural operation for the user who thinks that the download applet B has been terminated in the termination confirmation applet 40d. Therefore, before the download applet B is normally terminated, the managing unit 22 In order to temporarily stop the function of the output unit such as the processing unit 53, a display pause request is transmitted to the display unit 51, and a voice ringing pause request is transmitted to the voice processing unit 53. The display unit 51 and the sound processing unit 53 that have received the respective stop requests stop their functions (step Sb15).

一方で、管理部22は、起動状態記憶部23の最上段に記憶されているダウンロードアプレットBのIDを読み出し、読み出したダウンロードアプレットBのIDを含む復帰要求を実行部12に送信する(ステップSb16)。復帰要求を受信した実行部12は、復帰要求に含まれているダウンロードアプレットBのIDに基づいて、一時停止状態のダウンロードアプレットBを実行状態記憶部13から検出し、ダウンロードアプレットBを実行状態にする(ステップSb17)。   On the other hand, the management unit 22 reads the ID of the download applet B stored in the top row of the activation state storage unit 23, and transmits a return request including the read ID of the download applet B to the execution unit 12 (step Sb16). ). The execution unit 12 that has received the return request detects the download applet B in the suspended state from the execution state storage unit 13 based on the ID of the download applet B included in the return request, and sets the download applet B to the execution state. (Step Sb17).

実行状態となったダウンロードアプレットBは、復帰応答を実行部12に送信する。このとき、ダウンロードアプレットBは、一時停止前の状態に戻るため、ゲームの画面や音声を出力しようとするが、表示部51と音声処理部53とは機能が停止されているため、表示部51と音声処理部53とにダウンロードアプレットBによる画面や音声は出力されない(ステップSb18)。ダウンロードアプレットBから復帰応答を受信した実行部12は、当該復帰応答に含まれる復帰情報を管理部22に送信する(ステップSb19)。   The download applet B that has entered the execution state transmits a return response to the execution unit 12. At this time, the download applet B tries to output the game screen and sound in order to return to the state before the suspension, but since the functions of the display unit 51 and the sound processing unit 53 are stopped, the display unit 51 The screen and the sound by the download applet B are not output to the sound processing unit 53 (step Sb18). The execution unit 12 that has received the return response from the download applet B transmits the return information included in the return response to the management unit 22 (step Sb19).

ダウンロードアプレットBの復帰情報を受信した管理部22は、次にダウンロードアプレットBの終了要求を実行部12に送信する(ステップSb20)。管理部22からダウンロードアプレットBの終了要求を受信した実行部12は、ダウンロードアプレットBを終了させるため、ダウンロードアプレットBに終了指示を送信する(ステップSb21)。ダウンロードアプレットBから終了応答を受信した実行部12は、ダウンロードアプレットBの情報を実行状態記憶部13から削除する。このとき、実行状態記憶部13は、図10(d)の状態となる(ステップSb22)。   The management unit 22 that has received the return information of the download applet B transmits a request for termination of the download applet B to the execution unit 12 (step Sb20). The execution unit 12 that has received the termination request for the download applet B from the management unit 22 transmits a termination instruction to the download applet B in order to terminate the download applet B (step Sb21). The execution unit 12 that has received the end response from the download applet B deletes the information about the download applet B from the execution state storage unit 13. At this time, the execution state storage unit 13 is in the state of FIG. 10D (step Sb22).

次に、実行部12は、実行状態記憶部13の最上段に記憶されている一時停止状態のダミーアプレットを起動状態にするため起動指示を送信する(ステップSb23)。起動指示を受信したダミーアプレットは、起動応答を実行部12に応答する(ステップSb24)。起動応答を受信した実行部12は、ダミーアプレットの起動情報を管理部22に送信する(ステップSb25)。   Next, the execution unit 12 transmits an activation instruction to activate the suspended dummy applet stored in the uppermost stage of the execution state storage unit 13 (step Sb23). The dummy applet that has received the activation instruction returns an activation response to the execution unit 12 (step Sb24). The execution unit 12 that has received the activation response transmits the activation information of the dummy applet to the management unit 22 (step Sb25).

ダミーアプレットの起動情報を受信した管理部22は、表示部51と音声処理部53の機能を再開するため、表示部51に表示再開要求を送信し、音声処理部53に音声鳴動再開要求を送信する(ステップSb26)。その一方で、管理部22は、図7(b)に示す復帰情報記憶部24の最上段に記憶されているコンテンツ再生アプレット40cの復帰情報を読み出す。そして、コンテンツ再生アプレット40cを復帰させるため、実行部12にコンテンツ再生アプレット40cの復帰情報を含むコンテンツ再生アプレット40cの起動要求を送信する(ステップSb27)。起動要求を受信した実行部12は、実行中のダミーアプレットを一時停止状態にするため一時停止指示を送信する(ステップSb28)。一時停止指示を受信したダミーアプレットは一時停止状態となり、一時停止応答を実行部12に送信する。ここで、ダミーアプレットのデータは、一時停止されても実行状態記憶部13から削除されず、保持された状態を継続する(ステップSb29)。   The management unit 22 that has received the activation information of the dummy applet transmits a display resumption request to the display unit 51 and transmits a sound ringing resumption request to the sound processing unit 53 in order to resume the functions of the display unit 51 and the sound processing unit 53. (Step Sb26). On the other hand, the management unit 22 reads the return information of the content reproduction applet 40c stored at the top of the return information storage unit 24 shown in FIG. Then, in order to restore the content playback applet 40c, a request for starting the content playback applet 40c including the return information of the content playback applet 40c is transmitted to the execution unit 12 (step Sb27). The execution unit 12 that has received the activation request transmits a pause instruction to put the currently executed dummy applet into a pause state (step Sb28). The dummy applet that has received the pause instruction enters a pause state and transmits a pause response to the execution unit 12. Here, the data of the dummy applet is not deleted from the execution state storage unit 13 even if it is temporarily stopped, and the held state is continued (step Sb29).

次に、一時停止応答を受信した実行部12は、コンテンツ再生アプレット40cを起動するため、スタティックアプレット記憶部40からコンテンツ再生アプレット40cを読み出し、実行状態記憶部13にコンテンツ再生アプレット40cの復帰情報を含んだ状態でコンテンツ再生アプレット40cを記録し、コンテンツ再生アプレット40cを実行する(ステップSb30)。起動後のコンテンツ再生アプレット40cは、起動応答を実行部12に送信する(ステップSb31)。そして、実行部12は、コンテンツ再生アプレット40cの起動情報を管理部22に送信する。コンテンツ再生アプレット40cの起動情報を受信した管理部22は、起動状態記憶部23にコンテンツ再生アプレット40cの情報を記録する(ステップSb32)。このとき、実行状態記憶部13は、図10(e)に示す状態となり、表示部51は図11(c)に示す状態となる。   Next, the execution unit 12 that has received the pause response reads the content reproduction applet 40c from the static applet storage unit 40 and activates the content reproduction applet 40c, and stores the return information of the content reproduction applet 40c in the execution state storage unit 13. The content reproduction applet 40c is recorded in the included state, and the content reproduction applet 40c is executed (step Sb30). The activated content playback applet 40c transmits an activation response to the execution unit 12 (step Sb31). Then, the execution unit 12 transmits activation information of the content reproduction applet 40c to the management unit 22. The management unit 22 that has received the activation information of the content reproduction applet 40c records the information of the content reproduction applet 40c in the activation state storage unit 23 (step Sb32). At this time, the execution state storage unit 13 is in the state shown in FIG. 10E, and the display unit 51 is in the state shown in FIG.

上記の構成により、終了確認アプレット40dにより、終了されるダウンロードアプレットが存在する場合に、中断されている他のアプレットの情報を維持して当該ダウンロードアプレットのみを終了させることができる。これにより、起動した順と逆の順序でアプレットを復帰させることが可能となり、ユーザにとって使い勝手のよいインタフェースを提供することが可能となる。   With the above configuration, when there is a download applet to be terminated by the termination confirmation applet 40d, it is possible to terminate only the download applet while maintaining information on other suspended applets. This makes it possible to return the applets in the reverse order of activation, and to provide a user-friendly interface.

上述の携帯電話端末1は内部に、コンピュータシステムを有している。そして、上述したダウンロードアプレットの起動、一時停止、終了及びスタティックアプレットの起動、仮終了、終了の処理過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   The mobile phone terminal 1 described above has a computer system inside. The download applet activation, suspension, termination and static applet activation, provisional termination, and termination processes are stored in a computer-readable recording medium in the form of a program, and the computer reads the program. The above processing is performed by executing the above. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

本実施形態による携帯電話端末の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the mobile telephone terminal by this embodiment. 同実施形態における実行状態記憶部のデータ構成を示した図である。It is the figure which showed the data structure of the execution state memory | storage part in the same embodiment. 同実施形態における起動状態記憶部のデータ構成を示した図である。It is the figure which showed the data structure of the starting state memory | storage part in the same embodiment. 同実施形態における復帰情報記憶部のデータ構成を示した図である。It is the figure which showed the data structure of the return information storage part in the embodiment. 同実施形態におけるアプレット起動の処理を示したシーケンス図(その1)である。FIG. 6 is a sequence diagram (part 1) illustrating an applet activation process in the embodiment. 同実施形態におけるアプレット起動の処理を示したシーケンス図(その2)である。FIG. 6 is a sequence diagram (No. 2) showing an applet activation process in the embodiment. 同実施形態におけるアプレット起動の処理における復帰情報記憶部に記憶される情報を示した図である。It is the figure which showed the information memorize | stored in the return information storage part in the process of applet starting in the same embodiment. 同実施形態におけるアプレット起動の処理における実行状態記憶部に記憶される情報を示した図である。It is the figure which showed the information memorize | stored in the execution state memory | storage part in the process of applet starting in the embodiment. 同実施形態におけるダウンロードアプレット終了の処理を示したシーケンス図である。FIG. 7 is a sequence diagram showing a download applet termination process in the embodiment. 同実施形態におけるダウンロードアプレット終了の処理における実行状態記憶部に記憶される情報を示した図である。It is the figure which showed the information memorize | stored in the execution state memory | storage part in the process of completion | finish of the download applet in the embodiment. 同実施形態における終了確認アプレットが表示部に表示する画面を示した図である。It is the figure which showed the screen which the completion | finish confirmation applet in the same embodiment displays on a display part. 従来の技術におけるアプレット起動及び復帰の過程を示した図(その1)である。It is the figure (the 1) which showed the process of the applet starting in the prior art, and a return process. 従来の技術におけるアプレット起動及び復帰の過程を示した図(その2)である。It is the figure (the 2) which showed the process of applet starting in the conventional technique, and a return.

符号の説明Explanation of symbols

1 携帯電話端末
2 制御部
10 OS
12 実行部
13 実行状態記憶部
20 APMAN
22 管理部
24 復帰情報記憶部
50 無線通信部
51 表示部
52 キー操作部
53 音声処理部

1 Mobile phone terminal 2 Control unit 10 OS
12 execution unit 13 execution state storage unit 20 APMAN
22 management unit 24 return information storage unit 50 wireless communication unit 51 display unit 52 key operation unit 53 voice processing unit

Claims (7)

プログラムの実行、中断及び終了を制御するプログラム実行部と、
前記プログラムの指示に基づいて情報の出力を行う出力部と、
前記プログラム実行部により第1のプログラムが中断され、第2のプログラムが実行されている状態にて、前記第2のプログラムから前記第1のプログラムの終了要求を受信したとき、前記出力部に対して一時停止要求を送信するとともに前記プログラム実行部に前記第2のプログラムを終了させて前記第1のプログラムを実行させた後に前記第1のプログラムを終了させるプログラム管理部と、
を備えたことを特徴とする携帯端末装置。
A program execution unit for controlling execution, interruption and termination of the program;
An output unit for outputting information based on an instruction of the program;
When the first program is interrupted by the program execution unit and the second program is being executed, when an end request for the first program is received from the second program, the output unit A program management unit for transmitting a pause request and causing the program execution unit to end the second program and executing the first program, and then ending the first program;
A portable terminal device comprising:
前記プログラム管理部は、前記プログラム実行部に第1のプログラムを終了させた後に、前記出力部に対して再開要求を送信することを特徴とする請求項1に記載の携帯端末装置。   The mobile terminal device according to claim 1, wherein the program management unit transmits a restart request to the output unit after the program execution unit ends the first program. 前記プログラム管理部は、前記第1のプログラムが実行される前に実行され、かつ中断されている第3のプログラムが存在する場合に、前記プログラム実行部に前記第1のプログラムを終了させたときは、前記第3のプログラムを前記プログラム実行部に実行させることを特徴とする請求項1または2に記載の携帯端末装置。   The program management unit causes the program execution unit to terminate the first program when there is a third program that has been executed and suspended before the first program is executed. The portable terminal device according to claim 1, wherein the third program is executed by the program execution unit. 前記第2のプログラムは、前記第1のプログラムが実行されている状態にて、所定のキー操作を検出すると当該第1のプログラムを中断して起動される終了確認プログラムであることを特徴とする請求項1から3のいずれか1つに記載の携帯端末装置。   The second program is an end confirmation program that is started by interrupting the first program when a predetermined key operation is detected while the first program is being executed. The portable terminal device as described in any one of Claim 1 to 3. 前記プログラムは、中断された場合に前記プログラム実行部にて一時停止される管理非対象プログラムと、中断された場合に前記プログラム実行部にて終了されるとともに復帰させるための復帰情報が前記プログラム管理部にて記録され、前記プログラム管理部にて再開が指示されると前記復帰情報が読み出されて前記プログラム実行部にて実行される管理対象プログラムとを含み、
前記プログラム管理部は、前記第3のプログラムが前記管理対象プログラムの場合、前記プログラム実行部に前記第1のプログラムを終了させたときは、前記第3のプログラムに対応する復帰情報を読み出し、当該復帰情報に基づいて前記第3のプログラムを前記プログラム実行部に実行させることを特徴とする請求項3または4に記載の携帯端末装置。
The program includes a management non-target program that is temporarily stopped by the program execution unit when the program is interrupted, and return information that is terminated and returned by the program execution unit when the program is interrupted. And a management target program that is read out when the restart is instructed by the program management unit and executed by the program execution unit,
When the third program is the management target program, the program management unit reads return information corresponding to the third program when the program execution unit terminates the first program, The portable terminal device according to claim 3 or 4, wherein the program execution unit is caused to execute the third program based on return information.
プログラムの実行、中断及び終了を制御するプログラム実行部と、前記プログラム実行部によって制御されるプログラムを管理するプログラム管理部と、前記プログラムの指示に基づいて情報の出力を行う出力部とを備えた携帯端末装置におけるプログラム終了方法であって、
前記プログラム実行部が第1のプログラムを中断し、第2のプログラムを実行するステップと、
前記プログラム管理部が、前記第2のプログラムから前記第1のプログラムの終了要求を受信するステップと、
前記プログラム管理部が、前記出力部に対して一時停止要求を送信するステップと、
前記プログラム管理部が、前記プログラム実行部に前記第2のプログラムを終了させるステップと、
前記プログラム管理部が、前記プログラム実行部に前記第1のプログラムを実行させ、
前記第1のプログラムを終了させるステップと、
を有することを特徴とするプログラム終了方法。
A program execution unit that controls execution, interruption, and termination of a program, a program management unit that manages a program controlled by the program execution unit, and an output unit that outputs information based on instructions of the program A program termination method in a portable terminal device,
The program execution unit interrupting the first program and executing the second program;
The program management unit receiving a termination request for the first program from the second program;
The program management unit transmitting a pause request to the output unit;
The program management unit causing the program execution unit to terminate the second program;
The program management unit causes the program execution unit to execute the first program;
Ending the first program;
A program end method characterized by comprising:
プログラムの実行、中断及び終了を制御するプログラム実行部と、前記プログラム実行部によって制御されるプログラムを管理するプログラム管理部と、前記プログラムの指示に基づいて情報の出力を行う出力部とを備えた携帯端末装置のコンピュータに、
前記プログラム実行部が第1のプログラムを中断し、第2のプログラムを実行するステップと、
前記プログラム管理部が、前記第2のプログラムから前記第1のプログラムの終了要求を受信するステップと、
前記プログラム管理部が、前記出力部に対して一時停止要求を送信するステップと、
前記プログラム管理部が、前記プログラム実行部に前記第2のプログラムを終了させるステップと、
前記プログラム管理部が、前記プログラム実行部に前記第1のプログラムを実行させ、
前記第1のプログラムを終了させるステップと、
を実行させるためのコンピュータプログラム。

A program execution unit that controls execution, interruption, and termination of a program, a program management unit that manages a program controlled by the program execution unit, and an output unit that outputs information based on instructions of the program In the computer of the mobile terminal device,
The program execution unit interrupting the first program and executing the second program;
The program management unit receiving a termination request for the first program from the second program;
The program management unit transmitting a pause request to the output unit;
The program management unit causing the program execution unit to terminate the second program;
The program management unit causes the program execution unit to execute the first program;
Ending the first program;
A computer program for running.

JP2005051333A 2005-02-25 2005-02-25 Portable terminal device, program termination method, and computer program therefor Expired - Fee Related JP4503466B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005051333A JP4503466B2 (en) 2005-02-25 2005-02-25 Portable terminal device, program termination method, and computer program therefor
US11/362,417 US7761853B2 (en) 2005-02-25 2006-02-23 Portable terminal device, method for restoring program, method for terminating program, and computer program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005051333A JP4503466B2 (en) 2005-02-25 2005-02-25 Portable terminal device, program termination method, and computer program therefor

Publications (2)

Publication Number Publication Date
JP2006236102A JP2006236102A (en) 2006-09-07
JP4503466B2 true JP4503466B2 (en) 2010-07-14

Family

ID=37043670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005051333A Expired - Fee Related JP4503466B2 (en) 2005-02-25 2005-02-25 Portable terminal device, program termination method, and computer program therefor

Country Status (1)

Country Link
JP (1) JP4503466B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4795194B2 (en) * 2006-10-13 2011-10-19 富士通東芝モバイルコミュニケーションズ株式会社 Mobile device
KR101262009B1 (en) * 2006-11-20 2013-05-08 엘지전자 주식회사 Mobile communication terminal having a touch key and method of controlling a touch key
JP2009217578A (en) * 2008-03-11 2009-09-24 Ri Co Ltd Backup program
JP5492721B2 (en) * 2010-09-17 2014-05-14 東芝テック株式会社 Computer and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001188680A (en) * 1999-10-18 2001-07-10 H & T:Kk Program selection and start-up system
JP2002175191A (en) * 2000-12-05 2002-06-21 Kenwood Corp Electronic equipment
JP2003256219A (en) * 2002-03-01 2003-09-10 Aplix Corp Program execution method in incorporated equipment
JP2004078936A (en) * 2002-07-31 2004-03-11 Matsushita Electric Ind Co Ltd Terminal and method for information processing
JP2004304725A (en) * 2003-04-01 2004-10-28 Sharp Corp Mobile phone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001188680A (en) * 1999-10-18 2001-07-10 H & T:Kk Program selection and start-up system
JP2002175191A (en) * 2000-12-05 2002-06-21 Kenwood Corp Electronic equipment
JP2003256219A (en) * 2002-03-01 2003-09-10 Aplix Corp Program execution method in incorporated equipment
JP2004078936A (en) * 2002-07-31 2004-03-11 Matsushita Electric Ind Co Ltd Terminal and method for information processing
JP2004304725A (en) * 2003-04-01 2004-10-28 Sharp Corp Mobile phone

Also Published As

Publication number Publication date
JP2006236102A (en) 2006-09-07

Similar Documents

Publication Publication Date Title
US7809363B2 (en) Mobile phone terminal, program management method, and computer program for the same
US20050164688A1 (en) Mobile terminal, method for controlling mobile telephone terminal, and mobile telephone terminal
JP4205980B2 (en) Terminal device and program
JP4503466B2 (en) Portable terminal device, program termination method, and computer program therefor
CN101261823B (en) Terminal apparatus and processing program thereof
JP2002077458A (en) Portable telephone terminal device, contents reproduction interrupting and restarting method of portable telephone terminal device, and contents distributing station
JP2007511822A (en) Method, software, and apparatus for performing application upgrades during execution
US7761853B2 (en) Portable terminal device, method for restoring program, method for terminating program, and computer program therefor
JP2003078952A (en) Portable terminal and function suppression method
JP4393401B2 (en) Portable terminal device, program return method, and computer program
JP7152450B2 (en) INTERACTIVE SYSTEM, TERMINAL DEVICE, SERVER DEVICE, CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP5269059B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP2005284906A (en) Portable telephone terminal equipment and program management method and its computer program
JP2006333338A (en) Transmission request informing method and mobile terminal device, and computer program
JP4549841B2 (en) Mobile phone terminal, standby screen activation method and computer program therefor
JP2005352996A (en) Mobile communication terminal and application control method
KR20050086059A (en) Moving picture transmission method for mobile communication terminal
JP4554533B2 (en) Portable terminal device and voice output method thereof
JP4601983B2 (en) Mobile phone terminal device, program management method, and computer program therefor
JP4675762B2 (en) Portable terminal device, message information receiving method, computer program
JP4731822B2 (en) Mobile phone terminal device, program management method, and computer program therefor
JP4606857B2 (en) Mobile phone terminal, task management method and computer program therefor
JP2007335966A (en) Mobile communication system, mobile communication method, and mobile terminal
JP4333998B2 (en) Streaming data reception / playback terminal
JP4741984B2 (en) Communication terminal, communication control method, and communication control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080117

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4503466

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140430

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees