JP2003308205A - How to pause the program - Google Patents
How to pause the programInfo
- Publication number
- JP2003308205A JP2003308205A JP2002111060A JP2002111060A JP2003308205A JP 2003308205 A JP2003308205 A JP 2003308205A JP 2002111060 A JP2002111060 A JP 2002111060A JP 2002111060 A JP2002111060 A JP 2002111060A JP 2003308205 A JP2003308205 A JP 2003308205A
- Authority
- JP
- Japan
- Prior art keywords
- program
- window
- suspension
- pause
- java
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 48
- 239000000725 suspension Substances 0.000 claims abstract description 42
- 238000012545 processing Methods 0.000 description 29
- 238000004891 communication Methods 0.000 description 17
- 238000012790 confirmation Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000035807 sensation Effects 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Landscapes
- Digital Computer Display Output (AREA)
- Telephone Function (AREA)
Abstract
(57)【要約】
【課題】 所定のシステムで実行中のプログラムを一時
停止する方法において、一時停止処理の体感的な速度を
向上することができるプログラムの一時停止方法を提供
すること。
【解決手段】 システムが一時停止要求信号を受領する
ステップと、システムが当該一時停止要求信号の受領を
契機に、一時停止を確定するためのウィンドウを表示す
るステップと、当該ウィンドウを表示した後、または、
当該ウィンドウの表示と並行して、前記実行中のプログ
ラムを一時停止する処理を実行するステップにより、所
定のシステム上で実行中のプログラムを一時停止する方
法。
(57) [Summary] [PROBLEMS] To provide a method of temporarily suspending a program running in a predetermined system, the method being capable of improving the perceived speed of the suspension process. SOLUTION: The system receives a suspension request signal, the system displays a window for confirming suspension when receiving the suspension request signal, and after displaying the window, Or
A method of suspending a program running on a predetermined system by executing a process of suspending the running program in parallel with the display of the window.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、プログラムの一時
停止方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program suspension method.
【0002】[0002]
【従来の技術】ハードウェアやOSといった、コンピュ
ータのプラットフォームに依存しないプログラムを提供
することを目的として、各プラットフォーム上にソフト
ウェア的ないしハードウェア的な手法により仮想機械
(VM; Virtual Machine)を構築し、この仮想機械上
でソースコードとオブジェクトコードとの間の中間的な
コードを実行する方法が提案されている。2. Description of the Related Art For the purpose of providing a program that does not depend on a computer platform such as hardware or OS, a virtual machine (VM) is constructed on each platform by a software or hardware method. , A method of executing an intermediate code between the source code and the object code on this virtual machine has been proposed.
【0003】上記の方法によれば、単一のコードを種々
のプラットフォームに供給して実行することができ、種
々のプラットフォームのそれぞれに固有のコードを供給
する場合と比べて、ソフトウェア開発の効率を大幅に向
上することが可能となる。このような方法を採用したプ
ログラム言語の一つに、クラスファイルと呼ばれる中間
コードの形式を採用したJava(R)言語が挙げられ
る。According to the above method, a single code can be supplied to and executed on various platforms, and the efficiency of software development can be improved as compared with the case where the code unique to each of the various platforms is supplied. It is possible to greatly improve. One of the programming languages that employs such a method is the Java (R) language that employs an intermediate code format called a class file.
【0004】Java(R)言語は、中間コードの形式
で実行することに加えて、オブジェクト指向であるとい
う特徴を有しており、そのプログラムは再利用性に富ん
でいる。さらに、Java(R)仮想計算機を備えた実
行環境では、GUI(Graphical User Interface)機能
を実現するクラスライブラリを利用することにより、G
UIを容易に実現することができるという特徴も有して
いる。The Java (R) language is characterized by being object-oriented in addition to executing in the form of intermediate code, and the program is highly reusable. Furthermore, in an execution environment equipped with a Java (R) virtual machine, a class library that realizes a GUI (Graphical User Interface) function is used to
It also has a feature that a UI can be easily realized.
【0005】ところで、GUIを利用したシステムにお
いて実行中のアプリケーションを一時停止させる場合、
一時停止の命令を受けたシステムは、アプリケーション
を一時停止するための処理(例えば、スレッドの停止、
データの保存や退避等)を実行した後、一時停止を確定
するためのウィンドウを表示することが通常である。そ
して、このウィンドウにおいて一時停止が確定されたと
きには当該アプリケーションを実行状態から一時停止状
態に移行させ、一時停止がキャンセルされたときには当
該アプリケーションの実行を続行する。By the way, in the case of suspending an application being executed in a system using a GUI,
The system that received the suspension instruction performs processing for suspending the application (for example, stopping the thread,
It is usual to display a window for confirming the suspension after executing (saving, saving, etc. of data). Then, when the suspension is confirmed in this window, the application is shifted from the execution state to the suspension state, and when the suspension is canceled, the execution of the application is continued.
【0006】しかしながら、上記の手順で一時停止を行
う場合、例えばユーザーが一時停止のためのキー入力等
を行ってから一時停止を確定するためのウィンドウが表
示されるまでの間に、アプリケーションを一時停止する
ための処理を実行する分だけタイムラグが生じてしま
う。このようなタイムラグは、処理能力が高いプロセッ
サや大容量のメモリを利用したシステムでは極めて短時
間であるため問題とならないが、ハードウエア構成に制
限のあるシステムではユーザーに処理の遅さを体感させ
る要因となり得る。However, in the case of performing the pause in the above procedure, for example, the application is temporarily paused between the time when the user performs a key input for the pause and the window for confirming the pause is displayed. There is a time lag as much as the processing for stopping is executed. Such a time lag is not a problem because it is extremely short in a system using a processor with a high processing capacity or a large capacity of memory, but in a system with a limited hardware configuration, the user experiences slowness in processing. Can be a factor.
【0007】例えば、最近では、携帯電話端末において
もGUIを実現するために液晶表示装置等を搭載し、通
信制御用のプロセッサ等を利用して所望のアプリケーシ
ョンを実行することが一般的になっており、また、前述
したJava(R)仮想機械を搭載してJava(R)
言語で作成されたアプリケーションを実行可能な構成と
する場合もある。しかし、現状の携帯電話端末では、通
信制御用プロセッサの余った処理能力を利用してアプリ
ケーションを実行しており、また、コスト的な事情から
処理能力の高いプロセッサや大容量のメモリを搭載する
ことができない。このため、携帯電話端末において上記
の手順でプログラムの一時停止を行う場合の体感的な速
度は極めて遅いものとなる。For example, recently, it has become common to mount a liquid crystal display device or the like in order to realize a GUI in a mobile phone terminal and execute a desired application using a processor for communication control or the like. In addition, the Java (R) virtual machine described above is installed in the Java (R)
In some cases, the application created in the language is configured to be executable. However, in the current mobile phone terminals, applications are executed using the surplus processing capacity of the communication control processor, and due to cost reasons, a processor with high processing capacity and a large capacity memory should be installed. I can't. For this reason, the sensational speed when the program is temporarily stopped in the above-described procedure in the mobile phone terminal becomes extremely slow.
【0008】[0008]
【発明が解決しようとする課題】本発明は、上記事情に
鑑み、所定のシステムで実行中のプログラムを一時停止
する方法において、一時停止処理の体感的な速度を向上
することができるプログラムの一時停止方法を提供する
ことを目的とする。SUMMARY OF THE INVENTION In view of the above circumstances, the present invention provides a method for temporarily stopping a program being executed in a predetermined system, which temporarily improves the temporary processing of the program. The purpose is to provide a stopping method.
【0009】[0009]
【課題を解決するための手段】本発明者らは、上記課題
を解決するために検討を行い、以下の知見を得た。プロ
グラムを一時停止する命令を入力したユーザは、その後
に表示される一時停止確定ウィンドウにおいて一時停止
を確定させることが通常である。しかし、一時停止を確
定させる操作は、一時停止確定ウィンドウが表示される
のを待って行わなければならない。一時停止を確定させ
る操作自体は毎度繰り返されるものであるだけに、この
待ち時間は実時間よりも長く感じられることが予測され
る。したがって、一時停止が完了するまでに要する時間
は同じであっても、プログラムを一時停止する命令を入
力してから一時停止確定ウィンドウが表示されるまでの
タイムラグが長いほど、ユーザが体感する一時停止処理
の速度は遅くなるものと考えられる。Means for Solving the Problems The inventors of the present invention have conducted studies to solve the above problems and obtained the following findings. A user who has input a command to suspend the program normally confirms the suspension in a suspension confirmation window displayed thereafter. However, the operation for confirming the suspension must be performed after the suspension confirmation window is displayed. It is expected that this waiting time will be perceived as longer than the actual time, because the operation of fixing the pause itself is repeated each time. Therefore, even if the time required to complete the pause is the same, the longer the time lag between the input of the instruction to pause the program and the display of the pause confirmation window, the longer the user will experience the pause. The processing speed is considered to be slow.
【0010】上記知見に基づき、本発明の第1の観点
は、所定のシステム上で実行中のプログラムを一時停止
する方法において、前記システムが一時停止要求信号を
受領するステップと、前記システムが当該一時停止要求
信号の受領を契機に、一時停止を確定するためのウィン
ドウを表示するステップと、当該ウィンドウを表示した
後、または、当該ウィンドウの表示と並行して、前記シ
ステムが前記プログラムを一時停止する処理を実行する
ステップとを有することを特徴とするプログラムの一時
停止方法を提供する。Based on the above findings, the first aspect of the present invention is, in a method for temporarily suspending a program running on a predetermined system, the step of receiving a pause request signal by the system, Upon receiving the suspension request signal, a step of displaying a window for confirming the suspension, and after the window is displayed or in parallel with the display of the window, the system suspends the program. And a step of executing a process for performing the process.
【0011】また、本発明の第2の観点は、組込み機器
に搭載されたシステム上で実行中のプログラムを一時停
止する方法において、前記システムが一時停止要求信号
を受領するステップと、前記システムが当該一時停止要
求信号の受領を契機に、一時停止を確定するためのウィ
ンドウを表示するステップと、当該ウィンドウを表示し
た後、または、当該ウィンドウの表示と並行して、前記
システムが前記プログラムを一時停止する処理を実行す
るステップとを有することを特徴とするプログラムの一
時停止方法を提供する。A second aspect of the present invention is a method for temporarily stopping a program running on a system mounted on an embedded device, wherein the system receives a temporary stop request signal, and the system further comprises: Upon receiving the suspension request signal, a step of displaying a window for confirming the suspension, and after the window is displayed or in parallel with the display of the window, the system temporarily suspends the program. And a step of executing processing for stopping the program.
【0012】以上のような構成によれば、システムが一
時停止要求信号の受領を契機に、一時停止を確定するた
めのウィンドウを表示した後、または、当該ウィンドウ
の表示と並行して、実行中のプログラムを一時停止する
処理を実行するので、一時停止を確定するためのウィン
ドウの表示が実行中のプログラムを一時停止する処理よ
りも優先して行うことができ、システムが一時停止要求
信号を受領してから一時停止を確定するためのウィンド
ウが表示されるまでの時間を短縮することができる。ユ
ーザが体感する一時停止処理の所要時間は、一時停止を
確定するためのウィンドウが表示されるまでの時間に左
右されるところが大きいため、このようにすることで一
時停止処理の体感的な速度を向上することができる。According to the above-mentioned configuration, when the system displays the window for confirming the temporary stop upon receiving the temporary stop request signal, or in parallel with the display of the window, the system is being executed. Since the process to suspend the program is executed, the window for confirming the suspension can be displayed prior to the process to suspend the running program, and the system receives the suspension request signal. After that, it is possible to shorten the time until the window for confirming the suspension is displayed. The time required for the pause process that the user can experience is largely dependent on the time until the window for confirming the pause is displayed. Can be improved.
【0013】上記本発明の第2の観点における組込み機
器としては、携帯電話端末が好適である。このようにす
ることで、携帯電話端末に搭載されたプロセッサを利用
して種々のアプリケーションを実行する場合にも、アプ
リケーションを一時停止する際の体感的な処理速度を向
上することができる。A portable telephone terminal is suitable as the embedded device in the second aspect of the present invention. By doing so, even when various types of applications are executed by using the processor mounted on the mobile phone terminal, it is possible to improve the perceptual processing speed when the applications are temporarily stopped.
【0014】また、前記プログラムとして、所定の中間
コードを実行するJava(R)仮想機械をなすプログ
ラムとすれば、Java(R)言語で作成されたアプリ
ケーションの実行を優れた体感速度で一時停止すること
が可能となる。Further, if the program is a program forming a Java (R) virtual machine for executing a predetermined intermediate code, the execution of an application written in the Java (R) language is suspended at an excellent sensation speed. It becomes possible.
【0015】なお、上記構成において、「システム」と
は、プログラムを実行する情報処理系の全体を指すもの
であり、情報処理系に含まれる特定のハードウェアない
しソフトウェアに限定して解釈されるものではない。本
発明は、システム全体として上記の各ステップが実行さ
れることによって、一時停止処理の体感速度を向上でき
るという確実な効果を奏するものであり、上記各ステッ
プを実行する主体によってその効果が左右されるもので
はないからである。In the above configuration, the term "system" refers to the entire information processing system that executes a program, and is interpreted as being limited to specific hardware or software included in the information processing system. is not. INDUSTRIAL APPLICABILITY The present invention has a certain effect that the sensation speed of the pause process can be improved by executing the above steps as a whole system, and the effect is influenced by the subject who executes the above steps. It is not something.
【0016】[0016]
【発明の実施の形態】以下、本発明の実施形態を図1か
ら図5に基づいて説明する。図1は、本発明の一実施形
態に係る携帯電話端末1をネットワーク構成とともに示
す図面であり、図2は、この携帯電話端末1に組み込ま
れた中間コード実行システム100の構成図である。図
1に示すように、この携帯電話端末1は、無線通信網2
およびネットワーク3を介して、情報を提供するサーバ
4と接続する機能を有している。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to FIGS. FIG. 1 is a diagram showing a mobile phone terminal 1 according to an embodiment of the present invention together with a network configuration, and FIG. 2 is a configuration diagram of an intermediate code execution system 100 incorporated in the mobile phone terminal 1. As shown in FIG. 1, the mobile telephone terminal 1 is provided with a wireless communication network 2
It also has a function of connecting to a server 4 that provides information via the network 3.
【0017】無線通信網2は、複数の無線基地局等から
構成される移動体通信システムのような通信網であり、
この無線通信網2に接続した携帯電話端末1は、無線通
信網2に接続した別の携帯電話端末もしくは固定電話端
末と通信することができ、また、後述するネットワーク
3と通信することも可能である。The radio communication network 2 is a communication network such as a mobile communication system composed of a plurality of radio base stations,
The mobile phone terminal 1 connected to the wireless communication network 2 can communicate with another mobile phone terminal or a fixed phone terminal connected to the wireless communication network 2, and can also communicate with a network 3 described later. is there.
【0018】ネットワーク3はインターネットを想定し
ているが所定のローカルネットワークでもよく、このネ
ットワーク3上のサーバ4が携帯電話端末1に対して各
種サービス、例えば、携帯電話端末1の機能を追加する
アプリケーションのダウンロードサービスや、ホームペ
ージデータの配信サービス等を提供する。Although the network 3 is assumed to be the Internet, it may be a predetermined local network, and the server 4 on this network 3 provides various services to the mobile phone terminal 1, for example, an application for adding the function of the mobile phone terminal 1. We provide download services and homepage data distribution services.
【0019】また、図1に示すように、携帯電話端末1
は、記憶手段11と、入力手段12と、表示手段13
と、外部との間で情報の授受を行う通信手段14と、こ
れら各手段の動作を制御する処理手段15とを備えてい
る。また、このうち記憶手段11および処理手段15を
リソースとして、図2に示す中間コード実行システム1
00が構成される。中間コード実行システム100につ
いては後述する。Further, as shown in FIG.
Is a storage unit 11, an input unit 12, and a display unit 13.
And a communication means 14 for exchanging information with the outside and a processing means 15 for controlling the operation of each of these means. Further, among these, the storage means 11 and the processing means 15 are used as resources, and the intermediate code execution system 1 shown in FIG.
00 is configured. The intermediate code execution system 100 will be described later.
【0020】上記記憶手段11は、SRAMやDRA
M、SDRAM、FCRAM等のRAMと、フラッシュ
メモリ等のROMとを有している(いずれも不図示)。
ROMは主として種々の機能を実現するプログラムのス
トレージとして用いられ、RAMは主としてプログラム
実行時のワークとして用いられる。また、記憶手段11
は、必要に応じてコネクタを介して着脱自在なメモリー
カードを備えた構成としてもよい。The storage means 11 is an SRAM or a DRA.
It has RAM such as M, SDRAM, FCRAM, and ROM such as flash memory (all are not shown).
The ROM is mainly used as a storage for a program that realizes various functions, and the RAM is mainly used as a work when the program is executed. Also, the storage means 11
May have a configuration in which a memory card that is removable via a connector is provided as necessary.
【0021】上記入力手段12は、携帯電話端末1に電
話番号・URL・メールアドレス等のデータや命令を入
力するための手段であり、例えば、キー・ボタン・ダイ
ヤル等が挙げられる。The input means 12 is means for inputting data such as a telephone number, URL, mail address and the like to the mobile telephone terminal 1, and examples thereof include keys, buttons and dials.
【0022】上記表示手段13は、携帯電話端末1の操
作メニュー画面、動作モード・ステータス・通信状況と
いった情報、メールの内容やWebコンテンツ、さらに
はアプリケーション画面等を表示する液晶表示装置であ
る。この表示手段13により、携帯電話端末1において
GUIを利用した処理が可能となっている。The display means 13 is a liquid crystal display device for displaying an operation menu screen of the mobile phone terminal 1, information such as operation mode / status / communication status, mail contents and Web contents, and further an application screen. The display means 13 enables processing using the GUI in the mobile phone 1.
【0023】上記通信手段14は、外部との間で情報の
送信および受信を行うものであり、無線通信網2を介し
て他の端末と通信を行う機能を備えるとともに、無線通
信網2を介してネットワーク3と接続するための機能を
備えている。The communication means 14 transmits and receives information to and from the outside, has a function of communicating with other terminals via the wireless communication network 2, and also via the wireless communication network 2. And a function for connecting to the network 3.
【0024】処理手段15は、記憶手段11のROMに
格納された所定のプログラムにしたがって、入力手段1
2、通信手段13等から入力された情報を処理して、記
憶手段11、表示手段13および通信手段14等の動作
を制御することにより、携帯電話端末1において種々の
機能を実現する。より詳細には、本実施形態では、記憶
手段11のROMにOS(Operating System)のような
基本プログラムを格納しており、携帯電話端末1の電源
ONとともに処理手段15がOSのプログラムを実行し
て、種々の制御を行うシステムタスクを起動する構成と
なっている。なお、ここでは携帯電話端末1の本来の機
能を実現するために動作しているタスク(群)をシステム
タスクと呼ぶことにする。処理手段15としては、例え
ば、CPUやMPUのようなプロセッサを挙げることが
できる。また、OSとしては、ITRON等のようにリ
アルタイム処理に対応したマルチタスクOSが好適であ
る。The processing means 15 inputs the input means 1 according to a predetermined program stored in the ROM of the storage means 11.
2. By processing the information input from the communication unit 13 and the like to control the operations of the storage unit 11, the display unit 13, the communication unit 14, and the like, the mobile phone terminal 1 realizes various functions. More specifically, in the present embodiment, a basic program such as an OS (Operating System) is stored in the ROM of the storage unit 11, and the processing unit 15 executes the OS program when the mobile phone terminal 1 is powered on. In this configuration, system tasks for performing various controls are activated. Note that, here, the task (group) operating to realize the original function of the mobile phone terminal 1 is referred to as a system task. The processing means 15 can be, for example, a processor such as a CPU or MPU. Further, as the OS, a multitask OS compatible with real-time processing such as ITRON is suitable.
【0025】さらに本実施形態においては、処理手段1
5によって記憶手段11のROMに格納されたプログラ
ムを実行することにより、処理手段15上にJava
(R)仮想機械(VM; Virtual Machine)21をソフ
トウェア的に構築することができ、これにより図2に示
す中間コード実行システム100が構成される。この中
間コード実行システム100は、図2に示すように、J
ava(R)で作成されたアプリケーション(以下、J
ava(R)アプリケーションという)のソースコード
をコンパイルして得られた中間コードであるクラスファ
イル22を格納した記憶手段11と、処理手段15と、
Java(R)仮想機械21とからなっている。Further, in the present embodiment, the processing means 1
By executing the program stored in the ROM of the storage means 11 by 5, the Java processing is performed on the processing means 15.
The (R) virtual machine (VM) 21 can be constructed by software, and thus the intermediate code execution system 100 shown in FIG. 2 is configured. This intermediate code execution system 100, as shown in FIG.
An application created with ava (R) (hereinafter J
a storage means 11 storing a class file 22 which is an intermediate code obtained by compiling a source code of an ava (R) application), a processing means 15,
It is composed of a Java (R) virtual machine 21.
【0026】このような構成の中間コード実行システム
100においては、Java(R)仮想機械21によっ
て、クラスファイル22からバイトコード命令を取り出
し、取り出した命令の種類を特定して実行する処理を逐
次的に行うことにより、Java(R)アプリケーショ
ンを実行することができる。この際、記憶手段11のR
AMは、Java(R)仮想機械21によってクラスフ
ァイル22を実行するためのヒープとして利用される。
また、Java(R)アプリケーションの実行に際して
は、記憶手段11のROMに格納されたクラスファイル
ライブラリが適宜利用される。In the intermediate code execution system 100 having such a configuration, the Java (R) virtual machine 21 sequentially fetches the bytecode instructions from the class file 22, specifies the type of the fetched instructions, and executes the processing sequentially. By doing so, the Java (R) application can be executed. At this time, R of the storage means 11
The AM is used as a heap for executing the class file 22 by the Java (R) virtual machine 21.
Further, when executing the Java (R) application, the class file library stored in the ROM of the storage unit 11 is appropriately used.
【0027】以下、上記の中間コード実行システム10
0において、Java(R)アプリケーションの実行
(Java(R)仮想機械21によるクラスファイル2
2の実行)を一時停止する動作について、図3のフロー
チャートを参照しながら具体的に説明する。Hereinafter, the above intermediate code execution system 10 will be described.
0, Java (R) application execution (class file 2 by Java (R) virtual machine 21
The operation of temporarily stopping (execution of 2) will be specifically described with reference to the flowchart of FIG.
【0028】Java(R)アプリケーションを実行し
ている中間コード実行システム100においては、シス
テムタスクと、Java(R)仮想機械21のタスク
(以下、VMタスクという)とがOSによって起動され
ており、Java(R)アプリケーションはこのVMタ
スク上で実行されている。ここで、VMタスクは、詳細
にはJava(R)仮想機械21を構成するプログラム
を実行するタスクであり、クラスファイル22はその変
数として与えられるものと表現することができる。In the intermediate code execution system 100 executing the Java (R) application, the system task and the task of the Java (R) virtual machine 21 (hereinafter referred to as VM task) are activated by the OS, The Java (R) application is executed on this VM task. Here, in detail, the VM task is a task that executes a program that configures the Java (R) virtual machine 21, and the class file 22 can be expressed as being given as its variable.
【0029】このような状態で、携帯電話端末1の入力
手段12または通信手段14からJava(R)アプリ
ケーションを一時停止するための信号が入力されること
により、一時停止の動作が開始され、当該信号がシステ
ムタスクに一時停止要求として通知される(ST10
1)。次いで、システムタスクからJava(R)アプ
リケーションの一時停止を確定するためのウィンドウを
表示するモジュールが記憶手段11のROMから呼び出
され、携帯電話1の表示手段13に、図4に示すような
一時停止確定ウィンドウを表示する処理が開始される
(ST102)。この一時停止確定ウィンドウには「O
K」ボタンと「Canncel」ボタンとが形成されて
おり、ユーザーが入力手段12でいずれかを選択するこ
とによって、一時停止処理の確定要求または取消要求を
システムタスクに通知可能となっている。In such a state, when a signal for temporarily stopping the Java (R) application is input from the input means 12 or the communication means 14 of the portable telephone terminal 1, the operation of the temporary stop is started, The signal is notified to the system task as a suspension request (ST10).
1). Next, a module for displaying a window for confirming the suspension of the Java (R) application is called from the ROM of the storage means 11 from the system task, and the suspension as shown in FIG. 4 is displayed on the display means 13 of the mobile phone 1. The process of displaying the confirmation window is started (ST102). This pause confirmation window displays "O
A "K" button and a "Cancel" button are formed, and the user can select either of the input means 12 to notify the system task of a request for finalizing the suspension process or a request for cancellation.
【0030】一時停止確定ウィンドウが表示された後、
または、一時停止確定ウィンドウを表示する処理のバッ
クグラウンドで、システムタスクはVMタスクに一時停
止要求を通知する(ST103)。VMタスクが一時停
止要求の通知を受けると、VMタスク上で実行中のJa
va(R)仮想機械21のプログラムはクラスファイル
22からpause ( )メソッドを呼び出して実行し、クラ
スファイル22の実行時に使用していたスレッドの停止
やデータの保存・退避等の処理を行う(ST104)。After the pause confirmation window is displayed,
Alternatively, in the background of the process of displaying the suspension confirmation window, the system task notifies the VM task of the suspension request (ST103). When the VM task receives the notification of the suspension request, the Ja running on the VM task
The program of the va (R) virtual machine 21 calls the pause () method from the class file 22 and executes it to perform processing such as stopping the thread used during execution of the class file 22 and saving / saving data (ST104). ).
【0031】pause ( )メソッドが一連の処理を終了し
て値を戻すと、VMタスクは一時停止のための処理が完
了したことをシステムタスクに通知する(ST10
5)。この通知を受けたシステムタスクは、一時停止確
定ウィンドウで「OK」と「Canncel」とのいず
れが選択されたかを判断し(ST106)、「OK」が
選択され一時停止の確定要求が通知されている場合に
は、VMタスクを実行状態から一時停止状態に移行させ
(ST107)、Java(R)アプリケーションの一
時停止動作を終了する。When the pause () method finishes the series of processing and returns a value, the VM task notifies the system task that the processing for suspension is completed (ST10).
5). Upon receiving this notification, the system task judges whether "OK" or "Cancel" has been selected in the suspension confirmation window (ST106), and "OK" is selected to notify the suspension confirmation request. If so, the VM task is shifted from the execution state to the suspension state (ST107), and the suspension operation of the Java (R) application is ended.
【0032】一方、一時停止確定ウィンドウで「Can
ncel」が選択されて一時停止の取消要求が通知され
ている場合には、システムタスクはVMタスクに再開要
求を通知して、Java(R)仮想機械21のプログラ
ムにクラスファイル22からresume ( )メソッドを呼び
出させ(ST108)、スレッドの再開やデータの復帰
等の処理を行い、Java(R)アプリケーションの実
行を続行する。On the other hand, in the pause confirmation window, "Can
If “ncel” is selected and the request to cancel the suspension is notified, the system task notifies the VM task of the restart request, and the class file 22 resumes () from the class file 22 to the program of the Java (R) virtual machine 21. The method is called (ST108), processing such as thread restart and data restoration is performed, and execution of the Java (R) application is continued.
【0033】なお、上記の説明で述べたpause ( )メソ
ッドおよびresume ( )メソッドは、記憶手段11のRO
Mに格納されたクラスファイルライブラリに含まれるも
のをクラスファイル22においてオーバーライドしたも
のを好適に用いることができるが、これに限られるもの
ではない。Note that the pause () method and resume () method described above are the RO of the storage means 11.
A class file 22 stored in M is overridden in the class file 22 and can be preferably used, but the class file library is not limited to this.
【0034】以上のような一時停止の動作によれば、J
ava(R)アプリケーションを一時停止する動作を開
始してから、一時停止確定ウィンドウの表示がpause
( )メソッドの実行に優先して行われるので、ユーザー
が入力手段14を操作してから一時停止確定ウィンドウ
が表示されるまでに要する時間を短縮することができ
る。したがって、ユーザーが一時停止のためのコマンド
を入力してから一時停止を確定させるまでの待ち時間を
短縮することができ、これにより一時停止処理の体感的
な速度を向上することが可能となる。According to the above pause operation, J
The pause confirmation window is paused after the operation to pause the ava (R) application is started.
() Since the method is executed prior to the execution of the method, it is possible to reduce the time required from the user operating the input means 14 to displaying the pause confirmation window. Therefore, it is possible to shorten the waiting time from when the user inputs the command for suspension to when the suspension is confirmed, and thereby to improve the perceptual speed of the suspension processing.
【0035】なお、本発明は上記実施の形態に限られる
ものではなく、種々変更が可能である。例えば、本発明
は通常のコンピューターシステムに適用してもよいし、
上記実施の形態のような携帯電話端末以外に、CDプレ
ーヤ・MDプレーヤ・DVDプレーヤ・デジタルカメラ
・デジタルテレビ・デジタルビデオ・次世代オーディオ
機器等のAV機器、電子レンジ・冷蔵庫・炊飯器・洗濯
機等の白物家電、セットトップボックス・ゲーム機・ホ
ームサーバ等の家庭用ゲートウェイ機器、ページャ・P
DA(携帯情報端末)・カーナビゲーションシステム等
のモバイル端末といった組込み機器におけるプログラム
の一時停止方法に適用することも可能である。The present invention is not limited to the above embodiment, but various modifications can be made. For example, the present invention may be applied to a general computer system,
In addition to the mobile phone terminal as in the above embodiment, AV equipment such as CD player, MD player, DVD player, digital camera, digital TV, digital video, next-generation audio equipment, microwave oven, refrigerator, rice cooker, washing machine White goods such as home appliances, home gateway devices such as set top boxes, game consoles, home servers, pagers, P
It can also be applied to a method for temporarily stopping a program in an embedded device such as a mobile terminal such as a DA (portable information terminal) / car navigation system.
【0036】また、上記実施の形態では、オーバーヘッ
ドの要因となり得る中間コード実行システム上でプログ
ラムを一時停止する場合を示しており、本発明はこのよ
うな場合に極めて優れた効果を発揮するものであるが、
本発明は中間コード実行システム上でのプログラムの一
時停止方法に限られるものではない。Further, in the above embodiment, the case where the program is temporarily stopped on the intermediate code execution system which may be a factor of overhead is shown, and the present invention exerts an extremely excellent effect in such a case. But
The present invention is not limited to the method of temporarily stopping the program on the intermediate code execution system.
【0037】また、上記実施の形態では、Java
(R)仮想機械としてソフトウェア的に構成したインタ
ープリタを用いたが、Java(R)仮想機械はその一
部または全部をハードウェアで構成するようにしてもよ
い。さらに、Java(R)仮想機械はインタープリタ
方式ではなくJITやAOT等のコンパイラ方式を用い
て構成することも可能であり、インタープリタとコンパ
イラとを併用した方式で構成することもできる。さら
に、中間コード実行システム100は、Java(R)
以外の言語に対応したものとすることも可能である。In the above embodiment, Java is used.
Although the software-configured interpreter is used as the (R) virtual machine, a part or all of the Java (R) virtual machine may be configured by hardware. Further, the Java (R) virtual machine can be configured by using a compiler method such as JIT or AOT instead of the interpreter method, or can be configured by a method using both the interpreter and the compiler. Furthermore, the intermediate code execution system 100 is Java (R)
It is also possible to correspond to a language other than.
【0038】さらにまた、上記実施の形態では、中間コ
ード実行システムにOSを搭載し、OSのシステムタス
ク側で一時停止確定ウィンドウを表示する場合を示した
が、一時停止確定ウィンドウは例えばVMタスク側でJ
ava(R)仮想機械のプログラムから表示するように
してもよいし、OSの搭載も必須ではない。ただし、O
Sを搭載しない場合には、上記実施の形態で述べたOS
と実質的に同等の機能を別の方法により実装する必要が
ある。Furthermore, in the above-described embodiment, the case where the OS is installed in the intermediate code execution system and the temporary stop confirmation window is displayed on the system task side of the OS is shown. However, the temporary stop confirmation window is, for example, the VM task side. So J
It may be displayed from the program of the ava (R) virtual machine, and mounting of the OS is not essential. However, O
When S is not installed, the OS described in the above embodiment
It is necessary to implement the function that is substantially equivalent to the above by another method.
【0039】[0039]
【発明の効果】本発明によれば、システムが一時停止要
求信号の受領を契機に、一時停止を確定するためのウィ
ンドウを表示した後、または、当該ウィンドウの表示と
並行して、実行中のプログラムを一時停止する処理を実
行するので、一時停止を確定するためのウィンドウの表
示が実行中のプログラムを一時停止する処理よりも優先
して行うことができ、システムが一時停止要求信号を受
領してから一時停止を確定するためのウィンドウが表示
されるまでの時間を短縮することができる。ユーザが体
感する一時停止処理の所要時間は、一時停止を確定する
ためのウィンドウが表示されるまでの時間に左右される
ところが大きいため、このようにすることで一時停止処
理の体感的な速度を向上することができる。According to the present invention, when the system displays the window for confirming the suspension upon receipt of the suspension request signal, or in parallel with the display of the window, the system is being executed. Since the process of suspending the program is executed, the window for confirming the suspension can be displayed with priority over the process of suspending the running program, and the system receives the suspend request signal. It is possible to shorten the time from when the window for confirming the suspension is displayed until the window is displayed. The time required for the pause process that the user can experience is largely dependent on the time until the window for confirming the pause is displayed. Can be improved.
【図1】本発明の一実施形態に係る携帯電話端末1をネ
ットワーク構成とともに示す図。FIG. 1 is a diagram showing a mobile phone terminal 1 according to an embodiment of the present invention together with a network configuration.
【図2】図1に示した携帯電話端末1に組み込まれた中
間コード実行システム100の構成図。FIG. 2 is a configuration diagram of an intermediate code execution system 100 incorporated in the mobile phone terminal 1 shown in FIG.
【図3】図2に示した中間コード実行システム100に
おける一時停止動作のフローチャート。3 is a flowchart of a pause operation in the intermediate code execution system 100 shown in FIG.
【図4】一時停止確定ウィンドウの一例を示す図。FIG. 4 is a diagram showing an example of a pause confirmation window.
1 携帯電話端末 11 記憶手段 12 入力手段 13 表示手段 14 通信手段 15 処理手段 2 無線通信網 3 ネットワーク 4 サーバ 100 中間コード実行システム 21 Java(R)仮想機械 22 クラスファイル 1 Mobile phone terminal 11 storage means 12 Input means 13 Display means 14 Communication means 15 Processing means 2 wireless communication network 3 network 4 servers 100 Intermediate code execution system 21 Java (R) Virtual Machine 22 class files
Claims (4)
を一時停止する方法において、 前記システムが一時停止要求信号を受領するステップ
と、 前記システムが当該一時停止要求信号の受領を契機に、
一時停止を確定するためのウィンドウを表示するステッ
プと、 当該ウィンドウを表示した後、または、当該ウィンドウ
の表示と並行して、前記システムが前記実行中のプログ
ラムを一時停止する処理を実行するステップとを有する
ことを特徴とするプログラムの一時停止方法。1. A method for temporarily stopping a program running on a predetermined system, the system receiving a pause request signal, and the system receiving the pause request signal as a trigger.
A step of displaying a window for confirming suspension, and a step of executing a process of suspending the program being executed by the system after the window is displayed or in parallel with the display of the window. A method for temporarily stopping a program, comprising:
行中のプログラムを一時停止する方法において、 前記システムが一時停止要求信号を受領するステップ
と、 前記システムが当該一時停止要求信号の受領を契機に、
一時停止を確定するためのウィンドウを表示するステッ
プと、 当該ウィンドウを表示した後、または、当該ウィンドウ
の表示と並行して、前記システムが前記プログラムを一
時停止する処理を実行するステップとを有することを特
徴とするプログラムの一時停止方法。2. A method for temporarily suspending a program running on a system mounted on an embedded device, the system receiving a pause request signal, and the system receiving the pause request signal. To
A step of displaying a window for confirming suspension, and a step of causing the system to suspend the program after the window is displayed or in parallel with the window display A method of suspending a program characterized by.
ことを特徴とする請求項2に記載のプログラムの一時停
止方法。3. The program suspension method according to claim 2, wherein the embedded device is a mobile phone terminal.
実行するJava(R)仮想機械をなすことを特徴とす
る請求項1から請求項3のいずれか1項に記載のプログ
ラムの一時停止方法。4. The program suspending method according to claim 1, wherein the program is a Java (R) virtual machine that executes a predetermined intermediate code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002111060A JP2003308205A (en) | 2002-04-12 | 2002-04-12 | How to pause the program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002111060A JP2003308205A (en) | 2002-04-12 | 2002-04-12 | How to pause the program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2003308205A true JP2003308205A (en) | 2003-10-31 |
Family
ID=29394012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002111060A Pending JP2003308205A (en) | 2002-04-12 | 2002-04-12 | How to pause the program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2003308205A (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013517504A (en) * | 2010-01-20 | 2013-05-16 | ファロ テクノロジーズ インコーポレーテッド | Portable articulated arm coordinate measuring machine and integrated electronic data processing system |
US8997362B2 (en) | 2012-07-17 | 2015-04-07 | Faro Technologies, Inc. | Portable articulated arm coordinate measuring machine with optical communications bus |
US9074883B2 (en) | 2009-03-25 | 2015-07-07 | Faro Technologies, Inc. | Device for optically scanning and measuring an environment |
US9113023B2 (en) | 2009-11-20 | 2015-08-18 | Faro Technologies, Inc. | Three-dimensional scanner with spectroscopic energy detector |
US9168654B2 (en) | 2010-11-16 | 2015-10-27 | Faro Technologies, Inc. | Coordinate measuring machines with dual layer arm |
USRE45854E1 (en) | 2006-07-03 | 2016-01-19 | Faro Technologies, Inc. | Method and an apparatus for capturing three-dimensional data of an area of space |
US9329271B2 (en) | 2010-05-10 | 2016-05-03 | Faro Technologies, Inc. | Method for optically scanning and measuring an environment |
US9372265B2 (en) | 2012-10-05 | 2016-06-21 | Faro Technologies, Inc. | Intermediate two-dimensional scanning with a three-dimensional scanner to speed registration |
US9417316B2 (en) | 2009-11-20 | 2016-08-16 | Faro Technologies, Inc. | Device for optically scanning and measuring an environment |
US9417056B2 (en) | 2012-01-25 | 2016-08-16 | Faro Technologies, Inc. | Device for optically scanning and measuring an environment |
US9513107B2 (en) | 2012-10-05 | 2016-12-06 | Faro Technologies, Inc. | Registration calculation between three-dimensional (3D) scans based on two-dimensional (2D) scan data from a 3D scanner |
US9529083B2 (en) | 2009-11-20 | 2016-12-27 | Faro Technologies, Inc. | Three-dimensional scanner with enhanced spectroscopic energy detector |
US9551575B2 (en) | 2009-03-25 | 2017-01-24 | Faro Technologies, Inc. | Laser scanner having a multi-color light source and real-time color receiver |
US9607239B2 (en) | 2010-01-20 | 2017-03-28 | Faro Technologies, Inc. | Articulated arm coordinate measurement machine having a 2D camera and method of obtaining 3D representations |
US9628775B2 (en) | 2010-01-20 | 2017-04-18 | Faro Technologies, Inc. | Articulated arm coordinate measurement machine having a 2D camera and method of obtaining 3D representations |
US10067231B2 (en) | 2012-10-05 | 2018-09-04 | Faro Technologies, Inc. | Registration calculation of three-dimensional scanner data performed between scans based on measurements by two-dimensional scanner |
US10175037B2 (en) | 2015-12-27 | 2019-01-08 | Faro Technologies, Inc. | 3-D measuring device with battery pack |
US10281259B2 (en) | 2010-01-20 | 2019-05-07 | Faro Technologies, Inc. | Articulated arm coordinate measurement machine that uses a 2D camera to determine 3D coordinates of smoothly continuous edge features |
EP4006697A4 (en) * | 2019-12-05 | 2023-04-05 | Japan Tobacco Inc. | CONTROL DEVICE, CONTROL METHOD AND PROGRAM |
-
2002
- 2002-04-12 JP JP2002111060A patent/JP2003308205A/en active Pending
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
USRE45854E1 (en) | 2006-07-03 | 2016-01-19 | Faro Technologies, Inc. | Method and an apparatus for capturing three-dimensional data of an area of space |
US9551575B2 (en) | 2009-03-25 | 2017-01-24 | Faro Technologies, Inc. | Laser scanner having a multi-color light source and real-time color receiver |
US9074883B2 (en) | 2009-03-25 | 2015-07-07 | Faro Technologies, Inc. | Device for optically scanning and measuring an environment |
US9417316B2 (en) | 2009-11-20 | 2016-08-16 | Faro Technologies, Inc. | Device for optically scanning and measuring an environment |
US9113023B2 (en) | 2009-11-20 | 2015-08-18 | Faro Technologies, Inc. | Three-dimensional scanner with spectroscopic energy detector |
US9529083B2 (en) | 2009-11-20 | 2016-12-27 | Faro Technologies, Inc. | Three-dimensional scanner with enhanced spectroscopic energy detector |
US10281259B2 (en) | 2010-01-20 | 2019-05-07 | Faro Technologies, Inc. | Articulated arm coordinate measurement machine that uses a 2D camera to determine 3D coordinates of smoothly continuous edge features |
US10060722B2 (en) | 2010-01-20 | 2018-08-28 | Faro Technologies, Inc. | Articulated arm coordinate measurement machine having a 2D camera and method of obtaining 3D representations |
US9607239B2 (en) | 2010-01-20 | 2017-03-28 | Faro Technologies, Inc. | Articulated arm coordinate measurement machine having a 2D camera and method of obtaining 3D representations |
JP2013517504A (en) * | 2010-01-20 | 2013-05-16 | ファロ テクノロジーズ インコーポレーテッド | Portable articulated arm coordinate measuring machine and integrated electronic data processing system |
US9628775B2 (en) | 2010-01-20 | 2017-04-18 | Faro Technologies, Inc. | Articulated arm coordinate measurement machine having a 2D camera and method of obtaining 3D representations |
US9329271B2 (en) | 2010-05-10 | 2016-05-03 | Faro Technologies, Inc. | Method for optically scanning and measuring an environment |
US9684078B2 (en) | 2010-05-10 | 2017-06-20 | Faro Technologies, Inc. | Method for optically scanning and measuring an environment |
US9168654B2 (en) | 2010-11-16 | 2015-10-27 | Faro Technologies, Inc. | Coordinate measuring machines with dual layer arm |
US9417056B2 (en) | 2012-01-25 | 2016-08-16 | Faro Technologies, Inc. | Device for optically scanning and measuring an environment |
US8997362B2 (en) | 2012-07-17 | 2015-04-07 | Faro Technologies, Inc. | Portable articulated arm coordinate measuring machine with optical communications bus |
US9618620B2 (en) | 2012-10-05 | 2017-04-11 | Faro Technologies, Inc. | Using depth-camera images to speed registration of three-dimensional scans |
US9739886B2 (en) | 2012-10-05 | 2017-08-22 | Faro Technologies, Inc. | Using a two-dimensional scanner to speed registration of three-dimensional scan data |
US9746559B2 (en) | 2012-10-05 | 2017-08-29 | Faro Technologies, Inc. | Using two-dimensional camera images to speed registration of three-dimensional scans |
US9513107B2 (en) | 2012-10-05 | 2016-12-06 | Faro Technologies, Inc. | Registration calculation between three-dimensional (3D) scans based on two-dimensional (2D) scan data from a 3D scanner |
US10067231B2 (en) | 2012-10-05 | 2018-09-04 | Faro Technologies, Inc. | Registration calculation of three-dimensional scanner data performed between scans based on measurements by two-dimensional scanner |
US10203413B2 (en) | 2012-10-05 | 2019-02-12 | Faro Technologies, Inc. | Using a two-dimensional scanner to speed registration of three-dimensional scan data |
US9372265B2 (en) | 2012-10-05 | 2016-06-21 | Faro Technologies, Inc. | Intermediate two-dimensional scanning with a three-dimensional scanner to speed registration |
US10739458B2 (en) | 2012-10-05 | 2020-08-11 | Faro Technologies, Inc. | Using two-dimensional camera images to speed registration of three-dimensional scans |
US11035955B2 (en) | 2012-10-05 | 2021-06-15 | Faro Technologies, Inc. | Registration calculation of three-dimensional scanner data performed between scans based on measurements by two-dimensional scanner |
US11112501B2 (en) | 2012-10-05 | 2021-09-07 | Faro Technologies, Inc. | Using a two-dimensional scanner to speed registration of three-dimensional scan data |
US11815600B2 (en) | 2012-10-05 | 2023-11-14 | Faro Technologies, Inc. | Using a two-dimensional scanner to speed registration of three-dimensional scan data |
US10175037B2 (en) | 2015-12-27 | 2019-01-08 | Faro Technologies, Inc. | 3-D measuring device with battery pack |
EP4006697A4 (en) * | 2019-12-05 | 2023-04-05 | Japan Tobacco Inc. | CONTROL DEVICE, CONTROL METHOD AND PROGRAM |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2003308205A (en) | How to pause the program | |
US9880819B2 (en) | Methods and apparatuses for a compiler server | |
CN102567097B (en) | Method and terminal for downloading multiple tasks | |
CN112416415A (en) | Front-end micro-service implementation method and related components | |
CN114125028B (en) | Method, apparatus, device, storage medium and program product for operating micro-application | |
CN102945182A (en) | Application program updating method and device | |
CN102981880A (en) | Method and device for realizing application program updating | |
CN110609964B (en) | IPTV browser page implementation method and IPTV browser | |
CN113656164A (en) | Task execution method, system, electronic device and computer storage medium | |
CN115827112A (en) | System and method for running android application program on Web operating system | |
CN113031957A (en) | Application program installation method, client, terminal, server and storage medium | |
CN109857963A (en) | Local resource access method, device and electronic equipment | |
CN111290818A (en) | Operation method for creating application program and operation method for application program | |
CN109343970B (en) | Application program-based operation method and device, electronic equipment and computer medium | |
US7793310B2 (en) | Dynamically inserting proxies into JAVA environments without coding explicit proxy hooks into JAVA applications | |
KR20140028961A (en) | Method for data transmission and an electronic device thereof | |
CN107491330A (en) | A kind of method for improving the built-in browser speed of service | |
US9553935B2 (en) | Mechanism for configuring service endpoints in native client applications at runtime | |
CN111885194B (en) | Communication method and device for communication application and electronic equipment | |
CN106648870A (en) | Service restarting method and device | |
CN108375964A (en) | A kind of dialog mode device management method and device | |
JP2003256219A (en) | Program execution method for embedded devices | |
CN116360775A (en) | User interface processing method, system, electronic device, medium and program product | |
CN116974674A (en) | Picture-in-picture implementation method, device, equipment and readable storage medium | |
CN119603089A (en) | A method, system, device, equipment and medium for configuring scene information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050412 |
|
A072 | Dismissal of procedure [no reply to invitation to correct request for examination] |
Free format text: JAPANESE INTERMEDIATE CODE: A073 Effective date: 20060221 |