JP2007323122A - Portable terminal device, program control method and its program - Google Patents

Portable terminal device, program control method and its program Download PDF

Info

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
Application number
JP2006149455A
Other languages
Japanese (ja)
Inventor
Qiuying Liu
秋影 劉
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 JP2006149455A priority Critical patent/JP2007323122A/en
Publication of JP2007323122A publication Critical patent/JP2007323122A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a portable terminal device which controls a related application when the application is started or ended. <P>SOLUTION: This portable terminal device 1 is provided with a startup time contention determination table 21, a startup time related control table 22, an end time contention determination table 23 and an end time related control table 24. When an event directing startup or end of a program occurs, a contention determination part 12a determines whether or not startup or end of the program corresponding to the event should be done based on the startup time contention determination table 21 or the end time contention determination table 23 and the startup state of the other programs. When it is determined that startup or end of the program should be done, a related control determination part 12b determines whether or not the related program to start or end according to startup or end of the corresponding program exists referring to the startup time related control table 22 or the end time related control table 24. <P>COPYRIGHT: (C)2008,JPO&INPIT

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に記載されるアプリケーション管理機構では、複数のアプリケーションプログラムの動作状態を動作状態記憶部に記憶させ、受信したイベントに対応するアプリケーションプログラムを検出した際に、予め設定されている所定の競合条件と動作状態記憶部に記憶されている他のプログラムの動作状態に基づいてイベントに対応するアプリケーションを起動するか否かを決定することにより、アプリケーションプログラムの競合判定を行っていた。
特開2005−284906号公報
For example, in the application management mechanism described in Patent Document 1, the operation states of a plurality of application programs are stored in the operation state storage unit, and when an application program corresponding to the received event is detected, a predetermined preset value is set. The application program competition is determined by deciding whether or not to start the application corresponding to the event based on the competition condition of the program and the operation state of the other program stored in the operation state storage unit.
JP-A-2005-284906

しかしながら、上記の特許文献1などのアプリケーション管理機構では、競合条件の判定に競合条件を関数にて判定しており、アプリケーションプログラムが追加される場合や携帯電話端末におけるサービス仕様が変更される場合に、当該関数の構成を全体的に見直して修正しなければならず、メンテナンスに多くの負担がかかっているという問題があった。   However, in the application management mechanism such as Patent Document 1 described above, the competition condition is determined by a function for determining the competition condition, and when an application program is added or when the service specification in the mobile phone terminal is changed. Therefore, there is a problem that the structure of the function has to be reviewed and corrected as a whole, and a lot of burden is placed on maintenance.

また、さらに、サービスの多様化の観点から、アプリケーションプログラムを起動あるいは終了する場合に、当該アプリケーションプログラムに関連する関連アプリケーションプログラムを起動あるいは終了させてユーザの操作の利便性の向上を図ることが望まれている。しかし、従来のアプリケーション管理機構では、アプリケーションプログラムが起動できるか否かの競合判定しかしておらず、アプリケーションプログラムの起動や終了に伴って、関連アプリケーションプログラムに対して制御を行うことができないという問題があった。   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 mobile terminal device 1 according to the present embodiment.

図1において携帯端末装置1は、例えば、携帯電話端末であり、無線により公衆通信網に接続する無線通信部101、アプリケーションプログラムが起動されることにより出力される画像データを液晶ディスプレイに表示する表示部102を備えている。また、ユーザの操作を受けるキーボードに接続されるキー操作部103、電話時にユーザの音声を入出力し、また着信時に着信メロディのデータや音声のコンテンツデータを再生する音声処理部104を備えている。   In FIG. 1, a mobile terminal device 1 is, for example, a mobile phone terminal, a wireless communication unit 101 connected to a public communication network by radio, and a display for displaying image data output by starting an application program on a liquid crystal display. Part 102 is provided. In addition, a key operation unit 103 connected to a keyboard that receives a user's operation, a voice processing unit 104 that inputs / outputs the user's voice during a call and reproduces incoming melody data and voice content data when receiving a call. .

