JP4091966B2 - Electronic device, event providing method, program, and recording medium - Google Patents
Electronic device, event providing method, program, and recording medium Download PDFInfo
- Publication number
- JP4091966B2 JP4091966B2 JP2007128656A JP2007128656A JP4091966B2 JP 4091966 B2 JP4091966 B2 JP 4091966B2 JP 2007128656 A JP2007128656 A JP 2007128656A JP 2007128656 A JP2007128656 A JP 2007128656A JP 4091966 B2 JP4091966 B2 JP 4091966B2
- Authority
- JP
- Japan
- Prior art keywords
- event
- operation mode
- application
- unit
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、複数のアプリケーションプログラムを同時に実行できないオペレーティングシステム(以後、OS)を搭載した電子機器においてアプリケーションプログラムを実行することで起動される処理単位であるアプリケーションへイベントを提供する電子機器、当該電子機器におけるアプリケーションへのイベント提供方法、当該電子機器を実現するプログラム、及び当該プログラムを記録した記録媒体に関する。 The present invention relates to an electronic device that provides an event to an application that is a processing unit activated by executing an application program in an electronic device equipped with an operating system (hereinafter referred to as an OS) that cannot simultaneously execute a plurality of application programs. The present invention relates to an event providing method for an application in a device, a program for realizing the electronic device, and a recording medium on which the program is recorded.
一般に、複数のアプリケーションプログラムを同時に実行できないOSを搭載した電子機器においてユーザ操作やタイマ割り込み等のイベントが発生すると、当該イベントはOSによって取得され、起動済みのアプリケーションへ提供される。起動済みのアプリケーションが存在しない場合には、イベントはアプリケーションへ提供されないのが原則である。しかし、この原則は、ある種の電子機器にとっては操作性の悪化を招く。端的な例は携帯電話機である。 In general, when an event such as a user operation or a timer interrupt occurs in an electronic device equipped with an OS that cannot execute a plurality of application programs at the same time, the event is acquired by the OS and provided to a started application. In principle, when there is no activated application, no event is provided to the application. However, this principle causes a deterioration in operability for certain electronic devices. A simple example is a mobile phone.
携帯電話機は、携帯性を確保するために搭載可能なメモリサイズ等に厳しい制約が設けられており、この結果として、複数のアプリケーションプログラムを同時に実行できないOSを搭載している。このような携帯電話機において、上記原則に従うと、何らかのイベントを待ち受ける待ち受け状態においてユーザが音声通話を開始する場合、ユーザはまず、音声通話を開始するための所定のキーを押下し、次にダイヤルキーを押下することになる。しかし、この手順では、ダイヤルキーの入力ミス等が発生すると、手順を中断して最初からやり直す必要がある。また、本来、携帯電話機は音声通話を行うためのものであり、まず所定のキーを押下しなければダイヤル操作を行えないというのは不便である。
そこで、携帯電話機では、待ち受け状態においてダイヤルキーが押下されると、音声通話を行うためのアプリケーションを起動し、このアプリケーションへ、当該押下イベントを提供できるようにしている。すなわち、上記原則に従っていないといえる。
A mobile phone has severe restrictions on the size of a memory that can be mounted in order to ensure portability. As a result, an OS that cannot execute a plurality of application programs is mounted. In such a cellular phone, according to the above principle, when a user starts a voice call in a standby state waiting for some event, the user first presses a predetermined key for starting the voice call, and then dials a key. Will be pressed. However, in this procedure, if a dial key input error or the like occurs, it is necessary to interrupt the procedure and start again. In addition, a mobile phone is originally intended for making a voice call, and it is inconvenient that a dial operation cannot be performed unless a predetermined key is first pressed.
Therefore, in the mobile phone, when a dial key is pressed in a standby state, an application for performing a voice call is activated, and the pressing event can be provided to this application. In other words, it can be said that the above principle is not followed.
上述した携帯電話機では、OSは、発生したイベントを未起動のアプリケーションへ提供することになる。このようなことが可能なのは、未起動のアプリケーションへ提供すべきイベントが発生するのは起動済みのアプリケーションが存在しない状況下に限られるようにシステムが設計されているためである。すなわち、携帯電話機の設計の自由度を制限することで未起動のアプリケーションへのイベント提供を可能としている。 In the mobile phone described above, the OS provides an event that has occurred to an unstarted application. This is possible because the system is designed so that an event to be provided to an unstarted application occurs only in a situation where no started application exists. In other words, it is possible to provide an event to an unstarted application by limiting the degree of freedom in designing the mobile phone.
ところで、近年、移動通信網経由でダウンロードしたコンピュータプログラムを保存し、これを任意の時点で実行することができる携帯電話機が市販されており、ユーザが携帯電話機に機能を追加できるようになってきている。この種の携帯電話機であれば、ユーザの多様なニーズに対応できるという利点がある。しかし、ユーザが携帯電話機に機能を追加できるということは、携帯電話機の設計の自由度の制限が緩和されていることに他ならず、この傾向は今後も続くと予想される。つまり、起動済みのアプリケーションが存在してもしなくても未起動のアプリケーションへ提供すべきイベントが発生し得るという状況に対処できることが今後の携帯電話機に望まれる。 By the way, in recent years, mobile phones that can store a computer program downloaded via a mobile communication network and execute the computer program at an arbitrary time are commercially available, and a user can add functions to the mobile phone. Yes. This type of mobile phone has the advantage of being able to meet various user needs. However, the fact that a user can add a function to a mobile phone is nothing but a restriction on the degree of freedom in designing the mobile phone, and this trend is expected to continue. That is, it is desired for future mobile phones to be able to cope with a situation in which an event that should be provided to an unstarted application can occur regardless of whether or not a started application exists.
本発明は上述した事情に鑑みて為されたものであり、電子機器の設計の自由度を制限することなく、システムの処理単位であるアプリケーションへ適切にイベントを提供することができる電子機器、当該電子機器におけるアプリケーションへのイベント提供方法、当該電子機器を実現するプログラム、及び当該プログラムを記録した記録媒体を提供することを目的としている。 The present invention has been made in view of the circumstances described above, and an electronic device that can appropriately provide an event to an application that is a processing unit of the system without limiting the degree of freedom of design of the electronic device, It is an object to provide a method for providing an event to an application in an electronic device, a program that realizes the electronic device, and a recording medium that records the program.
本発明は、一の態様において、イベントの発生を待ち受ける待ち受け状態において実行される第1のアプリケーションまたは自機器に諸機能を実現させるための第2のアプリケーションを実行する実行手段と、1以上のアプリケーションにて使用され得るイベントを取得する取得手段と、少なくとも第1の動作モードおよび第2の動作モードの中から、一の動作モードを指定する指定手段と、前記第1のアプリケーションが実行されている場合において前記取得手段により所定のイベントが取得されると、前記指定手段にて前記第1の動作モードが指定されている場合は当該イベントを前記第1のアプリケーションに提供する一方、前記指定手段にて前記第2の動作モードが指定されている場合は当該イベントを前記第2のアプリケーションへ提供する提供手段とを具備する電子機器を提供する。 In one aspect, the present invention provides an execution means for executing a first application that is executed in a standby state waiting for the occurrence of an event or a second application for realizing various functions in the own device, and one or more applications The acquisition means for acquiring an event that can be used in the above, the specifying means for specifying one operation mode from at least the first operation mode and the second operation mode, and the first application are executed In the case where a predetermined event is acquired by the acquiring means, if the first operation mode is specified by the specifying means, the event is provided to the first application, while the specifying means If the second operation mode is designated, the event is sent to the second application. Provided is an electronic device comprising providing means for providing to.
本発明は、他の観点において、イベントの発生を待ち受ける待ち受け状態において実行される第1のアプリケーションまたは自機器に諸機能を実現させるための第2のアプリケーションを実行する実行過程と、1以上のアプリケーションにて使用され得るイベントを取得する取得過程と、少なくとも第1の動作モードおよび第2の動作モードの中から、一の動作モードを指定する指定過程と、前記第1のアプリケーションが実行されている場合において前記取得過程において所定のイベントが取得されると、前記指定過程にて前記第1の動作モードが指定されている場合は当該イベントを前記第1のアプリケーションに提供する一方、前記指定過程にて前記第2の動作モードが指定されている場合は当該イベントを前記第2のアプリケーションへ提供する提供過程とを有するイベント提供方法を提供する。 In another aspect, the present invention provides an execution process for executing a first application that is executed in a standby state waiting for the occurrence of an event or a second application for realizing various functions in the own device, and one or more applications An acquisition process for acquiring an event that can be used in the process, a designation process for designating one operation mode from at least the first operation mode and the second operation mode, and the first application are executed. In some cases, when a predetermined event is acquired in the acquisition process, if the first operation mode is specified in the designation process, the event is provided to the first application, while the designation process is performed. If the second operation mode is designated, the event is sent to the second application mode. An event providing method having a providing process to provide to an event.
本発明は、更に他の観点において、コンピュータ装置を、イベントの発生を待ち受ける待ち受け状態において実行される第1のアプリケーションまたは自機器に諸機能を実現させるための第2のアプリケーションを実行する実行手段と、1以上のアプリケーションにて使用され得るイベントを取得する取得手段と、少なくとも第1の動作モードおよび第2の動作モードの中から、一の動作モードを指定する指定手段と、前記第1のアプリケーションが実行されている場合において前記取得手段により所定のイベントが取得されると、前記指定手段にて前記第1の動作モードが指定されている場合は当該イベントを前記第1のアプリケーションに提供する一方、前記指定手段にて前記第2の動作モードが指定されている場合は当該イベントを前記第2のアプリケーションへ提供する提供手段として機能させるためのプログラムを提供する。これらの電子機器、イベント提供方法、またはプログラムによれば、所定のイベントが発生した場合に、動作モードに応じてイベントを提供すべき1つのアプリケーションが一意に特定され、該特定されたアプリケーションに当該イベントが提供される。 In yet another aspect, the present invention provides an execution means for executing a first application executed in a standby state waiting for the occurrence of an event or a second application for causing the own device to implement various functions. obtaining means for obtaining one or more events that may be used by the application, from at least a first and a second operation mode of a designation means for designating an operation mode of the first application When a predetermined event is acquired by the acquiring unit when the first operating mode is specified by the specifying unit, the event is provided to the first application. , If the second operation mode is designated by the designation means, A program for causing the second application to function as providing means is provided. According to these electronic devices, the event providing method, or the program, when a predetermined event occurs, one application that should provide the event is uniquely specified according to the operation mode, and the specified application is associated with the specified application. An event is provided.
本発明は、更に他の観点において、上記プログラムを記録した記録媒体を提供する。 In still another aspect, the present invention provides a recording medium on which the program is recorded.
以下、図面を参照して本発明に係る実施形態について説明する。ただし、本発明は係る実施形態に限定されるものではなく、特許請求の範囲に記載された範囲内の任意の態様を含む。 Embodiments according to the present invention will be described below with reference to the drawings. However, the present invention is not limited to such an embodiment, and includes any aspect within the scope described in the claims.
[第1実施形態]
まず、本発明の第1実施形態について図面を参照して説明する。
図1は本発明の第1実施形態に係る電子機器の外観を示す図である。本実施形態においては、電子機器は移動通信網に収容される携帯電話機1として実現されており、ユーザに把持される筐体10と、各種画像を表示する表示部20と、移動通信網の基地局と無線通信を行うためのアンテナ30と、音声通話のための送話口40および受話口50と、楽音やアラーム音等を出力するためのスピーカ60と、ユーザに操作される操作部113と、筐体10を振動させる振動発生器(図示略)とを備えている。表示部20は例えば液晶ディスプレイやEL(電子蛍光)ディスプレイ等の携帯用途に適した部品を用いて構成されている。また、操作部113は0〜9のダイヤルキーと切り換えボタンCBとを備えており、これらの操作子がユーザにより操作されると、操作内容に応じたイベントを発生させる。なお、切り換えボタンCBは、後述するイベント提供部122の動作モードを2つの動作モードの間で遷移させるためのボタンである。
[First Embodiment]
First, a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a view showing an appearance of an electronic apparatus according to the first embodiment of the present invention. In the present embodiment, the electronic device is realized as a
図2は携帯電話機1の内部構成を示すブロック図であり、この図に示すように、携帯電話機1はコンピュータプログラム等を記憶した不揮発性メモリ70と、不揮発性メモリ70に記憶されたコンピュータプログラムを実行するCPU(中央処理装置)80と、CPU80に使用されるRAM(Random Access Memory)等の揮発性メモリ90とを備えている。不揮発性メモリ70は記憶内容を書き換え不能なROM(Read-Only Memory)71と記憶内容を書き換え可能なEEPROM(Electrically Erasable Programmable ROM)72とを包含している。
FIG. 2 is a block diagram showing an internal configuration of the
ROM71には、携帯電話機1の販売前から、携帯電話機1のOS(オペレーティングシステム)ソフトウェア、音声通話等の電話機が備えている通信機能を実現するため通信AP(通信アプリケーション)プログラム、HTML(HyperTextMarkup Language)により記述されたコンテンツをHTTP(HyperText Transfer Protocol)あるいはHTTPSを用いて閲覧するためのWebブラウザプログラム、及びJava(登録商標)プログラミング言語により記述されたJava−AP(Javaアプリケーション)プログラムを実行させるためのJava実行環境ソフトウェア等のコンピュータプログラムや、後述する待ち受け状態イベントテーブル、移動通信網との通信に必要なデータ等が記憶されている。
The
EEPROM72には、Java−APプログラム等の、携帯電話機1の仕様に関与しないコンピュータプログラムやデータが記憶されている。このEEPROM72は、ユーザが独自に入力したデータや、移動通信網を介してサイトからダウンロードする等して独自に取得したコンピュータプログラム等を記憶し、これらを電源のオン/オフに関らずに保持するためにも用いられる。
The EEPROM 72 stores computer programs and data that are not related to the specifications of the
CPU80は不揮発性メモリ70に記憶されたOSソフトウェアを実行することにより、当該OSソフトウェアに従って表示部20、不揮発性メモリ70、揮発性メモリ90、通信部111及び操作部113を制御する。なお、通信部111は移動通信網を介した通信機能を提供するものであり、アンテナ30を内包し、後述の通信APにより制御される。
The
なお、本実施形態では、CPU80がOSソフトウェアを実行することで携帯電話機1内に実現される機能を「OS」と称し、OSが何らかのコンピュータプログラムを実行することで起動される機能単位(少なくとも一つのプロセスまたはスレッド)を当該OS上のアプリケーション(またはAP)と称する。このAPとしては、OSがJava実行環境ソフトウェアを実行することで起動される「Java実行環境」や、通信プログラムを実行することで起動される「通信AP」、Webブラウザプログラムを実行することで起動される「Webブラウザ」等がある。さらに、本実施形態では、Java実行環境が何らかのJava−APプログラムを実行することで起動される機能単位をJava実行環境上のアプリケーション(またはAP)と称する。
In the present embodiment, a function realized in the
上述したことから明らかなように、携帯電話機1はWebブラウザによる移動通信網を介したデータ通信が可能であり、例えば移動通信網を介してインターネットに接続された任意のサーバへアクセスし、アクセス先のサーバに格納されているHTMLコンテンツの閲覧やJava−APプログラムのダウンロードを行うことができる。
As is clear from the above description, the
図3は携帯電話機1の機能構成例を示す概念図であり、この図において、イベント発生部110は、OS120や各種アプリケーションに提供されるべきイベントを発生する機能要素であり、通信部111、タイマ112及び操作部113を含む。なおタイマ112は所定時間間隔でイベントを発生させるものである。OS120は複数のアプリケーションプログラムを同時に実行できない(すなわち、一つのアプリケーションプログラムしか同時には実行できない)OSである。通信AP131はOS120上のアプリケーションの一例であり、通信APプログラムをOS120が実行することにより起動される。Java実行環境140はOS120上のアプリケーションの一例であり、Java実行環境ソフトウェアをOS120が実行することにより起動される。
FIG. 3 is a conceptual diagram showing an example of a functional configuration of the
Java−AP151はJava実行環境140上のアプリケーションの一例であり、Java−AP151に対応したJava−APプログラムを携帯電話機1が実行することにより起動される。なお、本実施形態におけるJava実行環境140は複数のアプリケーションプログラムを同時に実行することはできず、一つのアプリケーションプログラムしか同時には実行できない。また、Java−AP151に対応したJava−APプログラムは待ち受け状態の携帯電話機1をアラームとして機能させるためのプログラムである。
The Java-
Java実行環境140において、Java−API141はJava実行環境140上のアプリケーションに対して使用が許可されたJava実行環境140の機能を当該アプリケーションが使用するためのアプリケーションインタフェースである。Java実行環境140上のアプリケーションは当該Java−API141を介してJava実行環境140の機能を使用する。
In the
OS120において、イベント取得部121およびイベント提供部122は図4に示す状態遷移を実現するためのものである。図4は携帯電話機1の状態遷移の一部を示す図であり、この図に示すように、携帯電話機1は自身の状態として待ち受け状態と実行状態ST3とを有する。待ち受け状態はイベントの発生を待ち受ける状態であり、携帯電話機1には、イベント提供部122の動作モード(動作モードA及び動作モードB)に対応して2種類の待ち受け状態ST1,ST2が存在する。各状態間の遷移に対応するイベントC1〜C4の具体的な内容については後述する。
In the
また、図3のOS120は、携帯電話機1が待ち受け状態に遷移すると、予め設定された待ち受けアプリケーションプログラムを実行する。待ち受けアプリケーションプログラムは待ち受け状態で実行されるJava−APプログラムであり、ユーザがWebブラウザ等を使用して移動通信網経由で取得したプログラムであってもよい。
Further, the
イベント取得部121はイベント発生部110において発生したイベントを取得し、取得したイベントがイベントの提供先を切り換えるためのイベントであるか否かを判定し、イベントの提供先を切り換えるためのイベントであればイベント提供部122の動作モードを切り換えるための切り換え指示をイベント提供部122へ供給し、イベントの提供先を切り換えるためのイベントでなければ当該イベントをそのままイベント提供部122へ供給する。上記判定は取得したイベントが操作部113に設けられた切り換えボタンCBの押下を示すイベントであるか否かを調べることにより実現される。
The
イベント提供部122は、イベント取得部121から切り換え指示を受けると、自身の動作モードを一方の動作モードから他方の動作モードへ切り換えるとともに、切り換え後の動作モードをユーザに通知するための通知指示を動作モード通知部124へ供給する(図4のイベントC1)。また、イベント提供部122はイベント取得部121からイベントが供給されると、自身の動作モードと当該イベントと待ち受け状態イベントテーブルT1とに基づいた処理を行う。
When the
図5は待ち受け状態イベントテーブルT1の構成例を示す概念図であり、この図に示す待ち受け状態イベントテーブルT1は、待ち受け状態の携帯電話機1のOS120が次にイベントを提供し得るアプリケーションと、各アプリケーションが使用し得るイベントとを対応付けている。このテーブルに登録されているアプリケーションは通信APプログラム及びJava実行環境ソフトウェアに基づいたアプリケーションである。これらのアプリケーションは携帯電話機1の仕様に関与するものであることから、待ち受け状態イベントテーブルT1では、携帯電話機1の動作(状態)が不定とならないようにアプリケーションとイベントが対応付けられている。すなわち、一つのイベントに対しては最大でも一つのアプリケーションしか対応付けられていない。実際には、各アプリケーションが使用し得るイベントは重複し得るが、待ち受け状態イベントテーブルT1ではアプリケーション間の優先順位に従って上記対応関係が実現されている。
FIG. 5 is a conceptual diagram showing a configuration example of the standby state event table T1. The standby state event table T1 shown in FIG. 5 includes an application that the
待ち受け状態の携帯電話機1において、動作モードAのイベント提供部122にイベント取得部121からイベントが供給されると、イベント提供部122は当該待ち受け状態イベントテーブルT1を用いて当該イベントに対応するアプリケーションを選択し、当該アプリケーションが当該イベントを利用できるようにする。すなわち、選択されたアプリケーションがJava実行環境140でない場合には、Java実行環境140を消滅させるとともに選択されたアプリケーションを起動させることにより携帯電話機1の状態を当該イベントに応じた状態とし(イベントC2)、起動されたアプリケーション(例えば通信AP131)へ当該イベントを供給し、選択されたアプリケーションがJava実行環境140の場合には、当該アプリケーションへ当該イベントを供給する(イベントC3)。
In the standby state
また、待ち受け状態の携帯電話機1において、動作モードBのイベント提供部122にイベント取得部121からイベントが供給されると、イベント提供部122はJava実行環境140へ当該イベントを供給する(イベントC4)。なお、イベント提供部122によるアプリケーションへのイベントの供給はネイティブAPI123を介して行われる。また、Java実行環境140はOS120から提供されたイベントをJava実行環境140上のアプリケーションへ提供する機能を有する。Java実行環境140からJava実行環境140上のアプリケーションへのイベントの提供はJava−API141を介して行われる。
In the
このように、イベント提供部122はイベント取得部121からイベントが供給されると、自身の動作モードと当該イベントと待ち受け状態イベントテーブルT1とに基づいたアプリケーションへ当該イベントを供給する。
As described above, when an event is supplied from the
ネイティブAPI123はOS120上のアプリケーションに対して使用が許可されたOS120の機能を当該アプリケーションが使用するためのアプリケーションインタフェースである。OS120上のアプリケーションは当該ネイティブAPI123を介してOS120の機能を使用する。
The
動作モード通知部124はイベント提供部122からの通知指示に従って、イベント提供部122の動作モードを示す画像の表示を制御する。すなわち、動作モード通知部124は、イベント提供部122から通知指示を受けると、表示部20を制御し、イベント提供部122の動作モードが動作モードBの場合にはイベント提供部122の動作モードが動作モードBであることを示す画像の表示を開始させ、イベント提供部122の動作モードが動作モードAの場合には当該画像の表示をやめさせる。なお、動作モード通知部124は携帯電話機1が待ち受け状態に遷移した時点においても上記表示制御を行う。
The operation
[第1実施形態の動作例]
次に、本実施形態に係る携帯電話機1の動作例について、主に図6を参照して説明する。図6はイベント取得部121、イベント提供部122及び動作モード通知部124の動作の流れを示すフローチャートであり、携帯電話機1の状態が待ち受け状態となった時点以降の動作の流れを示している。なお、携帯電話機1には、待ち受けアプリケーションプログラムとしてJava−AP151に対応したJava−APプログラムが設定されているものとする。このJava−APプログラムは移動通信網を介してダウンロードされてきたものであり、携帯電話機1は当該Java−APプログラムが如何なるイベントを使用し得るかを把握していない。
[Operation Example of First Embodiment]
Next, an operation example of the
ユーザ操作等により携帯電話機1が待ち受け状態に遷移すると、OS120は予め設定された待ち受けアプリケーションプログラムを実行する。したがって、待ち受け状態にある携帯電話機1においては、Java実行環境140がOS120上のアプリケーションとして起動され、このJava実行環境140上のアプリケーションとしてJava−AP151が起動される。この結果、携帯電話機1においてJava−AP151に従ったユーザインタフェースが提供される。すなわち、Java−AP151が画面表示を伴うものであれば表示部20にはJava−AP151に従った画面が表示され、音声出力を伴うものであればスピーカ60からJava−AP151に従った音が出力され、筐体10の振動を伴うものであれば筐体10がJava−AP151に従って振動する。また、待ち受け状態への遷移時のイベント提供部122の動作モードは動作モードAとなる(ステップS11)。
When the
次に、動作モード通知部124は、イベント提供部122の動作モードをユーザに通知する処理を行う(ステップS12)。表示部20には動作モードが動作モードBであることを示す画像は未だ表示されておらず、動作モードは動作モードAであることから、動作モード通知部124は表示部20に対して何も行わない。この結果、ユーザは表示部20を視認することにより、現在の動作モードが動作モードAであることを把握することができる。以後、携帯電話機1はイベントの発生を待つ。
Next, the operation
イベント発生部110においてユーザ操作や着信等に起因したイベントが発生すると、発生したイベントはOS120のイベント取得部121により取得される(ステップS13)。このイベントがイベントの提供先を切り換えるためのイベントでないものとして以後の動作を説明する(ステップS14)。
When an event caused by a user operation or an incoming call occurs in the
イベントを取得したイベント取得部121は当該イベントをイベント提供部122へ供給する。当該イベントが供給された動作モードAのイベント提供部122は、携帯電話機1の状態を当該イベントに応じた状態とした後に、OS120上のアプリケーションへ当該イベントを供給する。例えば、当該イベントがダイヤルキーのいずれか一つのキーの押下である場合(ステップS15,S16)、待ち受け状態イベントテーブルT1において当該イベントには通信AP131が対応付けられていることから、イベント提供部122はJava実行環境140を消滅させるとともに通信AP131を起動させ、携帯電話機1の状態を待ち受け状態から通信AP131の実行状態へ遷移させる(ステップS17)。通信AP131の実行状態においてOS120上のアプリケーションは通信AP131のみであることから、当該イベントはネイティブAPI123を介して通信AP131へ提供され(ステップS18)、表示部20には例えば図7に示す画面が表示される。なお、図7は待ち受け状態かつ動作モードAにおいて0を入力するためのダイヤルキーが押下された場合に表示部20に表示される画面を例示している。以後の動作は通信AP131の実行状態において従来から行われていた動作と同一となる。
The
一方、当該イベントが例えばタイマ112により発生したイベントの場合(ステップS15,S16)、待ち受け状態イベントテーブルT1において当該イベントはJava実行環境140に対応付けられていることから、動作モードAのイベント提供部122は携帯電話機1の状態を待ち受け状態のまま維持し、ネイティブAPI123を介して当該イベントをJava実行環境140へ提供する(ステップS19)。Java実行環境140上のアプリケーションはJava−AP151のみであることから、当該イベントはJava−API141を介してJava−AP151に提供される。以後、携帯電話機1はイベントの発生を待つ。このように、イベント提供部122の動作モードが動作モードAであっても、待ち受け状態イベントテーブルT1においてJava実行環境140に対応付けられたイベントについては、Java−AP151へ提供される。
On the other hand, when the event is an event generated by the timer 112 (steps S15 and S16), since the event is associated with the
次に、イベント取得部121により取得されたイベントがイベントの提供先を切り換えるためのイベントである場合の動作を説明する。
イベント取得部121により取得されたイベントがイベントの提供先を切り換えるためのイベント、すなわちユーザが切り換えボタンCBを押下することにより発生したイベントの場合(ステップS13,S14)、イベント取得部121は切り換え指示をイベント提供部122へ供給する。この指示が供給されたイベント提供部122は、自身の動作モード(動作モードA)を動作モードBへ切り換え(ステップS20)、動作モード通知部124へ通知指示を供給する。この指示を受けた動作モード通知部124は、表示部20に対して、イベント提供部122の動作モードが動作モードBであることを示す画像の表示を開始させる(ステップS12)。この結果、表示部20に表示される画面は、例えば、図8に示される画面から図9に示される画面に遷移する。この結果、ユーザは表示部20を視認することにより、現在の動作モードが動作モードAであることを把握することができる。なお、図9における「B」が動作モードBを示す画像であり、アプリケーションの描画領域外の領域に描画されている。このため、動作モードBを示す画像をユーザが確実に視認することができる。
Next, an operation when the event acquired by the
When the event acquired by the
このような状況下でイベント発生部110においてイベントが発生すると、発生したイベントはイベント取得部121により取得される(ステップS13)。このイベントがイベントの提供先を切り換えるためのイベントでないものとして以後の動作を説明する(ステップS14)。
When an event occurs in the
イベントを取得したイベント取得部121は当該イベントをイベント提供部122へ供給する。当該イベントが供給された動作モードBのイベント提供部122は、当該イベントをOS120上のアプリケーションへ供給する(ステップS15,S19)。例えば、当該イベントがダイヤルキーのいずれか一つのキーの押下である場合、イベント提供部122はネイティブAPI123を介してJava実行環境140へ当該イベントを提供する。当該イベントが供給されたJava実行環境140では唯一のアプリケーションであるJava−AP151に対して当該イベントが提供される。この結果、表示部20には例えば図10に示す画面が表示される。
The
図10は待ち受け状態かつ動作モードBにおいて0を入力するためのダイヤルキーが押下された場合に表示部20に表示される画面を例示している。この図に示す例において、更に、8を入力するためのダイヤルキーが押下されると、イベント提供部122の動作モードは動作モードBであることから、当該イベントはイベント取得部121、イベント提供部122、ネイティブAPI123及びJava実行環境140を介してJava−AP151へ提供され、表示部20には図11に示す画面が表示される(ステップS13〜S15,及びS19)。なお、図10及び図11に示す画面はアラーム機能を提供するJava−AP151により提供されるものであり、待ち受け状態イベントテーブルT1においてタイマ112によるイベントはJava実行環境140に対応付けられているため、最終的には当該アプリケーションへ提供される(ステップS13〜S15,S19)。したがって、当該アプリケーションが提供する画面に表示された時刻に携帯電話機1が振動したり、スピーカ60からアラーム音が出力されたり、表示部20の表示が点滅したりする。
FIG. 10 illustrates a screen displayed on the
このような状況下で、イベント発生部110においてイベントの提供先を切り換えるためのイベントが発生し、当該イベントがイベント取得部121に取得されると、イベント取得部121は切り換え指示をイベント提供部122へ供給する(ステップS13,S14)。この指示が供給されたイベント提供部122は、自身の動作モード(動作モードB)を動作モードAへ切り換え(ステップS20)、動作モード通知部124へ通知指示を供給する。この指示を受けた動作モード通知部124は、表示部20に対して、イベント提供部122の動作モードが動作モードBであることを示す画像の表示をやめさせる(ステップS12)。
Under such circumstances, when an event for switching the event providing destination occurs in the
したがって、次に、ダイヤルキーの押下等の待ち受け状態イベントテーブルT1において通信AP131に対応付けられているイベントが発生すると、イベント提供部122はJava実行環境140を消滅させるとともに通信AP131を起動させ、携帯電話機1の状態を待ち受け状態から通信AP131の実行状態へ遷移させる(ステップS13〜S17)。通信AP131の実行状態においてOS120上のアプリケーションは通信AP131のみであることから、当該イベントは異ベンチ提供部122からネイティブAPI123を介して通信AP131へ提供される(ステップS18)。
Therefore, next, when an event associated with the
[第2実施形態]
次に、本発明の第2実施形態について図面を参照して説明する。
本実施形態に係る電子機器(以後、携帯電話機2)が第1実施形態に係る携帯電話機1と異なる点はOSの機能要素のみである。よって、この点についてのみ説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to the drawings.
The electronic device according to the present embodiment (hereinafter, mobile phone 2) is different from the
図12は携帯電話機2の機能構成例を示す概念図であり、この図に示すOS160が図3のOS120と異なる点は、イベント提供部122及び動作モード通知部124に代えてイベント提供部162及び動作モード通知部164を有する点である。イベント提供部162及び動作モード通知部164がイベント提供部122及び動作モード通知部124と大きく異なる点は、イベント提供部122が2種類の動作モード(動作モードA及び動作モードB)を有するのに対し、イベント提供部162はこれら2種類の動作モードに加えて動作モードCを有する点である。以後、この点に着目してイベント提供部162及び動作モード通知部164について説明する。なお、動作モードCはWebブラウザプログラムを実行することにより起動されるWebブラウザ132(OS160上のアプリケーション)へイベントを提供するモードであり、ユーザは、この動作モードCを用いることで、待ち受け状態の携帯電話機2において発生したイベントをWebブラウザ132へ提供することができる。
FIG. 12 is a conceptual diagram showing an example of the functional configuration of the mobile phone 2. The
OS160において、イベント取得部121およびイベント提供部162は図13に示す状態遷移を実現する。図13は携帯電話機2の状態遷移の一部を示す図であり、図4と大きく異なる点は、待ち受け状態ST4及び実行状態ST5が存在する点である。イベント提供部162は、待ち受け状態において切り換えボタンCBが押下される度にイベント取得部121から切り換え指示を受け、自身の動作モードを動作モードA、動作モードB、動作モードCの順で巡回的に切り換え、通知指示を動作モード通知部164へ供給する。すなわち、イベント提供部162は、待ち受け状態において切り換えボタンCBが押下される度に、携帯電話機2の状態を、待ち受け状態ST1、待ち受け状態ST2、待ち受け状態ST4の順で巡回的に遷移させる(イベントC1)。
In the
イベント提供部162はイベント取得部121からイベントが供給されると、自身の動作モードと当該イベントと待ち受け状態イベントテーブルT1及び待ち受け状態イベントテーブルT2とに基づいた処理を行う。
When an event is supplied from the
図14は待ち受け状態イベントテーブルT2の構成例を示す概念図である。待ち受け状態イベントテーブルT2は、待ち受け状態の携帯電話機1のOS160が次にイベントを提供し得るアプリケーションと、各アプリケーションが使用し得るイベントとを対応付けている。このテーブルに登録されているアプリケーションはWebブラウザ及びJava実行環境であり、待ち受け状態イベントテーブルT2では、待ち受け状態イベントテーブルT1と同様に、携帯電話機2の動作(状態)が不定とならないようにアプリケーションとイベントが対応付けられている。
FIG. 14 is a conceptual diagram showing a configuration example of the standby state event table T2. The standby state event table T2 associates an application that the
待ち受け状態の携帯電話機2において、動作モードCのイベント提供部162にイベント取得部121からイベントが供給されると、イベント提供部162は当該待ち受け状態イベントテーブルT2を用いて当該イベントに対応するアプリケーションを選択し、当該アプリケーションが当該イベントを利用できるようにする。すなわち、選択されたアプリケーションがJava実行環境140でない場合には、Java実行環境140を消滅させるとともに選択されたアプリケーションを起動させることにより携帯電話機1の状態を当該イベントに応じた状態とし(イベントC5)、起動されたアプリケーション(例えばWebブラウザ132)へ当該イベントを供給し、選択されたアプリケーションがJava実行環境140の場合には、当該アプリケーションへ当該イベントを供給する(イベントC6)。
In the standby mobile phone 2, when an event is supplied from the
このように、イベント提供部162はイベント取得部121からイベントが供給されると、自身の動作モードと当該イベントと待ち受け状態イベントテーブルT1と待ち受け状態イベントテーブルT2とに基づいたアプリケーションへ当該イベントを供給する。
As described above, when an event is supplied from the
動作モード通知部164はイベント提供部162からの通知指示に従って動作モードを示す画像の表示を制御する。すなわち、動作モード通知部164は、イベント提供部162から通知指示を受けると、イベント提供部162の動作モードを示す画像の表示を表示部20に開始させる。
The operation
[第2実施形態の動作例]
次に、本実施形態に係る携帯電話機2の動作例について、主に図15を参照して説明する。図15はイベント取得部121、イベント提供部162及び動作モード通知部164の動作の流れを示すフローチャートであり、図6と共通する部分には同一の符号が付されている。同一符号が付された部分の動作については説明を省略する。また、以下に述べる動作例の前提は第1実施形態の動作例と同一であるものとする。
[Operation Example of Second Embodiment]
Next, an operation example of the mobile phone 2 according to the present embodiment will be described mainly with reference to FIG. FIG. 15 is a flowchart showing the flow of operations of the
携帯電話機2が待ち受け状態に遷移すると、動作モード通知部164は、イベント提供部162の動作モードをユーザに通知する処理を行う(ステップS12A)。すなわち、動作モード通知部164はイベント提供部162の動作モードが動作モードAであることを示す画像を表示部20に表示させる。以後、携帯電話機1はイベントの発生を待つ。
When the mobile phone 2 transitions to the standby state, the operation
次に、イベント取得部121がイベントの提供先を切り換えるためのイベント(切り換えボタンCBの押下)を取得し、切り換え指示をイベント提供部162へ供給すると、イベント提供部162は自身の動作モードを動作モードBに切り換え、動作モード通知部164はイベント提供部162の動作モードが動作モードBであることを示す画像を表示部20に表示させる。以後、携帯電話機2はイベントの発生を待つ(ステップ13,14,20A及び12A)。
Next, when the
次に、イベント取得部121がイベントの提供先を切り換えるためのイベントを取得し、切り換え指示をイベント提供部162へ供給すると、イベント提供部162は自身の動作モードを動作モードCに切り換え、動作モード通知部164はイベント提供部162の動作モードが動作モードCであることを示す画像を表示部20に表示させる(ステップ13,14,20A及び12A)。以後、携帯電話機2はイベントの発生を待つ。
Next, when the
次に、イベント取得部121からイベントの供給を受けると、動作モードCのイベント提供部162は、携帯電話機2の状態を当該イベントに応じた状態とした後に、OS160上のアプリケーションへ当該イベントを供給する。例えば、当該イベントがダイヤルキーのいずれか一つのキーの押下である場合、待ち受け状態イベントテーブルT2において当該イベントにはWebブラウザ132が対応付けられていることから、イベント提供部162はJava実行環境140を消滅させるとともにWebブラウザ132を起動させ、携帯電話機2の状態を待ち受け状態からWebブラウザ132の実行状態へ遷移させる(ステップS13〜S16及びS17A)。Webブラウザ132の実行状態においてOS160上のアプリケーションはWebブラウザ132のみであることから、当該イベントはイベント提供部162からネイティブAPI123を介してWebブラウザ132へ提供される(ステップS18A)。以後の動作はWebブラウザ132の実行状態において従来から行われていた動作と同一となる。
Next, when an event is supplied from the
一方、イベント取得部121から供給されたイベントが例えばタイマ112により発生したイベントの場合、待ち受け状態イベントテーブルT2において当該イベントはJava実行環境140に対応付けられていることから、動作モードCのイベント提供部162は携帯電話機2の状態を待ち受け状態のまま維持し、ネイティブAPI123を介して当該イベントをJava実行環境140へ提供する(ステップS13〜S15及びS19)。Java実行環境140上のアプリケーションはJava−AP151のみであることから、当該イベントはJava−API141を介してJava−AP151に提供される。以後、携帯電話機2はイベントの発生を待つ。
On the other hand, if the event supplied from the
次に、イベント取得部121がイベントの提供先を切り換えるためのイベントを取得し、切り換え指示をイベント提供部162へ供給すると、イベント提供部162は自身の動作モードを動作モードAに切り換え、動作モード通知部164はイベント提供部162の動作モードが動作モードAであることを示す画像を表示部20に表示させる(ステップS13,S14,S20A及びS12A)。
Next, when the
[変形例]
上述した各実施形態においては、発生したイベントがイベントの供給先を切り換えるためのイベントか否かをイベント取得部121が判断するようにしたが、イベント取得部121が取得した全てのイベントをそのままイベント提供部122あるいはイベント提供部162へ供給し、イベント提供部122あるいはイベント提供部162において当該イベントがイベントの供給先を切り換えるためのイベントか否かを判定するようにしてもよい。
[Modification]
In each embodiment described above, the
また、上述した第1実施形態においては、イベントの提供先を動作モードと当該イベントと待ち受け状態イベントテーブルT1とに基づいて定める例を示したが、動作モードのみに基づいて定めるようにしてもよい。例えば、イベント取得部121からのイベントの供給を受けた動作モードAのイベント提供部122が待ち受け状態イベントテーブルT1を用いることなく通信AP131を起動させるようにしてもよい。この場合、動作モードが動作モードBへ切り換えられない限り、Java−AP151はイベントの提供を受けることができない。これと同様に、第2実施形態において動作モードのみに基づいてイベントの提供先を定めるよにしてもよい。この場合、動作モードAの場合のイベント提供先は通信AP131のみ、動作モードBの場合のイベント提供先はJava実行環境140のみ、動作モードCの場合のイベント提供先はWebブラウザ132のみとなる。
Further, in the first embodiment described above, the example in which the event providing destination is determined based on the operation mode, the event, and the standby state event table T1 has been described, but may be determined based only on the operation mode. . For example, the
上述した各実施形態においては、Java実行環境140とイベントとの対応関係をも待ち受け状態イベントテーブルに登録した例を示したが、これを登録せず、イベント取得部121から供給されたイベントが待ち受け状態イベントテーブルに登録されていない場合にはイベント提供部122またはイベント提供部162が当該イベントをJava実行環境140へ提供するようにしてもよい。もちろん、待ち受け状態イベントテーブルに登録しない対応関係はJava実行環境140とイベントとの対応関係に限定されるものではない。例えば、第1実施形態においてJava実行環境140に対応したイベントのみを待ち受け状態イベントテーブルT1に登録し、イベント取得部121から動作モードAのイベント提供部122に供給されたイベントが待ち受け状態イベントテーブルT1に登録されていない場合に当該イベントを通信AP131へ提供し、登録されている場合にJava実行環境140へ提供するようにしてもよい。なお、これらの場合には、待ち受け状態イベントテーブルには一つのアプリケーションに対応したイベントのみが登録されるため、各レコードのフィールドは一つだけで足りる。
In each of the above-described embodiments, the example in which the correspondence relationship between the
また、上述した各実施形態ではイベント提供部122またはイベント提供部162の動作モードをユーザに通知するようにしたが、このような通知を行わないようにしてもよい。特に、第1実施形態における切り換えボタンCBを、ユーザの押下の度にユーザに与える印象が変わるボタンとすれば、上記通知を行わないようにしたとしても、切り換えボタンCBの状態がイベント提供部122動作モードを示すことになり、より簡素な構成で第1実施形態と同一の効果を得ることができる。ユーザの押下の度に印象が変わるボタンの例としては、ユーザの押下の度にユーザに与える視覚的な印象が交互に変わるトグルボタンが挙げられる。
In each embodiment described above, the user is notified of the operation mode of the
また、上述した各実施形態では、一つのボタンの押下により動作モードを切り換える例を示したが、複数の操作子の各々に各動作モードを対応付け、例えば、ある操作子が操作されたら動作モードA、他の操作子が操作されたら動作モードB、というようにしてもよい。もちろん、複数の操作を可能とする操作子の各操作に各動作モードを対応付け、例えば、当該操作子に対してある操作が行われたら動作モードA、当該操作子に他の操作が行われたら動作モードB、というようにしてもよい。 Further, in each of the above-described embodiments, an example in which the operation mode is switched by pressing one button is shown. However, each operation mode is associated with each of a plurality of operation elements, for example, an operation mode when a certain operation element is operated. A, and the operation mode B when another operation element is operated may be used. Of course, each operation mode is associated with each operation of the operation element capable of performing a plurality of operations. For example, when an operation is performed on the operation element, the operation mode A is performed, and another operation is performed on the operation element. Then, the operation mode B may be used.
また、上述した各実施形態において、イベント取得部121が取得するイベントは低レベルのイベントに限定されない。例えば、ソフトウェアボタンの押下等の高レベルのイベントであってもよい。
さらに、上述した各実施形態においては、待ち受け状態イベントテーブルをROM71に記憶させた例を示したが、EEPROM72に記憶させるようにしてもよい。
Moreover, in each embodiment mentioned above, the event which the
Further, in each of the above-described embodiments, the standby state event table is stored in the
また、上述した各実施形態では待ち受け状態においてイベント取得部の動作モードを切り換える例を示したが、待ち受け状態に入る前にイベント取得部の動作モードを切り換え可能としてもよい。この場合、待ち受け状態への遷移時のイベント取得部の動作モードは、それ以前に設定された動作モードとなる。さらに、この動作モードをEEPROM72に記憶させるようにすれば、携帯電話機の電源をオフにしても、設定された動作モードが維持される。
In each of the above-described embodiments, the operation mode of the event acquisition unit is switched in the standby state. However, the operation mode of the event acquisition unit may be switched before entering the standby state. In this case, the operation mode of the event acquisition unit at the time of transition to the standby state is the operation mode set before that. Further, if this operation mode is stored in the
また、上述した各実施形態では、待ち受けアプリケーションプログラムを設定した例を示したが、この設定は必須ではない。待ち受けアプリケーションプログラムを設定しない場合には、待ち受け状態で実行されるアプリケーションは存在しないことから、イベントの提供先は次に実行し得るアプリケーションの中から選択されることになる。 In each of the above-described embodiments, an example in which a standby application program is set is shown, but this setting is not essential. When the standby application program is not set, there is no application executed in the standby state, and therefore the event providing destination is selected from the applications that can be executed next.
さらに、上述した第2実施形態においてはOS120上のアプリケーションとして通信AP131、Webブラウザ132及びJava実行環境140を想定したために図13に示す状態遷移としたが、より多くのアプリケーションに対応できるように第2実施形態を変形することは容易である。
Furthermore, in the second embodiment described above, the
また、上述した第2実施形態においては通信AP131へのイベント提供については動作モードA、Webブラウザ132へのイベント提供については動作モードCにて実現する例を示したが、通信AP131に使用され得るイベントとWebブラウザ132に使用され得るイベントとが競合しないのであれば、動作モードAにて通信AP131へのイベント提供およびWebブラウザ132へのイベント提供を実現するように第2実施形態を変形することは容易である。この場合、動作モードCは不要となる。
In the second embodiment described above, an example is shown in which the event provision to the
また、上述した各実施形態では携帯電話機を例に挙げたが、本発明はコンピュータプログラムを実行可能な任意の電子機器においてイベントを提供可能なアプリケーションが複数となり得る電子機器に適用可能である。特に、本発明は、携帯性を確保するために搭載可能なメモリサイズ等に厳しい制約が設けられており、複数のアプリケーションを同時に実行できないOSを搭載せざるを得ないような電子機器に用いて好適である。 In each of the above-described embodiments, a mobile phone has been described as an example. However, the present invention is applicable to an electronic device that can provide a plurality of applications that can provide an event in any electronic device that can execute a computer program. In particular, the present invention is used in an electronic device in which a severe limitation is imposed on a memory size that can be mounted in order to ensure portability, and an OS that cannot execute a plurality of applications simultaneously has to be mounted. Is preferred.
さらに、上述した各実施形態では、Javaアプリケーションを待ち受けアプリケーションとする例を示したが、これに限定されるものではないことは言うまでもない。これと逆に、OS120上のアプリケーションを全てJavaアプリケーションとしてもよい。すなわち、通信AP131やWebブラウザ132をJavaアプリケーションとしてもよい。なお、Javaアプリケーションを待ち受けアプリケーションとしたためにJava実行環境を実装する例を示したが、待ち受けアプリケーションがJavaアプリケーションでなければ、Java実行環境の実装は不要である。さらに、Java実行環境とOSとの間に他の実行環境を介挿した構成としてもよいことはいうまでもない。
Furthermore, in each of the above-described embodiments, an example in which a Java application is a standby application has been described, but it is needless to say that the present invention is not limited to this. Conversely, all applications on the
また、上述した各実施形態では、OSソフトウェアおよびJava実行環境ソフトウェアをROM71に記録した例を示したが、携帯電話機に、半導体メモリや光ディスク、光磁気ディスク、磁気ディスク等の記録媒体から直接あるいは間接的に記録データを読み出せる機能を持たせ、当該電子機器の製造者や通信事業者等が当該記録媒体にOSソフトウェア及びJava実行環境ソフトウェア(あるいはOSソフトウェアのみ)を記録して携帯電話機の使用者へ渡すようにしてもよい。もちろん、これらのソフトウェアを、記録媒体経由ではなく、通信網経由で携帯電話機にダウンロードできるようにしてもよい。さらに、不揮発性メモリ70に上記ソフトウェアの大部分を格納し、残りの一部を上記方法により使用者へ渡し、使用者側で上記ソフトウェアを構成するようにしてもよい。
In each of the above-described embodiments, the OS software and the Java execution environment software are recorded in the
以上説明したように、本発明によれば、複数のアプリケーションプログラムを同時に実行できないオペレーティングシステムを搭載しているにも関らず、指示あるいは指示に従って切り換えられる動作モードに基づいたアプリケーションへ、イベントが提供される。したがって、起動済みのアプリケーションが存在してもしなくても未起動のアプリケーションへ提供すべきイベントが発生し得るという状況に対処できる。よって、電子機器の設計の自由度を制限することなく、複数のアプリケーションプログラムを同時に実行できないオペレーティングシステム上においても、アプリケーションへ適切にイベントを提供することができる。 As described above, according to the present invention, an event is provided to an application based on an instruction or an operation mode switched according to the instruction, even though an operating system that can not execute a plurality of application programs is installed. Is done. Therefore, it is possible to cope with a situation in which an event to be provided to an unstarted application can occur regardless of whether or not there is a started application. Therefore, an event can be appropriately provided to an application even on an operating system in which a plurality of application programs cannot be executed at the same time without limiting the degree of freedom of design of the electronic device.
1,2 携帯電話機(電子機器)
110 イベント発生部
120,160 オペレーティングシステム
121 イベント取得部
122,162 イベント提供部
124,164 動作モード通知部
131 通信AP
140 Java実行環境
151 Java−AP
1, 2 Mobile phones (electronic devices)
DESCRIPTION OF
140
Claims (11)
1以上のアプリケーションにて使用され得るイベントを取得する取得手段と、
少なくとも第1の動作モードおよび第2の動作モードの中から、一の動作モードを指定する指定手段と、
前記第1のアプリケーションが実行されている場合において前記取得手段により所定のイベントが取得されると、前記指定手段にて前記第1の動作モードが指定されている場合は当該イベントを前記第1のアプリケーションに提供する一方、前記指定手段にて前記第2の動作モードが指定されている場合は当該イベントを前記第2のアプリケーションへ提供する提供手段と
を具備する電子機器。 Execution means for executing a first application that is executed in a standby state for waiting for the occurrence of an event or a second application for realizing various functions in the device;
An acquisition means for acquiring an event that can be used in one or more applications;
Designation means for designating one operation mode from at least the first operation mode and the second operation mode;
When a predetermined event is acquired by the acquisition unit when the first application is being executed, if the first operation mode is specified by the specifying unit, the event is designated as the first event. An electronic device comprising provision means for providing an event to the second application when the second operation mode is designated by the designation means .
情報の入力を受け付けるための操作部とAn operation unit for accepting input of information
を更に備え、Further comprising
前記所定のイベントは前記操作部の操作情報であり、The predetermined event is operation information of the operation unit,
前記第2のアプリケーションは前記電子機器に通信機能を実現させるための通信アプリケーションであるThe second application is a communication application for causing the electronic device to realize a communication function.
ことを特徴とする請求項1に記載の電子機器。The electronic device according to claim 1.
前記オペレーティングシステム上で実行されるソフトウェア実行環境とA software execution environment running on the operating system;
を備え、With
前記第1のアプリケーションは前記ソフトウェア実行環境上で動作し、The first application runs on the software execution environment;
前記第2のアプリケーションは前記オペレーティングシステム上で動作するThe second application runs on the operating system
ことを特徴とする請求項2に記載の電子機器。The electronic device according to claim 2.
ことを特徴とする請求項2に記載の電子機器。The electronic device according to claim 2.
ことを特徴とする請求項2に記載の電子機器。The electronic device according to claim 2.
前記通知手段は前記現在の動作モードを示す画像を前記他の領域に表示させるThe notification means displays an image indicating the current operation mode in the other area.
ことを特徴とする請求項5に記載の電子機器。The electronic device according to claim 5, wherein:
前記提供手段は、前記取得手段により取得されたイベントの提供先を特定するに際し前記対応関係を参照するThe providing means refers to the correspondence relationship when specifying the destination of the event acquired by the acquiring means.
ことを特徴とする請求項2に記載の電子機器。The electronic device according to claim 2.
ことを特徴とする請求項2に記載の電子機器。The electronic device according to claim 2.
ことを特徴とする請求項2に記載の電子機器。The electronic device according to claim 2.
1以上のアプリケーションにて使用され得るイベントを取得する取得過程と、 An acquisition process for acquiring events that can be used in one or more applications;
少なくとも第1の動作モードおよび第2の動作モードの中から、一の動作モードを指定する指定過程と、A designation process for designating one operation mode from at least the first operation mode and the second operation mode;
前記第1のアプリケーションが実行されている場合において前記取得過程において所定のイベントが取得されると、前記指定過程にて前記第1の動作モードが指定されている場合は当該イベントを前記第1のアプリケーションに提供する一方、前記指定過程にて前記第2の動作モードが指定されている場合は当該イベントを前記第2のアプリケーションへ提供する提供過程とWhen a predetermined event is acquired in the acquisition process when the first application is being executed, if the first operation mode is specified in the specification process, the event is designated as the first event. While providing to the application, and providing the event to the second application when the second operation mode is designated in the designation process;
を有するイベント提供方法。An event providing method comprising:
イベントの発生を待ち受ける待ち受け状態において実行される第1のアプリケーションまたは自機器に諸機能を実現させるための第2のアプリケーションを実行する実行手段と、Execution means for executing a first application that is executed in a standby state for waiting for the occurrence of an event or a second application for realizing various functions in the device;
1以上のアプリケーションにて使用され得るイベントを取得する取得手段と、An acquisition means for acquiring an event that can be used in one or more applications;
少なくとも第1の動作モードおよび第2の動作モードの中から、一の動作モードを指定する指定手段と、Designating means for designating one operation mode from at least the first operation mode and the second operation mode;
前記第1のアプリケーションが実行されている場合において前記取得手段により所定のイベントが取得されると、前記指定手段にて前記第1の動作モードが指定されている場合は当該イベントを前記第1のアプリケーションに提供する一方、前記指定手段にて前記第2の動作モードが指定されている場合は当該イベントを前記第2のアプリケーションへ提供する提供手段とWhen a predetermined event is acquired by the acquisition unit when the first application is being executed, if the first operation mode is specified by the specifying unit, the event is designated as the first event. Providing means for providing the event to the second application when the second operation mode is specified by the specifying means;
して機能させるためのプログラム。Program to make it function.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007128656A JP4091966B2 (en) | 2007-05-14 | 2007-05-14 | Electronic device, event providing method, program, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007128656A JP4091966B2 (en) | 2007-05-14 | 2007-05-14 | Electronic device, event providing method, program, and recording medium |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002143607A Division JP4091792B2 (en) | 2002-05-17 | 2002-05-17 | Electronic device, event providing method, program, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007257660A JP2007257660A (en) | 2007-10-04 |
| JP4091966B2 true JP4091966B2 (en) | 2008-05-28 |
Family
ID=38631767
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007128656A Expired - Lifetime JP4091966B2 (en) | 2007-05-14 | 2007-05-14 | Electronic device, event providing method, program, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4091966B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0635262U (en) * | 1992-10-19 | 1994-05-10 | 日本電信電話株式会社 | Assembled cable drum |
-
2007
- 2007-05-14 JP JP2007128656A patent/JP4091966B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0635262U (en) * | 1992-10-19 | 1994-05-10 | 日本電信電話株式会社 | Assembled cable drum |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007257660A (en) | 2007-10-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4091792B2 (en) | Electronic device, event providing method, program, and recording medium | |
| JP2011254510A (en) | Dynamic wallpaper on mobile communication device | |
| JPWO2008114491A1 (en) | Terminal having application update management function, application update management program, and system | |
| JP5079345B2 (en) | Electronic device and control method in electronic device | |
| JP4290569B2 (en) | Remote operation server, program, remote operation system, and remote operation method | |
| WO2004102932A1 (en) | Mobile communication terminal | |
| JP4091966B2 (en) | Electronic device, event providing method, program, and recording medium | |
| JP5414003B2 (en) | Electronics | |
| JPWO2006035658A1 (en) | Mobile communication device and application execution environment software for mobile communication device | |
| JP4743715B2 (en) | Electronic device and notification method in electronic device | |
| JP2005130005A (en) | Communication terminal device and screen display program | |
| JP2005229279A (en) | Portable terminal equipment, method of use of portable terminal equipment and program therefor | |
| JP2009193427A (en) | Electronic device setting device, setting method, and setting program | |
| JP2007141064A (en) | Portable terminal and menu display switching method | |
| JP2003087874A (en) | Remote control system for remotely controlling peripheral device, mobile telephone used for the system, and the peripheral device | |
| JP5247897B2 (en) | Application execution control apparatus and application execution control method | |
| JP4947356B2 (en) | Application execution control apparatus and application execution control method | |
| JP4022168B2 (en) | Mobile communication device | |
| JP5142555B2 (en) | Electronic device and notification method in electronic device | |
| JP2004104661A (en) | Portable telephone, inverter device, parameter setting value transfer system of the inverter device, and control program for portable telephone and inverter device | |
| JP5042616B2 (en) | Portable information terminal | |
| JP2006259849A (en) | Mobile terminal device | |
| JP2002314647A (en) | Connection control method between portable devices and portable device | |
| JP2008015578A (en) | Terminal device and program | |
| JP5518229B2 (en) | Mobile communication terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071113 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080115 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080219 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080229 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110307 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110307 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120307 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120307 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130307 Year of fee payment: 5 |