JP2019023766A - Mobile terminal and application program - Google Patents
Mobile terminal and application program Download PDFInfo
- Publication number
- JP2019023766A JP2019023766A JP2015218713A JP2015218713A JP2019023766A JP 2019023766 A JP2019023766 A JP 2019023766A JP 2015218713 A JP2015218713 A JP 2015218713A JP 2015218713 A JP2015218713 A JP 2015218713A JP 2019023766 A JP2019023766 A JP 2019023766A
- Authority
- JP
- Japan
- Prior art keywords
- layer
- content
- screen
- content display
- stack
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Image Input (AREA)
- Digital Computer Display Output (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は,タブレット(タブレットコンピュータ)などタッチパネルを備えたモバイル端末上で起動するアプリケーションのメモリ消費量を抑える技術に関する。 The present invention relates to a technique for suppressing memory consumption of an application that is activated on a mobile terminal having a touch panel such as a tablet (tablet computer).
複数の画面で構成される様々なコンテンツをネットワーク上のサーバを格納し,タブレット(タブレットコンピュータ)などタッチパネルを備えたモバイル端末上で,該サーバに格納されたコンテンツ利用するクラウドサービスが普及している。 Cloud services that store servers on the network for various contents consisting of multiple screens and use the contents stored on the servers on mobile terminals equipped with touch panels such as tablets (tablet computers) have become widespread. .
クラウドサービスに用いるモバイル端末には,最後にタッチパネルに出力した画面が先頭になるように,タッチパネルに出力した画面をスタック形式で配置し,スタックの先頭になる画面をタッチパネルに表示するオペレーティングシステムが実装され,更に,このオペレーティングシステム上で動作するアプリケーションとして,サーバまたはモバイル端末に格納されているコンテンツを表示するアプリケーションが実装される。クラウドサービスのサーバには様々な分野のコンテンツを格納し,更に,このコンテンツは更新されることが多いため,モバイル端末に実装するアプリケーションのカスタマイズが容易に行えるように,モバイル端末に実装するアプリケーションに,汎用的に利用可能な複数のコンテンツ表示プログラムを組み込み、アプリケーションで表示するコンテンツなど,アプリケーションの実質的な振る舞いは,XML形式の設定ファイルで定義できるように構成されることが多い(例えば,特許文献1)。 The mobile terminal used for the cloud service has an operating system that arranges the screen output on the touch panel in a stack format so that the last screen output on the touch panel is the top, and displays the top screen on the touch panel. In addition, an application that displays content stored in the server or mobile terminal is implemented as an application that operates on the operating system. Cloud service servers store content in various fields, and since this content is often updated, it is easy to customize applications to be installed on mobile devices. In many cases, a substantial behavior of an application such as a content to be displayed by an application by incorporating a plurality of contents display programs that can be used for general purposes can be defined by an XML format setting file (for example, patents). Reference 1).
このように,アプリケーションで表示するコンテンツなど,アプリケーションの実質的な振る舞いを設定ファイルで定義できるようにすると,アプリケーションが消費するメインメモリの消費量は設定ファイルの内容によって変わるため,アプリケーションの実質的な振る舞いを定義する設定ファイルの内容に係わらず,アプリケーションが消費するメインメモリのメモリ容量が必要以上に増えないようにする仕組みが必要になる。 In this way, if the behavior of the application, such as the content to be displayed in the application, can be defined in the configuration file, the amount of main memory consumed by the application varies depending on the content of the configuration file. Regardless of the contents of the configuration file that defines the behavior, a mechanism that prevents the memory capacity of the main memory consumed by the application from increasing more than necessary is required.
アプリケーション起動時におけるコンピュータのメモリ容量を管理する発明として,特許文献2において,コンピュータに搭載されたアプリケーションに常駐型または一時型の属性情報を設定しておき、アプリケーション起動時に、この時点で動作中のアプリケーションの中から,一時型の属性情報が設定されたアプリケーションを強制終了させ,常駐型の属性情報が設定されたアプリケーションはそのまま残すようにした発明が開示されている。また,特許文献3では,アプリケーションの切り替え時に、起動対象となるアプリケーションとの関連性に基づき、起動及び終了させるアプリケーションを決定し、アプリケーションの起動によってメモリ容量不足が発生すると判断した場合,終了させると決定したアプリケーションを終了させることで,メモリ容量不足を解消する発明が開示されている。
As an invention for managing the memory capacity of a computer at the time of starting an application, in
しかしながら,上述した従来技術は,アプリケーションを起動した時,起動中のアプリケーションの中から所定の条件を満たすアプリケーションを終了させることで,コンピュータのメモリ不足を解消する技術であって,複数のコンテンツ表示プログラムを組み込み、実質的な振る舞いを設定ファイルで定義できるように構成したアプリケーションが消費するメインメモリのメモリ容量を必要以上に増えないようにする技術ではない。このようなアプリケーションが消費するメインメモリのメモリ容量が必要以上に増えないように,モバイル端末のタッチパネルに表示するコンテンツが切り替わる毎に,切り替わる前にタッチパネルに表示していたコンテンツをメインメモリから消去することも考えられるが,表示処理に時間のかかるコンテンツが繰り返してタッチパネルに表示されるケースでは,このコンテンツを表示する毎に表示待ちが発生し操作性が悪くなる問題がある。 However, the above-described prior art is a technique for solving a shortage of memory of a computer by ending an application satisfying a predetermined condition from the running applications when the application is started. It is not a technology that prevents the memory capacity of the main memory consumed by an application that is configured so that substantial behavior can be defined in the configuration file from being unnecessarily increased. Every time content displayed on the touch panel of a mobile device is switched, the content displayed on the touch panel is deleted from the main memory before switching so that the memory capacity of the main memory consumed by such an application does not increase more than necessary. However, in the case where content that takes a long time for display processing is repeatedly displayed on the touch panel, there is a problem in that display wait occurs every time the content is displayed, resulting in poor operability.
そこで,本発明は,複数のコンテンツ表示プログラムを組み込み、実質的な振る舞いを設定ファイルで定義できるように構成したアプリケーションをモバイル端末上で起動させた後,モバイル端末のタッチパネルに表示するコンテンツが切り替わっても,コンテンツの表示に用いるメインメモリのメモリ容量が必要以上に増加せず,かつ,特定のコンテンツについては,モバイル端末のタッチパネルに表示した画面を後に再利用でき,特定のコンテンツの再表示をスムーズに行えるモバイル端末およびアプリケーションプログラムを提供することを目的とする。 Therefore, the present invention incorporates a plurality of content display programs, starts an application configured to define a substantial behavior in a setting file on the mobile terminal, and then switches the content displayed on the touch panel of the mobile terminal. However, the memory capacity of the main memory used for content display does not increase more than necessary, and for specific content, the screen displayed on the touch panel of the mobile terminal can be reused later, so that the specific content can be displayed again smoothly. An object of the present invention is to provide a mobile terminal and an application program that can be used in the future.
上述した課題を解決する第1の発明は,メインメモリと,タッチパネルと,タッチパネルに出力された画面を後入れ先出しの形式で管理するスタックを有し,前記スタックの先頭にある画面が前記タッチパネルに表示されるように画面表示を制御するオペレーティングシステムとを備え,前記オペレーティングシステム上で動作するプログラムとして,複数の画面から構成されるコンテンツ画面を前記タッチパネルに表示するアプリケーションが実装されたモバイル端末であって,前記モバイル端末は,前記アプリケーションが起動されることで,前記コンテンツ画面をメインメモリに生成するコンテンツ表示手段と,前記コンテンツ表示手段が属するレイヤに基づいて前記コンテンツ表示手段の起動を管理する起動管理手段と,が機能するものであって,前記コンテンツ表示手段は,前記コンテンツ画面を切り替える操作がなされると,前記コンテンツ表示手段が属する前記レイヤを少なくとも定義した設定ファイルによって自分自身が属する前記レイヤを判断し,自分自身の前記レイヤが,前記コンテンツ画面を前記スタックから破棄しないレイヤである第1レイヤの場合は,自分自身が生成した前記コンテンツ画面を前記スタックから破棄することなく,切り替え先の前記コンテンツ画面に対応する前記コンテンツ表示手段の呼び出しを前記起動管理手段に要求し,自分自身の前記レイヤが,前記コンテンツ画面を前記スタックから破棄するレイヤである第2レイヤの場合は,自分自身が生成した前記コンテンツ画面を前記スタックから破棄する処理を実行するとともに,切り替え先の画面を生成する前記コンテンツ表示手段の呼び出しを前記起動管理手段に要求し,前記起動管理手段は,前記設定ファイルを参照して,前記第1レイヤに属している前記コンテンツ表示手段を起動させた後,前記スタックの先頭になっている前記コンテンツ画面を生成した前記コンテンツ表示手段から他の前記コンテンツ表示手段の呼び出し要求を受けると,前記設定ファイルを参照して,呼び出し先になる前記コンテンツ表示手段が属する前記レイヤが前記第2レイヤの場合のみ,呼び出し先となる前記コンテンツ表示手段を起動させる処理を行う,ことを特徴とするモバイル端末である。第1の発明によれば,前記第2レイヤに属する前記コンテンツ表示手段が生成した前記コンテンツ画面がタッチパネルに表示されている状態で,前記第2レイヤに属する他の前記コンテンツ表示手段が呼び出されても,呼び出し元になる前記コンテンツ表示手段が生成した前記コンテンツ画面が,メインメモリに形成される前記スタックから破棄された後に,切り替え先の前記コンテンツ表示手段が呼び出されるので,前記第2レイヤに係る前記コンテンツ画面は前記スタック上に重複して積み重なることはなく,前記コンテンツ画面の保持に要するメインメモリのメモリ容量が必要以上に増加することはなくなる。また,前記第1レイヤに属する前記コンテンツ表示手段が生成した前記コンテンツ画面は,前記アプリケーションが終了するまで前記スタックに残るので,前記第1レイヤに属する前記コンテンツ表示手段が生成した前記コンテンツ画面については,前記タッチパネルに表示した後に再利用できるため,表示時間待ちが生じない。 A first invention that solves the above-described problem has a main memory, a touch panel, and a stack that manages screens output to the touch panel in a last-in first-out format, and the screen at the top of the stack is in the touch panel. An operating system that controls screen display so that the screen is displayed, and a program that operates on the operating system is a mobile terminal in which an application that displays a content screen composed of a plurality of screens on the touch panel is installed. Then, the mobile terminal is activated to manage the activation of the content display means based on the content display means for generating the content screen in the main memory and the layer to which the content display means belongs when the application is activated. Management means and function When the content display unit is operated to switch the content screen, the content display unit determines the layer to which the content display unit belongs by a setting file that defines at least the layer to which the content display unit belongs. If the layer is the first layer that does not discard the content screen from the stack, the content corresponding to the content screen to be switched to without destroying the content screen generated by itself from the stack When the activation management means is requested to call the display means, and the own layer is a second layer that discards the content screen from the stack, the content screen generated by itself is displayed in the stack. Execute the process of discarding from The activation management unit requests the activation management unit to call the content display unit for generating a replacement screen, and the activation management unit activates the content display unit belonging to the first layer with reference to the setting file. Then, when a call request for the other content display means is received from the content display means that generated the content screen at the top of the stack, the content to be called by referring to the setting file Only when the layer to which the display means belongs is the second layer, the mobile terminal is characterized in that the process of starting the content display means to be called is performed. According to the first invention, in a state where the content screen generated by the content display means belonging to the second layer is displayed on the touch panel, the other content display means belonging to the second layer is called. In addition, since the content screen generated by the content display unit serving as the caller is discarded from the stack formed in the main memory, the content display unit as the switching destination is called, so that the second layer The content screens do not overlap with each other on the stack, and the memory capacity of the main memory required to hold the content screens does not increase more than necessary. Further, the content screen generated by the content display means belonging to the first layer remains in the stack until the application is terminated. Therefore, the content screen generated by the content display means belonging to the first layer is Since it can be reused after being displayed on the touch panel, there is no waiting for display time.
更に,第2の発明は,第1の発明に記載の発明において,前記設定ファイルに,第3レイヤに属する前記コンテンツ表示手段とその起動条件,および,前記第3レイヤから戻る時の前記レイヤを定義し,前記起動管理手段は,前記起動条件が成立とすると,前記第3レイヤに属する前記コンテンツ表示手段を起動させる処理を行い,前記コンテンツ表示手段は,前記設定ファイルによって自分自身が属する前記レイヤが前記第3レイヤの場合,自分自身が生成した前記コンテンツ画面を前記スタックから破棄する処理を実行した後,前記設定ファイルを参照して,前記第3レイヤから戻る時の前記レイヤを取得し,前記第3レイヤから戻る時のレイヤが前記第1レイヤで,かつ,前記第2レイヤの前記コンテンツ画面が前記スタックにある場合は,前記第2レイヤの前記コンテンツ画面を前記スタックから破棄する処理を実行することを特徴とする。なお,第2の発明は,スクリーンセーバ,管理画面または操作ガイドなどの特殊用途のコンテンツ画面を表示できるようにした発明である。 Further, the second invention is the invention described in the first invention, wherein the setting file includes the content display means belonging to the third layer and its activation condition, and the layer when returning from the third layer. When the activation condition is satisfied, the activation management unit performs a process of activating the content display unit belonging to the third layer, and the content display unit includes the layer to which it belongs by the setting file. In the case of the third layer, after executing the process of discarding the content screen generated by itself from the stack, the setting file is referred to obtain the layer when returning from the third layer, When the layer returning from the third layer is the first layer and the content screen of the second layer is in the stack It is characterized by executing a discarding process the content screen of the second layer from the stack. The second invention is an invention that can display a special-purpose content screen such as a screen saver, a management screen, or an operation guide.
更に,第3の発明は,第1の発明または第2の発明に記載の発明において,前記起動管理手段は,前記第2レイヤに割り当てられた前記コンテンツ表示手段の起動履歴を保持し,一つ前の前記コンテンツ画面に戻る要求を受けたときは,前記起動履歴を参照して,前記スタックの先頭になる前記コンテンツ画面が対応する前記レイヤを判断し,この前記レイヤが前記第2レイヤの場合は,前記スタックの先頭になる前記コンテンツ画面を前記スタックから破棄する処理を行った後,前記起動履歴を参照して,一つ前の前記コンテンツ画面が対応する前記レイヤを判断し,一つ前の前記コンテンツ画面が対応する前記レイヤが前記第2レイヤの場合は,前記起動履歴を利用して,一つ前の前記コンテンツ画面に対応する前記コンテンツ表示手段を起動する処理を行うことを特徴とする。なお,第3の発明は,一つ前の画面に戻る操作を行えるようにした発明である。 Furthermore, a third invention is the invention according to the first invention or the second invention, wherein the activation management means maintains the activation history of the content display means allocated to the second layer, and When a request to return to the previous content screen is received, the start history is referred to determine the layer to which the content screen at the top of the stack corresponds, and the layer is the second layer Performs processing for discarding the content screen at the top of the stack from the stack, and then refers to the activation history to determine the layer to which the previous content screen corresponds, and If the layer to which the content screen corresponds is the second layer, the content display means corresponding to the previous content screen using the activation history And performing activation processing. Note that the third invention is an invention that allows an operation to return to the previous screen.
更に,第4の発明は,第2の発明に記載の発明において,前記設定ファイルによって,メニュー画面を前記コンテンツ画面として表示する前記コンテンツ表示手段が属する前記レイヤを前記第1レイヤとし,前記メニュー画面から呼び出すことのできる前記コンテンツ画面を生成する前記コンテンツ表示手段の前記レイヤ,および,この前記コンテンツ表示手段から呼び出すことのできる前記コンテンツ表示手段が属する前記レイヤを前記第2レイヤとし,スクリーンセーバを表示する前記コンテンツ表示手段の前記レイヤを前記第3レイヤとし,更に,前記第3レイヤに属する前記コンテンツ表示手段の起動条件を無操作時間が一定時間続いた時としたことを特徴とする。なお,第4の発明は,メニュー画面をコンテンツとして表示する前記コンテンツ表示手段を前記第1レイヤに割り当て,更に,特殊用途のコンテンツ画面をスクリーンセーバとした発明である。 Further, a fourth invention is the invention according to the second invention, wherein the layer to which the content display means for displaying the menu screen as the content screen by the setting file belongs is the first layer, and the menu screen The layer of the content display means for generating the content screen that can be called from and the layer to which the content display means that can be called from the content display means belong to the second layer, and a screen saver is displayed. The layer of the content display unit is the third layer, and the activation condition of the content display unit belonging to the third layer is set to a time when no operation time continues for a predetermined time. The fourth invention is an invention in which the content display means for displaying a menu screen as content is assigned to the first layer, and a special-purpose content screen is used as a screen saver.
更に,第5の発明は,第1の発明から第3の発明のいずれか一項に記載の前記コンテンツ表示手段および前記起動管理手段として,モバイル端末のプロセッサを機能させるためのコンピュータプログラムである。なお,第5の発明は,コンピュータプログラムに係る発明である。 Furthermore, a fifth invention is a computer program for causing a processor of a mobile terminal to function as the content display means and the activation management means according to any one of the first invention to the third invention. The fifth invention relates to a computer program.
このように,本発明によれば,複数のコンテンツ表示プログラムを組み込み、実質的な振る舞いを設定ファイルで定義できるように構成したアプリケーションをモバイル端末上で起動させた後,モバイル端末のタッチパネル上に表示するコンテンツが切り替わっても,コンテンツの表示に用いるメインメモリのメモリ容量が必要以上に増加することのないモバイル端末およびアプリケーションプログラムを提供できる。 As described above, according to the present invention, after a plurality of content display programs are incorporated and an application configured so that a substantial behavior can be defined by the setting file is started on the mobile terminal, it is displayed on the touch panel of the mobile terminal. Even if the content to be switched is switched, it is possible to provide a mobile terminal and an application program in which the memory capacity of the main memory used for displaying the content does not increase more than necessary.
ここから,本発明の好適な実施形態を記載する。なお,以下の記載は本発明の技術的範囲を束縛するものでなく,理解を助けるために記述するものである。 From here, preferred embodiments of the present invention will be described. The following description is not intended to limit the technical scope of the present invention, but is provided to aid understanding.
図1は,本実施形態に係るモバイル端末1を用いたクラウドサービスシステムを説明する図で,図1では,本実施形態に係るモバイル端末1に加え,業務に用いる様々なコンテンツ30を記憶しているサーバ3を図示している。なお,本実施形態に係るモバイル端末1をタブレットの形態で図示しているが,本実施形態に係るモバイル端末1はスマートフォンとすることもできる。
FIG. 1 is a diagram for explaining a cloud service system using a
図1で図示したサーバ3は,複数の画面により構成されるコンテンツを記憶し,図1では,業務に用いるコンテンツとして,広告動画30a,電子カタログ30b,電子アンケート30cに加え,電子アンケート30cに回答したユーザのみが閲覧可能な特典動画30dを図示している。
The
本実施形態に係るモバイル端末1は,コンテンツ(ここでは,サーバ3からダウンロードしたコンテンツ,または,モバイル端末1が格納しているコンテンツになる)のコンテンツ画面をタッチパネルに表示するアプリケーション2を実装している。モバイル端末1を利用するユーザは,モバイル端末1に表示させるコンテンツ画面を切り替えながら,商談などの業務を行うことになるが,モバイル端末1に表示させるコンテンツ画面が切り替わると,コンテンツ画面の生成に用いられるメインメモリのメモリ容量が増え,動作が遅くなるなど,アプリケーション2の動作に不具合が発生することがあるため,本実施形態のモバイル端末1には,モバイル端末1に表示させるコンテンツ画面が切り替わっても,コンテンツ画面で消費するメインメモリのメモリ容量が必要以上に増加しない工夫を施している。
The
本実施形態に係るモバイル端末1のハードウェア構成について説明する。図2は,本実施形態に係るモバイル端末1のハードウェア構成を説明する図である。図2で図示しているように,モバイル端末1は,ハードウェア資源として,プロセッサ1a,メインメモリとなるRAM1b,電気的に書き換え可能な不揮発性メモリであるNVM(Nonvolatile Memory)1c,表示と入力の機能を兼ね備えたデバイスであるタッチパネル1d,および,移動体通信網を利用した通信を行うための回路である移動体通信回路1eを備える。なお,図2では,本発明の説明に必要なハードウェア資源のみを図示しており,モバイル端末1は,近距離無線用の通信回路およびオーディオ関係の回路など,図2で図示した以外のハードウェア資源を備えることになる。
A hardware configuration of the
モバイル端末1のプロセッサ1aは,モバイル端末1に実装されたコンピュータプログラムを実行する処理装置である。モバイル端末1のRAM1bは,プロセッサ1aがコンピュータプログラムを実行する時に使用する記憶装置である。モバイル端末1のNVM1cは,二次記憶装置となるメモリで,アプリケーション2のプログラムコードなどを記憶している。モバイル端末1のタッチパネル1dは,コンテンツを表示するディスプレイ(例えば,液晶ディスプレイ)と,ディスプレイに表示された画面上を指で操作するタッチデバイスが組み合わされたデバイスである。モバイル端末1の移動体通信回路1eは,アプリケーション2がサーバ3からコンテンツをダウンロードするときに用いる通信回路になる。
The processor 1 a of the
次に,本実施形態に係るモバイル端末1に実装されるソフトウェアの構成について説明する。図3は,本実施形態に係るモバイル端末1に実装されるソフトウェアの構成を説明する図である。図3に図示したように,本実施形態に係るモバイル端末1には,Apple社のiOS(登録商標)やGoogle社のAndroid(登録商標)など,モバイル用途の機能に特化したオペレーティングシステム10と,このオペレーティングシステム10上で動作するアプリケーション2が実装される。
Next, the configuration of software installed in the
図4は,オペレーティングシステム10が画面表示を制御する内容を説明する図である。モバイル端末1に実装されるオペレーティングシステム10は,タッチパネル1dに出力された画面を後入れ先出しの形式で管理するスタック10aを有し,スタック10aの先頭になる画面がタッチパネル1dに出力されるように画面表示を制御する機能を備え,アプリケーション2に公開しているAPIとして,画面を生成するコンポーネントプログラムを呼び出すAPIおよびウィンドウ(画面全体の表示枠を意味する)を生成するAPIを有している。
FIG. 4 is a diagram for explaining the contents that the
この機能について詳細に説明する。モバイル端末1に実装されるオペレーティングシステム10は,アプリケーション2が最初に生成したコンテンツ画面Aを,画面管理に用いるスタック10aに最初に追加(プッシュ)し,スタック10aの先頭になるコンテンツ画面Aをタッチパネル1dに表示する(図4(a))。なお,オペレーティングシステム10は,コンテンツ画面そのものをスタック10aに入れるのではなく,コンテンツ画面に割り当てたメモリ領域などをスタック10aに入れて,タッチパネル1dに出力した画面を管理する。コンテンツ画面Aを生成した後,アプリケーション2がコンテンツ画面Bを生成すると,オペレーティングシステム10は,アプリケーション2が生成したコンテンツ画面Bをスタック10aに追加して(S60),スタック10aの先頭になるコンテンツ画面Bをタッチパネル1dに表示し,コンテンツ画面Aはコンテンツ画面Bのバックグラウンドで待機した状態になる(図4(b))。コンテンツ画面Bを生成した後,アプリケーション2がコンテンツ画面Cを生成すると,オペレーティングシステム10は,アプリケーション2が生成したコンテンツ画面Cをスタック10aに追加して(S61),スタック10aの先頭になるコンテンツ画面Cをタッチパネル1dに表示し,コンテンツ画面A,Bはコンテンツ画面Cのバックグラウンドで待機した状態になる(図4(c))。また,アプリケーション2によって,スタック10aの先頭になるコンテンツ画面が破棄されると,オペレーティングシステム10は,スタック10aにおいて一つ前のコンテンツ画面をタッチパネル1dに表示する。例えば,コンテンツ画面Cがタッチパネル1dに表示されている状態で,スタック10aからコンテンツ画面Cが破棄されると(S62),スタック10aの状態は図4(b)の状態に戻り,オペレーティングシステム10は,コンテンツ画面Bをタッチパネル1dに表示する。また,コンテンツ画面Bがタッチパネル1dに表示されている状態で,スタック10aからコンテンツ画面Bが破棄されると(S63),スタック10aの状態は図4(a)の状態に戻り,オペレーティングシステム10は,コンテンツ画面Aをタッチパネル1dに表示する。
This function will be described in detail. The
このように,モバイル端末1に実装されるオペレーティングシステム10は,アプリケーション2がコンテンツ画面を生成する毎に,アプリケーション2が生成したコンテンツ画面をスタックするため,アプリケーション2が生成したコンテンツ画面の数が増えると,コンテンツ画面の格納に必要なメモリ容量も増えてしまう。そこで,本実施形態に係るアプリケーション2には,アプリケーション2が生成したコンテンツ画面の数が増えても,コンテンツ画面の格納に必要なメモリ容量が増えない仕組みを設けている。
As described above, since the
図3に図示したように,モバイル端末1に実装されるアプリケーション2は,タッチパネル1dに表示させるコンテンツ画面をRAM1bに生成するコンテンツ表示プログラム21と,コンテンツ表示プログラム21が用いるコンテンツと,コンテンツ表示プログラム21が属するレイヤをコンテンツ表示プログラム21毎に定義した設定ファイル23と,設定ファイル23で設定されたコンテンツ表示プログラム21のレイヤに基づいて,コンテンツ表示プログラム21の起動を管理する起動管理プログラム20備える。なお,本実施形態において,コンテンツ表示プログラム21のレイヤは,第1レイヤ,第2レイヤおよび第3レイヤの3つで,第1レイヤは,他のコンテンツ画面に切り替わる際,自分自身のコンテンツ画面をスタック10aから破棄しないコンテンツ表示プログラム21であることを示すレイヤで,第2レイヤは,他のコンテンツ画面に切り替わる際,自分自身のコンテンツ画面をスタック10aから破棄するコンテンツ表示プログラム21であることを示すレイヤで,第3レイヤは,特殊用途のコンテンツ画面(例えば,スクリーンセーバ,管理画面,操作ガイドなど)を生成するコンテンツ表示プログラム21であることを示すレイヤである。
As shown in FIG. 3, the
モバイル端末1が備える設定ファイル23は,モバイル端末1のNVM1cに格納されるテキスト形式のファイルで,設定ファイル23の内容によってアプリケーション2の実質的な振る舞いが定義される。本実施形態の設定ファイル23には,アプリケーション2に組み込むコンテンツ表示プログラム21を任意に定義できるように,アプリケーション2に組み込まれたコンテンツ表示プログラム21の識別子が記述され,更に,アプリケーション2に組み込まれたコンテンツ表示プログラム21の識別子毎に,識別子に対応するコンテンツ表示プログラム21が用いるコンテンツが格納されているパスと,識別子に対応するコンテンツ表示プログラム21が属するレイヤが記述されている。なお,コンテンツ表示プログラム21が用いるコンテンツのパスを設定ファイル23に記述するのは,設定ファイル23によって,コンテンツ表示プログラム21が用いるコンテンツを変更できるようにするためで,また,コンテンツ表示プログラム21が属するレイヤを設定ファイル23に記述するのは,設定ファイル23によって,レイヤに割り当てるコンテンツ表示プログラム21を変更できるようにするためである。
The setting file 23 provided in the
加えて,本実施形態では,設定ファイル23によって,最初に起動するコンテンツ表示プログラム21の識別子が定義されている。また,設定ファイル23によって,特殊用途のコンテンツ画面を表示する時の振る舞いを定義できるように,特殊用途のコンテンツ画面を生成する生成するコンテンツ表示プログラム21の起動条件(例えば,無操作時間が10分間続いた時,特殊用途のコンテンツ画面を表示する操作がなされた時など)と,特殊用途のコンテンツ画面が終了する時の振る舞いとして,第3レイヤから戻るレイヤを定義している。
In addition, in the present embodiment, the setting file 23 defines the identifier of the
アプリケーション2に組み込まれるコンテンツ表示プログラム21は,本発明に係るコンテンツ表示手段として機能するアプリケーション2のコンポーネントプログラムである。コンテンツ表示プログラム21は,それぞれ異なるコンテンツに対応し,本実施形態において,サーバ3は,広告動画30a,電子カタログ30b,電子アンケート30cおよび特典動画30dをコンテンツとして記憶しているため,サーバ3からダウンロードした電子カタログ30bのコンテンツ画面を生成するコンテンツ表示プログラム21b,サーバからダウンロードした電子アンケート30cのコンテンツ画面を生成するコンテンツ表示プログラム21c,サーバ3からダウンロードした特典動画30dのコンテンツ画面を生成するコンテンツ表示プログラム21d,および,サーバ3からダウンロードした広告動画30aのコンテンツ画面を生成するコンテンツ表示プログラム21aをアプリケーション2に組み込んでいる。更に,本実施形態では,アプリケーション2の基本画面を表示するコンテンツ表示プログラム21として,コンテンツ画面を縮小したサムネイルを複数表示するメニュー画面を生成するコンテンツ表示プログラム21eをアプリケーション2に組み込んでいる。
The
アプリケーション2に組み込まれるコンテンツ表示プログラム21の基本的な動作は,ウィンドウを生成するAPIを利用して,コンテンツ画面を表示するウィンドウを生成した後,自分自身に対応するコンテンツをこのウィンドウ内に描画することで,コンテンツ画面をRAM1bに生成する動作になるが,コンテンツ画面を生成する時の具体的な振る舞いは,設定ファイル23で自分自身に定義されているレイヤに応じて変更になる。そこで,ここから,それぞれのレイヤ(第1レイヤ,第2レイヤおよび第3レイヤ)毎に,コンテンツ表示プログラム21の動作について説明する。
The basic operation of the
図5は,第1レイヤに属する時のコンテンツ表示プログラム21の動作を説明する図である。本実施形態では,第1レイヤに属するコンテンツ表示プログラム21は,アプリケーション2が起動した時に起動管理プログラム20から呼び出されて起動する(S1)。なお,第1レイヤに属するコンテンツ表示プログラム21が生成するコンテンツ画面は,アプリケーション2のホーム画面になるため,本実施形態では,第1レイヤに属するコンテンツ表示プログラム21を,コンテンツ画面としてメニュー画面を生成するコンテンツ表示プログラム21eにしている。
FIG. 5 is a diagram for explaining the operation of the
第1レイヤに属するコンテンツ表示プログラム21が起動すると,まず,設定ファイル23を参照して,自分自身が描写処理するコンテンツのパスを取得した後,ウィンドウを生成するAPIを利用して,コンテンツ画面を表示するウィンドウを生成した後,自分自身に対応するコンテンツをこのウィンドウ内に描画することで,コンテンツ画面をRAM1bに生成し(S2),オペレーティングシステム10の機能によって,第1レイヤに属するコンテンツ表示プログラム21が生成したコンテンツ画面が最初にスタック10aに追加されて,スタック10aの状態は図4(a)の状態になり,このコンテンツ画面がタッチパネル1dに表示される。
When the
第1レイヤ22aに属するコンテンツ表示プログラム21が生成したコンテンツ画面がタッチパネル1dに表示されている状態,すなわち,このコンテンツ画面のみがスタック10aにある状態で,タッチパネル1dを利用して,コンテンツ画面を切り替える操作(ここでは,メニュー画面から他のコンテンツ画面を選択する操作になる)がなされると,第1レイヤ22aに属するコンテンツ表示プログラム21は,設定ファイル23を参照して,自分自身が属するレイヤ(ここでは,第1レイヤになる)を確認し(S3),第1レイヤに応じた処理として,自分自身が生成したコンテンツ画面をスタック10aから破棄することなく,切り替え先となるコンテンツ画面を生成するコンテンツ表示プログラム21の呼び出しを起動管理プログラム20に要求して(S4),図4の手順は終了する。
The content screen generated by the
上述した振る舞いによれば,第1レイヤに属するコンテンツ表示プログラム21は,コンテンツの画面が切り替わる際に,自分自身が生成したコンテンツ画面をスタック10aから破棄しないので,第1レイヤのコンテンツ画面は,図4(b)のように,切り替わったコンテンツ画面のバックグラウンドで待機している状態になる。
According to the behavior described above, the
図6は,第2レイヤに属する時のコンテンツ表示プログラム21の動作を説明する図である。第2レイヤに属するコンテンツ表示プログラム21は,第1レイヤに属するコンテンツ表示プログラム21,または,第2レイヤに属する他のコンテンツ表示プログラム21の呼び出し要求に応じた起動管理プログラム20から呼び出されることで起動する(S10)。
FIG. 6 is a diagram for explaining the operation of the
第2レイヤに属するコンテンツ表示プログラム21は,設定ファイル23を利用して,自分自身が描写処理するコンテンツのパスを取得した後,ウィンドウを生成するAPIを利用して,コンテンツ画面を表示するウィンドウを生成した後,自分自身に対応するコンテンツをこのウィンドウ内に描画することで,コンテンツ画面をRAM1bに生成し,オペレーティングシステム10の機能によって,第2レイヤに属するコンテンツ表示プログラム21が生成したコンテンツ画面がスタック10aの先頭に追加されて,スタック10aの状態は図4(b)の状態になり,このコンテンツ画面がタッチパネル1dに表示される(S11)。
The
第2レイヤのコンテンツ画面がタッチパネル1dに表示されている状態で,タッチパネル1dを利用して,コンテンツ画面を切り替える操作(例えば,他のコンテンツ画面を呼び出すハイパーリンクをタップする操作になる)がなされると,第2レイヤに属するコンテンツ表示プログラム21は,設定ファイル23を参照して,自分自身が属するレイヤ(ここでは,第2レイヤになる)を確認し(S12),第2レイヤに応じた処理として,ウィンドウを破棄するAPIを利用して,自分自身が生成したコンテンツ画面をスタック10aから破棄してから(S13),切り替え先となるコンテンツ画面を生成するコンテンツ表示プログラム21の呼び出しを起動管理プログラム20に要求して(S14),図5の手順は終了する。尚、他に不都合な結果が生じなければ、S14の処理をS13の処理より先に行ってもかまわない。あるいは、OS・APIの仕様により、S13の処理をS14の後にしなければならない場合もあり得る。
When the content screen of the second layer is displayed on the touch panel 1d, an operation of switching the content screen is performed using the touch panel 1d (for example, an operation of tapping a hyperlink that calls another content screen is performed). Then, the
第2レイヤに属するコンテンツ表示プログラムが生成したコンテンツ画面がタッチパネル1dに表示されている状態で,第1レイヤに属するコンテンツ表示プログラム21が呼び出された場合,第2レイヤのコンテンツ画面はスタック10aから破棄されるので,スタック10aの状態は図4(a)になり,第2レイヤのコンテンツ画面のバックグラウンドで待機していた第1レイヤのコンテンツ画面がタッチパネル1dに表示されることになる。また,第2レイヤのコンテンツ画面がタッチパネル1dに表示されている状態で,第2レイヤに属する他のコンテンツ表示プログラム21が呼び出されても,呼び出し元になったコンテンツ表示プログラム21が生成したコンテンツ画面はスタック10aから破棄されるので,第2レイヤに係るコンテンツ画面がスタック10aに複数スタックされず,コンテンツ画面の保存に用いるRAM1bのメモリ容量が必要以上に増加することはなくなる。
When the content screen generated by the content display program belonging to the second layer is displayed on the touch panel 1d and the
図7は,第3レイヤに属する時のコンテンツ表示プログラム21の動作を説明する図である。第3レイヤに属するコンテンツ表示プログラム21は,設定ファイル23で定義されている第3レイヤのコンテンツ表示プログラム21の起動条件が成立したときに,起動管理プログラム20から呼び出されることで起動する(S20)。
FIG. 7 is a diagram for explaining the operation of the
第3レイヤに属するコンテンツ表示プログラム21は,設定ファイル23を利用して,自分自身が用いるコンテンツのパスを取得した後,ウィンドウを生成するAPIを利用して,コンテンツ画面を表示するウィンドウを生成した後,自分自身に対応するコンテンツをこのウィンドウ内に描画することで,コンテンツ画面をRAM1bに生成し,オペレーティングシステム10の機能によって,第3レイヤに属するコンテンツ表示プログラム21が生成したコンテンツ画面がスタック10aの先頭に追加されて,このコンテンツ画面がタッチパネル1dに表示される(S21)。なお,設定ファイル23で定義された起動条件が成立したときに,第1レイヤに属するコンテンツ表示プログラム21が生成したコンテンツ画面がタッチパネル1dに表示されている場合,第1レイヤのコンテンツ画面のみが第3レイヤのコンテンツ画面(特殊用途のコンテンツ画面になる)のバックグラウンドで待機している状態になる。また,設定ファイル23で定義された起動条件が成立したときに,第2レイヤに属するコンテンツ表示プログラム21が生成したコンテンツ画面がタッチパネル1dに表示されている場合,第1,2レイヤのコンテンツ画面が第3レイヤのコンテンツ画面(特殊用途のコンテンツ画面になる)のバックグラウンドで待機している状態になる。
The
タッチパネル1dを利用したコンテンツの切り替え操作として,第3レイヤのコンテンツ画面,すなわち,特殊用途のコンテンツ画面の表示を終了させる操作がなされると,第3レイヤに属するコンテンツ表示プログラム21は,設定ファイル23を参照して,自分自身が属するレイヤ(ここでは,第3レイヤになる)を確認し(S22),第3レイヤに応じた処理として,まず,ウィンドウを破棄するAPIを利用して,自分自身が生成したコンテンツ画面をスタック10aから破棄する(S23)。
When an operation for ending the display of the third layer content screen, that is, the special purpose content screen, is performed as the content switching operation using the touch panel 1d, the
次に,第3レイヤに属するコンテンツ表示プログラム21は,第3レイヤに応じた処理として,設定ファイルを参照して,第3レイヤcから戻るレイヤを取得する(S24)。
Next, the
第3レイヤに属するコンテンツ表示プログラム21は,第3レイヤから戻る時のレイヤによって処理を分岐し(S25),第3レイヤから戻る時のレイヤが,第3レイヤに属するコンテンツ表示プログラム21が起動する直前の画面の場合は,第3レイヤに属するコンテンツ表示プログラム21の終了を起動管理プログラム20に通知して(S27),図6の手順は終了する。また,第3レイヤから戻る時のレイヤが第1レイヤで,かつ,第2レイヤのコンテンツ画面がスタック10aにある場合は,ウィンドウを破棄するAPIを利用して,第2レイヤのコンテンツ画面をスタック10aから廃棄してから(S26),第3レイヤに属するコンテンツ表示プログラム21の終了を起動管理プログラム20に通知して(S27),図6の手順は終了する。
The
第3レイヤに属するコンテンツ表示プログラム21が起動した時に,スタック10aの先頭になっているコンテンツ画面のレイヤが第1レイヤの場合,第3レイヤに属するコンテンツ表示プログラム21が起動することで,図4(b)のように,第1レイヤのコンテンツ画面は第3レイヤのコンテンツ画面のバックグラウンドで待機した状態になる。このケースでは,第3レイヤから戻る時のレイヤに係わらず,第3レイヤのコンテンツ画面がスタック10aから破棄されることで,第1レイヤのコンテンツ画面がタッチパネル1dに表示される。また,第3レイヤに属するコンテンツ表示プログラム21が起動した時に,スタック10aの先頭になっているコンテンツ画面のレイヤが第2レイヤの場合,第3レイヤに属するコンテンツ表示プログラム21が起動することで,図4(c)のように,第1,2レイヤのコンテンツ画面が第3レイヤのコンテンツ画面のバックグラウンドで待機した状態になる。このケースでは,第3レイヤから戻る時のレイヤが直前の画面の場合,第3レイヤのコンテンツ画面が破棄されることで,図4(b)のように,第2レイヤのコンテンツ画面がタッチパネル1dに表示される。また,第3レイヤから戻る時のレイヤが第1レイヤの場合,第3レイヤに属するコンテンツ表示プログラム21は,第2,3レイヤのコンテンツ画面をスタック10aから破棄するので,図4(a)のように,第1レイヤのコンテンツ画面がタッチパネル1dに表示される。
When the
次に,起動管理プログラム20について説明する。モバイル端末1に実装された起動管理プログラム20は,本発明に係る起動管理手段として機能するアプリケーション2のコンポーネントプログラムで,設定ファイル23で設定されたコンテンツ表示プログラム21のレイヤに基づいて,コンテンツ表示プログラム21の起動を管理する。なお,起動管理プログラム20は,画面を生成するコンポーネントプログラムを呼び出すAPIを利用して,コンテンツ表示プログラム21を起動させる。
Next, the
図8は,第1,2レイヤに属するコンテンツ表示プログラム21を起動させる時の起動管理プログラム20の動作を説明する図である。起動管理プログラム20は,アプリケーション2が起動すると,設定ファイル23を参照し,画面を生成するコンポーネントプログラムを呼び出すAPIを利用して,第1レイヤに属性しているコンテンツ表示プログラム21を最初に起動させる(S30)。その後に,スタック10aの先頭になっているコンテンツ画面を生成したコンテンツ表示プログラム21から,他のコンテンツ表示プログラム21の呼び出し要求を受けると(S31),設定ファイル23を利用して,呼び出し先のコンテンツ表示プログラム21が属するレイヤを特定し(S32),特定したレイヤによって処理を分岐させる(S33)。特定したレイヤが第1レイヤの場合,起動管理プログラム20は,呼び出し先のコンテンツ表示プログラム21(ここでは,第1レイヤに属するコンテンツ表示プログラム21になる)を起動させることなく,図7の手順は終了する。また,特定したレイヤが第2レイヤの場合,起動管理プログラム20は,画面を生成するコンポーネントプログラムを呼び出すAPIを利用して,呼び出し先のコンテンツ表示プログラム21(ここでは,第2レイヤに属するコンテンツ表示プログラム21のいずれか)を起動させて(S34),図7の手順は終了する。なお,S31からS34までの処理は,アプリケーション2が終了するまで繰り返し実行されることになる。
FIG. 8 is a diagram for explaining the operation of the
図9は,第3レイヤに属するコンテンツ表示プログラム21を起動させる時の起動管理プログラム20の動作を説明する図である。本実施形態に係る起動管理プログラム20は,設定ファイル23で定義された第3レイヤのコンテンツ表示プログラム21の起動条件が成立すると,画面を生成するコンポーネントプログラムを呼び出すAPIを利用して,第3レイヤに属するコンテンツ表示プログラム21を起動させ,第3レイヤに属するコンテンツ表示プログラム21が生成したコンテンツ画面をタッチパネル1dに表示させる処理を行う(S40)。その後に,第3レイヤに属するコンテンツ表示プログラム21から終了が通知されると(S41),この手順は終了する。
FIG. 9 is a diagram for explaining the operation of the
また,本実施形態に係るコンテンツ表示プログラム21は,表示させるコンテンツ画面の中に一つ前のコンテンツ画面に戻る操作を行うためのユーザインターフェースを含めて表示し,このユーザインターフェースを利用して,一つ前のコンテンツ画面に戻る操作がなされたことを,起動管理プログラム20に通知する機能を備えてもよい。
Also, the
一つ前のコンテンツ画面をタッチパネル1dに表示することができるように,本実施形態に係る起動管理プログラム20は,第2レイヤに属するコンテンツ表示プログラム21を起動させた起動履歴を保持するためのファイルとして起動履歴ファイルを有する。起動管理プログラム20は,図8のS32において,呼び出し先のコンテンツ表示プログラム21のレイヤが第2レイヤの場合,呼び出し先のコンテンツ表示プログラム21の起動履歴(コンテンツ表示プログラム21の識別子や復元パラメータなど)を起動履歴ファイルに追加し,呼び出し先のコンテンツ表示プログラム21のレイヤが第1レイヤの場合,起動履歴ファイルの内容を初期化する。
In order to display the previous content screen on the touch panel 1d, the
図10は,一つ前のコンテンツ画面に戻る操作が行われた時の起動管理プログラム20の動作を説明する図である。起動管理プログラム20が有するユーザインターフェースを利用して,一つ前のコンテンツ画面に戻る操作が行われると,起動管理プログラム20は,スタック10aの先頭になっているコンテンツ画面が対応するレイヤを判断する(S50)。起動管理プログラム20は,このレイヤが第1レイヤの場合,この手順を終了し,このレイヤが第2レイヤの場合,スタック10aの先頭になるコンテンツ画面を破棄する処理を行うことで,この時点でタッチパネル1dに表示されている第2レイヤのコンテンツ画面をスタック10aから破棄する(S51)。次に,起動管理プログラム20は,起動履歴ファイルが初期状態であるか否かにより,一つ前のコンテンツ画面が対応するレイヤが第2レイヤであるか判断する(S52)。起動管理プログラム20は,このレイヤが第1レイヤの場合,この手順を終了し,このレイヤが第2レイヤの場合,すなわち,起動履歴ファイルに起動履歴がある場合,起動管理プログラム20は,起動履歴ファイルに保存されている一つ前の起動履歴を利用して,一つ前に表示されていた第2レイヤのコンテンツ画面に対応するコンテンツ表示プログラム21を起動させ,一つ前に表示されていた第2レイヤのコンテンツ画面をタッチパネル1dに表示して(S53),この手順は終了する。
FIG. 10 is a diagram for explaining the operation of the
1 モバイル端末
10 オペレーティングシステム
10a スタック
2 アプリケーション
20 起動管理プログラム
21 コンテンツ表示プログラム
23 設定ファイル
DESCRIPTION OF
Claims (5)
前記モバイル端末は,前記アプリケーションが起動されることで,前記コンテンツ画面をメインメモリに生成するコンテンツ表示手段と,前記コンテンツ表示手段が属するレイヤに基づいて前記コンテンツ表示手段の起動を管理する起動管理手段と,が機能するものであって,
前記コンテンツ表示手段は,前記コンテンツ画面を切り替える操作がなされると,前記コンテンツ表示手段が属する前記レイヤを少なくとも定義した設定ファイルによって自分自身が属する前記レイヤを判断し,自分自身の前記レイヤが,前記コンテンツ画面を前記スタックから破棄しないレイヤである第1レイヤの場合は,自分自身が生成した前記コンテンツ画面を前記スタックから破棄することなく,切り替え先の前記コンテンツ画面に対応する前記コンテンツ表示手段の呼び出しを前記起動管理手段に要求し,自分自身の前記レイヤが,前記コンテンツ画面を前記スタックから破棄するレイヤである第2レイヤの場合は,自分自身が生成した前記コンテンツ画面を前記スタックから破棄する処理を実行するとともに,切り替え先の画面を生成する前記コンテンツ表示手段の呼び出しを前記起動管理手段に要求し,
前記起動管理手段は,前記設定ファイルを参照して,前記第1レイヤに属している前記コンテンツ表示手段を起動させた後,前記スタックの先頭になっている前記コンテンツ画面を生成した前記コンテンツ表示手段から他の前記コンテンツ表示手段の呼び出し要求を受けると,前記設定ファイルを参照して,呼び出し先になる前記コンテンツ表示手段が属する前記レイヤが前記第2レイヤの場合のみ,呼び出し先となる前記コンテンツ表示手段を起動させる処理を行う,
ことを特徴とするモバイル端末。 An operating system having a main memory, a touch panel, and a stack for managing the screen output to the touch panel in a last-in first-out format, and controlling the screen display so that the screen at the top of the stack is displayed on the touch panel A mobile terminal in which an application for displaying a content screen composed of a plurality of screens on the touch panel is installed as a program that operates on the operating system,
The mobile terminal includes a content display unit that generates the content screen in a main memory when the application is started, and an activation management unit that manages activation of the content display unit based on a layer to which the content display unit belongs. And function,
When an operation for switching the content screen is performed, the content display unit determines the layer to which the content display unit belongs by a setting file that defines at least the layer to which the content display unit belongs. In the case of the first layer, which is a layer that does not discard the content screen from the stack, the content display means corresponding to the switching destination content screen is called without discarding the content screen generated by itself from the stack And when the layer of its own is the second layer that discards the content screen from the stack, the process of discarding the content screen generated by itself from the stack And the screen to switch to Requesting a call of the content display device to be generated in the startup control means,
The activation management unit refers to the setting file, activates the content display unit belonging to the first layer, and then generates the content screen at the top of the stack. Upon receiving a call request from the other content display means, the content display as the call destination is referred to only when the layer to which the content display means as the call destination belongs is the second layer with reference to the setting file Process to activate the means,
A mobile terminal characterized by that.
前記起動管理手段は,前記起動条件が成立とすると,前記第3レイヤに属する前記コンテンツ表示手段を起動させる処理を行い,
前記コンテンツ表示手段は,前記設定ファイルによって自分自身が属する前記レイヤが前記第3レイヤの場合,自分自身が生成した前記コンテンツ画面を前記スタックから破棄する処理を実行するとともに,前記設定ファイルを参照して,前記第3レイヤから戻る時の前記レイヤを取得し,前記第3レイヤから戻る時のレイヤが前記第1レイヤで,かつ,前記第2レイヤの前記コンテンツ画面が前記スタックにある場合は,前記第2レイヤの前記コンテンツ画面を前記スタックから破棄する処理を実行する,
ことを特徴とする,請求項1に記載したモバイル端末。 In the setting file, the content display means belonging to the third layer and its activation condition, and the layer when returning from the third layer are defined,
The activation management means performs a process of activating the content display means belonging to the third layer when the activation condition is satisfied,
The content display means executes a process of discarding the content screen generated by itself from the stack when the layer to which the content belongs belongs to the third layer by the setting file, and refers to the setting file. If the layer when returning from the third layer is acquired, the layer when returning from the third layer is the first layer, and the content screen of the second layer is in the stack, Executing a process of discarding the content screen of the second layer from the stack;
The mobile terminal according to claim 1, wherein:
ことを特徴とする,請求項1または請求項2に記載したモバイル端末。 The activation management means retains the activation history of the content display means assigned to the second layer, and upon receiving a request to return to the previous content screen, refers to the activation history, and The layer corresponding to the content screen at the top of the stack is determined, and when the layer is the second layer, after the processing of discarding the content screen at the top of the stack from the stack, With reference to the activation history, the layer corresponding to the previous content screen is determined, and when the layer corresponding to the previous content screen is the second layer, the activation history is used. Then, processing for starting the content display means corresponding to the previous content screen is performed.
The mobile terminal according to claim 1, wherein the mobile terminal is characterized by the above.
The computer program for functioning the processor of a mobile terminal as the said content display means and the said starting management means as described in any one of Claims 1-3.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015218713A JP2019023766A (en) | 2015-11-06 | 2015-11-06 | Mobile terminal and application program |
CN201680064289.0A CN108351757B (en) | 2015-11-06 | 2016-11-04 | Mobile terminal and application program |
PCT/JP2016/082779 WO2017078132A1 (en) | 2015-11-06 | 2016-11-04 | Mobile terminal and application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015218713A JP2019023766A (en) | 2015-11-06 | 2015-11-06 | Mobile terminal and application program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019023766A true JP2019023766A (en) | 2019-02-14 |
Family
ID=58662084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015218713A Pending JP2019023766A (en) | 2015-11-06 | 2015-11-06 | Mobile terminal and application program |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP2019023766A (en) |
CN (1) | CN108351757B (en) |
WO (1) | WO2017078132A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542376B (en) * | 2018-11-06 | 2022-03-22 | 西安易朴通讯技术有限公司 | Screen display adjustment method, device and medium |
CN110891199B (en) * | 2019-11-14 | 2022-01-21 | 聚好看科技股份有限公司 | Page display method and display equipment |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1165549A (en) * | 1997-08-22 | 1999-03-09 | Meidensha Corp | Computer screen changing method |
JP2002108932A (en) * | 2000-09-29 | 2002-04-12 | Fujitsu Ltd | Recording medium for program for screen information save control |
JP4426492B2 (en) * | 2005-03-30 | 2010-03-03 | Ykk株式会社 | Programmable terminal system |
WO2007094268A1 (en) * | 2006-02-13 | 2007-08-23 | International Business Machines Corporation | Control device, control program, and control method for controlling display of display device for displaying superimposed windows |
CN101788800B (en) * | 2009-01-22 | 2012-11-28 | 郑州紫辰科技开发有限公司 | Industrial monitor |
JP5339939B2 (en) * | 2009-01-30 | 2013-11-13 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, program, and storage medium |
US9235828B2 (en) * | 2010-11-17 | 2016-01-12 | Z124 | Email client display transition |
-
2015
- 2015-11-06 JP JP2015218713A patent/JP2019023766A/en active Pending
-
2016
- 2016-11-04 CN CN201680064289.0A patent/CN108351757B/en active Active
- 2016-11-04 WO PCT/JP2016/082779 patent/WO2017078132A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017078132A1 (en) | 2017-05-11 |
CN108351757B (en) | 2021-08-20 |
CN108351757A (en) | 2018-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140071060A1 (en) | Prevention of accidental triggers of button events | |
TWI656471B (en) | Task management method, device and terminal device for multitasking interface | |
JP5706587B2 (en) | Method for controlling the system bar of a user equipment and user equipment | |
WO2018032782A1 (en) | Method and device for starting application | |
CN110300328B (en) | Video playing control method and device and readable storage medium | |
WO2016025657A1 (en) | Quick navigation of message conversation history | |
CN102654814A (en) | Method and device for calling functions in application as well as electronic equipment | |
US9870239B2 (en) | Method and device for running application program | |
US9170842B2 (en) | Information processing terminal and resource release method | |
JP2011054169A (en) | Method and system for managing widget in portable terminal | |
CN102112953B (en) | Information processing apparatus and program | |
US11132123B2 (en) | Key display method, terminal, and non-transitory computer-readable medium | |
CN104158972A (en) | Method for calling third-party application in conversation process and user terminal | |
WO2019047189A1 (en) | Message display method and device and terminal | |
CN105930467A (en) | Information processing method and electronic device | |
US20150113525A1 (en) | Method for a Reader to Provide Service, Reader and Computer-Readable Storage Medium | |
US20210216177A1 (en) | Navigation bar controlling method and terminal | |
EP2426899B1 (en) | Method and apparatus for operating call function of portable terminal | |
EP2587356A2 (en) | Controlling method for basic screen and portable device therefore | |
CN107682389B (en) | Method, terminal and computer readable storage medium for executing network request | |
WO2016150325A1 (en) | Application screen-splitting running method and device | |
KR20170115543A (en) | Desktop Sharing Method and Mobile Terminal | |
WO2017078132A1 (en) | Mobile terminal and application program | |
CN114327087A (en) | Input event processing method and device, electronic equipment and storage medium | |
RU2630368C2 (en) | Method and device for controlling switching of virtual navigation panel |