携帯端末装置1において、制御部100は、ソフトウェアのアプリケーションプログラムを実行するオペレーティングシステム(以下、OSと記載)10、とアプリケーションプログラム(以下、アプリケーションやApp:Applicationとして記載)を記憶するアプリケーション記憶部30とを備えている。アプリケーション記憶部30が記憶するアプリケーションとしては、例えば、携帯端末装置1に標準実装されている待ち受け画面を表示するアプリケーションや、メニュー画面を表示するアプリケーションなどがあり、図1では、その例示として、アプリケーションA、B、Cを記載している。なお、アプリケーションプログラムには、Java(登録商標)やBREW(登録商標)で動作するアプレット等も含むものとする。   In the mobile terminal device 1, the control unit 100 includes an operating system (hereinafter referred to as OS) 10 that executes an application program of software, and an application storage unit 30 that stores an application program (hereinafter referred to as application or App: Application). And. Examples of applications stored in the application storage unit 30 include an application that displays a standby screen that is installed in the mobile terminal device 1 as a standard, an application that displays a menu screen, and the like. In FIG. A, B, and C are described. The application program includes an applet or the like that operates in Java (registered trademark) or BREW (registered trademark).

制御部100は、OS10が、CPU(Central Processing Unit)や、RAM(Random Access Memory)や、ROM(Read Only Memory)等のハードウェア構成にて実行、記憶されている状態を示している。例えば、OS10は、携帯端末装置1の起動時にRAMにロードされて、CPUにより実行されている状態を示している。アプリケーションについては、未起動の状態であり、ROMなどに相当するアプリケーション記憶部30に記憶されている状態を示している。   The control unit 100 shows a state in which the OS 10 is executed and stored in a hardware configuration such as a CPU (Central Processing Unit), a RAM (Random Access Memory), and a ROM (Read Only Memory). For example, the OS 10 is loaded into the RAM when the mobile terminal device 1 is started up and is being executed by the CPU. The application is in an unstarted state and shows a state stored in the application storage unit 30 corresponding to a ROM or the like.

OS10において、中間層11は、アプリケーションとの間のインタフェースであり、当該インタフェースには、アプリケーションを起動、中断、終了させるものなどが存在する。   In the OS 10, the intermediate layer 11 is an interface with an application, and there is an interface that activates, interrupts, or terminates the application.

実行部12は、アプリケーション記憶部30からアプリケーションを読み出して、RAMにロードして、アプリケーションの起動を行い、また、起動中のアプリケーションの中断あるいは終了を行う。また、実行部12は、競合判定部12aと、関連制御判定部12bとを内部の機能部として具備しており、競合判定部12aは、アプリケーションの起動時には、後述する起動時競合判定テーブル21を参照して、起動対象のアプリケーションの競合判定を行い、また、アプリケーションの終了時には、後述する終了時競合判定テーブル21を参照して、終了対象のアプリケーションの競合判定を行う。関連制御判定部12bは、起動対象のアプリケーションが起動された後に、後述する起動時関連制御テーブル22を参照して、起動されたアプリケーションに関連するアプリケーションの起動、あるいは終了を行うか否かの判定を行い、終了対象のアプリケーションが終了された後に、後述する終了時関連制御テーブル24を参照して、起動されたアプリケーションに関連するアプリケーションの終了を行うか否かの判定を行う。   The execution unit 12 reads an application from the application storage unit 30, loads it into the RAM, activates the application, and interrupts or terminates the activated application. In addition, the execution unit 12 includes a contention determination unit 12a and an associated control determination unit 12b as internal function units. The contention determination unit 12a stores a start-time contention determination table 21 described later when an application is activated. By referring to, the competition determination of the application to be started is performed, and at the end of the application, the competition determination of the application to be terminated is performed with reference to the termination competition determination table 21 described later. The related control determination unit 12b determines whether to start or end an application related to the started application with reference to a startup related control table 22 described later after the application to be started is started. After the application to be terminated is terminated, it is determined whether to terminate the application related to the activated application with reference to the termination related control table 24 described later.

