JP2007323122A - Portable terminal device, program control method and its program - Google Patents
Portable terminal device, program control method and its program Download PDFInfo
- Publication number
- JP2007323122A JP2007323122A JP2006149455A JP2006149455A JP2007323122A JP 2007323122 A JP2007323122 A JP 2007323122A JP 2006149455 A JP2006149455 A JP 2006149455A JP 2006149455 A JP2006149455 A JP 2006149455A JP 2007323122 A JP2007323122 A JP 2007323122A
- Authority
- JP
- Japan
- Prior art keywords
- program
- event
- terminated
- related control
- startup
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、例えば、複数のプログラムの動作を制御する携帯端末装置、プログラム制御方法、及びそのプログラムに関する。 The present invention relates to, for example, a portable terminal device that controls operations of a plurality of programs, a program control method, and the program.
従来、異なるハードウェア仕様の携帯電話端末にて、共通のオペレーティングシステム(OS:Operating System)を導入することで、ハードウェア仕様が異なっていても共通のアプリケーションプログラムを動作させることが行われており、近年、このようなOS上で動作するアプリケーションプログラムを開発する開発会社が急増している。 Conventionally, by introducing a common operating system (OS) on mobile phone terminals with different hardware specifications, a common application program can be operated even if the hardware specifications are different. In recent years, the number of development companies that develop application programs that run on such OSs has increased rapidly.
ところで、上記の共通のOSでは、アプリケーションプログラム間の処理の競合が発生する場合の制御は行われておらず、各開発会社は、アプリケーションプログラム間の処理の競合の制御を行うアプリケーション管理機構をOS上で動作させて競合の制御ができるように構成していた。 By the way, in the above-mentioned common OS, control is not performed when a process conflict between application programs occurs, and each development company has an application management mechanism that controls a process conflict between application programs as an OS. It was configured to be able to control competition by operating above.
例えば、特許文献1に記載されるアプリケーション管理機構では、複数のアプリケーションプログラムの動作状態を動作状態記憶部に記憶させ、受信したイベントに対応するアプリケーションプログラムを検出した際に、予め設定されている所定の競合条件と動作状態記憶部に記憶されている他のプログラムの動作状態に基づいてイベントに対応するアプリケーションを起動するか否かを決定することにより、アプリケーションプログラムの競合判定を行っていた。
しかしながら、上記の特許文献1などのアプリケーション管理機構では、競合条件の判定に競合条件を関数にて判定しており、アプリケーションプログラムが追加される場合や携帯電話端末におけるサービス仕様が変更される場合に、当該関数の構成を全体的に見直して修正しなければならず、メンテナンスに多くの負担がかかっているという問題があった。
However, in the application management mechanism such as
また、さらに、サービスの多様化の観点から、アプリケーションプログラムを起動あるいは終了する場合に、当該アプリケーションプログラムに関連する関連アプリケーションプログラムを起動あるいは終了させてユーザの操作の利便性の向上を図ることが望まれている。しかし、従来のアプリケーション管理機構では、アプリケーションプログラムが起動できるか否かの競合判定しかしておらず、アプリケーションプログラムの起動や終了に伴って、関連アプリケーションプログラムに対して制御を行うことができないという問題があった。 Furthermore, from the viewpoint of service diversification, when starting or ending an application program, it is desirable to start or end the related application program related to the application program to improve the convenience of user operation. It is rare. However, the conventional application management mechanism only determines whether or not the application program can be started, and the related application program cannot be controlled as the application program starts or ends. there were.
本発明は、上記問題を解決すべくなされたもので、その目的は、アプリケーションプログラム間の競合判定条件のメンテナンスを容易にし、また、アプリケーションプログラムが起動、または終了する場合に関連するアプリケーションプログラムに対して所定の指示を行うことを可能とする携帯端末装置、プログラム制御方法、及びそのプログラムを提供することにある。 The present invention has been made to solve the above-mentioned problems, and its purpose is to facilitate maintenance of the conflict determination condition between application programs, and to an application program related to the case where the application program starts or ends. It is an object of the present invention to provide a portable terminal device, a program control method, and a program for enabling a predetermined instruction.
上記した課題を解決するために本発明は、発生するイベントに基づいて、当該イベントに対応するプログラムの起動あるいは終了を行うとともに、当該プログラムの起動状態を内部の記憶手段に記憶させるプログラム実行手段を備えた携帯端末装置であって、他のプログラムの起動状態に応じて前記イベントに対応するプログラムの起動あるいは終了を行うことができるか否かを示した競合判定テーブルと、前記プログラムの起動あるいは終了に応じて、起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した関連制御テーブルと、前記イベントが発生した場合、前記イベントと、前記競合判定テーブルと、前記記憶手段に記憶される他のプログラムの起動状態とに基づいて、前記イベントに対応するプログラムの起動あるいは終了を行うか否かを判定する競合判定手段と、前記競合判定手段が、当該プログラムの起動あるいは終了を行うと判定した場合、前記関連制御テーブルを参照し、当該プログラムの起動あるいは終了に応じて起動あるいは終了を行う前記関連するプログラムが存在するか否かを判定する関連制御判定手段と、を備え、前記プログラム実行手段は、前記競合判定手段が前記イベントに対応するプログラムの起動あるいは終了を行うと判定した場合には、前記イベントに対応するプログラムの起動あるいは終了を行い、前記関連制御判定手段が起動あるいは終了を行う前記関連するプログラムが存在すると判定した場合には、当該関連するプログラムの起動あるいは終了を行うことを特徴とする携帯端末装置である。 In order to solve the above-described problems, the present invention provides a program execution means for starting or ending a program corresponding to the event based on the event that occurs and storing the start state of the program in an internal storage means. A contention determination table indicating whether the program corresponding to the event can be activated or terminated according to the activation state of another program, and the activation or termination of the program And a related control table indicating a program related to the predetermined program to be activated or terminated, and when the event occurs, the event, the contention determination table, and the storage means are stored. Based on the startup status of other programs, the program corresponding to the event When the competition determination unit determines whether to start or end the program, and when the competition determination unit determines to start or end the program, the relevant control table is referenced to start or end the program. Related control determination means for determining whether or not there is a related program that is activated or terminated in response to the information, and the program execution means is configured such that the conflict determination means activates a program corresponding to the event or When it is determined that the program is to be terminated, the program corresponding to the event is activated or terminated, and when the related control determination unit determines that the related program to be activated or terminated exists, A portable terminal device that starts or terminates a program.
また、本発明は、上記に記載の発明において、前記競合判定テーブルは、他のプログラムの起動状態に応じて前記イベントに対応するプログラムの起動を行うことができるか否かを示した起動時競合判定テーブルを有し、前記競合判定手段は、前記イベントが発生し、当該発生したイベントがプログラムの起動指示であると判定した場合、前記イベントと、前記起動時競合判定テーブルと、前記記憶手段に記憶される他のプログラムの起動状態とに基づいて、前記イベントに対応するプログラムの起動を行うか否かを判定する起動時判定手段と、前記プログラム実行手段は、前記起動時判定手段が起動を行うと判定した場合、前記イベントに対応するプログラムの起動を行うことを特徴とする。 In the invention described above, the contention determination table may indicate whether or not the program corresponding to the event can be activated in accordance with the activation state of another program. A determination table, and when the event occurs and it is determined that the generated event is an instruction to start a program, the conflict determination unit stores the event, the startup conflict determination table, and the storage unit. A startup time determining means for determining whether or not to start a program corresponding to the event based on a startup state of another program stored therein, and the program execution means are started by the startup time determining means. If it is determined to be performed, a program corresponding to the event is started.
また、本発明は、上記に記載の発明において、前記競合判定テーブルは、他のプログラムの起動状態に応じて前記イベントに対応するプログラムの終了を行うことができるか否かを示した終了時競合判定テーブルを有し、前記競合判定手段は、前記イベントが発生し、当該発生したイベントがプログラムの終了指示であると判定した場合、前記イベントと、前記終了時競合判定テーブルと、前記記憶手段に記憶される他のプログラムの起動状態とに基づいて、前記イベントに対応するプログラムの終了を行うか否かを判定する終了時判定手段を有し、前記プログラム実行手段は、前記終了時判定手段が終了を行うと判定した場合、前記イベントに対応するプログラムの終了を行うことを特徴とする。 In the invention described above, the contention determination table may indicate whether or not the program corresponding to the event can be terminated according to the activation state of another program. A determination table, and when the event occurs and the event is determined to be an instruction to end the program, the contention determination unit stores the event, the competition determination table at the end, and the storage unit. And an end-time determining unit that determines whether or not to end the program corresponding to the event based on a stored activation state of another program, and the program execution unit includes: When it is determined that the program is to be terminated, the program corresponding to the event is terminated.
また、本発明は、上記に記載の発明において、前記関連制御テーブルは、前記プログラムの起動に応じて起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した起動時関連制御テーブルを有し、前記関連制御判定手段は、前記起動時判定手段が、前記プログラムの起動を行うと判定した場合、前記起動時関連制御テーブルを参照し、当該プログラムの起動に応じて起動あるいは終了を行う前記関連するプログラムが存在するか否かを判定する起動時関連制御判定手段を有し、前記プログラム実行手段は、前記起動時関連制御判定手段が起動あるいは終了を行う前記関連するプログラムが存在すると判定した場合、当該関連するプログラムの起動あるいは終了を行うことを特徴とする。 Further, according to the present invention, in the above-described invention, the related control table includes a startup related control table indicating a program related to the predetermined program that is started or ended in response to the startup of the program. The related control determination means refers to the start time related control table when the start time determination means determines to start the program, and starts or ends according to the start of the program. It has a startup related control determination means for determining whether or not there is a related program, and the program execution means determines that the related program that the startup related control determination means starts or ends exists. In this case, the related program is started or ended.
また、本発明は、上記に記載の発明において、前記関連制御テーブルは、前記プログラムの終了に応じて終了を行う予め定められる当該プログラムに関連するプログラムを示した終了時関連制御テーブルを有し、前記関連制御判定手段は、前記終了時判定手段が、前記プログラムの終了を行うと判定した場合、前記終了時関連制御テーブルを参照し、当該プログラムの終了に応じて終了を行う前記関連するプログラムが存在するか否かを判定する終了時関連制御判定手段を有し、前記プログラム実行手段は、前記終了時関連制御判定手段が終了を行う当該プログラムに関連するプログラムが存在すると判定した場合、当該関連するプログラムの終了を行うことを特徴とする。 Further, the present invention is the invention described above, wherein the related control table includes an end-time related control table that indicates a program related to the predetermined program that ends in accordance with the end of the program, The related control determination means refers to the end related control table when the end time determination means determines to end the program, and the related program that ends according to the end of the program is referred to An end-time related control determination unit that determines whether or not it exists, and when the program execution unit determines that there is a program related to the program to be ended by the end-time related control determination unit, The program is terminated.
また、本発明は、発生するイベントに基づいて、当該イベントに対応するプログラムの起動あるいは終了を行うとともに、当該プログラムの起動状態を内部の記憶手段に記憶させる携帯端末装置におけるプログラム制御方法であって、他のプログラムの起動状態に応じて前記イベントに対応するプログラムの起動あるいは終了を行うことができるか否かを示した競合判定テーブルを予め前記記憶手段に記憶させるステップと、前記プログラムの起動あるいは終了に応じて、起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した関連制御テーブルを予め前記記憶手段に記憶させるステップと、前記イベントが発生した場合、前記イベントと、前記記憶手段に記憶される他のプログラムの起動状態と、前記競合判定テーブルとに基づいて、前記イベントに対応するプログラムの起動あるいは終了を行うか否かを判定するステップと、前記イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、当該プログラムの起動あるいは終了を行うステップと、イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、前記関連制御テーブルを参照し、予め定められる当該プログラムに関連するプログラムの起動あるいは終了を行うか否かを判定するステップと、前記関連するプログラムの起動あるいは終了を行うと判定した場合、当該関連するプログラムの起動あるいは終了を行うステップと、を含むことを特徴とするプログラム制御方法である。 Further, the present invention is a program control method in a portable terminal device that activates or terminates a program corresponding to an event based on the event that occurs and stores the activation state of the program in an internal storage means. Storing in the storage means in advance a contention determination table indicating whether or not the program corresponding to the event can be started or terminated in accordance with the startup state of another program; A step of storing in the storage means a related control table indicating a program related to the predetermined program to be activated or terminated in response to the end, and when the event occurs, the event and the storage means The startup status of other programs stored in the And determining whether to start or end the program corresponding to the event based on the table, and starting or ending the program when it is determined to start or end the program corresponding to the event If it is determined that the program corresponding to the event is to be activated or terminated, it is determined whether or not the program associated with the predetermined program is activated or terminated with reference to the related control table. And a step of starting or ending the related program when it is determined to start or end the related program.
また、本発明は、発生するイベントに基づいて、当該イベントに対応するプログラムの起動あるいは終了を行うとともに、当該プログラムの起動状態を内部の記憶手段に記憶させる携帯端末装置の制御コンピュータに、他のプログラムの起動状態に応じて前記イベントに対応するプログラムの起動あるいは終了を行うことができるか否かを示した競合判定テーブルを予め前記記憶手段に記憶させるステップと、前記プログラムの起動あるいは終了に応じて、起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した関連制御テーブルを予め前記記憶手段に記憶させるステップと、前記イベントが発生した場合、前記イベントと、前記記憶手段に記憶される他のプログラムの起動状態と、前記競合判定テーブルとに基づいて、前記イベントに対応するプログラムの起動あるいは終了を行うか否かを判定するステップと、前記イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、当該プログラムの起動あるいは終了を行うステップと、イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、前記関連制御テーブルを参照し、予め定められる当該プログラムに関連するプログラムの起動あるいは終了を行うか否かを判定するステップと、前記関連するプログラムの起動あるいは終了を行うと判定した場合、当該関連するプログラムの起動あるいは終了を行うステップと、を実行させるためのプログラムである。 Further, the present invention starts or ends a program corresponding to the event based on the event that occurs, and stores the activation state of the program in an internal storage means, A step of pre-stored in the storage means a contention determination table indicating whether or not the program corresponding to the event can be started or ended according to the start state of the program, and depending on the start or end of the program Storing a related control table indicating a program related to the predetermined program to be activated or terminated in advance in the storage means, and when the event occurs, the event is stored in the storage means. Other program startup states and the conflict determination table Therefore, the step of determining whether to start or end the program corresponding to the event, and the step of starting or terminating the program when it is determined to start or end the program corresponding to the event And determining whether to start or end the program related to the predetermined program with reference to the related control table when it is determined to start or end the program corresponding to the event; A program for executing the step of starting or ending the related program when it is determined to start or end the related program.
この発明によれば、携帯端末装置は、他のプログラムの起動状態に応じてイベントに対応するプログラムの起動あるいは終了を行うことができるか否かを示した競合判定テーブルと、プログラムの起動あるいは終了に応じて、起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した関連制御テーブルとを備え、イベントが発生した場合、イベントと、他のプログラムの起動状態と、競合判定テーブルとに基づいて、イベントに対応するプログラムの起動あるいは終了を行うか否かを判定し、イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、当該プログラムの起動あるいは終了を行い、イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、関連制御テーブルを参照し、予め定められる当該プログラムに関連するプログラムの起動あるいは終了を行うか否かを判定し、関連するプログラムの起動あるいは終了を行うと判定した場合、当該関連するプログラムの起動あるいは終了を行う構成とした。これにより、アプリケーションプログラム間の競合判定条件のメンテナンスを容易にし、また、アプリケーションプログラムが起動及び終了する場合に関連するアプリケーションプログラムに対して所定の指示を行うことを可能とすることができる。 According to the present invention, the mobile terminal device can determine whether or not the program corresponding to the event can be activated or terminated according to the activation state of the other program, and the activation or termination of the program. And an associated control table indicating a program related to the predetermined program to be activated or terminated, and when an event occurs, the event, the activation status of another program, and the conflict determination table Based on this, it is determined whether or not to start or end the program corresponding to the event. When it is determined that the program corresponding to the event is to be started or ended, the program is started or ended to respond to the event. If it is determined that the program is to be started or terminated, refer to the related control table , It is determined whether to start or end a program related to the predetermined program, and when it is determined to start or end the related program, the related program is started or ended . This facilitates maintenance of the competition determination condition between application programs, and allows a predetermined instruction to be given to an associated application program when the application program starts and ends.
以下、本発明の携帯端末装置の一実施形態による携帯端末装置を図面を参照して説明する。図1は、本実施形態による携帯端末装置1を示す概略ブロック図である。
Hereinafter, a portable terminal device according to an embodiment of the portable terminal device of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram showing a
図1において携帯端末装置1は、例えば、携帯電話端末であり、無線により公衆通信網に接続する無線通信部101、アプリケーションプログラムが起動されることにより出力される画像データを液晶ディスプレイに表示する表示部102を備えている。また、ユーザの操作を受けるキーボードに接続されるキー操作部103、電話時にユーザの音声を入出力し、また着信時に着信メロディのデータや音声のコンテンツデータを再生する音声処理部104を備えている。
In FIG. 1, a
携帯端末装置1において、制御部100は、ソフトウェアのアプリケーションプログラムを実行するオペレーティングシステム(以下、OSと記載)10、とアプリケーションプログラム(以下、アプリケーションやApp:Applicationとして記載)を記憶するアプリケーション記憶部30とを備えている。アプリケーション記憶部30が記憶するアプリケーションとしては、例えば、携帯端末装置1に標準実装されている待ち受け画面を表示するアプリケーションや、メニュー画面を表示するアプリケーションなどがあり、図1では、その例示として、アプリケーションA、B、Cを記載している。なお、アプリケーションプログラムには、Java(登録商標)やBREW(登録商標)で動作するアプレット等も含むものとする。
In the
制御部100は、OS10が、CPU(Central Processing Unit)や、RAM(Random Access Memory)や、ROM(Read Only Memory)等のハードウェア構成にて実行、記憶されている状態を示している。例えば、OS10は、携帯端末装置1の起動時にRAMにロードされて、CPUにより実行されている状態を示している。アプリケーションについては、未起動の状態であり、ROMなどに相当するアプリケーション記憶部30に記憶されている状態を示している。
The
OS10において、中間層11は、アプリケーションとの間のインタフェースであり、当該インタフェースには、アプリケーションを起動、中断、終了させるものなどが存在する。
In the
実行部12は、アプリケーション記憶部30からアプリケーションを読み出して、RAMにロードして、アプリケーションの起動を行い、また、起動中のアプリケーションの中断あるいは終了を行う。また、実行部12は、競合判定部12aと、関連制御判定部12bとを内部の機能部として具備しており、競合判定部12aは、アプリケーションの起動時には、後述する起動時競合判定テーブル21を参照して、起動対象のアプリケーションの競合判定を行い、また、アプリケーションの終了時には、後述する終了時競合判定テーブル21を参照して、終了対象のアプリケーションの競合判定を行う。関連制御判定部12bは、起動対象のアプリケーションが起動された後に、後述する起動時関連制御テーブル22を参照して、起動されたアプリケーションに関連するアプリケーションの起動、あるいは終了を行うか否かの判定を行い、終了対象のアプリケーションが終了された後に、後述する終了時関連制御テーブル24を参照して、起動されたアプリケーションに関連するアプリケーションの終了を行うか否かの判定を行う。
The
起動状態記憶部13は、図2に示すように、スタック方式の記憶領域であり、実行部12が起動したアプリケーションの識別情報、例えば、RAMにロードされているアプリケーションへのアドレスなどが実行部12により記録される。図2では、アプリケーションAが最初に起動され、その後、アプリケーションBが起動されるとともにアプリケーションAが中断され、最後にアプリケーションCが起動されて、アプリケーションBとAが中断されている状態を示している。
As shown in FIG. 2, the activation
テーブル記憶部20は、実行部12により、アプリケーションの起動、あるいは終了を行われる際に、実行部12の上述した競合判定部12a及び関連制御判定部12bにより参照されるテーブルである、起動時競合判定テーブル21、起動時関連制御テーブル22、終了競合判定テーブル23、終了時関連制御テーブル24を記憶している。
The
図3は、起動時競合判定テーブル21のデータ構成を示した図であり、横軸と縦軸の項目に、それぞれ起動中、あるいは中断中のアプリケーションを示す項目「起動済App」と、実行部12により起動が行われる起動対象のアプリケーションの項目「起動対象App」とを有する。起動時競合判定テーブル21の各要素には、「OK」、あるいは「NG」の情報が設定される。「OK」は、「起動済App」の項目に示されるアプリケーションが起動されていても、「起動対象App」の項目のアプリケーションが起動可能であることを示す。「NG」は、「起動済App」の項目に示されるアプリケーションが起動されている場合、「起動対象App」の項目のアプリケーションが起動不可能であることを示す。
FIG. 3 is a diagram showing the data structure of the startup competition determination table 21. In the items on the horizontal axis and the vertical axis, an item “Started App” indicating an active or interrupted application and an execution unit are shown. 12 includes an item “activation target App” of the activation target application that is activated by the
図4は、起動時関連制御テーブル22のデータ構成を示した図であり、横軸と縦軸の項目に、それぞれ起動対象のアプリケーションに関連するアプリケーションの項目「関連App」と、起動対象のアプリケーションの項目「起動対象App」とを有する。起動時関連制御テーブル22の各要素には、「no action」、「terminate」、「start」の関連Appへの指示情報が記憶される。「no action」は、「起動対象App」の項目に示されるアプリケーションが起動されても、起動に伴って「関連App」の項目に示されるアプリケーションの制御を行わないことを示す。「terminate」は、「起動対象App」の項目に示されるアプリケーションが起動されると、起動に伴って「関連App」の項目に示されるアプリケーションの終了を行うことを示す。「start」は、「起動対象App」の項目のアプリケーションが起動されると、起動に伴って「関連App」の項目に示されるアプリケーションの起動を行うことを示す。 FIG. 4 is a diagram illustrating a data configuration of the startup related control table 22, and the items of “application App” related to the application to be started and the application to be started are shown on the horizontal axis and the vertical axis, respectively. Item “activation target App”. In each element of the startup related control table 22, instruction information to the related App of “no action”, “terminate”, and “start” is stored. “No action” indicates that, even if the application indicated in the “activation target App” item is activated, the application indicated in the “related App” item is not controlled along with the activation. “Terminate” indicates that when the application indicated in the item “Startup App” is activated, the application indicated in the “Related App” item is terminated along with the activation. “Start” indicates that when the application of the item “start target App” is started, the application indicated by the item “related App” is started along with the start.
図5は、終了時競合判定テーブル23のデータ構成を示した図であり、横軸と縦軸の項目に、それぞれ起動中、あるいは中断中のアプリケーションを示す項目「起動済App」と、実行部12により終了が行われる終了対象のアプリケーションの項目「終了対象App」とを有する。終了時競合判定テーブル23の各要素には、「OK」、あるいは「NG」の情報が設定される。「OK」は、「起動済App」の項目に示されるアプリケーションが起動されていても、「終了対象App」の項目に示されるアプリケーションが終了可能であることを示す。「NG」は、「起動済中App」の項目のアプリケーションが起動されている場合、「終了対象App」の項目に示されるアプリケーションが終了不可能であることを示す。 FIG. 5 is a diagram showing the data structure of the end-time competition determination table 23. In the items on the horizontal axis and the vertical axis, an item “Started App” indicating an activated or suspended application, and an execution unit are shown. 12 includes an item “termination target App” of an application to be terminated. Information of “OK” or “NG” is set in each element of the end time competition determination table 23. “OK” indicates that even if the application indicated in the “Started App” item is activated, the application indicated in the “Termination App” item can be ended. “NG” indicates that the application indicated in the item “Termination App” cannot be terminated when the application of the item “Activated App” is activated.
図6は、終了時関連制御テーブル24のデータ構成を示した図であり、横軸と縦軸の項目に、それぞれ起動対象のアプリケーションに関連するアプリケーションの項目「関連App」と、終了対象のアプリケーションの項目「終了対象App」とを有する。起動時競合判定テーブル21の各要素には、「no action」、「terminate」の関連Appへの指示情報が記憶される。「no action」は、「終了対象App」の項目のアプリケーションが終了されても、終了に伴って「関連App」に記憶されているアプリケーションの制御を行わないことを示す。「terminate」は、「終了対象App」の項目のアプリケーションが終了されると、終了に伴って「関連App」に記憶されているアプリケーションの終了を行うことを示す。 FIG. 6 is a diagram showing a data configuration of the termination related control table 24. In the items on the horizontal axis and the vertical axis, the application item “related App” related to the application to be started and the application to be ended are shown. Item “Append target App”. In each element of the start-up conflict determination table 21, instruction information to the related App of “no action” and “terminate” is stored. “No action” indicates that, even when the application of the item “termination target App” is terminated, the application stored in “related App” is not controlled along with the termination. “Terminate” indicates that when the application of the item “termination target App” is terminated, the application stored in “related App” is terminated along with the termination.
(アプリケーション起動処理)
次に、図7から図9を参照しつつ、携帯端末装置1におけるアプリケーション起動時の動作について説明する。図7において、携帯端末装置1では、既にアプリケーションA(AppA)が起動された後、アプリケーションB(AppB)が起動されるとともに、アプリケーションAが中断されているものとしている。起動状態記憶部13a−1には、前記の状態をスタック方式で記憶した状態が示されており、アプリケーションAの識別情報が先に記憶され、アプリケーションBの識別情報がアプリケーションAを示す識別情報に積み上げられた状態で記憶されている。
(Application startup process)
Next, the operation at the time of application activation in the mobile
この状態にて、ユーザがAppCを起動するため、携帯端末装置1のキーボードを操作したとする。キー操作部13は、ユーザのキーボードの操作を検出し、AppCを起動するイベント情報を含んだキーイベントをOS10の実行部12に通知する(ステップSa1)。実行部12は、キーイベントの通知を受信すると、キーイベントからAppCを起動するイベント情報を読み出し、読み出したイベント情報を中間層11を通じて(ステップSa2)、起動中のAppBに通知する(ステップSa3)。
In this state, it is assumed that the user operates the keyboard of the mobile
当該通知を受信したAppBは、中間層11の「StartApp()」のインタフェースをCを引数として呼び出すと、中間層11は、実行部12にAppCの起動指示を入力する。AppCの起動指示が入力された実行部12は、競合判定部12aに図8に示す起動時競合判定処理を行わせる(ステップSa6)。
When AppB that has received the notification calls the interface “StartApp ()” of the
競合判定部12aは、図8に示す起動時競合判定処理にて、まずテーブル記憶部20に記憶される起動時競合判定テーブル21を参照する(ステップSb1)。そして、起動時競合判定テーブル21に、起動対象のAppCが登録されているか否かを判定する(ステップSb2)。ここで、起動時競合判定テーブル21が図3に示すものであった場合、AppCは登録されているため、「登録有り」として判定することになる。登録有りとして判定した場合、競合判定部12aは、起動状態記憶部13を参照して起動状態記憶部13に識別情報が記憶されている起動中、あるいは中断中のアプリケーションを検出する。図7における起動状態記憶部13a−1では、中断中のアプリケーションとしてAppAを検出し、起動中のアプリケーションとしてAppBを検出することになる。
The competition determination unit 12a first refers to the startup competition determination table 21 stored in the
競合判定部12aは、起動時競合判定テーブル21にて、起動対象のAppCと、起動状態記憶部13から検出したAppA、Bとの競合条件を参照し、起動対象のAppCが起動可能か否かを判定する(ステップSb3)。図3に示す起動時競合判定テーブル21の場合、起動中のAppB、および中断中のAppAと、起動対象AppCの関係は、いずれも「OK」であるため、AppCは起動可であると判定することになる。起動可と判定した場合、起動時競合判定処理の戻り値として「起動可」を出力する(ステップSb4)。一方、ステップSb2にて、登録無しとして判定した場合や、ステップSb3にて「NG」の関係にあるアプリケーションが存在し、起動不可として判定した場合、戻り値として「起動不可」を出力する(ステップSb5)。
The competition determination unit 12a refers to the competition condition between the activation target AppC and the AppA and B detected from the activation
起動競合判定処理が終了すると、実行部12は、競合判定部12aから出力される戻り値を参照し、戻り値が「起動不可」の場合は、起動不可応答を中間層11に出力して処理を終了し、起動対象のアプリケーションは起動されないことになる。一方、戻り値が「起動可」の場合、中間層11に起動可応答を出力する(ステップSa7)。中間層11は、実行部12から起動可応答が入力されると、「StartApp(C)」のインタフェースの戻り値として成功応答を出力する(ステップSa8)。
When the start conflict determination process ends, the
中間層11は、成功応答を出力した後、AppBに対して中断要求を入力する(ステップSa9)。AppBは、中間層11から中断要求が入力されると、処理の中断を行い、通段が成功したことを示すTRUE(真)を中間層11に出力する(ステップSa10)。
After outputting the success response, the
中間層11は、AppBからTRUEの出力を受けると、中断成功を示す情報を実行部12に入力する(ステップSa11)。実行部12は、中間層11から中断成功が入力されると、成功応答を中間層11に出力する(ステップSa12)。
When the
中間層11は、実行部12から成功応答が出力されると、次に、「StartApp()」のインタフェースで指定されたAppCの起動要求を行う。具体的には、アプリケーション記憶部30からAppCのプログラムを読み出し、読み出したAppCのプログラムをRAMにロードし、ロードしたAppCの実行を開始する。また、このとき、実行部12は、起動状態記憶部13にAppCの識別情報を記録し、起動状態記憶部13a−3の状態となる(ステップSa13)。AppCは実行を開始すると、起動が成功したものとしてTRUEを中間層11に出力する(ステップSa14)。
When the success response is output from the
中間層11は、AppCからTRUEが出力されると、AppCの起動成功を実行部12に出力する。実行部12は、AppCの起動成功の出力を受けると、関連制御判定部12bに図9に示す起動時関連制御処理を行わせる(ステップSa16)。
When TRUE is output from AppC, the
関連制御判定部12bは、図9に示す起動時関連制御処理にて、まずテーブル記憶部20に記憶される起動時関連制御テーブル22を参照する(ステップSc1)。そして、起動されたAppCが起動時関連制御テーブル22に登録されているか否かを判定する(ステップSc2)。登録有りと判定した場合、次に、関連Appの項目ごとに設定されている各要素の情報を読み出し、要素に「start」あるいは「terminate」の指示情報が設定されている関連Appを検出して、検出したAppと指示情報とを対応付けて出力する(ステップSc3)。例えば、起動時関連制御テーブル22が図4に示すものである場合、「起動対象App」がAppCの場合、AppAについて「terminate」が設定されているため、AppAを示す情報と、「terminate」とを出力して処理を終了する。一方ステップSc2にて起動時関連制御テーブル22に起動されたAppCについて登録無しと判定した場合には、処理を終了する。 In the startup related control process shown in FIG. 9, the related control determination unit 12b first refers to the startup related control table 22 stored in the table storage unit 20 (step Sc1). Then, it is determined whether the activated AppC is registered in the activation related control table 22 (step Sc2). If it is determined that there is a registration, next, the information of each element set for each item of the related App is read, and the related App in which “start” or “terminate” instruction information is set to the element is detected. The detected App and the instruction information are output in association with each other (step Sc3). For example, if the startup related control table 22 is as shown in FIG. 4 and “start target App” is AppC, “terminate” is set for AppA, so information indicating AppA and “terminate” Is output and the process is terminated. On the other hand, if it is determined in step Sc2 that AppC activated in the activation-related control table 22 is not registered, the process ends.
実行部11は、関連制御判定部12bからAppAを示す情報と「terminate」の指示情報が出力されると、中間層11に対してAppAの終了指示を入力する(ステップSa17)。中間層11は、実行部11からAppAの終了指示が入力されると、中断中のAppAに対して終了要求を送信する(ステップSa18)。中断中のAppAは、中間層11から終了要求を受信すると、終了処理を行う。具体的には、実行部12は、RAMからAppAのプログラムを削除し、起動状態記憶部13からAppAの識別情報を削除する。AppAは、終了処理にて、終了処理が成功したことを示すTRUEを中間層11に出力する(ステップSa19)。中間層11は、AppAからTUREを受信すると、終了成功を実行部12に出力し(ステップSa20)、実行部12は、終了成功を中間層11から受信すると、成功応答を中間層11に出力して(ステップSa21)、中間層11は状態を開放して処理を終了する。
When the information indicating AppA and the “terminate” instruction information are output from the related control determination unit 12b, the
上記の起動時の処理により、アプリケーションの起動時において起動時競合判定処理により、他の起動済アプリケーションとの関係から競合判定を行うことができ、さらに、起動後には、起動したアプリケーションと関連するアプリケーションの起動や終了を行うことが可能となる。また、起動時関連制御処理により、関連するアプリケーション間での連動した起動や終了などを行うことが可能となる。 With the above startup process, the startup conflict determination process can determine the conflict from the relationship with other started applications, and after startup, the application related to the started application Can be activated and terminated. In addition, the startup related control processing enables linked startup and termination between related applications.
(アプリケーション終了処理)
次に、図10から図12を参照しつつ、携帯端末装置1におけるアプリケーション終了時の動作について説明する。図10において、携帯端末装置1では、既にアプリケーションA(AppA)が起動された後、アプリケーションB(AppB)が起動されるとともに、アプリケーションAが中断され、さらに、アプリケーションC(AppC)が起動されるとともにAppBとAが中断されているものとしている。起動状態記憶部13b−1には、前記の状態をスタック方式で記憶した状態が示されており、AppA、B、Cの順に識別情報が記憶されている。
(Application termination processing)
Next, the operation at the end of the application in the mobile
この状態にて、ユーザがAppCを終了するため、携帯端末装置1のキーボードを操作したとする。キー操作部13は、ユーザのキーボードの操作を検出し、AppCを終了するイベント情報を含んだキーイベントをOS10の実行部12に通知する(ステップSd1)。実行部12は、キーイベントの通知を受信すると、キーイベントからAppCを終了するイベント情報を読み出し、読み出したイベント情報を中間層11を通じて(ステップSd2)、起動中のAppCに通知する(ステップSd3)。
In this state, it is assumed that the user operates the keyboard of the mobile
当該通知を受信したAppCは、中間層11の「CloseApp()」のインタフェースをCを引数として呼び出すと、中間層11は、実行部12にAppCの終了指示を入力する。AppCの終了指示が入力された実行部12は、競合判定部12aに図11に示す終了時競合判定処理を行わせる(ステップSd6)。
When the AppC that has received the notification calls the interface of “CloseApp ()” of the
競合判定部12aは、図11に示す終了時競合判定処理にて、まずテーブル記憶部20に記憶される終了時競合判定テーブル23を参照する(ステップSe1)。そして、終了時競合判定テーブル23に、終了対象のAppCが登録されているか否かを判定する(ステップSe2)。ここで、終了時競合判定テーブル23が図5に示すものであった場合、AppCは登録されているため、「登録有り」として判定することになる。登録有りとして判定した場合、競合判定部12aは、起動状態記憶部13を参照して起動状態記憶部13に識別情報が記憶されている起動中、あるいは中断中のアプリケーションを検出する。図10における起動状態記憶部13b−1では、中断中のアプリケーションとして、AppAとAppBを検出する。また、起動中のAppCについては、終了対象となっているためAppCを除外して検出する。
In the competition determination process at the end shown in FIG. 11, the competition determination unit 12a first refers to the competition determination table at the end 23 stored in the table storage unit 20 (step Se1). Then, it is determined whether or not the AppC to be terminated is registered in the termination competition determination table 23 (step Se2). Here, when the end-time conflict determination table 23 is as shown in FIG. 5, since AppC is registered, it is determined as “registered”. When it is determined that there is a registration, the competition determination unit 12a refers to the activation
競合判定部12aは、終了時競合判定テーブル23にて、終了対象のAppCと、起動状態記憶部13から検出したアプリケーションA、Bとの競合条件を参照し、起動対象のAppCが終了可能か否かを判定する(ステップSe3)。図5に示す終了時競合判定テーブル23の場合、中断中のAppAとAppBと、終了対象AppCの関係は、いずれも「OK」であるため、AppCは終了可であると判定することになる。終了可と判定した場合、終了時競合判定処理の戻り値として「終了可」を出力する(ステップSe4)。一方、ステップSe3にて「NG」の関係にあるアプリケーションが存在し、終了不可と判定した場合、戻り値として「終了不可」を出力する(ステップSe5)。また、ステップSe2にて、登録無しとして判定した場合には、終了させるため、「終了可」を出力する。
The competition determination unit 12a refers to the competition condition between the AppC to be terminated and the applications A and B detected from the activation
終了競合判定処理が終了すると、実行部12は、競合判定部12aから出力される戻り値を参照し、戻り値が「終了不可」の場合は、終了不可応答を中間層11に出力して、処理を終了し、終了対象のアプリケーションは終了されないことになる。一方、戻り値が「終了可」の場合、中間層11に終了可応答を出力する(ステップSd7)。中間層11は、実行部12から終了可応答が入力されると、CloseApp(C)のインタフェースの戻り値として成功応答を出力する(ステップSd8)。
When the end conflict determination process ends, the
中間層11は、成功応答を出力した後、AppCに対して終了要求を入力する(ステップSd9)。AppCは、中間層11から終了要求が入力されると、処理の終了を行い、処理を終了する前に、TRUE(真)を中間層11に出力する(ステップSd10)。
After outputting the success response, the
中間層11は、AppCからTRUEの出力を受けると、終了成功を示す情報を実行部12に入力する(ステップSd11)。実行部12は、中間層11から終了成功が入力されると、起動状態記憶部13からAppCの識別情報を削除して、起動状態記憶部13b−2の状態とし、関連制御判定部12bに図12に示す終了時関連制御処理を行わせる(ステップSd12)。
When the
関連制御判定部12bは、図12に示す終了時関連制御処理にて、まずテーブル記憶部20に記憶される終了時関連制御テーブル24を参照する(ステップSf1)。そして、終了されたAppCが終了時関連制御テーブル24に登録されているか否かを判定する(ステップSf2)。登録有りと判定した場合、次に、関連Appの項目ごとに設定されている各要素の情報を読み出し、要素に「「terminate」の指示情報が設定されている関連Appを検出して、検出したAppと指示情報とを対応付けて出力する(ステップSf3)。例えば、終了時関連制御テーブル24が図6に示すものであった場合、「終了対象App」がAppCの場合、AppBについて「terminate」が設定されているため、AppBを示す情報と、「terminate」とを出力して処理を終了する。一方ステップSf2にて終了時関連制御テーブル24に終了されたAppCについて登録無しとして判定した場合には、処理を終了する。 In the end related control process shown in FIG. 12, the related control determination unit 12b first refers to the end related control table 24 stored in the table storage unit 20 (step Sf1). Then, it is determined whether the terminated AppC is registered in the termination related control table 24 (step Sf2). If it is determined that there is a registration, next, information of each element set for each item of the related App is read, and the related App in which the instruction information “terminate” is set is detected and detected. App and instruction information are output in association with each other (step Sf3). For example, when the termination related control table 24 is as shown in FIG. 6, when “terminate App” is AppC, “terminate” is set for AppB, so information indicating AppB and “terminate” Is output and the process is terminated. On the other hand, if it is determined in step Sf2 that AppC terminated in the termination related control table 24 is not registered, the process is terminated.
実行部11は、関連制御判定部12bからAppBを示す情報と「terminate」の指示情報が出力されると、中間層11に対してAppBの終了指示を入力する(ステップSd13)。中間層11は、実行部11からAppBの終了指示が入力されると、中断中のAppBに対して終了要求を送信する(ステップSd14)。中断中のAppBは、中間層11から終了要求を受信すると、終了処理を行う。具体的には、実行部12によりRAMからAppBのプログラムが削除され、起動状態記憶部13からAppBの識別情報が削除される。AppBは、終了処理にて、終了処理が成功したことを示すTRUEを中間層11に出力する(ステップSd15)。
When the information indicating AppB and the “terminate” instruction information are output from the related control determination unit 12b, the
中間層11は、AppBからTUREを受信すると、終了成功を実行部12に出力し(ステップSd16)、実行部12は、終了成功を中間層11から受信すると、成功応答を中間層11に出力する(ステップSd17)。中間層11は、成功応答を実行部12から受信すると、中断中のAppAに対して復帰要求を入力する(ステップSd18)。AppAは、復帰要求が入力されると、復帰処理、すなわち中断される前の状態から実行を開始し、復帰が成功したことを示す成功応答を中間層11に出力する(ステップSd19)。具体的には、実行部12によってAppAが中断される際に、復帰に必要な情報を、内部の記憶領域に一時的に記憶させておき、復帰の際に、当該復帰に必要な情報を読み出し、読み出した復帰に必要な情報に基づいてAppAを起動することになる。
When the
中間層11は、AppAからの成功応答の出力を受けて、復帰成功を実行部12に出力し(ステップSd20)、実行部12は、中間層11からの復帰成功の出力を受けて、成功応答を中間層11に出力し、中間層11は状態を開放して処理を終了する(ステップSd21)。
The
上記のアプリケーション終了処理により、アプリケーションの終了時において終了時競合判定処理により、他の起動済アプリケーションとの関係から競合判定を行うことができ、さらに、終了後には、終了したアプリケーションと関連するアプリケーションの終了を行うことが可能となる。また、終了時関連制御処理により、関連するアプリケーション間での連動した終了を行うことが可能となる。 By the above application termination process, the competition determination process at the end of the application can determine the competition from the relationship with other activated applications. Further, after the termination of the application, the application related to the terminated application can be determined. It is possible to finish. In addition, the termination related control process enables linked termination between related applications.
なお、アプリケーション起動処理及びアプリケーション終了処理のステップSa1及びSd1のキーイベントは、キー操作部103からのイベントに限られず、他のアプリケーションや、OS10内部からのイベントであってもよい。
Note that the key events in steps Sa1 and Sd1 of the application start process and the application end process are not limited to events from the
また、上記の実施形態では、競合判定部12aと関連制御判定部12bが、実行部12に具備されるものとして説明したが、競合判定部12aと関連制御判定部12bがOS10内の実行部12から独立した機能部として構成され、実行部12から呼び出されることによりそれぞれの処理を行うようにしてもよい。
In the above embodiment, the competition determination unit 12a and the related control determination unit 12b are described as being included in the
また、上記のアプリケーション終了処理において、終了対象のものが起動中である場合、除外して検出するとしたが、本発明は、上記の実施形態に限られず、同じアプリケーションが複数起動して、起動状態記憶部13に記憶されている状態であってもよい。その場合には、同じアプリケーションの中で終了するいずれか1つがイベント情報にて指定され、同じアプリケーション間にて終了競合判定処理が行われることになる。
Further, in the above-described application termination process, when the target to be terminated is being activated, it is detected to be excluded.However, the present invention is not limited to the above-described embodiment, and the same application is activated multiple times and activated. The state may be stored in the
上記の実施形態の構成により、アプリケーションの起動及び終了の際に、競合条件の判定をテーブル構成の起動時競合判定テーブル21と終了時競合判定テーブル23を用いて行うことができ、テーブル構成で管理することにより、アプリケーションプログラムを追加する場合にも、縦軸と横軸の欄を1つずつ追加するだけで容易に競合条件を設定することができ、また、競合条件のメンテナンスも容易に行うことができる。 With the configuration of the above embodiment, the competition condition can be determined using the startup competition determination table 21 and the termination competition determination table 23 of the table configuration when starting and ending the application, and managed by the table configuration. Therefore, even when adding an application program, it is possible to easily set the competition condition by adding one column for the vertical axis and one for the horizontal axis, and to easily maintain the competition condition. Can do.
また、起動時関連制御テーブル22及び終了時関連制御テーブル24に関連するアプリケーションの動作を予め設定しておくことで、アプリケーションの起動及び終了の際に、関連するアプリケーションの制御も行うことができるため、例えば、メニューから起動したカメラを制御するアプリケーションを終了させる際に、メニューを同時に終了させることができ、ユーザに対する使い易さの向上などサービスの多様化を図ることができる。 In addition, since the operations of the applications related to the startup related control table 22 and the end related control table 24 are set in advance, the related applications can be controlled when the application starts and ends. For example, when an application that controls a camera activated from a menu is terminated, the menu can be terminated at the same time, and services can be diversified, such as improvement in ease of use for the user.
また、競合判定や、関連アプリケーションの制御をテーブル構成のデータで管理することができるため、例えば、携帯電話通信事業者ごとにサービス仕様が変わったとしても、これらのテーブルを入れ替えるだけで対応できるため、メンテナンスに要するコストを軽減することが可能となる。 In addition, because competition determination and related application control can be managed with data in the table structure, for example, even if the service specifications change for each mobile phone carrier, it is possible to respond by simply replacing these tables The cost required for maintenance can be reduced.
また、携帯端末装置1が、携帯電話端末の場合には、出荷時に内部で利用されるアプリケーションプログラムが決まっているため、決められたアプリケーションに対してテーブルを作成しておけばよく、アプリケーションプログラムの追加や削除があった場合にも、テーブルの変更のみで迅速に対応することが可能となる。
In addition, when the mobile
上述の携帯端末装置1は内部に、コンピュータシステムを有している。そして、上述したアプリケーション起動、及び終了並びに起動時競合判定処理、起動時関連制御処理、終了時競合判定処理、終了時関連制御処理は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。
The mobile
1 携帯端末装置
10 OS
11 中間層
12 実行部
12a 競合判定部
12b 関連制御判定部
13 起動状態記憶部
20 テーブル記憶部
21 起動時競合判定テーブル
22 起動時関連制御テーブル
23 終了時競合判定テーブル
24 終了時関連制御テーブル
30 アプリケーション記憶部
101 無線通信部
102 表示部
103 キー操作部
104 音声処理部
1
DESCRIPTION OF
Claims (7)
他のプログラムの起動状態に応じて前記イベントに対応するプログラムの起動あるいは終了を行うことができるか否かを示した競合判定テーブルと、
前記プログラムの起動あるいは終了に応じて、起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した関連制御テーブルと、
前記イベントが発生した場合、前記イベントと、前記競合判定テーブルと、前記記憶手段に記憶される他のプログラムの起動状態とに基づいて、前記イベントに対応するプログラムの起動あるいは終了を行うか否かを判定する競合判定手段と、
前記競合判定手段が、当該プログラムの起動あるいは終了を行うと判定した場合、前記関連制御テーブルを参照し、当該プログラムの起動あるいは終了に応じて起動あるいは終了を行う前記関連するプログラムが存在するか否かを判定する関連制御判定手段と、を備え、
前記プログラム実行手段は、
前記競合判定手段が前記イベントに対応するプログラムの起動あるいは終了を行うと判定した場合には、前記イベントに対応するプログラムの起動あるいは終了を行い、前記関連制御判定手段が起動あるいは終了を行う前記関連するプログラムが存在すると判定した場合には、当該関連するプログラムの起動あるいは終了を行う
ことを特徴とする携帯端末装置。 Based on an event that occurs, the portable terminal device comprises a program execution means for starting or ending a program corresponding to the event and storing the activation state of the program in an internal storage means,
A contention determination table indicating whether or not the program corresponding to the event can be activated or terminated according to the activation state of another program;
An associated control table indicating a program related to the predetermined program to be activated or terminated in response to activation or termination of the program;
Whether or not to start or end the program corresponding to the event based on the event, the contention determination table, and the startup state of another program stored in the storage unit when the event occurs A conflict determination means for determining
If the contention determination unit determines that the program is to be started or terminated, the related control table is referred to and there is a related program that is activated or terminated in response to the activation or termination of the program. Related control determination means for determining whether or not
The program execution means includes
When it is determined that the conflict determination unit starts or ends the program corresponding to the event, the program corresponding to the event is started or ended, and the related control determination unit starts or ends. When it is determined that there is a program to be executed, the related program is started or terminated.
他のプログラムの起動状態に応じて前記イベントに対応するプログラムの起動を行うことができるか否かを示した起動時競合判定テーブルを有し、
前記競合判定手段は、
前記イベントが発生し、当該発生したイベントがプログラムの起動指示であると判定した場合、前記イベントと、前記起動時競合判定テーブルと、前記記憶手段に記憶される他のプログラムの起動状態とに基づいて、前記イベントに対応するプログラムの起動を行うか否かを判定する起動時判定手段と、
前記プログラム実行手段は、
前記起動時判定手段が起動を行うと判定した場合、前記イベントに対応するプログラムの起動を行う
ことを特徴とする請求項1に記載の携帯端末装置。 The conflict determination table is
A startup conflict determination table indicating whether the program corresponding to the event can be started according to the startup state of another program;
The competition determination means includes
When it is determined that the event has occurred and the generated event is a program start instruction, based on the event, the start-up conflict determination table, and the start state of another program stored in the storage unit And a start time determination means for determining whether to start the program corresponding to the event,
The program execution means includes
The portable terminal device according to claim 1, wherein when the activation time determination unit determines to activate, the program corresponding to the event is activated.
他のプログラムの起動状態に応じて前記イベントに対応するプログラムの終了を行うことができるか否かを示した終了時競合判定テーブルを有し、
前記競合判定手段は、
前記イベントが発生し、当該発生したイベントがプログラムの終了指示であると判定した場合、前記イベントと、前記終了時競合判定テーブルと、前記記憶手段に記憶される他のプログラムの起動状態とに基づいて、前記イベントに対応するプログラムの終了を行うか否かを判定する終了時判定手段を有し、
前記プログラム実行手段は、
前記終了時判定手段が終了を行うと判定した場合、前記イベントに対応するプログラムの終了を行う
ことを特徴とする請求項1または2に記載の携帯端末装置。 The conflict determination table is
It has an end-time conflict determination table that indicates whether the program corresponding to the event can be ended according to the activation state of another program,
The competition determination means includes
When it is determined that the event has occurred and the generated event is an instruction to end the program, based on the event, the competition determination table at the end, and the activation state of another program stored in the storage unit And an end time determining means for determining whether to end the program corresponding to the event,
The program execution means includes
The portable terminal device according to claim 1 or 2, wherein when the termination time determination unit determines to terminate, the program corresponding to the event is terminated.
前記プログラムの起動に応じて起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した起動時関連制御テーブルを有し、
前記関連制御判定手段は、
前記起動時判定手段が、前記プログラムの起動を行うと判定した場合、前記起動時関連制御テーブルを参照し、当該プログラムの起動に応じて起動あるいは終了を行う前記関連するプログラムが存在するか否かを判定する起動時関連制御判定手段を有し、
前記プログラム実行手段は、
前記起動時関連制御判定手段が起動あるいは終了を行う前記関連するプログラムが存在すると判定した場合、当該関連するプログラムの起動あるいは終了を行う
ことを特徴とする請求項1から3のいずれか1項に記載の携帯端末装置。 The related control table is
A startup-related control table indicating a program related to the predetermined program that starts or ends in response to the startup of the program;
The related control determination means includes
If the start time determining means determines that the program is to be started, whether or not there is a related program that starts or ends in response to the start of the program with reference to the start time related control table Having a startup related control determination means for determining
The program execution means includes
The startup or termination of the related program is performed when the startup related control determination means determines that the related program to be started or terminated exists. The portable terminal device described.
前記プログラムの終了に応じて終了を行う予め定められる当該プログラムに関連するプログラムを示した終了時関連制御テーブルを有し、
前記関連制御判定手段は、
前記終了時判定手段が、前記プログラムの終了を行うと判定した場合、前記終了時関連制御テーブルを参照し、当該プログラムの終了に応じて終了を行う前記関連するプログラムが存在するか否かを判定する終了時関連制御判定手段を有し、
前記プログラム実行手段は、
前記終了時関連制御判定手段が終了を行う当該プログラムに関連するプログラムが存在すると判定した場合、当該関連するプログラムの終了を行う
ことを特徴とする請求項1から4のいずれか1項に記載の携帯端末装置。 The related control table is
An end-related control table indicating a program related to the predetermined program that is terminated in accordance with the termination of the program;
The related control determination means includes
When the end time determining means determines to end the program, the end time related control table is referred to and it is determined whether or not there is the related program that is to be ended in accordance with the end of the program. An end-related control determination means for
The program execution means includes
5. The termination of the related program is performed when the termination related control determination unit determines that there is a program related to the program to be terminated. 5. Mobile terminal device.
他のプログラムの起動状態に応じて前記イベントに対応するプログラムの起動あるいは終了を行うことができるか否かを示した競合判定テーブルを予め前記記憶手段に記憶させるステップと、
前記プログラムの起動あるいは終了に応じて、起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した関連制御テーブルを予め前記記憶手段に記憶させるステップと、
前記イベントが発生した場合、前記イベントと、前記記憶手段に記憶される他のプログラムの起動状態と、前記競合判定テーブルとに基づいて、前記イベントに対応するプログラムの起動あるいは終了を行うか否かを判定するステップと、
前記イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、当該プログラムの起動あるいは終了を行うステップと、
イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、前記関連制御テーブルを参照し、予め定められる当該プログラムに関連するプログラムの起動あるいは終了を行うか否かを判定するステップと、
前記関連するプログラムの起動あるいは終了を行うと判定した場合、当該関連するプログラムの起動あるいは終了を行うステップと、
を含むことを特徴とするプログラム制御方法。 A program control method in a portable terminal device that activates or terminates a program corresponding to the event based on an event that occurs, and stores the activation state of the program in an internal storage unit,
Storing in advance in the storage means a contention determination table indicating whether or not the program corresponding to the event can be activated or terminated according to the activation state of another program;
Storing in the storage means in advance a related control table indicating a program related to the predetermined program to be activated or terminated in response to activation or termination of the program;
Whether or not to start or end the program corresponding to the event based on the event, the activation state of another program stored in the storage unit, and the conflict determination table when the event occurs Determining
If it is determined to start or end the program corresponding to the event, the step of starting or ending the program; and
A step of determining whether to start or end a program related to the predetermined program with reference to the related control table when it is determined to start or end the program corresponding to the event;
If it is determined to start or end the related program, the step of starting or terminating the related program;
A program control method comprising:
他のプログラムの起動状態に応じて前記イベントに対応するプログラムの起動あるいは終了を行うことができるか否かを示した競合判定テーブルを予め前記記憶手段に記憶させるステップと、
前記プログラムの起動あるいは終了に応じて、起動あるいは終了を行う予め定められる当該プログラムに関連するプログラムを示した関連制御テーブルを予め前記記憶手段に記憶させるステップと、
前記イベントが発生した場合、前記イベントと、前記記憶手段に記憶される他のプログラムの起動状態と、前記競合判定テーブルとに基づいて、前記イベントに対応するプログラムの起動あるいは終了を行うか否かを判定するステップと、
前記イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、当該プログラムの起動あるいは終了を行うステップと、
イベントに対応するプログラムの起動あるいは終了を行うと判定した場合、前記関連制御テーブルを参照し、予め定められる当該プログラムに関連するプログラムの起動あるいは終了を行うか否かを判定するステップと、
前記関連するプログラムの起動あるいは終了を行うと判定した場合、当該関連するプログラムの起動あるいは終了を行うステップと、
を実行させるためのプログラム。
Based on the event that occurs, the program corresponding to the event is started or terminated, and the control computer of the mobile terminal device that stores the startup state of the program in the internal storage means,
Storing in advance in the storage means a contention determination table indicating whether or not the program corresponding to the event can be activated or terminated according to the activation state of another program;
Storing in the storage means in advance a related control table indicating a program related to the predetermined program to be activated or terminated in response to activation or termination of the program;
Whether or not to start or end the program corresponding to the event based on the event, the activation state of another program stored in the storage unit, and the conflict determination table when the event occurs Determining
If it is determined to start or end the program corresponding to the event, the step of starting or ending the program; and
A step of determining whether to start or end a program related to the predetermined program with reference to the related control table when it is determined to start or end the program corresponding to the event;
If it is determined to start or end the related program, the step of starting or terminating the related program;
A program for running
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006149455A JP2007323122A (en) | 2006-05-30 | 2006-05-30 | Portable terminal device, program control method and its program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006149455A JP2007323122A (en) | 2006-05-30 | 2006-05-30 | Portable terminal device, program control method and its program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007323122A true JP2007323122A (en) | 2007-12-13 |
Family
ID=38855910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006149455A Pending JP2007323122A (en) | 2006-05-30 | 2006-05-30 | Portable terminal device, program control method and its program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007323122A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019114124A (en) * | 2017-12-25 | 2019-07-11 | 株式会社プレイド | Information processing apparatus and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003177926A (en) * | 2001-12-11 | 2003-06-27 | Nec Corp | Personal digital assistant device |
-
2006
- 2006-05-30 JP JP2006149455A patent/JP2007323122A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003177926A (en) * | 2001-12-11 | 2003-06-27 | Nec Corp | Personal digital assistant device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019114124A (en) * | 2017-12-25 | 2019-07-11 | 株式会社プレイド | Information processing apparatus and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10440561B2 (en) | Mobile device activation | |
US20150181043A1 (en) | Apparatus and method for portable terminal having dual subscriber identity module card | |
EP1463279B1 (en) | Terminal device with suspend/resume function and related computer program product | |
US10642549B2 (en) | Communication apparatus having direct wireless communication function and method for controlling communication apparatus | |
US9030993B2 (en) | Communication device, connection method and storage medium | |
JP2006146910A (en) | Portable terminal and resource management method for portable terminal | |
JP2010108295A (en) | Mobile unit and switching method for application | |
US20220166685A1 (en) | Communication apparatus and control method for the same | |
US20100291913A1 (en) | Remote control method between mobile phones | |
US20200209945A1 (en) | Communication system, communication device, and power saving method | |
US9059747B2 (en) | Method for rapid information synchronization using near field communication | |
JP4549809B2 (en) | Mobile phone terminal, program management method and computer program | |
CN101958974A (en) | Method for taking video as screen saver and mobile terminal | |
RU2512111C2 (en) | Communication device and method | |
JP2007323122A (en) | Portable terminal device, program control method and its program | |
JP5269059B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
JP2005284906A (en) | Portable telephone terminal equipment and program management method and its computer program | |
JP4503466B2 (en) | Portable terminal device, program termination method, and computer program therefor | |
JP4421461B2 (en) | Mobile phone terminal, computer program | |
JP2008158802A (en) | Portable terminal equipment | |
CN100367255C (en) | Method and arrangement for virtual direct memory access | |
WO2012041199A1 (en) | Menu assembly method, menu assembly system and terminal | |
JP4165023B2 (en) | Electronic device and electronic device control program | |
JP4675762B2 (en) | Portable terminal device, message information receiving method, computer program | |
TWI428762B (en) | Method, apparatus and computer program product for providing intelligent synchronization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090216 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101012 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101019 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101217 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110111 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110411 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20110414 |
|
A912 | Removal of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20110701 |