JP6318113B2 - Information terminal and data processing program - Google Patents

Information terminal and data processing program Download PDF

Info

Publication number
JP6318113B2
JP6318113B2 JP2015087362A JP2015087362A JP6318113B2 JP 6318113 B2 JP6318113 B2 JP 6318113B2 JP 2015087362 A JP2015087362 A JP 2015087362A JP 2015087362 A JP2015087362 A JP 2015087362A JP 6318113 B2 JP6318113 B2 JP 6318113B2
Authority
JP
Japan
Prior art keywords
asset data
server
data
information
web browser
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.)
Active
Application number
JP2015087362A
Other languages
Japanese (ja)
Other versions
JP2015165416A5 (en
JP2015165416A (en
Inventor
信隆 多久島
信隆 多久島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DeNA Co Ltd
Original Assignee
DeNA Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DeNA Co Ltd filed Critical DeNA Co Ltd
Priority to JP2015087362A priority Critical patent/JP6318113B2/en
Publication of JP2015165416A publication Critical patent/JP2015165416A/en
Publication of JP2015165416A5 publication Critical patent/JP2015165416A5/ja
Application granted granted Critical
Publication of JP6318113B2 publication Critical patent/JP6318113B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、サーバから情報を取得する情報端末及びその処理を実現するデータ処理プログラムに関する。   The present invention relates to an information terminal that acquires information from a server and a data processing program that realizes the processing.

近年、スマートフォン等の携帯端末において、端末内の処理部が実行するネイティブ部分実行部と、ネットワークを介して接続されたサーバ側(ウェブ部分実行部)で処理された情報を受信して利用するウェブブラウザと、を組み合わせたアプリケーションを用いた処理が利用されている。   In recent years, in mobile terminals such as smartphones, a web that receives and uses information processed on a native partial execution unit executed by a processing unit in the terminal and a server side (web partial execution unit) connected via a network Processing using an application combining a browser is used.

このようなアプリケーションを用いることによって、携帯端末に固有に搭載されている機能をネイティブ部分実行部によって十分に活用できると共に、頻繁に更新される処理はウェブ部分実行部に負担させる等、ネイティブ部分実行部とウェブ部分実行部の両方の利点を得ることができる。   By using such an application, it is possible to make full use of the functions inherent to the mobile terminal by the native partial execution unit, and the native partial execution, such as causing the web partial execution unit to bear frequently updated processing. The advantages of both the part and the web part execution part can be obtained.

図6は、ネイティブ部分実行部とウェブ部分実行部との処理で実現されるアプリケーションを用いた携帯端末100とサーバ102との情報のやり取りを説明する図である。携帯端末100は、アプリケーションの実行によって実現されるウェブブラウザ10に含まれるダウンローダ10aを用いて、ネットワーク104を介して接続されたサーバ102にアクセスする。ダウンローダ10aは、例えば、Base64等でエンコードされた情報をサーバ102から受信する。サーバ102から受信された情報は、携帯端末100のウェブブラウザ10からアクセス可能なブラウザキャッシュ10b、又は、ネイティブ12側のストレージ12aのいずれかに格納及び保持される。このとき、ネイティブ部分実行部の実行によりウェブブラウザ10から情報を受けてストレージ12aにその情報を格納し、ウェブブラウザ10から情報の要求を受けてストレージ12aに保持されている情報をウェブブラウザ10へ受け渡す処理が実現される。ウェブブラウザ10とストレージ12aとの間においてもBase64等でエンコードされた情報が受け渡しされ、ストレージ12aにはエンコードされた状態で情報が格納される。   FIG. 6 is a diagram for explaining the exchange of information between the mobile terminal 100 and the server 102 using an application realized by processing of the native partial execution unit and the web partial execution unit. The portable terminal 100 accesses the server 102 connected via the network 104 using the downloader 10a included in the web browser 10 realized by executing the application. The downloader 10a receives, for example, information encoded in Base64 from the server 102. Information received from the server 102 is stored and held in either the browser cache 10b accessible from the web browser 10 of the mobile terminal 100 or the storage 12a on the native 12 side. At this time, the information is received from the web browser 10 by the execution of the native partial execution unit, and the information is stored in the storage 12a. Delivery processing is realized. Information encoded by Base64 or the like is also passed between the web browser 10 and the storage 12a, and the information is stored in the encoded state in the storage 12a.

また、ウェブブラウザ10のキャッシュ機能を用いて、サーバ102から一度取得したデータをブラウザキャッシュ10bに記憶しておき、ブラウザキャッシュ10bに記憶されているデータについて再度取得する手間を省く処理が知られている。   Also, a process is known that uses the cache function of the web browser 10 to store data once acquired from the server 102 in the browser cache 10b and saves the trouble of acquiring again the data stored in the browser cache 10b. Yes.

非特許文献1には、ブラウザキャッシュに記憶するデータの最終更新日とバージョン情報とを関連付けしたハッシュ値等を管理しておくことで、取得しようとするデータがキャッシュに記憶されている場合、通信ネットワークを介してそのデータを取得することなく、キャッシュに記憶されたデータを利用する技術が開示されている。   In Non-Patent Document 1, if the data to be acquired is stored in the cache by managing the hash value or the like that associates the last update date of the data stored in the browser cache with the version information, A technique for using data stored in a cache without acquiring the data via a network is disclosed.

例えば、ネットワークを介してサーバと接続されている情報端末を利用したゲームにおいて、頻繁に更新されるキャラクタデータを情報端末へ送信する際のサーバと情報端末間での通信負荷を低減するために用いられている。   For example, in a game using an information terminal connected to a server via a network, it is used to reduce the communication load between the server and the information terminal when frequently updated character data is transmitted to the information terminal. It has been.

https://developers.google.com/speed/docs/best-practices/cachinghttps://developers.google.com/speed/docs/best-practices/caching

ところで、ネットワークの通信帯域の容量が小さい場合、ネットワークを介して画像データやトゥルータイプフォント(ttf)等の容量の大きなアセットデータを送受信する際にタイムアウトを起こしてしまうおそれがある。また、上記のように、ブラウザキャッシュやネイティブ側のストレージを利用したとしても、通信帯域が十分でなくなる場合がある。   By the way, when the capacity of the network communication band is small, there is a possibility that a timeout may occur when transmitting / receiving asset data having a large capacity such as image data or true type font (ttf) via the network. Further, as described above, even if the browser cache or the native storage is used, the communication band may not be sufficient.

このような状況において、情報端末とサーバとの間で情報を効率的に通信可能とする技術が望まれている。   In such a situation, a technology that enables information to be efficiently communicated between the information terminal and the server is desired.

本発明の1つの態様は、内蔵された処理部が実行するネイティブ部分実行部と、ネットワークを介して接続されたサーバから受けた情報の表示処理を行うウェブブラウザと、が組み合わされたアプリケーションを実行する情報端末であって、前記ネイティブ部分実行部及び前記ウェブブラウザを実行可能な実行手段は、前記ネイティブ部分実行部にてネットワークを介してサーバにアクセスして通信を行い、前記サーバから情報を取得可能な通信手段と、前記通信手段によって取得した情報を記憶可能な記憶手段と、を備え、前記記憶手段に前記表示処理に必要なアセットデータが記憶されている場合には、記憶されている前記アセットデータを前記ウェブブラウザに渡し、前記記憶手段に前記アセットデータが記憶されていない場合には、前記通信手段によって前記サーバから前記アセットデータを取得し、取得した前記アセットデータを前記ウェブブラウザに渡すことを特徴とする情報端末である。 One aspect of the present invention executes an application in which a native partial execution unit executed by a built-in processing unit and a web browser that displays information received from a server connected via a network are combined. And an execution unit capable of executing the native partial execution unit and the web browser accesses the server via the network to communicate with the native partial execution unit, and acquires information from the server. Communication means, and storage means capable of storing information acquired by the communication means, and when the asset data necessary for the display processing is stored in the storage means, When asset data is passed to the web browser and the asset data is not stored in the storage means, Acquiring the asset data from the server by the serial communication means is an information terminal, characterized in that passing the asset data acquired on the web browser.

ここで、前記記憶手段は、前記ウェブブラウザからアクセス可能な第1記憶手段と、前記ネイティブ部分実行部からアクセス可能な第2記憶手段と、を含み、前記第1記憶手段及び前記第2記憶手段の少なくとも一つに前記アセットデータが記憶されている場合には、記憶されている前記アセットデータを前記ウェブブラウザに渡し、前記第1記憶手段及び前記第2記憶手段に前記アセットデータが記憶されていない場合には、前記通信手段によって前記サーバから前記アセットデータを取得し、取得した前記アセットデータを前記ウェブブラウザに渡すことが好適である。 Here, the storage means includes first storage means accessible from the web browser, and second storage means accessible from the native partial execution unit, and the first storage means and the second storage means When the asset data is stored in at least one of the above, the stored asset data is transferred to the web browser, and the asset data is stored in the first storage unit and the second storage unit If not, it is preferable to acquire the asset data from the server by the communication means and pass the acquired asset data to the web browser .

また、前記第1記憶手段に前記アセットデータが記憶されていない場合、前記通信手段によって、前記サーバから前記アセットデータのバージョン情報を取得し、前記バージョン情報を用いて前記第2記憶手段に前記アセットデータが記憶されていないと判別された場合に、前記サーバにアクセスして前記アセットデータを取得することが好適である。 When the asset data is not stored in the first storage unit, the communication unit acquires version information of the asset data from the server, and uses the version information to store the asset data in the second storage unit. When it is determined that data is not stored, it is preferable to access the server and acquire the asset data .

また、前記サーバから取得された前記アセットデータを前記第2記憶手段に記憶させることが好適である。 In addition, it is preferable that the asset data acquired from the server is stored in the second storage unit .

また、前記通信手段は、前記サーバから取得される前記アセットデータを前記ウェブブラウザで処理可能なデータ形式に変換することが好適である。 Further, it is preferable that the communication unit converts the asset data acquired from the server into a data format that can be processed by the web browser .

上記情報端末は、以下のデータ処理プログラムにより実現することができる。すなわち、コンピュータ端末内の処理部が実行するネイティブ部分実行部と、前記コンピュータ端末とネットワークを介して接続されたサーバから受けた情報の表示処理を行うウェブブラウザと、が組み合わされたアプリケーションを含むデータ処理プログラムであって、前記コンピュータ端末を、前記ネイティブ部分実行部及び前記ウェブブラウザを実行可能な実行手段は、前記ネイティブ部分実行部にてネットワークを介してサーバにアクセスして通信を行い、前記サーバから情報を取得可能な通信手段と、前記通信手段によって取得した情報を記憶可能な記憶手段と、を備え、前記記憶手段に前記表示処理に必要なアセットデータが記憶されている場合には、記憶されている前記アセットデータを前記ウェブブラウザに渡し、前記記憶手段に前記アセットデータが記憶されていない場合には、前記通信手段によって前記サーバから前記アセットデータを取得し、取得した前記アセットデータを前記ウェブブラウザに渡す情報端末として機能させることを特徴とするデータ処理プログラムである。 The information terminal can be realized by the following data processing program. That is, data including an application in which a native partial execution unit executed by a processing unit in a computer terminal and a web browser that performs display processing of information received from a server connected to the computer terminal via a network are combined An execution means, which is a processing program, capable of executing the computer terminal, the native partial execution unit, and the web browser, communicates by accessing a server via a network in the native partial execution unit, Communication means capable of acquiring information from the storage means, and storage means capable of storing the information acquired by the communication means, and storing asset data required for the display processing in the storage means. The asset data being transferred to the web browser and storing If the asset data in stage is not stored, the data, wherein the acquiring the asset data from the server, be made to function the asset data acquired as an information terminal to be passed to the web browser by the communication unit It is a processing program.

本発明によれば、アプリケーションにプロキシ機能を組み込むことによって、サーバと情報端末との間の通信量を低減し、効率良く情報を通信することが可能となる。   According to the present invention, by incorporating a proxy function into an application, it is possible to reduce the amount of communication between the server and the information terminal and efficiently communicate information.

本発明の実施の形態におけるデータ処理システムの構成を示す図である。It is a figure which shows the structure of the data processing system in embodiment of this invention. 本発明の実施の形態におけるデータ処理システムの機能ブロックを示す図である。It is a figure which shows the functional block of the data processing system in embodiment of this invention. 本発明の実施の形態におけるデータの送受信を説明するフローチャートである。It is a flowchart explaining transmission / reception of the data in embodiment of this invention. ページの切り替えを説明する図である。It is a figure explaining switching of a page. 本発明の実施の形態におけるデータ処理システムの別例の機能ブロックを示す図である。It is a figure which shows the functional block of another example of the data processing system in embodiment of this invention. 従来のデータ処理システムの機能ブロックを示す図である。It is a figure which shows the functional block of the conventional data processing system.

以下、本発明の実施形態について、図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<システムの全体構成>
図1は、本実施形態に係るデータ処理システムの概略構成を示すブロック図である。サーバ202は、ネットワーク204に接続されており、このネットワーク204に情報端末200が接続されている。情報端末200は、ネットワーク204を介し、必要なデータをサーバ202から入手してゲーム等の処理を実行する。
<Overall system configuration>
FIG. 1 is a block diagram showing a schematic configuration of a data processing system according to the present embodiment. The server 202 is connected to the network 204, and the information terminal 200 is connected to the network 204. The information terminal 200 acquires necessary data from the server 202 via the network 204 and executes processing such as a game.

なお、本実施の形態では、情報端末200においてゲームを実行する例について説明するが、本発明の適用範囲はこれに限定されるものでなく、サーバ202と情報端末200との間で随時更新されるデータの通信を行う態様であれば適用範囲となる。
<サーバの構成及び機能>
サーバ202は、コンピュータであり、各種のデータ処理機能、通信機能、記憶機能を備えている。サーバ202には、ゲームロジック、およびそのゲームを実行する際に使用されるユーザデータ、およびアセットデータが記憶される。
In the present embodiment, an example in which a game is executed on the information terminal 200 will be described. However, the scope of the present invention is not limited to this, and is updated as needed between the server 202 and the information terminal 200. Any mode that performs data communication is applicable.
<Server configuration and functions>
The server 202 is a computer and has various data processing functions, communication functions, and storage functions. The server 202 stores game logic, user data used when executing the game, and asset data.

アセットデータは、たとえば、画像データ、動画(アニメーションデータ)、文字情報(トゥルータイプフォント:ttf)などを含む。アセットデータは、これらのデータに限定されるものではないが、文書データ等よりもデータ容量が大きいデータである場合に本発明の効果がより顕著となる。   The asset data includes, for example, image data, moving images (animation data), character information (true type font: ttf), and the like. The asset data is not limited to these data, but the effect of the present invention becomes more prominent when the data capacity is larger than that of document data or the like.

一般的に、ソーシャルゲームでは、ゲームを実行するためのゲームロジックは基本的に変更が頻繁でないが、画像データ、動画(アニメーションデータ)などのアセットデータは随時変更される。すなわち、アセットデータは開発者等によって随時変更され、メモリ20内の既存のアセットデータが新規のアセットデータによって随時書き換えられ、更新される。このように変更を受けたアセットデータを情報端末200で実行中のゲームにも反映するために、サーバ202から情報端末200へアセットデータを送信する必要がある。   In general, in a social game, game logic for executing a game is basically not frequently changed, but asset data such as image data and moving images (animation data) is changed as needed. That is, asset data is changed by a developer or the like as needed, and existing asset data in the memory 20 is rewritten and updated with new asset data as needed. In order to reflect the asset data thus changed to the game being executed on the information terminal 200, it is necessary to transmit the asset data from the server 202 to the information terminal 200.

なお、開発者のコンピュータは、ネットワーク204を介しサーバ202に接続してもよいが、内部LAN、無線通信など他の通信回線を介しサーバ202に接続してもよい。   The developer's computer may be connected to the server 202 via the network 204, but may be connected to the server 202 via another communication line such as an internal LAN or wireless communication.

サーバ202は、図2の機能ブロック図に示すように、データ更新部22を有し、このデータ更新部22がメモリ20内のデータの更新を管理する。すなわち、データ更新部22は、更新データを受け取った場合に、メモリ20内のデータを更新する。ここで、このデータ更新は、基本的にアセットデータの更新を前提としている。ここで、アセットデータは、1つの画像、1つの動画等を1単位として、それぞれ1つのファイルとして記憶されており、各ファイルにはファイル名の他、更新時刻、ファイル容量などの属性情報が付与されている。すなわち、既存のアセットデータと新規のアセットデータとは、この属性情報に基づいて対応付けすることが可能である。たとえば、メモリ20に記憶されているアセットデータを更新する際には、古いアセットデータを新しいアセットデータで更新し、新しいアセットデータに更新された古いアセットデータと同一のファイル名を付与することにより対応付けが行われる。   As shown in the functional block diagram of FIG. 2, the server 202 has a data update unit 22 that manages the update of data in the memory 20. That is, the data update unit 22 updates the data in the memory 20 when the update data is received. Here, this data update is basically premised on the update of asset data. Here, the asset data is stored as one file, with one image, one movie, etc. as a unit, and each file is given attribute information such as update time and file capacity in addition to the file name. Has been. That is, existing asset data and new asset data can be associated based on this attribute information. For example, when updating the asset data stored in the memory 20, the old asset data is updated with the new asset data, and the new asset data is given the same file name as the updated old asset data. The attachment is done.

サーバ202は、データを送信する場合に、その送信データについて、ファイル毎にハッシュ値を計算し、計算結果のハッシュ値をファイルとともに送信する。   When transmitting data, the server 202 calculates a hash value for each file with respect to the transmission data, and transmits the calculated hash value together with the file.

データ更新部22は、ファイルのデータ自体や属性情報からハッシュ値を計算し、これをファイルと関連づけて送信する。なお、ハッシュ値は、そのファイルに含まれるアセットデータ(画像データ、動画データ等)又はそれに関する属性情報から算出されればよいが、アセットデータ自体から算出することが好適である。すなわち、アセットデータが更新されると、アセットデータ自体から算出されたハッシュ値は更新前のアセットデータ自体から算出されたハッシュ値とは異なる値となり、ハッシュ値はアセットデータ自体のバージョンを示すバージョン情報となる。このハッシュ値を比較することにより、アセットデータが更新されたか否かを確実に把握することができる。   The data update unit 22 calculates a hash value from the file data itself and attribute information, and transmits the hash value in association with the file. The hash value may be calculated from asset data (image data, moving image data, etc.) included in the file or attribute information related thereto, but is preferably calculated from the asset data itself. That is, when the asset data is updated, the hash value calculated from the asset data itself is different from the hash value calculated from the asset data before the update, and the hash value is version information indicating the version of the asset data itself. It becomes. By comparing the hash values, it is possible to reliably grasp whether the asset data has been updated.

ここで、ファイルが更新される度に、当該ファイルのハッシュ値を計算して、ファイルと対応付けてメモリ20に記憶することも好適である。こうすることによって、ファイルの送信要求が生じた場合に、すでに記憶されているハッシュ値を送信することもできる。また、一定周期毎に、メモリ20内のファイルのハッシュ値を計算して更新してもよく、さらにファイルを送信したときに再計算したハッシュ値をファイルに対応付けて更新してもよい。   Here, each time a file is updated, it is also preferable to calculate a hash value of the file and store it in the memory 20 in association with the file. In this way, when a file transmission request is generated, the already stored hash value can be transmitted. Further, the hash value of the file in the memory 20 may be calculated and updated at regular intervals, and the hash value recalculated when the file is transmitted may be updated in association with the file.

なお、本実施の形態では、1つのファイルを単位データとして処理する例を示すが、複数ファイルを含む単位データとして当該単位データ毎にハッシュ値を算出して処理してもよい。   In the present embodiment, an example is shown in which one file is processed as unit data. However, a hash value may be calculated and processed for each unit data as unit data including a plurality of files.

また、本実施形態では、バージョン情報としてハッシュ値を適用したが、変更されたアセットデータ(ファイル)に応じて変更されるバージョン情報としてもよい。たとえば、バージョン情報として、チェックサム、チェックディジット、フィンガープリント等としてもよい。   In the present embodiment, the hash value is applied as the version information. However, the version information may be changed according to the changed asset data (file). For example, the version information may be a checksum, check digit, fingerprint, or the like.

アセットデータの作成者は、例えば、自己のコンピュータをサーバ202に接続し、メモリ20内のデータを随時書き換える。データ更新部22は、情報端末200からデータの提供を要求された際に、送信対象となるファイルを含む単位データに基づきそのハッシュ値を計算して、情報端末200に送信する。   For example, the creator of the asset data connects his computer to the server 202 and rewrites the data in the memory 20 as needed. When the data update unit 22 is requested to provide data from the information terminal 200, the data update unit 22 calculates the hash value based on the unit data including the file to be transmitted, and transmits the hash value to the information terminal 200.

たとえば、データ更新部22に下記のようなAPIを用意しておく。
_get_bundle?paths=a,b,c,d −−−> {a: {hash: md5, body: base64} ...}
情報端末200からのアクセスによって、このAPIが呼ばれた時にハッシュ値md5を計算してファイルaのバージョン情報とする。このようにすることで、ファイルaが差し替えられた場合には、その後に該当ファイルをユーザに送信すると、その送信データに対応するハッシュ値md5値が情報端末200に送信され、情報端末200において記憶される。
For example, the following API is prepared in the data update unit 22.
_Get_bundle? paths = a, b, c, d ---> {a: {hash: md5, body: base64}. . . }
When this API is called by access from the information terminal 200, the hash value md5 is calculated and used as the version information of the file a. In this way, when the file a is replaced, when the file is subsequently transmitted to the user, the hash value md5 value corresponding to the transmission data is transmitted to the information terminal 200 and stored in the information terminal 200. Is done.

<情報端末の構成及び機能>
情報端末200は、携帯電話、スマートフォン、タブレット等のコンピュータを含む端末装置である。情報端末200は、図1に示すように、CPUを含む処理部30が基本的なデータ処理を行う。また、情報端末200には、入力部32、表示部34が設けられ、必要なデータ入力、各種表示を行う。たとえば、表示部34は液晶や有機ELパネルであり、入力部32は表示部34と共に設けられたタッチパネルとすることができる。また、情報端末200には、記憶部36が設けられる。記憶部36は、半導体メモリやフラッシュメモリ等を含み、情報端末200によって処理される情報(アセットデータを含む)を格納及び保持する。記憶部36は、後述するブラウザキャッシュやネイティブキャッシュとして利用される。
<Configuration and function of information terminal>
The information terminal 200 is a terminal device including a computer such as a mobile phone, a smartphone, and a tablet. As shown in FIG. 1, in the information terminal 200, a processing unit 30 including a CPU performs basic data processing. Further, the information terminal 200 is provided with an input unit 32 and a display unit 34, and performs necessary data input and various displays. For example, the display unit 34 may be a liquid crystal or an organic EL panel, and the input unit 32 may be a touch panel provided with the display unit 34. The information terminal 200 is provided with a storage unit 36. The storage unit 36 includes a semiconductor memory, a flash memory, and the like, and stores and holds information processed by the information terminal 200 (including asset data). The storage unit 36 is used as a browser cache or a native cache described later.

情報端末200では、アプリケーションが実行され、ネットワーク204を介したサーバ202へのアクセスや情報端末200での情報処理が行われる。例えば、情報端末200のユーザがゲームを開始する場合には、URLを特定してそのゲームプログラムの提供先であるサーバ202にアクセスし、ここからゲームプログラムを格納するアプリケーションをダウンロードする。本実施の形態では、アプリケーションによりゲームの処理が行われる。   In the information terminal 200, an application is executed, and access to the server 202 via the network 204 and information processing in the information terminal 200 are performed. For example, when the user of the information terminal 200 starts a game, the URL is specified, the server 202 that is the provision destination of the game program is accessed, and an application for storing the game program is downloaded therefrom. In the present embodiment, game processing is performed by an application.

ここで、アプリケーションとは、情報端末200に内蔵された処理部30が実行して情報端末200において情報の処理を行わせるネイティブ部分実行部と、サーバ202からネットワーク204を介して受信された情報を処理するウェブブラウザと、を組み合わせて機能させるものである。例えば、ネイティブ部分実行部の中に簡易ウェブブラウザであるWebViewを組み込み、情報端末200での画像表示の一部をウェブブラウザの機能を用いて行うようなアプリケーションである。   Here, an application includes a native partial execution unit that is executed by the processing unit 30 built in the information terminal 200 and performs processing of information in the information terminal 200, and information received from the server 202 via the network 204. It functions in combination with a web browser to be processed. For example, the application is such that WebView, which is a simple web browser, is incorporated in the native partial execution unit, and a part of image display on the information terminal 200 is performed using the function of the web browser.

アプリケーションであるゲームプログラムは、記憶部36のネイティブキャッシュ(ネイティブストレージ)38に記憶され、処理部30がゲームプログラムを実行することで、ウェブブラウザ40、プロキシ42及びダウンローダ44の機能が実現される。情報端末200は、これらの機能によってサーバ202と通信し、必要な画像、動画などのアセットデータを取得し、表示部34に表示しつつゲームを進行させる。   The game program as an application is stored in a native cache (native storage) 38 of the storage unit 36, and the functions of the web browser 40, the proxy 42, and the downloader 44 are realized by the processing unit 30 executing the game program. The information terminal 200 communicates with the server 202 by these functions, acquires asset data such as necessary images and moving images, and advances the game while displaying them on the display unit 34.

プロキシ42及びダウンローダ44は、アプリケーションのうちネイティブ部分実行部を実行することによって実現される。これにより、プロキシ42及びダウンローダ44は、情報端末200に固有に設けられている機能を利用することができる。例えば、情報端末200に固有のネットワークインターフェース等の機能を利用したり、情報端末200の端末情報等のネイティブ部分実行部のみから利用可能な情報を用いて処理したりすることができる。   The proxy 42 and the downloader 44 are realized by executing a native partial execution unit of the application. As a result, the proxy 42 and the downloader 44 can use functions inherently provided in the information terminal 200. For example, functions such as a network interface unique to the information terminal 200 can be used, or processing can be performed using information available only from the native partial execution unit such as terminal information of the information terminal 200.

ウェブブラウザ40は、ネットワーク204を介してサーバ202から得られた情報等を表示部34に画像表示する等の各種の機能を実現する。また、ウェブブラウザ40にはブラウザキャッシュ(ブラウザ記憶部)40aが設けられている。ブラウザキャッシュ40aは、ウェブブラウザ40が各種処理を実行する際に使用される情報の記憶に利用される。ブラウザキャッシュ40aには、更新が頻繁に行われない情報を記憶しておくことが好適である。   The web browser 40 realizes various functions such as displaying information obtained from the server 202 via the network 204 on the display unit 34. The web browser 40 is provided with a browser cache (browser storage unit) 40a. The browser cache 40a is used for storing information used when the web browser 40 executes various processes. It is preferable to store information that is not frequently updated in the browser cache 40a.

情報端末200は、サーバ202から情報を受信する際に、プロキシ42を介してサーバ202へアクセスする。すなわち、ネイティブ部分実行部の実行に必要な情報をサーバ202から取得する場合、及び、ウェブブラウザ40での処理に必要な情報をサーバ202から取得する場合のいずれにおいても、アプリケーションに含まれるネイティブ部分実行部によって実現されるプロキシ42を介して行われる。   The information terminal 200 accesses the server 202 via the proxy 42 when receiving information from the server 202. That is, the native part included in the application is obtained both when the information necessary for the execution of the native part execution unit is obtained from the server 202 and when the information necessary for processing in the web browser 40 is obtained from the server 202. This is performed through the proxy 42 realized by the execution unit.

ウェブブラウザ40は、情報端末200での表示処理の負荷を低減するために、ネイティブキャッシュ38に記憶されているファイルの一部又は全部をブラウザキャッシュ40aに記憶しておくことができる。ウェブブラウザ40は、まずブラウザキャッシュ40aに必要な情報が記憶されているか否かを調べ、記憶されていればその情報を読み出して表示等の処理を行う。ブラウザキャッシュ40aに情報が記憶されていなければ、ウェブブラウザ40は、プロキシ42に情報を要求する。プロキシ42は、サーバ202に情報を要求する前にネイティブキャッシュ38に要求された情報が記憶されているか否かを確認し、記憶されていればその情報を読み出してウェブブラウザ40に受け渡す。ネイティブキャッシュ38に情報が記憶されていなければ、プロキシ42は、ダウンローダ44によってサーバ202にその情報を要求する。   The web browser 40 can store a part or all of the files stored in the native cache 38 in the browser cache 40a in order to reduce the load of display processing on the information terminal 200. The web browser 40 first checks whether or not necessary information is stored in the browser cache 40a. If the information is stored, the web browser 40 reads the information and performs processing such as display. If no information is stored in the browser cache 40a, the web browser 40 requests information from the proxy 42. The proxy 42 checks whether or not the requested information is stored in the native cache 38 before requesting information from the server 202, and if so, reads the information and passes it to the web browser 40. If the information is not stored in the native cache 38, the proxy 42 requests that information from the server 202 by the downloader 44.

ここで、上述したようにサーバ202は、アセットデータを含むファイルとそのファイルに対して算出されたハッシュ値を対応付けて記憶しており、情報端末200からアセットデータの要求を受けると、要求されたアセットデータを含むファイルを送る際に対応付けられたハッシュ値をメタデータとして付加して送信する。   Here, as described above, the server 202 stores a file including asset data and a hash value calculated for the file in association with each other, and is requested when an asset data request is received from the information terminal 200. The hash value associated when sending a file including the asset data is added as metadata and transmitted.

情報端末200の処理部30は、受信したファイル(アセットデータ)およびハッシュ値をファイル名に関連付けてデータテーブル等としてネイティブキャッシュ38に記憶させる。アセットデータは、Base64等によりエンコードされてなくてもよく、バイナリのデータとして扱うことができる。   The processing unit 30 of the information terminal 200 stores the received file (asset data) and hash value in the native cache 38 as a data table or the like in association with the file name. Asset data may not be encoded by Base64 or the like, and can be handled as binary data.

<データ取得手順>
以下、図3のフローチャートを参照して、ネットワーク204を介して情報端末200がサーバ202からアセットデータを取得する処理について説明する。本実施形態においては、ゲームで表示されるページ毎にウェブブラウザ40がサーバ202にアクセスし、ページを表示するためのアセットデータを取得するものとして説明を行う。
<Data acquisition procedure>
Hereinafter, a process in which the information terminal 200 acquires asset data from the server 202 via the network 204 will be described with reference to the flowchart of FIG. In this embodiment, it demonstrates as what the web browser 40 accesses the server 202 for every page displayed by a game, and acquires the asset data for displaying a page.

情報端末200においてゲームのアプリケーションが実行されると、ネットワーク204を介して情報端末200とサーバ202とが相互に情報の送受信が可能となるように接続される。ここで、図4に示すように、1つのページが情報端末200において表示されている状態から次のページの表示に移る際に、ウェブブラウザ40において新たな情報がウェブブラウザ40にて必要となる。   When a game application is executed on the information terminal 200, the information terminal 200 and the server 202 are connected via the network 204 so that information can be transmitted and received between them. Here, as shown in FIG. 4, when the transition from the state in which one page is displayed on the information terminal 200 to the display of the next page, new information is required in the web browser 40 in the web browser 40. .

まず、ウェブブラウザ40は、画面表示等に必要なアセットデータがブラウザキャッシュ40aに記憶されているか否かを確認する。ブラウザキャッシュ40aには、更新がないアセットデータ等が記憶されており、必要なアセットデータがブラウザキャッシュ40aに記憶されていれば読み出して利用する。   First, the web browser 40 checks whether asset data necessary for screen display or the like is stored in the browser cache 40a. The browser cache 40a stores asset data and the like that have not been updated. If necessary asset data is stored in the browser cache 40a, it is read and used.

ブラウザキャッシュ40aに必要なアセットデータが記憶されていなければ、ウェブブラウザ40は、プロキシ42にそのアセットデータを要求する。ウェブブラウザ40とプロキシ42との間では、情報はハイパー・テキスト・トランスファー・プロトコル(http)に則って行うことができる。   If the necessary asset data is not stored in the browser cache 40a, the web browser 40 requests the proxy 42 for the asset data. Information between the web browser 40 and the proxy 42 can be performed according to a hyper text transfer protocol (http).

プロキシ42は、ネイティブ部分実行部によって実現されるダウンローダ44を用いて、要求されたアセットデータをさらにサーバ202に要求する。   The proxy 42 further requests the requested asset data from the server 202 using the downloader 44 realized by the native partial execution unit.

サーバ202は、要求を受けたアセットデータを含むファイルのファイル名(file1, file2, ...)と対応するハッシュ値(バージョン情報)とを関連付けて情報端末200に送信する。たとえば、ファイル名"file1"とそれに対応付けられたハッシュ値hash1、ファイル名"file2"とそれに対応付けられたハッシュ値hash2、を含む場合、(<html> file1 hash, file2 hash, ...)のようなデータが送信される。   The server 202 associates the file name (file1, file2,...) Of the file including the requested asset data with the corresponding hash value (version information) and transmits it to the information terminal 200. For example, if file name "file1" and its associated hash value hash1, and file name "file2" and its associated hash value hash2 are included (<html> file1 hash, file2 hash, ...) Is sent.

このとき、送信時にファイルのハッシュ値を計算し、算出されたハッシュ値をファイル名と対にして送信することが好適である。これにより、送信時において最新のアセットデータに基づいて算出されたハッシュ値を確実に送信することができる。一方、ある程度のタイムラグが許容される場合、予めハッシュ値を算出し、メモリ20にファイルとハッシュ値とを関連付けてメモリ20に記憶しておき、送信時にはファイル名と対応するハッシュ値とを読み出して送信してもよい。この場合、サーバ202において送信毎にハッシュ値を算出する必要がなくなり、サーバ202の演算処理の負荷を低減することができる。   At this time, it is preferable to calculate the hash value of the file at the time of transmission and transmit the calculated hash value in pairs with the file name. Thereby, the hash value calculated based on the latest asset data at the time of transmission can be transmitted reliably. On the other hand, when a certain amount of time lag is allowed, a hash value is calculated in advance, the file and the hash value are stored in the memory 20 in association with each other, and the file name and the corresponding hash value are read out during transmission. You may send it. In this case, it is not necessary for the server 202 to calculate a hash value for each transmission, and the processing load on the server 202 can be reduced.

このように、次ページの表示に必要なアセットデータのファイルを送信する前に、ファイルの本体(内容)となるアセットデータは送信せず、ファイルに固有の識別情報であるファイル名と、そのバージョン情報であるハッシュ値が送信される。これが、プロキシ42において取得される。   In this way, before sending the asset data file necessary for the display of the next page, the asset data that is the main body (content) of the file is not sent, but the file name that is identification information unique to the file and its version A hash value, which is information, is transmitted. This is acquired at the proxy 42.

プロキシ42は、受け取ったハッシュ値と同一のハッシュ値がネイティブキャッシュ38に記憶されているかを判定する。この判定結果において、同一のハッシュ値が記憶されていれば、そのハッシュ値に関連付けられたファイル名を有するファイルについては既に最新のアセットデータがネイティブキャッシュ38に記憶されていると判断できる。この場合、そのファイルのアセットデータはサーバ202から改めて取得する必要はない。そこで、プロキシ42は、サーバ202から該当するファイルを取得することなく、ネイティブキャッシュ38から該当ファイルのアセットデータを読み出し、読み出したアセットデータをウェブブラウザ40へ受け渡す。ウェブブラウザ40は、受け取ったアセットデータを用いて画像表示等の処理を行う。   The proxy 42 determines whether the same hash value as the received hash value is stored in the native cache 38. If the same hash value is stored in the determination result, it can be determined that the latest asset data is already stored in the native cache 38 for the file having the file name associated with the hash value. In this case, it is not necessary to acquire the asset data of the file from the server 202 anew. Therefore, the proxy 42 reads the asset data of the corresponding file from the native cache 38 without acquiring the corresponding file from the server 202, and passes the read asset data to the web browser 40. The web browser 40 performs processing such as image display using the received asset data.

なお、ハッシュ値の同一性を判定する際に、ファイル名の同一性も同時に判定してもよい。すなわち、プロキシ42は、受け取ったファイル名とハッシュ値との組と同一のファイル名とハッシュ値との組がネイティブキャッシュ38に記憶されているかを判定してよい。これにより、ファイル名で特定された同一のファイルのアセットデータについてハッシュ値を用いてデータの同一性を確認することができ、より確実に最新のアセットデータであるか否かを判定することができる。   When determining the identity of the hash value, the identity of the file name may be determined at the same time. That is, the proxy 42 may determine whether the same file name / hash value pair as the received file name / hash value pair is stored in the native cache 38. As a result, it is possible to check the identity of the data using the hash value for the asset data of the same file specified by the file name, and to determine whether or not the asset data is the latest asset data. .

図3の例は、ファイルfile3については同一のハッシュ値を有するファイルが既に登録されており、ファイルfile1, file2については同一のハッシュ値を有するファイルがなかった場合を示している。この場合、プロキシ42は、ダウンローダ44を用いて2つのファイルfile1, file2のみを取得するリクエストをサーバ202へ送信する。この例では、AJAX(Asynchronous JavaScript + XML)を用い、_get bundle file1, file2 のようなリクエストをサーバ202に送っている。   The example of FIG. 3 shows a case where a file having the same hash value has already been registered for the file file3, and there is no file having the same hash value for the files file1 and file2. In this case, the proxy 42 transmits to the server 202 a request for acquiring only two files file 1 and file 2 using the downloader 44. In this example, a request such as _get bundle file1, file2 is sent to the server 202 using AJAX (Asynchronous JavaScript + XML).

このリクエストに応じて、サーバ202は、該当するファイルfile1, file2をメモリ20から読み出し、これらファイルを情報端末200へ送信する。このときは、読み出したファイルに対してハッシュ値を計算して、ファイルと対応ハッシュ値をセットにして情報端末200のプロキシ42に提供する。すなわち、ファイルfile1, file2について、それぞれのハッシュ値hashと、ファイルの本体(内容)となるアセットデータbodyを含めてプロキシ42に送信する。このとき、アセットデータbodyは、Base64等に則ってエンコードされていてもよいし、エンコードされていないバイナリデータとしてもよい。   In response to this request, the server 202 reads the corresponding files file1, file2 from the memory 20, and transmits these files to the information terminal 200. At this time, a hash value is calculated for the read file, and the file and the corresponding hash value are set and provided to the proxy 42 of the information terminal 200. That is, the file file1 and file2 are transmitted to the proxy 42 including the hash value hash and the asset data body that is the main body (content) of the file. At this time, the asset data body may be encoded in accordance with Base64 or the like, or may be binary data that is not encoded.

ここで、サーバ202のデータ更新部22は、送信する段階でハッシュ値を計算して、その計算で得られたハッシュ値を送信することが好適である。これにより、送信されるハッシュ値はその時点の最新のアセットデータに対するハッシュ値となる。したがって、情報端末200において、記憶されるハッシュ値が最新のバージョンのアセットデータに対応したものであることが担保される。   Here, it is preferable that the data updating unit 22 of the server 202 calculates a hash value at the transmission stage and transmits the hash value obtained by the calculation. As a result, the transmitted hash value becomes the hash value for the latest asset data at that time. Therefore, in the information terminal 200, it is ensured that the stored hash value corresponds to the latest version of asset data.

一方、ある程度のタイムラグが許容される場合、予めハッシュ値を算出し、メモリ20にアセットデータとハッシュ値とを関連付けてメモリ20に記憶しておき、送信時にはアセットデータを含むファイルと対応するハッシュ値とを読み出して送信してもよい。この場合、サーバ202において送信毎にハッシュ値を算出する必要がなくなり、サーバ202の演算処理の負荷を低減することができる。   On the other hand, when a certain amount of time lag is allowed, a hash value is calculated in advance, the asset data and the hash value are stored in the memory 20 in association with each other, and the hash value corresponding to the file including the asset data at the time of transmission is stored. May be read and transmitted. In this case, it is not necessary for the server 202 to calculate a hash value for each transmission, and the processing load on the server 202 can be reduced.

プロキシ42は、ファイル名、ファイル本体、ハッシュ値のうち少なくともファイル本体をウェブブラウザ40へ転送する。このとき、プロキシ42において、受信したアセットデータのコンテンツ変換等の処理を行ってもよい。例えば、ウェブブラウザ40でサポートされているデータ形式等に変換する処理を行ってもよい。プロキシ42は、ネイティブ部分によって実現されているので、情報端末200の記憶部36の容量、表示部34の画面の解像度、情報端末200の処理部30の処理速度や利用できるデータ形式等の情報を情報端末200から得ることが容易であり、これらの情報に基づいて情報端末200毎に応じた処理を適用できる利点がある。   The proxy 42 transfers at least the file body among the file name, the file body, and the hash value to the web browser 40. At this time, the proxy 42 may perform processing such as content conversion of the received asset data. For example, you may perform the process converted into the data format etc. which are supported by the web browser 40. Since the proxy 42 is realized by a native part, information such as the capacity of the storage unit 36 of the information terminal 200, the resolution of the screen of the display unit 34, the processing speed of the processing unit 30 of the information terminal 200, and a usable data format, etc. It is easy to obtain from the information terminal 200, and there is an advantage that processing corresponding to each information terminal 200 can be applied based on such information.

ウェブブラウザ40は、受け取ったアセットデータを用いて画像表示等の処理を行う。また、ウェブブラウザ40は、必要に応じて受け取ったアセットデータをブラウザキャッシュ40aに記憶(キャッシング)させる。   The web browser 40 performs processing such as image display using the received asset data. The web browser 40 stores (caches) the received asset data in the browser cache 40a as necessary.

また、プロキシ42は、ファイル名、ファイル本体、ハッシュ値をネイティブキャッシュ38に記憶させる。このような処理を行い、プロキシ42は、ネイティブキャッシュ38の記憶完了を受け、サーバ202に受け取り通知を送信する。   Further, the proxy 42 stores the file name, the file body, and the hash value in the native cache 38. By performing such processing, the proxy 42 receives the storage completion of the native cache 38 and transmits a reception notification to the server 202.

このように、ユーザが情報端末200を使用してゲームについての一定の操作を行う都度、情報端末200で実行されるアプリケーションに応じてプロキシ42(ダウンローダ44)を用いてウェブブラウザ40で使用されるアセットデータをサーバ202から取得することができる。   In this way, whenever the user performs a certain operation on the game using the information terminal 200, the proxy 42 (downloader 44) is used in the web browser 40 according to the application executed on the information terminal 200. Asset data can be obtained from the server 202.

このとき、サーバ202からページの表示に必要なファイルのデータがそのまま送られて来るのではなく、ファイル名とそのハッシュ値がまず送られてくる。そこで、そのハッシュ値を利用して、当該ファイル(ファイル本体)がネイティブキャッシュ38に記憶されているものかを判定し、記憶されている場合にはサーバ202に、ファイル本体の送信を要求しない。これによって、通信するデータ量を大幅に削減することができ、通信の効率を高めることができる。したがって、ネットワーク204の通信容量が十分でない場合であっても必要なデータのみを通信するようにすることができる。   At this time, the file data necessary for displaying the page is not sent as it is from the server 202, but the file name and its hash value are sent first. Therefore, using the hash value, it is determined whether the file (file body) is stored in the native cache 38. If the file is stored, the server 202 is not requested to transmit the file body. As a result, the amount of data to be communicated can be greatly reduced, and the communication efficiency can be increased. Accordingly, only necessary data can be communicated even when the communication capacity of the network 204 is not sufficient.

また、ファイルの本体であるアセットデータ自体はプロキシ42からアクセスされるネイティブキャッシュ38に記憶することで、ブラウザキャッシュ40aのみを用いる場合に比して、データ容量を気にせずにファイルをキャッシュすることができる。一般的に、ウェブブラウザ40からアクセス可能なブラウザキャッシュ40aは容量が小さく、アセットデータ、特に画像データやトゥルータイプフォント(ttf)等の容量の大きなアセットデータのキャッシングには適していない。一方、ネイティブキャッシュ38は、ネイティブアプリケーションによって実現されるプロキシ42からアクセス可能であり、情報端末200の記憶部36の容量等に応じて比較的自由に容量を設定できるので、画像データやトゥルータイプフォント(ttf)等の容量の大きなアセットデータのキャッシングには適している。   In addition, the asset data itself, which is the main body of the file, is stored in the native cache 38 accessed from the proxy 42, so that the file can be cached without worrying about the data capacity as compared with the case where only the browser cache 40a is used. Can do. Generally, the browser cache 40a accessible from the web browser 40 has a small capacity, and is not suitable for caching asset data, particularly asset data having a large capacity such as image data and true type font (ttf). On the other hand, the native cache 38 can be accessed from the proxy 42 realized by a native application, and the capacity can be set relatively freely according to the capacity of the storage unit 36 of the information terminal 200, so that image data and true type fonts can be set. It is suitable for caching asset data with a large capacity such as (ttf).

また、ウェブブラウザ40からみれば、従来のようにサーバ202にアクセスするのと同様にプロキシ42にアクセスすることによってアセットデータを取得することができる。プロキシ42では、ネイティブキャッシュ38のアクセスが許容され、ネイティブキャッシュ38に記憶されたデータについて破損がないか等のチェックをウェブブラウザ40から独立して実行すること等が可能であり、その他の利用も可能となる。   Further, when viewed from the web browser 40, asset data can be acquired by accessing the proxy 42 in the same manner as accessing the server 202 as in the prior art. The proxy 42 is allowed to access the native cache 38, and can check whether the data stored in the native cache 38 is damaged or not independently from the web browser 40. It becomes possible.

さらに、アプリケーションにプロキシ42及びダウンローダ44の機能を実現するネイティブ部分実行部を組み込むことによって、アプリケーションによる処理が終了した時点でプロキシ42及びダウンローダ44の機能も終了させることができる。これにより、ゲーム等の処理を終了させた時点でプロキシ42やダウンローダ44の処理も終了させることができ、情報端末200のリソースを開放して他のアプリケーションでの利用を可能としたり、情報端末200のバッテリの消耗を低減させたりすることができる。   Furthermore, by incorporating a native partial execution unit that implements the functions of the proxy 42 and the downloader 44 into the application, the functions of the proxy 42 and the downloader 44 can be terminated when the processing by the application is completed. As a result, the processing of the proxy 42 and the downloader 44 can be terminated when the processing of the game or the like is terminated, and the resources of the information terminal 200 can be released to be used in other applications, or the information terminal 200 can be used. Battery consumption can be reduced.

なお、本実施の形態では、1ページの表示毎にアセットデータを要求する例について説明したが、これに限定されるものでなく、複数のページの表示に必要なアセットデータを一度に纏めて取得してもよい。   In this embodiment, an example in which asset data is requested for each display of one page has been described. However, the present invention is not limited to this, and asset data necessary for displaying a plurality of pages can be acquired at once. May be.

また、情報端末200からのアクセス時において、それがそのゲームについての初回のアクセスであることを判定する手段を有すれば、その最初の応答では、送信すべきデータをJSON(JavaScript Object Notation)化してハッシュ値とデータを一度に転送してもよい。   In addition, if there is a means for determining that this is the first access to the game at the time of access from the information terminal 200, the data to be transmitted is converted into JSON (JavaScript Object Notation) in the first response. The hash value and data may be transferred at once.

また、サーバ202において、ハッシュ値を算出中にクエリがあると、サーバ202は、古いハッシュ値を返す場合があることも想定される。たとえば、ファイルのバージョンについて、ファイルシステムに依存しないフィンガープリントを用いているならば、
(1)準備用ディレクトリーツリーに新規ファイルを置く
(2)追加ファイルのハッシュ値を算出する
(3)ハッシュ値が算出できたところで、リリース用ディレクトリーツリーに置く
こととしてもよい。
In addition, if there is a query while the hash value is being calculated in the server 202, it may be assumed that the server 202 may return an old hash value. For example, if you use a file system-independent fingerprint for the file version,
(1) Place a new file in the preparation directory tree. (2) Calculate a hash value of the additional file. (3) When the hash value has been calculated, it may be placed in the release directory tree.

また、複数ファイルを不可分に更新する場合への対応として上記のような対応をすることも可能である。   Moreover, it is also possible to take the above-described measures as a response to the case where a plurality of files are updated indivisiblely.

さらに、上記処理の中で、ブラウザキャッシュ40aに記憶するデータと、ネイティブキャッシュ38に記憶するデータを最適化してもよい。   Further, in the above processing, the data stored in the browser cache 40a and the data stored in the native cache 38 may be optimized.

<変形例>
上記実施の形態では、情報端末200はネットワーク204を介してサーバ202から情報を直接受信する態様としたが、これに限定されるものではない。本変形例では、情報端末200は、コンテンツ・デリバリ・ネットワーク(CDN)206を介してサーバ202から情報を受信する。CDN206は、コンテンツ配信などを行うサイト運営側がエンドユーザーに対して効率よく安定して提供するネットワークであり、アクセス集中等によるサーバ202の負担を軽減することを可能とする。
<Modification>
In the above embodiment, the information terminal 200 directly receives information from the server 202 via the network 204. However, the present invention is not limited to this. In this modification, the information terminal 200 receives information from the server 202 via a content delivery network (CDN) 206. The CDN 206 is a network that is efficiently and stably provided to an end user by a site management side that performs content distribution and the like, and can reduce the load on the server 202 due to access concentration or the like.

CDN206は、サーバ202のアセットデータと同期をとっているサーバ(以下、キャッシュサーバ)を複数台接続し、情報端末200からのアクセスをキャッシュサーバに振り分ける構成とされる。これにより、サーバ202へのアクセスを分散させることができる。CDN206で構成されたサイトへアクセスする場合、情報端末200は初めにサーバ202にアクセスする。しかしながら、そこでデータのやり取りは行われず、サーバ202が情報端末200から最も近くにあるCDN206のキャッシュサーバにアクセスを振り分ける。情報端末200からのこれ以降のアクセスは、振り分けられたキャッシュサーバに対して行われるように設定され、データの要求に対するレスポンスも良くなり、サーバ202の負荷も軽減される。   The CDN 206 is configured to connect a plurality of servers (hereinafter referred to as cache servers) synchronized with the asset data of the server 202 and distribute access from the information terminal 200 to the cache servers. Thereby, access to the server 202 can be distributed. When accessing the site configured by the CDN 206, the information terminal 200 first accesses the server 202. However, no data is exchanged there, and the server 202 distributes access to the cache server of the CDN 206 that is closest to the information terminal 200. Subsequent accesses from the information terminal 200 are set to be performed on the distributed cache server, the response to the data request is improved, and the load on the server 202 is also reduced.

<実施形態の効果>
このように、本実施形態では、以下のような効果が得られる。
・ネイティブキャッシュ38においてファイルの本体であるアセットデータを記憶できるため、ブラウザキャッシュ40aの容量が小さくても問題が少ない。
・ブラウザキャッシュ40aはウェブブラウザ40により利用されるものであり、ウェブブラウザ40の外にある処理部30などによっては制御が難しい。本実施形態では、ネイティブ部分実行部ではネイティブキャッシュ38に記憶されているアセットデータを用いることができるので、アプリケーションからブラウザキャッシュ40aに記憶されているデータを扱う必要がなくなり、そのような問題は生じない。ウェブブラウザ40からはプロキシ42を介してネイティブキャッシュ38に記憶されているデータを用いることができるので効率的な処理が行え、サーバ202との間で無駄な通信が発生することを防止できる。
・ゲーム等のアプリケーション起動時は、アプリのダウンロードだけを必要とし、大きな容量のデータのダウンロードなど特別な処理を必要とせず、起動時間を短縮できる。
・アプリケーション起動中でも、アセットデータなどのアップデートが可能であり、ユーザが必要とする時点での最新データを供給できる。
・アプリケーションによる処理を終了させた時点でプロキシ42やダウンローダ44の処理も終了させることができ、情報端末200のリソースを開放して他のアプリケーションでの利用を可能としたり、情報端末200のバッテリの消耗を低減させたりすることができる。
<Effect of embodiment>
Thus, in the present embodiment, the following effects can be obtained.
Since asset data that is the main body of the file can be stored in the native cache 38, there are few problems even if the capacity of the browser cache 40a is small.
The browser cache 40a is used by the web browser 40 and is difficult to control depending on the processing unit 30 and the like outside the web browser 40. In this embodiment, since the asset data stored in the native cache 38 can be used in the native partial execution unit, it is not necessary to handle the data stored in the browser cache 40a from the application, and such a problem arises. Absent. Since the data stored in the native cache 38 can be used from the web browser 40 via the proxy 42, efficient processing can be performed, and wasteful communication with the server 202 can be prevented.
-When an application such as a game is started, only the application needs to be downloaded, and no special processing such as downloading a large amount of data is required, thereby shortening the startup time.
-Even when the application is running, asset data can be updated, and the latest data at the time required by the user can be supplied.
When the processing by the application is terminated, the processing of the proxy 42 and the downloader 44 can be terminated, so that the resources of the information terminal 200 can be released and used in other applications, or the battery of the information terminal 200 can be used. Consumption can be reduced.

10 ウェブブラウザ、10a ダウンローダ、10b ブラウザキャッシュ、12 ネイティブ、12a ストレージ、20 メモリ、22 データ更新部、30 処理部、32 入力部、34 表示部、36 記憶部、38 ネイティブキャッシュ、40 ウェブブラウザ、40a ブラウザキャッシュ、42 プロキシ、44 ダウンローダ、100 携帯端末、102 サーバ、104 ネットワーク、200 情報端末、202 サーバ、204 ネットワーク。   10 web browser, 10a downloader, 10b browser cache, 12 native, 12a storage, 20 memory, 22 data update unit, 30 processing unit, 32 input unit, 34 display unit, 36 storage unit, 38 native cache, 40 web browser, 40a Browser cache, 42 proxy, 44 downloader, 100 mobile terminal, 102 server, 104 network, 200 information terminal, 202 server, 204 network.

Claims (4)

内蔵された処理部が実行するネイティブ部分実行部と、
ネットワークを介して接続されたサーバから受けた情報の表示処理を行うウェブブラウザと、
が組み合わされたアプリケーションを実行する情報端末であって、
前記ネイティブ部分実行部及び前記ウェブブラウザを実行可能な実行手段は、
前記ネイティブ部分実行部にてネットワークを介してサーバにアクセスして通信を行い、前記サーバから情報を取得可能な通信手段と、
前記通信手段によって取得した情報を記憶可能な記憶手段と、
を備え、
前記記憶手段は、前記ウェブブラウザからアクセス可能な第1記憶手段と、前記ネイティブ部分実行部からアクセス可能な第2記憶手段と、を含み、
前記第1記憶手段及び前記第2記憶手段の少なくとも一つに前記表示処理に必要なアセットデータが記憶されている場合には、記憶されている前記アセットデータを前記ウェブブラウザに渡し、
前記第1記憶手段に前記アセットデータが記憶されていない場合、前記通信手段によって、前記サーバから前記アセットデータのバージョン情報を取得し、前記バージョン情報を用いて前記第2記憶手段に前記アセットデータが記憶されていないと判別された場合に、前記サーバにアクセスして前記アセットデータを取得し、取得した前記アセットデータを前記ウェブブラウザに渡すことを特徴とする情報端末。
A native partial execution unit executed by a built-in processing unit;
A web browser for displaying information received from a server connected via a network;
Is an information terminal that executes an application in which
Execution means capable of executing the native part execution unit and the web browser are:
Communication means for accessing and communicating with a server via a network in the native part execution unit, and acquiring information from the server;
Storage means capable of storing information acquired by the communication means;
With
The storage means includes first storage means accessible from the web browser, and second storage means accessible from the native part execution unit,
When asset data necessary for the display process is stored in at least one of the first storage unit and the second storage unit, the stored asset data is passed to the web browser,
If the previous SL asset data in the first storage means is not stored, by said communication means, said acquired version information of the asset data from the server, the asset data into said second storage means using said version information When it is determined that is not stored, the information terminal is accessed to acquire the asset data by accessing the server, and pass the acquired asset data to the web browser.
請求項1に記載の情報端末であって、
前記サーバから取得された前記アセットデータを前記第2記憶手段に記憶させることを特徴とする情報端末。
The information terminal according to claim 1,
An information terminal characterized in that the asset data acquired from the server is stored in the second storage means.
請求項1又は2に記載の情報端末であって、
前記通信手段は、前記サーバから取得される前記アセットデータを前記ウェブブラウザで処理可能なデータ形式に変換することを特徴とする情報端末。
The information terminal according to claim 1 or 2,
The information terminal characterized in that the communication means converts the asset data acquired from the server into a data format that can be processed by the web browser.
コンピュータ端末内の処理部が実行するネイティブ部分実行部と、
前記コンピュータ端末とネットワークを介して接続されたサーバから受けた情報の表示処理を行うウェブブラウザと、
が組み合わされたアプリケーションを含むデータ処理プログラムであって、
前記コンピュータ端末を、
前記ネイティブ部分実行部及び前記ウェブブラウザを実行可能な実行手段は、
前記ネイティブ部分実行部にてネットワークを介してサーバにアクセスして通信を行い、前記サーバから情報を取得可能な通信手段と、
前記通信手段によって取得した情報を記憶可能な記憶手段と、
を備え、
前記記憶手段は、前記ウェブブラウザからアクセス可能な第1記憶手段と、前記ネイティブ部分実行部からアクセス可能な第2記憶手段と、を含み、
前記第1記憶手段及び前記第2記憶手段の少なくとも一つに前記表示処理に必要なアセットデータが記憶されている場合には、記憶されている前記アセットデータを前記ウェブブラウザに渡し、
前記第1記憶手段に前記アセットデータが記憶されていない場合、前記通信手段によって、前記サーバから前記アセットデータのバージョン情報を取得し、前記バージョン情報を用いて前記第2記憶手段に前記アセットデータが記憶されていないと判別された場合に、前記サーバにアクセスして前記アセットデータを取得し、取得した前記アセットデータを前記ウェブブラウザに渡す情報端末として機能させることを特徴とするデータ処理プログラム。
A native partial execution unit executed by a processing unit in a computer terminal;
A web browser for displaying information received from a server connected to the computer terminal via a network;
A data processing program including an application in which
The computer terminal;
Execution means capable of executing the native part execution unit and the web browser are:
Communication means for accessing and communicating with a server via a network in the native part execution unit, and acquiring information from the server;
Storage means capable of storing information acquired by the communication means;
With
The storage means includes first storage means accessible from the web browser, and second storage means accessible from the native part execution unit,
When asset data necessary for the display process is stored in at least one of the first storage unit and the second storage unit, the stored asset data is passed to the web browser,
If the previous SL asset data in the first storage means is not stored, by said communication means, said acquired version information of the asset data from the server, the asset data into said second storage means using said version information A data processing program that functions as an information terminal that accesses the server to acquire the asset data and passes the acquired asset data to the web browser when it is determined that is not stored.
JP2015087362A 2015-04-22 2015-04-22 Information terminal and data processing program Active JP6318113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015087362A JP6318113B2 (en) 2015-04-22 2015-04-22 Information terminal and data processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015087362A JP6318113B2 (en) 2015-04-22 2015-04-22 Information terminal and data processing program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013150483A Division JP5738935B2 (en) 2013-07-19 2013-07-19 Information terminal and data processing program

Publications (3)

Publication Number Publication Date
JP2015165416A JP2015165416A (en) 2015-09-17
JP2015165416A5 JP2015165416A5 (en) 2016-09-01
JP6318113B2 true JP6318113B2 (en) 2018-04-25

Family

ID=54187856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015087362A Active JP6318113B2 (en) 2015-04-22 2015-04-22 Information terminal and data processing program

Country Status (1)

Country Link
JP (1) JP6318113B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11263271B2 (en) 2018-09-11 2022-03-01 Book Walker Co., Ltd. Digital content viewing system, digital content viewing method, and computer-readable recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4174918B2 (en) * 1999-07-01 2008-11-05 ソニー株式会社 Data distribution method and apparatus, and data reception method and apparatus
DE19964030A1 (en) * 1999-12-30 2001-07-05 Ibm Method of loading of documents e.g. HTML-documents, on the Internet, involves taking user characteristics into consideration and automatically verifying the presented information for links to other information
JP2011180820A (en) * 2010-03-01 2011-09-15 Nec Corp Data transfer management apparatus, data transfer management method and data transfer management program

Also Published As

Publication number Publication date
JP2015165416A (en) 2015-09-17

Similar Documents

Publication Publication Date Title
JP6410280B2 (en) Website access method, apparatus, and website system
JP5395967B1 (en) Data processing system, information terminal, data processing method, and data processing program
US8903838B2 (en) System and method for preventing duplicate file uploads in a synchronized content management system
US8874697B2 (en) Content download based on hashes
CN106161523B (en) A kind of data processing method and equipment
KR20150110532A (en) Peer-to-peer software updates
CN108920703B (en) HTTP cache optimization method and device
BR112014001748B1 (en) METHOD AND SYSTEM TO UPLOAD A FILE IN A WEB GAME
CN103297447B (en) A kind of resource share method and its equipment
JP5738935B2 (en) Information terminal and data processing program
JP2009042944A (en) File distribution system
JP6318113B2 (en) Information terminal and data processing program
TWI505100B (en) Method for sharing and synchronizing data in local area network
JP2009110041A (en) Web screen sharing system, its terminal for sharing, and its sharing program
US9674220B2 (en) System and method thereof for optimizing delivery of content over a network
JP5431618B1 (en) Data processing system, information terminal, data processing method, and data processing program
JP2014160452A (en) Data processing system, information terminal, data processing method, and data processing program
US20140359062A1 (en) Data transferring apparatus, data transferring system and non-transitory computer readable medium
JP6579898B2 (en) Information processing system, information processing apparatus control method, and program
US20170208108A1 (en) Streaming media with a server identified at runtime
JP6007753B2 (en) Management server, hardware management device, information processing device, hardware management system, hardware management method, and computer program
CN113806595B (en) Code search system generation method, code search method and search server
CN113342837B (en) Data transmission method, device, electronic equipment and computer readable medium
JP2009205197A (en) Cgm distribution system and cgm distribution method
JP2015127878A (en) Document management server device, information processing method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160715

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170627

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180313

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180327

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180402

R150 Certificate of patent or registration of utility model

Ref document number: 6318113

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250