起動状態記憶部13は、図2に示すように、スタック方式の記憶領域であり、実行部12が起動したアプリケーションの識別情報、例えば、RAMにロードされているアプリケーションへのアドレスなどが実行部12により記録される。図2では、アプリケーションAが最初に起動され、その後、アプリケーションBが起動されるとともにアプリケーションAが中断され、最後にアプリケーションCが起動されて、アプリケーションBとAが中断されている状態を示している。   As shown in FIG. 2, the activation state storage unit 13 is a stack type storage area, and identification information of an application activated by the execution unit 12, for example, an address to an application loaded in the RAM is executed by the execution unit 12. Is recorded. FIG. 2 shows a state in which application A is started first, application B is subsequently started, application A is interrupted, application C is finally started, and applications B and A are interrupted. .

テーブル記憶部20は、実行部12により、アプリケーションの起動、あるいは終了を行われる際に、実行部12の上述した競合判定部12a及び関連制御判定部12bにより参照されるテーブルである、起動時競合判定テーブル21、起動時関連制御テーブル22、終了競合判定テーブル23、終了時関連制御テーブル24を記憶している。   The table storage unit 20 is a table that is referred to by the above-described contention determination unit 12a and related control determination unit 12b of the execution unit 12 when the execution unit 12 starts or terminates the application. A determination table 21, a startup related control table 22, an end conflict determination table 23, and an end related control table 24 are stored.

図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 item 12. “OK” or “NG” information is set in each element of the startup competition determination table 21. “OK” indicates that even if the application indicated by the item “Started App” is started, the application indicated by the item “Startup App” can be started. “NG” indicates that when the application indicated by the item “Started App” is started, the application indicated by the item “Start Target App” cannot be started.

図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 terminal device 1 will be described with reference to FIGS. In FIG. 7, in the mobile terminal device 1, after application A (AppA) has already been started, application B (AppB) is started and application A is interrupted. The activation state storage unit 13a-1 shows a state in which the above states are stored in a stack manner. The identification information of the application A is stored first, and the identification information of the application B is the identification information indicating the application A. It is stored in a stacked state.

この状態にて、ユーザが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 terminal device 1 to activate AppC. The key operation unit 13 detects the user's keyboard operation, and notifies the execution unit 12 of the OS 10 of a key event including event information for starting AppC (step Sa1). When receiving the notification of the key event, the execution unit 12 reads event information for starting AppC from the key event, and notifies the read App information to the running AppB through the intermediate layer 11 (step Sa2). .

当該通知を受信した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 intermediate layer 11 with C as an argument, the intermediate layer 11 inputs an activation instruction of AppC to the execution unit 12. The execution unit 12 to which the AppC activation instruction has been input causes the competition determination unit 12a to perform the startup competition determination process illustrated in FIG. 8 (step Sa6).

競合判定部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 table storage unit 20 in the startup competition determination process shown in FIG. 8 (step Sb1). Then, it is determined whether or not the activation target AppC is registered in the activation competition determination table 21 (step Sb2). Here, if the startup conflict determination table 21 is as shown in FIG. 3, 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 state storage unit 13 to detect an application that is being activated or is interrupted in which the identification information is stored in the activation state storage unit 13. In the activation state storage unit 13a-1 in FIG. 7, AppA is detected as the suspended application, and AppB is detected as the activated application.

競合判定部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 state storage unit 13 in the activation competition determination table 21, and determines whether or not the activation target AppC can be activated. Is determined (step Sb3). In the case of the start-up conflict determination table 21 shown in FIG. 3, since the relationship between AppB being started, AppA being interrupted, and AppC to be started is “OK”, it is determined that AppC can be started. It will be. If it is determined that activation is possible, “activation is permitted” is output as the return value of the competition determination process at the time of activation (step Sb4). On the other hand, if it is determined in step Sb2 that there is no registration, or if it is determined in step Sb3 that there is an application having a relationship of “NG” and it is determined that the application cannot be started, “startup impossible” is output as a return value (step Sb5).

