JP2013054705A - Client device and control method therefor - Google Patents
Client device and control method therefor Download PDFInfo
- Publication number
- JP2013054705A JP2013054705A JP2011194413A JP2011194413A JP2013054705A JP 2013054705 A JP2013054705 A JP 2013054705A JP 2011194413 A JP2011194413 A JP 2011194413A JP 2011194413 A JP2011194413 A JP 2011194413A JP 2013054705 A JP2013054705 A JP 2013054705A
- Authority
- JP
- Japan
- Prior art keywords
- information
- application
- update
- state
- control unit
- 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.)
- Withdrawn
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、サーバ装置の情報を利用する複数のアプリケーションを実行させるクライアント装置及びその制御方法に関する。 The present invention relates to a client device that executes a plurality of applications that use information of a server device and a control method thereof.
昨今、組み込み機器にアプリケーションが動作するアプリケーションプラットフォームを組み込むことで、様々なアプリケーションを動作させることが可能になってきている。特に、インターネットへのアクセスを行うことにより、Webの閲覧、メールやクラウドサービスと連携するアプリケーションなど、組み込み機器の機能向上を図る手法が一般的になってきている。 In recent years, it has become possible to operate various applications by incorporating an application platform on which an application operates in an embedded device. In particular, a method for improving functions of embedded devices such as Web browsing, applications linked with mail and cloud services by accessing the Internet has become common.
インターネットへのアクセスにおいて、パーソナルコンピュータ(PC)が持っているアクセス向上のための工夫も組み込み機器に取り入れられている。例えば、ブラウザでは標準的となっているアクセス向上のキャッシュ機構、即ち一旦アクセスしたWebページ情報を保持しておく。そして、再アクセスする時に保持済みデータを再利用することで、アクセス回数の低減を図るWebアクセスのキャッシュ機構である。また、アクセス頻度に応じて、データの再取得を制御するキャッシュ制御機構(例えば、特許文献1、非特許文献1)などである。
In the access to the Internet, a device for improving access possessed by a personal computer (PC) is also incorporated in the embedded device. For example, a cache mechanism for improving access, which is standard in browsers, that is, Web page information once accessed is held. A Web access cache mechanism that reduces the number of accesses by reusing retained data when re-accessing. Also, a cache control mechanism (for example,
しかしながら、上記従来の技術では、個々のアプリケーションがそれぞれ工夫するものであるため、キュッシュするデータの保持や保全で個別のアプリケーション毎に不揮発性メモリや記憶装置などの記憶領域が必要となる。 However, in the above-described conventional technique, each application is devised, so that storage areas such as a nonvolatile memory and a storage device are required for each individual application for holding and maintaining the data to be cached.
また、アプリケーションプラットフォームが搭載され、PC相当の機能を持つ組み込み機器では、マルチタスクによるアプリケーションの動作も行われる。そのため、比較的に小さな表示部しかもたない機器の場合、表示しておらずユーザが利用していないアプリケーションもネットワークにアクセスし、個々のキャッシュ情報更新を行っており、CPUリソース消費も大きくなってしまう。その結果、インターネットへのアクセス頻度が増加してしまうとともに、全体的な動作が遅くなってしまうという問題があった。 In addition, in an embedded device equipped with an application platform and having a function equivalent to a PC, an application operation by multitasking is also performed. Therefore, in the case of a device having only a relatively small display unit, an application that is not displayed and is not used by a user also accesses the network, updates individual cache information, and consumes more CPU resources. End up. As a result, there are problems that the frequency of access to the Internet increases and the overall operation becomes slow.
本発明は上述の問題を解決するためになされたもので、アプリケーションの実行状態に応じて、キャッシュ制御を可能とする装置及び方法を提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object thereof is to provide an apparatus and a method that enable cache control according to the execution state of an application.
本発明は、サーバ装置の情報を利用する複数のアプリケーションを実行させるクライアント装置であって、
前記複数のアプリケーションを実行させる実行手段と、
前記実行手段によって実行させるアプリケーションの状態を管理する管理手段と、
前記サーバ装置の情報が更新された際に、当該情報を利用するアプリケーションの状態に応じて、更新情報を記憶装置にキャッシュするように制御する制御手段と、
を有することを特徴とする。
The present invention is a client device that executes a plurality of applications using information of a server device,
Execution means for executing the plurality of applications;
Management means for managing the state of the application executed by the execution means;
Control means for controlling the update information to be cached in the storage device according to the state of the application using the information when the information of the server device is updated;
It is characterized by having.
本発明によれば、画面に表示しておらずユーザから利用されていないような状態にあるアプリケーションのキャッシュ情報更新を抑制することにより、情報更新にかかるCPUリソースの消費やインターネットへのアクセスを軽減できる。その結果、システム全体の応答速度を速めることができるとともに、電力消費量を軽減することができる。 According to the present invention, it is possible to reduce consumption of CPU resources for information update and access to the Internet by suppressing cache information update of an application that is not displayed on the screen and is not used by a user. it can. As a result, the response speed of the entire system can be increased and the power consumption can be reduced.
以下、図面を参照しながら発明を実施するための形態について詳細に説明する。 Hereinafter, embodiments for carrying out the invention will be described in detail with reference to the drawings.
[実施形態1]
まず、実施形態1におけるキャッシュ情報制御システムの構成の一例を、図1を用いて説明する。図1に示す例では、キャッシュ情報制御システム100は、クライアント装置101、サーバ装置102、入力装置103を有する。
[Embodiment 1]
First, an example of the configuration of the cache information control system according to the first embodiment will be described with reference to FIG. In the example illustrated in FIG. 1, the cache information control system 100 includes a client device 101, a
クライアント装置101は、不図示のネットワークを介してインターネット上のサーバ装置102に接続し、サーバ装置102上で更新された情報を受信し、クライアント装置101内の記憶領域に保存する。また、クライアント装置101は、キャッシュ情報制御部104、アプリケーションステータス管理部105、システムプロパティ管理部106、サーバ通信部107、キャッシュデータ更新管理部108、記憶装置109、UI表示部110を有する。更に、クライアント装置101は、複数のアプリケーション111〜113、アプリケーション実行部114、アプリケーションライフサイクル管理部115を有する。
The client apparatus 101 connects to the
サーバ装置102は、文字列や画像データなどの各種情報を保存し、クライアント装置101からの要求に応じて、情報を提供する。尚、各種情報には、システム内で一意の値であるURI(Uniform Resource Identifier)が割り当てられている。
The
入力装置103は、キーボード、マウス、又はタッチセンサーなどによりユーザが入力を行うためのものである。そして、この入力装置103からの入力は、クライアント装置101のUI表示部110に表示される。
The
クライアント装置101のキャッシュ情報制御部104は、サーバ装置102から受信した情報を記憶装置109のキャッシュに保存する。アプリケーションステータス管理部105は、アプリケーションの状態(例えば、起動状態、起動中状態、停止状態、停止中状態、アンインストール状態)をアプリケーション毎に管理する。各アプリケーションの状態を管理するテーブルの例を図2の(A)に示す。
The cache
システムプロパティ管理部106は、クライアント装置101のシステムプロパティを管理する。システムプロパティには、アプリケーションの状態に対応する更新カウンタ値が定義されている。アプリケーションの状態と更新カウンタ値との対応例を図2の(B)に示す。更新カウンタ値とは、キャッシュ情報制御部104が更新情報を記憶装置109のキャッシュに格納する際に判定するためのカウンタ上限値である。
The system
具体的には、サーバ装置102に保存されている情報が更新され、キャッシュ情報制御部104がサーバ装置102から情報更新通知を受信すると、アプリケーションに対応するカウンタの値をカウントアップする。例えば、アプリケーションに対応するカウンタの値が更新カウンタ値に達している場合、その情報更新通知の更新情報をキャッシュに格納すると判定する。尚、この判定処理の詳細は、更に後述する。また、情報更新通知とは、サーバ装置102で更新された情報のURIを通知することである。
Specifically, when the information stored in the
サーバ通信部107は、サーバ装置102と情報を送受信する。キャッシュデータ更新管理部108は、サーバ通信部107がサーバ装置102から受信された情報更新通知を管理する。記憶装置109は、各種情報を保存する。
The
UI表示部110は、各アプリケーションやシステムプロパティ管理部106のユーザインタフェースを表示する。アプリケーション111、112、113は、クライアント装置101上で動作し、サーバ装置102上の情報を処理する。アプリケーション実行部114は、各アプリケーションの実行を制御する。アプリケーションライフサイクル管理部115は、アプリケーションのライフサイクルを管理する。
The
尚、ライフサイクルとは、アプリケーションのインストール、不要になったアプリケーションのアンインストール、インストールしたアプリケーションの実行、実行中のアプリケーションの停止などである。 The life cycle includes installation of an application, uninstallation of an unnecessary application, execution of an installed application, stop of an application being executed, and the like.
以上の構成において、キャッシュ情報制御システム100がサーバ装置102から情報更新通知を受信してから更新情報を記憶装置109に保存するまでの処理を、図3に示すフローチャートを用いて説明する。
In the above configuration, a process from when the cache information control system 100 receives the information update notification from the
まず、更新情報を利用するアプリケーションの実行状態が起動状態の場合を説明する。アプリケーションの状態が起動状態になると、キャッシュ情報制御部104がシステムプロパティ管理部106からシステムプロパティを取得する(S301)。尚、キャッシュ情報制御部104は、システム起動時に一度だけシステムプロパティを取得すればよい。
First, a case where the execution state of an application that uses update information is in the activated state will be described. When the application state is activated, the cache
ここで、サーバ装置102において情報が更新されると、サーバ装置102からサーバ通信部107へ情報更新通知が送信される(S302)。サーバ通信部107は情報更新通知をキャッシュデータ更新管理部108へ転送する(S303)。ここで、キャッシュデータ更新管理部108は、情報更新通知を記憶装置109に保存すると共に(S304)、キャッシュ情報制御部104に送信する(S305)。
Here, when information is updated in the
一方、キャッシュ情報制御部104は、更新された情報を利用するアプリケーションを識別する(S306)。この場合、識別されたアプリケーションの状態が起動状態であることからキャッシュ情報制御部104は、アプリケーションステータス管理部105からアプリケーションの実行状態として起動状態を取得する(S308)。
On the other hand, the cache
次に、キャッシュ情報制御部104は、上述のプロパティからアプリケーションの状態に対応する更新カウンタ値を取得する(S309)。この場合、アプリケーションの状態が起動状態であるので、図2の(B)に示すように、キャッシュ情報制御部104は更新カウンタ値として“1”を取得する。
Next, the cache
次に、キャッシュ情報制御部104は、記憶装置109からアプリケーションに対応するカウンタを記憶装置109から取得する(S310)。カウンタの初期値はゼロである。そして、キャッシュ情報制御部104は、カウンタを1加算し(S311)、カウンタが更新カウンタ値に達しているか否かを判定する(S312)。尚、この判定処理でNoの場合は処理をS316へ進める。
Next, the cache
ここで、更新カウンタ値は“1”であるため、カウンタの値は更新カウンタ値に達していることになる(S312でYes)。その結果、キャッシュデータ更新管理部108が最新の情報更新通知に対応する更新情報を取得し、サーバ通信部107を経由してサーバ装置102から更新情報を取得する(S313)。そして、キャッシュ情報制御部104は、取得した更新情報を記憶装置109に保存し(S314)、カウンタをゼロに初期化する(S315)。その後、キャッシュ情報制御部104は、カウンタを記憶装置109に保存する(S316)。
Here, since the update counter value is “1”, the counter value has reached the update counter value (Yes in S312). As a result, the cache data
次に、更新情報を利用するアプリケーションの実行状態が停止状態の場合を説明する。この場合、アプリケーションの状態が起動状態の場合におけるS301〜S306と同様に処理する。ここで、アプリケーションの状態が停止状態であることからキャッシュ情報制御部104は、アプリケーションステータス管理部105からアプリケーションの実行状態として停止状態を取得する(S308)。
Next, a case where the execution state of an application that uses update information is in a stopped state will be described. In this case, processing is performed in the same manner as S301 to S306 when the application state is the active state. Here, since the application state is the stop state, the cache
次に、キャッシュ情報制御部104は、上述のプロパティからアプリケーションの状態に対応する更新カウンタ値を取得する(S309)。この場合、アプリケーションの状態が停止状態であるので、図2の(B)に示すように、キャッシュ情報制御部104は更新カウンタ値として“10”を取得する。
Next, the cache
次に、キャッシュ情報制御部104は、アプリケーションに対応するカウンタを記憶装置109から取得する(S310)。そして、キャッシュ情報制御部104は、カウンタを1加算し(S311)、カウンタの値が更新カウンタ値に達しているか否かを判定する(S312)。この場合、カウンタの値が更新カウンタ値“10”に達していないので(S312でNo)、そのままカウンタを記憶装置109に保存する(S316)。
Next, the cache
以上の処理は、更新情報を利用するアプリケーションがクライアント装置101に予めインストールされている場合に実行される。また、アプリケーションがアンインストールされている場合は、この処理は実行されない。 The above processing is executed when an application that uses update information is installed in the client apparatus 101 in advance. In addition, this process is not executed when the application is uninstalled.
次に、アプリケーションの状態が変更した際に、サーバ装置102から更新情報を取得して記憶装置109に保存するまでのキャッシュ情報制御部104の処理を、図4に示すフローチャートを用いて説明する。
Next, processing performed by the cache
まず、アプリケーションの状態がアンインストール状態から起動状態へ遷移したときの処理を説明する。キャッシュ情報制御部104は、システムプロパティ管理部106からシステムプロパティを取得する(S401)。
First, processing when the application state transitions from the uninstalled state to the activated state will be described. The cache
次に、アプリケーションの実行状態がアンインストール状態から起動状態へ遷移したとき、アプリケーションステータス管理部105は、アプリケーションライフサイクル管理部115から起動状態への変更通知を受信する(S402)。そして、アプリケーションステータス管理部105は、システムプロパティからアプリケーションの実行状態として起動状態を取得してキャッシュ情報制御部104に通知する(S403)。
Next, when the application execution state transitions from the uninstalled state to the activated state, the application
一方、キャッシュ情報制御部104では、システムプロパティからアプリケーションの起動状態に対応する更新カウンタ値として“1”を取得する(S404)。そして、キャッシュ情報制御部104は、記憶装置109からアプリケーションに対応するカウンタを取得する(S405)。
On the other hand, the cache
次に、S405で取得した更新カウンタ値が“−1”(アンインストール状態)であるか否かを判定し(S406)、この場合、更新カウンタ値は“1”であるので、S407へ処理を進める。このS407で、更新カウンタ値が“1”(起動状態)で、且つ、情報更新通知が存在するか否かを判定し、ここで、情報更新通知が存在すればS409へ処理を進める。また、情報更新通知が存在しなければ(S407でNo)、S412へ処理を進める。 Next, it is determined whether or not the update counter value acquired in S405 is “−1” (uninstalled state) (S406). In this case, since the update counter value is “1”, the process proceeds to S407. Proceed. In S407, it is determined whether or not the update counter value is “1” (active state) and there is an information update notification. If there is an information update notification, the process proceeds to S409. If there is no information update notification (No in S407), the process proceeds to S412.
S409では、キャッシュデータ更新管理部108は、最新の情報更新通知に対応する更新情報を取得し、サーバ通信部107を経由してサーバ装置102から更新情報を取得する。次に、キャッシュデータ更新管理部108は、取得した更新情報を記憶装置109に保存し(S410)、カウンタをゼロに初期化する(S411)。その後、キャッシュ情報制御部104は、カウンタを記憶装置109に保存する(S412)。
In S <b> 409, the cache data
次に、アプリケーションの実行状態が起動状態から停止状態へと遷移したときの処理を説明する。上述したS401〜S405の処理で、アプリケーションの状態が停止状態に変更された場合なので、図2の(B)から、更新カウンタ値として“10”を取得する。そして、S406の判定処理でNoと判定され、S407の判定処理でNoと判定され、キャッシュ情報制御部104は、カウンタを記憶装置109に保存し(S412)、この処理を終了する。
Next, processing when the application execution state transitions from the start state to the stop state will be described. Since the application state is changed to the stopped state in the processing of S401 to S405 described above, “10” is acquired as the update counter value from FIG. Then, it is determined No in the determination process of S406, No is determined in the determination process of S407, and the cache
次に、アプリケーションの実行状態が停止状態から起動状態へ遷移したときの処理は、上述したアプリケーションの実行状態がアンインストール状態から起動状態へと遷移したときと同様の処理を実行する。 Next, the process when the application execution state transitions from the stopped state to the activated state executes the same process as that when the application execution state transitions from the uninstalled state to the activated state.
次に、アプリケーションの実行状態が停止状態からアンインストール状態へと遷移したときの処理を説明する。上述したS401〜S405の処理で、アプリケーションの状態がアンインストール状態に変更された場合なので、図2の(B)から、更新カウンタ値として“−1”を取得する。そして、S406の判定処理でYesと判定され、この処理を終了する。 Next, processing when the application execution state transitions from the stopped state to the uninstalled state will be described. Since the application state is changed to the uninstalled state in the processing of S401 to S405 described above, “−1” is acquired as the update counter value from FIG. And it determines with Yes by the determination process of S406, and complete | finishes this process.
尚、アプリケーションの状態遷移と更新情報の受信とが同時に実行された場合、どちらの処理を優先するかはシステムプロパティで決定するものとする。 Note that, when the application state transition and the reception of update information are executed simultaneously, it is determined by the system property which processing is prioritized.
実施形態1によれば、アプリケーションの実行状態に応じて、キャッシュの更新頻度が変わるため、キャッシュ情報更新にかかるリソース消費量を軽減できる。 According to the first embodiment, since the cache update frequency changes according to the execution state of the application, it is possible to reduce the resource consumption for the cache information update.
[変形例]
キャッシュ情報制御部104は、アプリケーションの実行状態の変化により、アプリケーションから使用されない状態になったデータを識別することが可能である。キャッシュ情報制御部104は、アプリケーションと当該アプリケーションが利用するデータを図5に示すアプリケーションデータ管理テーブルで管理する。キャッシュ情報制御部104は、アプリケーションから使用されない状態になったデータをアプリケーションデータ管理テーブルから識別し、キャッシュデータ更新管理部108に当該データを記憶装置109から削除するように通知することが可能である。
[Modification]
The cache
また、複数のアプリケーションが記憶装置109に保存されている同一のデータを使用する場合がある。キャッシュ情報制御部104は、図5に示すように、データに対して、当該データを利用するアプリケーションが複数対応付けられている。
A plurality of applications may use the same data stored in the
従って、キャッシュ情報制御部104は、各アプリケーションの実行状態の変化により全てのアプリケーションから使用されていない状態になったデータを識別できる。よって、キャッシュデータ更新管理部108に当該データを記憶装置109から削除するように通知することが可能である。
Therefore, the cache
尚、上述した更新カウンタ値は、更新時間の間隔である更新経過時間に変えてもよい。アプリケーションステータスと更新経過時間の対応を図6に示す。キャッシュ情報制御部104は、アプリケーションの実行状態に応じて、システムプロパティから取得した更新経過時間毎に、最新の情報更新通知に対応する更新情報を記憶装置109に保存するようにキャッシュデータ更新管理部108に通知する。
The update counter value described above may be changed to an update elapsed time that is an update time interval. FIG. 6 shows the correspondence between the application status and the update elapsed time. The cache
また、図2の(A)に示すように、各アプリケーションをアプリケーションの実行状態で管理しているが、アプリケーションが表示するユーザインタフェースの状態で管理してもよい。その場合、ユーザインタフェースの状態に応じて、図7の(A)に示すように、上述した更新カウンタ値を対応付ければよい。 Further, as shown in FIG. 2A, each application is managed in the application execution state, but may be managed in the state of the user interface displayed by the application. In that case, the update counter values described above may be associated with each other as shown in FIG.
更に、アプリケーションの実行状態を、アプリケーションのプロセスの状態として管理してもよい。その場合、プロセスの状態に応じて、図7の(B)に示すように、上述した更新カウンタ値を対応付ければよい。 Furthermore, the execution state of the application may be managed as the state of the application process. In that case, the update counter values described above may be associated with each other as shown in FIG.
[実施形態2]
次に、図面を参照しながら本発明に係る実施形態2を詳細に説明する。実施形態2では、図6に示すアプリケーションの実行状態に対応する更新経過時間(秒単位)に応じて、サーバ装置から更新情報を取得してキャッシュに保存するものである。尚、実施形態2におけるキャッシュ情報制御システムの構成は、図1に示す実施形態1と同様であり、その説明は省略する。
[Embodiment 2]
Next, Embodiment 2 according to the present invention will be described in detail with reference to the drawings. In the second embodiment, update information is acquired from the server device and stored in the cache according to the update elapsed time (in seconds) corresponding to the execution state of the application shown in FIG. The configuration of the cache information control system in the second embodiment is the same as that in the first embodiment shown in FIG.
以下、キャッシュ情報制御システム100がサーバ装置102から情報更新通知を受信してから更新情報を記憶装置109に保存するまでの処理を、図8に示すフローチャートを用いて説明する。図8に示すS801〜S808までの処理は、図3に示すS301〜S308までの処理と同じであり、実施形態2の特徴である更新経過時間に関する処理について説明する。
Hereinafter, processing from when the cache information control system 100 receives the information update notification from the
まず、更新情報を利用するアプリケーションの実行状態が起動状態の場合を説明する。この場合、キャッシュ情報制御部104は、システムプロパティからアプリケーションの起動状態に対応する更新経過時間を取得する(S809)。ここで、図6に示すように、キャッシュ情報制御部104が取得した更新経過時間はゼロである。
First, a case where the execution state of an application that uses update information is in the activated state will be described. In this case, the cache
次に、キャッシュ情報制御部104は、記憶装置109からアプリケーションに対応する情報更新通知経過時間を取得する(S810)。情報更新通知経過時間とは、各アプリケーションに対応するタイマーであり、情報更新が通知されるまでの時間を計時するものである。そして、キャッシュ情報制御部104は、情報更新通知経過時間に対して、前回の情報更新通知からの経過時間を加算し(S811)、情報更新通知経過時間が更新経過時間に達しているか否かを判定する(812)。尚、この判定処理でNoの場合は処理をS816へ進める。
Next, the cache
ここで、更新経過時間はゼロであるため、情報更新通知経過時間は必ず更新経過時間に達していると判定される(S812でYes)。その結果、キャッシュデータ更新管理部108が最新の情報更新通知に対応する更新情報を取得し、サーバ通信部107を経由してサーバ装置102から更新情報を取得する(S813)。そして、キャッシュ情報制御部104は、取得した更新情報を記憶装置109に保存し(S814)、情報更新通知経過時間をゼロに初期化する(S815)。その後、キャッシュ情報制御部104は、情報更新通知経過時間を記憶装置109に保存する(S816)。
Here, since the update elapsed time is zero, it is determined that the information update notification elapsed time has reached the update elapsed time (Yes in S812). As a result, the cache data
次に、更新情報を利用するアプリケーションの実行状態が停止状態の場合を説明する。この場合、アプリケーションの実行状態が停止状態であるので、キャッシュ情報制御部104は、図6の(B)に示すようにシステムプロパティから更新経過時間として“60”を取得する(S809)。
Next, a case where the execution state of an application that uses update information is in a stopped state will be described. In this case, since the execution state of the application is in the stopped state, the cache
次に、キャッシュ情報制御部104は、アプリケーションに対応する情報更新通知経過時間を記憶装置109から取得する(S810)。そして、キャッシュ情報制御部104は、情報更新通知経過時間に対して、前回の情報更新通知からの経過時間を加算し(S811)、情報更新通知経過時間が更新経過時間に達しているか否かを判定する(S812)。ここで、達している場合は、上述のアプリケーションの実行状態が起動状態の場合と同様に、処理をS813へ進めるが、達していない場合は、情報更新通知経過時間を記憶装置109に保存する(S816)。
Next, the cache
以上の処理は、更新情報を利用するアプリケーションがクライアント装置101に予めインストールされている場合に実行される。また、アプリケーションがアンインストールされている場合は、この処理は実行されない。 The above processing is executed when an application that uses update information is installed in the client apparatus 101 in advance. In addition, this process is not executed when the application is uninstalled.
次に、アプリケーションの状態が変更した際に、サーバ装置102から更新情報を取得して記憶装置109に保存するまでのキャッシュ情報制御部104の処理を、図9に示すフローチャートを用いて説明する。図9に示すS901〜S903までの処理は、図4に示すS401〜S403までの処理と同じであり、実施形態2の特徴である更新経過時間に関する処理について説明する。
Next, processing performed by the cache
まず、アプリケーションの状態がアンインストール状態から起動状態へ遷移したときの処理を説明する。実施形態1と同様に、S901〜S903へと処理を進め、キャッシュ情報制御部104は、システムプロパティからアプリケーションの起動状態に対する更新経過時間として“0”を取得する(S904)。そして、キャッシュ情報制御部104は、記憶装置109からアプリケーションの情報更新通知経過時間を取得する(S905)。
First, processing when the application state transitions from the uninstalled state to the activated state will be described. As in the first embodiment, the process proceeds to S901 to S903, and the cache
次に、その情報更新通知経過時間が“−1”(アンインストール状態)であるか否かを判定し(S906)、この場合、更新経過時間は“0”であるので、S907へ処理を進める。このS907で、情報更新通知経過時間が更新経過時間に達している、かつ、情報更新通知が存在するか否かを判定し、ここで、情報更新通知が存在すればS909へ処理を進める。また、情報更新通知が存在しなければ(S907でNo)、S912へ処理を進める。 Next, it is determined whether or not the information update notification elapsed time is “−1” (uninstalled state) (S906). In this case, since the update elapsed time is “0”, the process proceeds to S907. . In S907, it is determined whether or not the information update notification elapsed time has reached the update elapsed time and there is an information update notification. If there is an information update notification, the process proceeds to S909. If there is no information update notification (No in S907), the process proceeds to S912.
S909では、キャッシュデータ更新管理部108は、最新の情報更新通知に対応する更新情報を取得し、サーバ通信部107を経由し、サーバ装置102から更新情報を取得する。次に、キャッシュデータ更新管理部108は、取得した更新情報を記憶装置109に保存し(S910)、情報更新通知経過時間をゼロに初期化する(S911)。その後、キャッシュ情報制御部104は、情報更新通知経過時間を記憶装置109に保存する(S912)。
In step S <b> 909, the cache data
次に、アプリケーションの実行状態が起動状態から停止状態へと遷移したときの処理を説明する。上述したS901〜S905の処理で、アプリケーションの状態が停止状態に変更された場合なので、図6から、更新経過時間として“60”を取得する。そして、S906の判定処理でNoと判定され、S907の判定処理でNoと判定され、キャッシュ情報制御部104は、情報更新通知経過時間を記憶装置109に保存し(S912)、この処理を終了する。
Next, processing when the application execution state transitions from the start state to the stop state will be described. Since the application state is changed to the stopped state in the processing of S901 to S905 described above, “60” is acquired as the update elapsed time from FIG. Then, it is determined No in the determination process of S906, No is determined in the determination process of S907, and the cache
次に、アプリケーションの実行状態が停止状態から起動状態に遷移したときの処理は、上述したアプリケーションの実行状態がアンインストール状態から起動状態へと遷移したときと同様の処理を実行する。 Next, the process when the application execution state transitions from the stop state to the start state executes the same process as when the application execution state transitions from the uninstall state to the start state.
次に、アプリケーションの実行状態が停止状態からアンインストール状態へと遷移したときの処理を説明する。上述したS901〜S905の処理で、アプリケーションの状態がアンインストール状態に変更された場合なので、図6から更新経過時間として“−1”を取得する。そして、S906の判定処理でYesと判定され、この処理を終了する。 Next, processing when the application execution state transitions from the stopped state to the uninstalled state will be described. Since the application state is changed to the uninstalled state in the above-described processing of S901 to S905, “−1” is acquired as the update elapsed time from FIG. And it determines with Yes by the determination process of S906, and complete | finishes this process.
尚、アプリケーションの状態遷移と更新情報の受信とが同時に実行された場合、どちらの処理を優先するかはシステムプロパティで決定するものとする。 Note that, when the application state transition and the reception of update information are executed simultaneously, it is determined by the system property which processing is prioritized.
実施形態2によれば、アプリケーションの実行状態に応じて、キャッシュの更新頻度が変わるため、キャッシュ情報更新にかかるリソース消費量を軽減できる。 According to the second embodiment, since the cache update frequency changes according to the execution state of the application, it is possible to reduce the resource consumption for the cache information update.
[他の実施形態]
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
[Other Embodiments]
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (9)
前記複数のアプリケーションを実行させる実行手段と、
前記実行手段によって実行させるアプリケーションの状態を管理する管理手段と、
前記サーバ装置の情報が更新された際に、当該情報を利用するアプリケーションの状態に応じて、更新情報を記憶装置にキャッシュするように制御する制御手段と、
を有することを特徴とするクライアント装置。 A client device that executes a plurality of applications using information of a server device,
Execution means for executing the plurality of applications;
Management means for managing the state of the application executed by the execution means;
Control means for controlling the update information to be cached in the storage device according to the state of the application using the information when the information of the server device is updated;
A client device comprising:
実行手段が、前記複数のアプリケーションを実行させる実行工程と、
管理手段が、前記実行工程において実行させるアプリケーションの状態を管理する管理工程と、
制御手段が、前記サーバ装置の情報が更新された際に、当該情報を利用するアプリケーションの状態に応じて、更新情報を記憶装置にキャッシュするように制御する制御工程と、
を有することを特徴とするクライアント装置の制御方法。 A method of controlling a client device that executes a plurality of applications using information of a server device,
An execution step of executing the plurality of applications;
A management step in which the management means manages the state of the application to be executed in the execution step;
A control step in which when the information of the server device is updated, the control means controls to cache the update information in the storage device according to the state of the application that uses the information;
A method for controlling a client device, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011194413A JP2013054705A (en) | 2011-09-06 | 2011-09-06 | Client device and control method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011194413A JP2013054705A (en) | 2011-09-06 | 2011-09-06 | Client device and control method therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013054705A true JP2013054705A (en) | 2013-03-21 |
Family
ID=48131605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011194413A Withdrawn JP2013054705A (en) | 2011-09-06 | 2011-09-06 | Client device and control method therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013054705A (en) |
-
2011
- 2011-09-06 JP JP2011194413A patent/JP2013054705A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102224760B1 (en) | Automatic application updates | |
US10754683B1 (en) | Optimizing preemptive operating system with motion sensing | |
TWI528282B (en) | Method for customizing launching of applications | |
JP5930236B2 (en) | Web application architecture | |
US10469979B2 (en) | Managing data access in mobile devices | |
JP6072441B2 (en) | Haptic theme framework | |
KR20160069445A (en) | User apparatus for managing web application and method therefor | |
TW201033832A (en) | Programming model for synchronizing browser caches across devices and web services | |
US20160197773A1 (en) | Techniques for sharing applications | |
EP2815311A1 (en) | Using an application cache to update resources of installed applications | |
RU2597468C2 (en) | Method and device for browsing web pages at weak illumination by browser for mobile terminal | |
CN110727525A (en) | Companion application for campaign collaboration | |
KR20130114699A (en) | Dynamic device configuration using predicates | |
KR20120009434A (en) | Input content to application via web browser | |
CN103902238B (en) | Information processor and setting information management method | |
EP2760175A1 (en) | Scene-sound set operating method and portable device | |
JP4978329B2 (en) | Backlight control program, information processing apparatus, and backlight control method | |
JP2013054705A (en) | Client device and control method therefor | |
US10891017B1 (en) | Rotating icon selection and interaction software development kit (SDK) | |
JP2016218541A (en) | Information processing device and program | |
WO2012081079A1 (en) | Information processing device, method of controlling power, and power control program | |
US11379102B1 (en) | Native application development techniques | |
JP2008269602A (en) | Device and method for selective engagement in software distribution | |
CN112148399B (en) | Application icon switching method and device and storage medium | |
JP2017157177A (en) | Smart device, method for deleting saved data, and program for deleting saved data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20141202 |