起動競合判定処理が終了すると、実行部12は、競合判定部12aから出力される戻り値を参照し、戻り値が「起動不可」の場合は、起動不可応答を中間層11に出力して処理を終了し、起動対象のアプリケーションは起動されないことになる。一方、戻り値が「起動可」の場合、中間層11に起動可応答を出力する(ステップSa7)。中間層11は、実行部12から起動可応答が入力されると、「StartApp(C)」のインタフェースの戻り値として成功応答を出力する(ステップSa8)。   When the start conflict determination process ends, the execution unit 12 refers to the return value output from the conflict determination unit 12a. When the return value is “not startable”, the start disable response is output to the intermediate layer 11 for processing. , And the application to be activated is not activated. On the other hand, when the return value is “startable”, a start enable response is output to the intermediate layer 11 (step Sa7). When the activation permission response is input from the execution unit 12, the intermediate layer 11 outputs a success response as a return value of the “StartApp (C)” interface (step Sa8).

中間層11は、成功応答を出力した後、AppBに対して中断要求を入力する(ステップSa9)。AppBは、中間層11から中断要求が入力されると、処理の中断を行い、通段が成功したことを示すTRUE(真)を中間層11に出力する(ステップSa10)。   After outputting the success response, the intermediate layer 11 inputs an interruption request to AppB (step Sa9). When an interruption request is input from the intermediate layer 11, AppB interrupts the process, and outputs TRUE (true) indicating that the passing is successful to the intermediate layer 11 (step Sa10).

中間層11は、AppBからTRUEの出力を受けると、中断成功を示す情報を実行部12に入力する(ステップSa11)。実行部12は、中間層11から中断成功が入力されると、成功応答を中間層11に出力する(ステップSa12)。   When the intermediate layer 11 receives the output of TRUE from AppB, the intermediate layer 11 inputs information indicating a successful interruption to the execution unit 12 (step Sa11). When the interruption success is input from the intermediate layer 11, the execution unit 12 outputs a success response to the intermediate layer 11 (step Sa12).

中間層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 execution unit 12, the intermediate layer 11 then makes an activation request for AppC specified by the interface “StartApp ()”. Specifically, the AppC program is read from the application storage unit 30, the read AppC program is loaded into the RAM, and execution of the loaded AppC is started. At this time, the execution unit 12 records the AppC identification information in the activation state storage unit 13 and enters the state of the activation state storage unit 13a-3 (step Sa13). When AppC starts execution, it outputs TRUE to the intermediate layer 11 as having been successfully started (step Sa14).

中間層11は、AppCからTRUEが出力されると、AppCの起動成功を実行部12に出力する。実行部12は、AppCの起動成功の出力を受けると、関連制御判定部12bに図9に示す起動時関連制御処理を行わせる(ステップSa16)。   When TRUE is output from AppC, the intermediate layer 11 outputs AppC activation success to the execution unit 12. When the execution unit 12 receives the AppC activation success output, the execution unit 12 causes the related control determination unit 12b to perform the startup related control process shown in FIG. 9 (step Sa16).

関連制御判定部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 execution unit 11 inputs an AppA termination instruction to the intermediate layer 11 (step Sa17). When receiving the AppA termination instruction from the execution unit 11, the intermediate layer 11 transmits a termination request to the suspended AppA (step Sa18). When the suspended AppA receives a termination request from the intermediate layer 11, it performs termination processing. Specifically, the execution unit 12 deletes the AppA program from the RAM, and deletes the AppA identification information from the activation state storage unit 13. In the termination process, AppA outputs TRUE indicating that the termination process is successful to the intermediate layer 11 (step Sa19). When the intermediate layer 11 receives TURE from AppA, it outputs a successful completion to the execution unit 12 (step Sa20), and when the execution unit 12 receives a successful completion from the intermediate layer 11, it outputs a success response to the intermediate layer 11. (Step Sa21), the intermediate layer 11 releases the state and ends the process.

上記の起動時の処理により、アプリケーションの起動時において起動時競合判定処理により、他の起動済アプリケーションとの関係から競合判定を行うことができ、さらに、起動後には、起動したアプリケーションと関連するアプリケーションの起動や終了を行うことが可能となる。また、起動時関連制御処理により、関連するアプリケーション間での連動した起動や終了などを行うことが可能となる。   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 terminal device 1 will be described with reference to FIGS. In FIG. 10, in the mobile terminal device 1, after the application A (AppA) has already been started, the application B (AppB) is started, the application A is interrupted, and the application C (AppC) is further started. At the same time, AppB and A are interrupted. The activation state storage unit 13b-1 shows a state in which the above states are stored in a stacked manner, and identification information is stored in the order of AppA, B, and C.

この状態にて、ユーザが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 terminal device 1 to end AppC. The key operation unit 13 detects the user's keyboard operation, and notifies the execution unit 12 of the OS 10 of a key event including event information for ending AppC (step Sd1). When receiving the key event notification, the execution unit 12 reads event information for ending AppC from the key event, and notifies the activated AppC to the activated AppC through the intermediate layer 11 (step Sd2). .

当該通知を受信した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 intermediate layer 11 with C as an argument, the intermediate layer 11 inputs an instruction to end AppC to the execution unit 12. The execution unit 12 to which the AppC end instruction has been input causes the contention determination unit 12a to perform an end time contention determination process illustrated in FIG. 11 (step Sd6).

競合判定部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 state storage unit 13 to detect an application that is being activated or is interrupted in which the identification information is stored in the activation state storage unit 13. The activation state storage unit 13b-1 in FIG. 10 detects AppA and AppB as suspended applications. In addition, since AppC being activated is a target for termination, AppC is excluded and detected.

競合判定部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 state storage unit 13 in the competition determination table 23 at the end, and whether or not the AppC to be activated can be terminated. Is determined (step Se3). In the case of the end-time competition determination table 23 shown in FIG. 5, since the relationship between the suspended AppA and AppB and the end target AppC is “OK”, it is determined that AppC can be ended. If it is determined that the process can be ended, “end is possible” is output as a return value of the end-time conflict determination process (step Se4). On the other hand, if there is an application having a relation of “NG” in step Se3 and it is determined that the application cannot be ended, “end impossible” is output as a return value (step Se5). If it is determined in step Se2 that there is no registration, “end ready” is output to end the process.

終了競合判定処理が終了すると、実行部12は、競合判定部12aから出力される戻り値を参照し、戻り値が「終了不可」の場合は、終了不可応答を中間層11に出力して、処理を終了し、終了対象のアプリケーションは終了されないことになる。一方、戻り値が「終了可」の場合、中間層11に終了可応答を出力する(ステップSd7)。中間層11は、実行部12から終了可応答が入力されると、CloseApp(C)のインタフェースの戻り値として成功応答を出力する(ステップSd8)。   When the end conflict determination process ends, the execution unit 12 refers to the return value output from the conflict determination unit 12a, and when the return value is “unterminated”, outputs an end not possible response to the intermediate layer 11, The process is terminated and the application to be terminated is not terminated. On the other hand, if the return value is “end possible”, an end end response is output to the intermediate layer 11 (step Sd7). When the end possible response is input from the execution unit 12, the intermediate layer 11 outputs a success response as a return value of the interface of CloseApp (C) (step Sd8).

中間層11は、成功応答を出力した後、AppCに対して終了要求を入力する(ステップSd9)。AppCは、中間層11から終了要求が入力されると、処理の終了を行い、処理を終了する前に、TRUE(真)を中間層11に出力する(ステップSd10)。   After outputting the success response, the intermediate layer 11 inputs an end request to AppC (step Sd9). When an end request is input from the intermediate layer 11, AppC ends the process, and outputs TRUE (true) to the intermediate layer 11 before the process ends (step Sd10).

中間層11は、AppCからTRUEの出力を受けると、終了成功を示す情報を実行部12に入力する(ステップSd11)。実行部12は、中間層11から終了成功が入力されると、起動状態記憶部13からAppCの識別情報を削除して、起動状態記憶部13b−2の状態とし、関連制御判定部12bに図12に示す終了時関連制御処理を行わせる(ステップSd12)。   When the intermediate layer 11 receives the output of TRUE from AppC, the intermediate layer 11 inputs information indicating successful completion to the execution unit 12 (step Sd11). When the end success is input from the intermediate layer 11, the execution unit 12 deletes the AppC identification information from the activation state storage unit 13 and sets the state of the activation state storage unit 13 b-2. The termination related control process shown in FIG. 12 is performed (step Sd12).

関連制御判定部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 execution unit 11 inputs an AppB end instruction to the intermediate layer 11 (step Sd13). When the AppB end instruction is input from the execution unit 11, the intermediate layer 11 transmits an end request to the suspended AppB (step Sd14). When the suspended AppB receives a termination request from the intermediate layer 11, it performs termination processing. Specifically, the execution unit 12 deletes the AppB program from the RAM, and the AppB identification information is deleted from the activation state storage unit 13. In the termination process, AppB outputs TRUE indicating that the termination process was successful to the intermediate layer 11 (step Sd15).

中間層11は、AppBからTUREを受信すると、終了成功を実行部12に出力し(ステップSd16)、実行部12は、終了成功を中間層11から受信すると、成功応答を中間層11に出力する(ステップSd17)。中間層11は、成功応答を実行部12から受信すると、中断中のAppAに対して復帰要求を入力する(ステップSd18)。AppAは、復帰要求が入力されると、復帰処理、すなわち中断される前の状態から実行を開始し、復帰が成功したことを示す成功応答を中間層11に出力する(ステップSd19)。具体的には、実行部12によってAppAが中断される際に、復帰に必要な情報を、内部の記憶領域に一時的に記憶させておき、復帰の際に、当該復帰に必要な情報を読み出し、読み出した復帰に必要な情報に基づいてAppAを起動することになる。   When the intermediate layer 11 receives TURE from AppB, it outputs a successful completion to the execution unit 12 (step Sd16), and when the execution unit 12 receives a successful completion from the intermediate layer 11, it outputs a success response to the intermediate layer 11. (Step Sd17). Upon receiving the success response from the execution unit 12, the intermediate layer 11 inputs a return request to the suspended AppA (step Sd18). When a return request is inputted, AppA starts execution from the return processing, that is, the state before being interrupted, and outputs a success response indicating that the return is successful to the intermediate layer 11 (step Sd19). Specifically, when AppA is interrupted by the execution unit 12, information necessary for restoration is temporarily stored in an internal storage area, and information necessary for restoration is read out at the time of restoration. Then, AppA is started based on the read information necessary for the return.

中間層11は、AppAからの成功応答の出力を受けて、復帰成功を実行部12に出力し(ステップSd20)、実行部12は、中間層11からの復帰成功の出力を受けて、成功応答を中間層11に出力し、中間層11は状態を開放して処理を終了する(ステップSd21)。   The intermediate layer 11 receives the output of the success response from AppA and outputs a successful return to the execution unit 12 (step Sd20). The execution unit 12 receives the output of the successful return from the intermediate layer 11 and receives a success response. Is output to the intermediate layer 11, and the intermediate layer 11 releases the state and ends the process (step Sd21).

上記のアプリケーション終了処理により、アプリケーションの終了時において終了時競合判定処理により、他の起動済アプリケーションとの関係から競合判定を行うことができ、さらに、終了後には、終了したアプリケーションと関連するアプリケーションの終了を行うことが可能となる。また、終了時関連制御処理により、関連するアプリケーション間での連動した終了を行うことが可能となる。   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 key operation unit 103, and may be other applications or events from within the OS 10.

また、上記の実施形態では、競合判定部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 execution unit 12. However, the competition determination unit 12a and the related control determination unit 12b are included in the execution unit 12 in the OS 10. It may be configured as a functional unit independent of each other, and each process may be performed by being called from the execution unit 12.

また、上記のアプリケーション終了処理において、終了対象のものが起動中である場合、除外して検出するとしたが、本発明は、上記の実施形態に限られず、同じアプリケーションが複数起動して、起動状態記憶部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 storage unit 13. In this case, any one of the same applications that ends is specified by the event information, and the end conflict determination process is performed between the same applications.

上記の実施形態の構成により、アプリケーションの起動及び終了の際に、競合条件の判定をテーブル構成の起動時競合判定テーブル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 terminal device 1 is a mobile phone terminal, an application program to be used internally is determined at the time of shipment. Therefore, a table may be created for the determined application. Even if there is an addition or deletion, it is possible to respond quickly by only changing the table.

上述の携帯端末装置1は内部に、コンピュータシステムを有している。そして、上述したアプリケーション起動、及び終了並びに起動時競合判定処理、起動時関連制御処理、終了時競合判定処理、終了時関連制御処理は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   The mobile terminal device 1 described above has a computer system inside. The above-described application activation and termination and activation conflict determination processing, activation related control processing, termination conflict determination processing, and termination related control processing are stored in a computer-readable recording medium in the form of a program. The above processing is performed by the computer reading and executing this program. 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 portable terminal device which concerns on this embodiment. 同実施形態に係る起動状態記憶部のデータ構成を示した図である。It is the figure which showed the data structure of the starting state memory | storage part which concerns on the same embodiment. 同実施形態に係る起動時競合判定テーブルのデータ構成を示した図である。It is the figure which showed the data structure of the competition determination table at the time of start concerning the embodiment. 同実施形態に係る起動時関連制御判定テーブルのデータ構成を示した図である。It is the figure which showed the data structure of the starting related control determination table which concerns on the same embodiment. 同実施形態に係る終了時競合判定テーブルのデータ構成を示した図である。It is the figure which showed the data structure of the competition determination table at the time of end concerning the embodiment. 同実施形態に係る終了時関連制御判定テーブルのデータ構成を示した図である。It is the figure which showed the data structure of the termination related control determination table which concerns on the same embodiment. 同実施形態に係るアプリケーション起動処理を示したシーケンス図である。It is the sequence diagram which showed the application starting process which concerns on the same embodiment. 同実施形態に係る起動時競合判定処理を示したフローチャートである。It is the flowchart which showed the competition determination process at the time of start concerning the embodiment. 同実施形態に係る起動時関連制御処理を示したフローチャートである。It is the flowchart which showed the starting related control process which concerns on the same embodiment. 同実施形態に係るアプリケーション終了処理を示したシーケンス図である。It is the sequence figure which showed the application end process which relates to the same execution form. 同実施形態に係る終了時競合判定処理を示したフローチャートである。It is the flowchart which showed the competition determination process at the time of completion | finish concerning the embodiment. 同実施形態に係る終了時関連制御処理を示したフローチャートである。It is the flowchart which showed the termination related control process which concerns on the same embodiment.

符号の説明Explanation of symbols

1 携帯端末装置
10 OS
11 中間層
12 実行部
12a 競合判定部
12b 関連制御判定部
13 起動状態記憶部
20 テーブル記憶部
21 起動時競合判定テーブル
22 起動時関連制御テーブル
23 終了時競合判定テーブル
24 終了時関連制御テーブル
30 アプリケーション記憶部
101 無線通信部
102 表示部
103 キー操作部
104 音声処理部
1 Mobile terminal device 10 OS
DESCRIPTION OF SYMBOLS 11 Intermediate layer 12 Execution part 12a Competition determination part 12b Related control determination part 13 Starting state memory | storage part 20 Table memory | storage part 21 Startup time competition determination table 22 Startup time related control table 23 End time competition determination table 24 End time related control table 30 Application Storage unit 101 Wireless communication unit 102 Display unit 103 Key operation unit 104 Audio processing unit

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
JP2006149455A 2006-05-30 2006-05-30 Portable terminal device, program control method and its program Pending JP2007323122A (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019114124A (en) * 2017-12-25 2019-07-11 株式会社プレイド Information processing apparatus and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003177926A (en) * 2001-12-11 2003-06-27 Nec Corp Personal digital assistant device

Patent Citations (1)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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