JP2017021771A - Information processor and information processing program - Google Patents

Information processor and information processing program Download PDF

Info

Publication number
JP2017021771A
JP2017021771A JP2016034332A JP2016034332A JP2017021771A JP 2017021771 A JP2017021771 A JP 2017021771A JP 2016034332 A JP2016034332 A JP 2016034332A JP 2016034332 A JP2016034332 A JP 2016034332A JP 2017021771 A JP2017021771 A JP 2017021771A
Authority
JP
Japan
Prior art keywords
information
proxy
information processing
processing unit
native
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.)
Granted
Application number
JP2016034332A
Other languages
Japanese (ja)
Other versions
JP2017021771A5 (en
JP6607805B2 (en
Inventor
坊野 博典
Hirofumi Bono
博典 坊野
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 JP2016034332A priority Critical patent/JP6607805B2/en
Publication of JP2017021771A publication Critical patent/JP2017021771A/en
Publication of JP2017021771A5 publication Critical patent/JP2017021771A5/ja
Application granted granted Critical
Publication of JP6607805B2 publication Critical patent/JP6607805B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce the processing time in the native view while easily acquiring information used in the processing in the native view.SOLUTION: An information processor comprises a web view processing unit 30 to perform processing using a function of a web browser, and a native view processing unit 32 to perform processing without using a function of a web browser. A method comprises: the web view processing unit 30 requesting via a proxy processing unit 34 information from a server 102 which is connected through an information network 106; in response to the request, the proxy processing unit 34 acquiring the information from the server 102; storing the information in memory; the proxy processing unit 34 converting the information into a format allowing processing in the native view processing unit 32; and transmitting the format-converted information from the proxy processing unit 34 to the native view processing unit 32.SELECTED DRAWING: Figure 4

Description

本発明は、情報処理装置及び情報処理プログラムに関する。   The present invention relates to an information processing apparatus and an information processing program.

電子ゲーム等においてウェブブラウザの機能によらず特定の情報処理端末及びOSの組み合わせで実行可能なネイティブアプリケーションにて画像の描画等の処理が行われている。ネイティブアプリケーションを用いた場合、ウェブブラウザの機能を用いたウェブビューによって処理を行う場合に比べて画面のレイアウト等の設計が複雑となる。また、スマートフォン用のネイティブアプリケーションを更新する場合、アプリケーションを提供するプラットフォームを運用する会社等の承認が必要であり、更新処理が煩雑となり、更新に時間を要する。   In an electronic game or the like, processing such as image drawing is performed by a native application that can be executed by a combination of a specific information processing terminal and OS regardless of the function of a web browser. When a native application is used, the design of the screen layout and the like is more complicated than when processing is performed using a web view using the function of a web browser. In addition, when updating a native application for a smartphone, the approval of a company or the like that operates a platform that provides the application is necessary, and the update process becomes complicated and takes time to update.

そこで、ウェブビューによって描画された画像とネイティブビューによって描画された画像とを組み合わせて画面の表示を行うネイティブアプリケーションが知られている。また、Javascript(登録商標)等の高水準言語で記述されたプログラムをダウンロードし、ネイティブコードに変換することでネイティブアプリケーションの更新を容易にする技術が記載されている(特許文献1等)。   Therefore, a native application that displays a screen by combining an image drawn by a web view and an image drawn by a native view is known. In addition, a technique for facilitating updating of a native application by downloading a program written in a high-level language such as Javascript (registered trademark) and converting the program into a native code is disclosed (Patent Document 1 or the like).

特表2014−507023号公報Special table 2014-507023 gazette

ところで、ウェブビューによる処理とネイティブビューによる処理とは独立した処理であるので、ウェブビューによってダウンロードされたデータをネイティブビューに転送する際に時間を要する。また、ウェブビューによってダウンロードされたデータはネイティブビューで処理するために形式を変換する必要がある。そのため、処理命令から実際にデータを処理するまでの時間が遅延することが課題となっている。特に、電子ゲーム等において画像描画や音声再生の遅れが許容されない場合に顕著な課題となっている。   By the way, since the process by the web view and the process by the native view are independent processes, it takes time to transfer the data downloaded by the web view to the native view. Also, the data downloaded by the web view needs to be converted in order to be processed by the native view. For this reason, the problem is that the time from the processing instruction to the actual processing of data is delayed. In particular, it is a significant problem when delays in image drawing and audio reproduction are not allowed in electronic games and the like.

本発明の1つの態様は、ウェブブラウザの機能を利用して処理を行う第1の情報処理手段と、ウェブブラウザの機能を利用せず処理を行う第2の情報処理手段と、によって処理を行う情報処理装置であって、前記第1の情報処理手段からプロキシを介して情報網によって接続された外部サーバに情報を要求する外部情報要求手段と、前記要求に応じて、前記プロキシにおいて前記外部サーバから情報を取得し、前記情報をメモリに保存する情報取得手段と、前記プロキシにおいて前記情報を前記第2の情報処理手段で処理可能な形式に変換する情報変換手段と、前記情報変換手段において形式が変換された前記情報を前記プロキシから前記第2の情報処理手段に送信するネイティブ用情報送信手段と、を備えることを特徴とする情報処理装置である。   One aspect of the present invention performs processing by a first information processing unit that performs processing using the function of a web browser and a second information processing unit that performs processing without using the function of the web browser. An information processing apparatus comprising: an external information requesting unit that requests information from the first information processing unit to an external server connected via an information network through a proxy; and the external server in the proxy in response to the request Information acquisition means for acquiring information from the memory and storing the information in a memory; information conversion means for converting the information into a format that can be processed by the second information processing means in the proxy; and format in the information conversion means An information processing device for native use for transmitting the information converted from the proxy to the second information processing device. A.

本発明の別の態様は、ウェブブラウザの機能を利用して処理を行う第1の情報処理手段と、ウェブブラウザの機能を利用せず処理を行う第2の情報処理手段と、を含む情報処理プログラムであって、コンピュータを、前記からプロキシを介して情報網によって接続された外部サーバに情報を要求する外部情報要求手段と、前記要求に応じて、前記プロキシにおいて前記外部サーバから情報を取得し、前記情報をメモリに保存する情報取得手段と、前記プロキシにおいて前記情報を前記第2の情報処理手段で処理可能な形式に変換する情報変換手段と、前記情報変換手段において形式が変換された前記情報を前記プロキシから前記第2の情報処理手段に送信するネイティブ用情報送信手段と、して機能させることを特徴とする情報処理プログラムである。   Another aspect of the present invention is an information processing including a first information processing unit that performs processing using a function of a web browser and a second information processing unit that performs processing without using the function of the web browser. An external information requesting means for requesting information from an external server connected by an information network through a proxy from the computer, and acquiring information from the external server at the proxy in response to the request Information acquisition means for storing the information in a memory; information conversion means for converting the information into a format that can be processed by the second information processing means in the proxy; and the format converted in the information conversion means An information processing program that functions as a native information transmission unit that transmits information from the proxy to the second information processing unit. It is.

本発明の別の態様は、情報処理装置において、ウェブブラウザの機能を利用して処理を行う第1の情報処理手段からプロキシを介して情報網によって接続された外部サーバに情報を要求する第1の工程と、前記要求に応じて、前記プロキシにおいて前記外部サーバから情報を取得し、前記情報をメモリに保存する第2の工程と、前記プロキシにおいて前記情報をウェブブラウザの機能を利用せず処理を行う第2の情報処理手段で処理可能な形式に変換する第3の工程と、前記情報変換手段において形式が変換された前記情報を前記プロキシから前記第2の情報処理手段に送信する第4の工程と、を行うことを特徴とする情報処理方法である。   According to another aspect of the present invention, in the information processing apparatus, the first information processing unit that performs processing using the function of the web browser requests information from an external server connected by an information network through a proxy. A second step of acquiring information from the external server in the proxy and storing the information in a memory in response to the request, and processing the information in the proxy without using a function of a web browser. A third step of converting the information into a format that can be processed by the second information processing means, and transmitting the information whose format has been converted by the information conversion means from the proxy to the second information processing means. And an information processing method characterized by performing the above steps.

ここで、前記要求は、前記ネイティブ用情報送信手段において前記プロキシから前記ネイティブビューへ前記情報が送られた後、前記情報を前記プロキシから削除するか否かを示す削除指令を含み、前記削除指令が削除するという指令である場合、前記プロキシは、前記プロキシから前記ネイティブビューへ前記情報が送られた後に前記情報を前記メモリから削除することが好適である。   Here, the request includes a deletion instruction indicating whether or not to delete the information from the proxy after the information is sent from the proxy to the native view in the native information transmission unit, and the deletion instruction The proxy preferably deletes the information from the memory after the proxy sends the information to the native view.

また、前記情報変換手段において形式が変換された前記情報へのアクセスするためのアクセス情報を前記ウェブビューから前記ネイティブビューに送信するアクセス情報送信手段を備え、前記ネイティブ用情報送信手段は、前記ネイティブビューから前記アクセス情報を用いてアクセスされた場合に前記情報変換手段において形式が変換された前記情報を前記プロキシから前記ネイティブビューに送信することが好適である。   The information conversion means further comprises access information transmission means for transmitting access information for accessing the information whose format has been converted from the web view to the native view. When accessed from the view using the access information, it is preferable that the information whose format is converted by the information conversion means is transmitted from the proxy to the native view.

また、前記要求は、前記第1の情報処理手段において利用される情報の形式から前記第2の情報処理手段において利用される情報の形式へ変換する方法を特定する情報を含むことが好適である。   In addition, it is preferable that the request includes information specifying a method for converting from the information format used in the first information processing unit to the information format used in the second information processing unit. .

本発明によれば、ネイティブビューでの処理に供される情報を容易に取得すると共に、ネイティブビューでの処理時間を短縮することができる。   According to the present invention, it is possible to easily acquire information used for processing in the native view and reduce processing time in the native view.

本発明の実施の形態における情報処理システムの構成を示す図である。It is a figure which shows the structure of the information processing system in embodiment of this invention. 本発明の実施の形態におけるサーバの構成を示す図である。It is a figure which shows the structure of the server in embodiment of this invention. 本発明の実施の形態におけるクライアントの構成を示す図である。It is a figure which shows the structure of the client in embodiment of this invention. 本発明の実施の形態における情報処理システムの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the information processing system in embodiment of this invention. 本発明の実施の形態における情報処理を説明するフローチャートである。It is a flowchart explaining the information processing in embodiment of this invention.

本発明の実施の形態における情報処理システム100は、図1に示すように、サーバ102及びクライアント104を含んで構成される。サーバ102とクライアント104は、インターネット等の情報通信網106を介して情報交換可能に接続される。   An information processing system 100 according to an embodiment of the present invention includes a server 102 and a client 104 as shown in FIG. The server 102 and the client 104 are connected to be able to exchange information via an information communication network 106 such as the Internet.

サーバ102は、図2に示すように、処理部10、記憶部12、入力部14、出力部16及び通信部18を含んで構成される。処理部10は、CPU等の演算処理を行う手段を含む。処理部10は、記憶部12に記憶されているサーバプログラムを実行することによって、本実施の形態における情報処理システムにおいてアプリケーションの更新のための情報等を送信するサーバの機能を実現する。記憶部12は、半導体メモリやメモリカード等の記憶手段を含む。記憶部12は、処理部10とアクセス可能に接続され、サーバプログラム、処理に必要な情報を記憶する。入力部14は、情報を入力する手段を含む。入力部14は、例えば、管理者からの入力を受けるキーボード、タッチパネル、ボタン等を備える。出力部16は、管理者から入力情報を受け付けるためのユーザインターフェース画面(UI)等のサーバ102での処理結果を出力する手段を含む。出力部16は、例えば、管理者に対して画像を呈示するディスプレイを備える。通信部18は、情報通信網106を介して、クライアント104との情報の通信を行うインターフェースを含んで構成される。通信部18による通信は有線及び無線を問わない。   As illustrated in FIG. 2, the server 102 includes a processing unit 10, a storage unit 12, an input unit 14, an output unit 16, and a communication unit 18. The processing unit 10 includes means for performing arithmetic processing such as a CPU. The processing unit 10 executes a server program stored in the storage unit 12 to realize a server function of transmitting information for updating the application in the information processing system according to the present embodiment. The storage unit 12 includes storage means such as a semiconductor memory or a memory card. The storage unit 12 is connected to the processing unit 10 so as to be accessible, and stores a server program and information necessary for processing. The input unit 14 includes means for inputting information. The input unit 14 includes, for example, a keyboard, a touch panel, and buttons that receive input from the administrator. The output unit 16 includes means for outputting a processing result in the server 102 such as a user interface screen (UI) for receiving input information from the administrator. The output unit 16 includes, for example, a display that presents an image to the administrator. The communication unit 18 includes an interface that communicates information with the client 104 via the information communication network 106. Communication by the communication unit 18 may be wired or wireless.

クライアント104は、図3に示すように、処理部20、記憶部22、入力部24、出力部26及び通信部28を含んで構成される。処理部20は、CPU等の演算処理を行う手段を含む。処理部20は、記憶部22に記憶されているクライアントプログラムを実行することによって、本実施の形態における情報処理システムにおけるクライアントの機能を実現する。クライアントプログラムは、ウェブブラウザの機能を利用して処理を行うウェブ処理プログラムと、ウェブブラウザの機能を利用せず、クライアント104及びそれに搭載されたOSの組み合わせによって処理を行うネイティブ処理プログラムとを含むネイティブアプリケーションを含むものとする。記憶部22は、半導体メモリやメモリカード等の記憶手段を含む。記憶部22は、処理部20とアクセス可能に接続され、クライアントプログラム、処理に必要な情報を記憶する。入力部24は、情報を入力する手段を含む。入力部24は、例えば、ユーザからの入力を受けるキーボード、タッチパネル、ボタン等を備える。出力部26は、ユーザから入力情報を受け付けるためのユーザインターフェース画面(UI)や投稿された情報を呈示する画面等のクライアント104での処理に必要な情報を出力する手段を含む。出力部26は、例えば、ユーザに対して画像を呈示するディスプレイを備える。通信部28は、情報通信網106を介して、サーバ102との情報の通信を行うインターフェースを含んで構成される。通信部28による通信は有線及び無線を問わない。   As shown in FIG. 3, the client 104 includes a processing unit 20, a storage unit 22, an input unit 24, an output unit 26, and a communication unit 28. The processing unit 20 includes means for performing arithmetic processing such as a CPU. The processing unit 20 executes the client program stored in the storage unit 22 to realize the client function in the information processing system according to the present embodiment. The client program includes a web processing program that performs processing using the function of the web browser, and a native processing program that does not use the function of the web browser and performs processing by a combination of the client 104 and the OS installed therein. Includes applications. The storage unit 22 includes storage means such as a semiconductor memory or a memory card. The storage unit 22 is connected to the processing unit 20 in an accessible manner, and stores a client program and information necessary for processing. The input unit 24 includes means for inputting information. The input unit 24 includes, for example, a keyboard, a touch panel, and buttons that receive input from the user. The output unit 26 includes means for outputting information necessary for processing in the client 104 such as a user interface screen (UI) for receiving input information from a user and a screen for presenting posted information. The output unit 26 includes, for example, a display that presents an image to the user. The communication unit 28 includes an interface that communicates information with the server 102 via the information communication network 106. Communication by the communication unit 28 may be wired or wireless.

本実施の形態では、ウェブブラウザの表示機能を利用したウェブビュー処理部30による画像描画処理と、ウェブブラウザの表示機能を利用しないネイティブビュー処理部32による画像描画処理と、を組み合わせて処理を行う例について説明する。また、本実施の形態では、図4の機能ブロック図に示すように、ウェブビュー処理部30及びネイティブビュー処理部32は、外部のサーバ102に直接接続されず、プロキシ処理部34を介して画像表示のための情報等を取得するものとする。   In the present embodiment, the image drawing process by the web view processing unit 30 using the display function of the web browser is combined with the image drawing process by the native view processing unit 32 not using the display function of the web browser. An example will be described. In the present embodiment, as shown in the functional block diagram of FIG. 4, the web view processing unit 30 and the native view processing unit 32 are not directly connected to the external server 102, but are connected via the proxy processing unit 34. Information for display etc. shall be acquired.

以下、図5のフローチャートを参照して、本実施の形態における処理について説明する。   Hereinafter, the processing in the present embodiment will be described with reference to the flowchart of FIG.

ステップS10では、ウェブビュー処理部30から画像の表示に必要な新たな情報(リソース)の要求をサーバ102に対して行われる。このステップの処理によって、クライアント104は外部情報要求手段として機能する。ウェブビュー処理部30は、プロキシ処理部34を介して画像表示に必要な情報をサーバ102に対して行う。このとき、要求される情報には、ウェブビュー処理部30において使用される情報(以下、ウェブ用情報という)及びネイティブビュー処理部32において使用される情報(以下、ネイティブ用情報)が含まれるものとする。   In step S <b> 10, a request for new information (resource) necessary for displaying an image is sent from the web view processing unit 30 to the server 102. Through the processing in this step, the client 104 functions as an external information request unit. The web view processing unit 30 performs information necessary for image display to the server 102 via the proxy processing unit 34. At this time, the requested information includes information used in the web view processing unit 30 (hereinafter referred to as web information) and information used in the native view processing unit 32 (hereinafter referred to as native information). And

リソースの要求は、情報を特定するための識別子を指定することによって行われる。識別子は、例えば、要求される情報を得るためのURLとすることができる。   The resource request is made by designating an identifier for specifying information. The identifier may be a URL for obtaining requested information, for example.

また、要求には、ウェブビューのファイル形式からネイティブビューで用いるデータ形式への変換方法(画像であればラスター、ベクトル等のデータの種別、ウェブビューが用いるファイル形式(JPG、PNG等)、ネイティブビューが用いるデータ形式(4096−color textureやfull−color texture等)、また音声であればMP3、AAC等のファイル形式、ネイティブビューが用いるデータ形式等を含む)や情報の削除の方法を示す削除指令を含むようにすることが好適である。削除指令は、後述する処理においてプロキシ処理部34からネイティブビュー処理部32へネイティブ用情報が送られた後、当該ネイティブ用情報をプロキシ処理部34のキャッシュから削除するか否かを示すものであることが好適である。   The request also includes a conversion method from the file format of the web view to the data format used in the native view (if it is an image, the type of data such as raster or vector, the file format used by the web view (JPG, PNG, etc.), native Deletion indicating the data format used by the view (4096-color texture, full-color texture, etc.), MP3 and AAC file formats for audio, including the data format used by the native view, etc., and information deletion method It is preferable to include a command. The deletion instruction indicates whether or not the native information is to be deleted from the cache of the proxy processing unit 34 after the native information is sent from the proxy processing unit 34 to the native view processing unit 32 in the process described later. Is preferred.

ステップS12では、サーバ102から要求された情報がクライアント104へ送信される。サーバ102は、プロキシ処理部34を介してクライアント104から送信された要求を受信すると、要求された情報をクライアント104に対して送信する。このステップの処理によって、サーバ102はサーバ情報送信手段として機能する。   In step S <b> 12, information requested from the server 102 is transmitted to the client 104. When the server 102 receives the request transmitted from the client 104 via the proxy processing unit 34, the server 102 transmits the requested information to the client 104. By the processing in this step, the server 102 functions as server information transmission means.

ステップS14では、クライアント104にてサーバ102から送信された情報が受信される。クライアント104は、プロキシ処理部34がサーバ102から送信された情報を受信し、記憶部22のキャッシュ領域に受信された情報を記憶させる。このステップの処理によって、クライアント104は情報取得手段として機能する。   In step S <b> 14, information transmitted from the server 102 is received by the client 104. In the client 104, the proxy processing unit 34 receives the information transmitted from the server 102 and stores the received information in the cache area of the storage unit 22. By the processing in this step, the client 104 functions as an information acquisition unit.

同時に、クライアント104は、受信された情報のうちネイティブ用情報をネイティブビュー処理部32において処理可能な形式に変換する処理を行う。クライアント104は、形式変換されたネイティブ用情報を記憶部22のキャッシュ領域に記憶させる。これにより、クライアント104は情報変換手段として機能する。   At the same time, the client 104 performs processing for converting native information in the received information into a format that can be processed by the native view processing unit 32. The client 104 stores the format-converted native information in the cache area of the storage unit 22. Thereby, the client 104 functions as an information conversion unit.

ステップS16では、ウェブ用情報がウェブビュー処理部30に送信される。プロキシ処理部34は、ステップS14において受信及びキャッシュされた情報のうちウェブビュー処理部30において利用されるウェブ用情報をウェブビュー処理部30に送信する。このステップの処理によって、プロキシ処理部34は、ウェブ用情報送信手段として機能する。   In step S <b> 16, the web information is transmitted to the web view processing unit 30. The proxy processing unit 34 transmits the web information used in the web view processing unit 30 among the information received and cached in step S <b> 14 to the web view processing unit 30. By the processing in this step, the proxy processing unit 34 functions as web information transmitting means.

さらに、本実施の形態では、ネイティブビュー処理部32がネイティブ用情報を取得するためのアクセス情報がプロキシ処理部34からウェブビュー処理部30へ送信される。すなわち、ステップS14においてプロキシ処理部34が形式を変換したネイティブ用情報にネイティブビュー処理部32がアクセスするためのアクセス情報、例えば記憶部22においてネイティブ用情報が格納されている記憶領域を示すURLがプロキシ処理部34からウェブビュー処理部30へ送信される。   Further, in the present embodiment, access information for the native view processing unit 32 to acquire native information is transmitted from the proxy processing unit 34 to the web view processing unit 30. That is, access information for the native view processing unit 32 to access the native information whose format has been converted by the proxy processing unit 34 in step S14, for example, a URL indicating a storage area in the storage unit 22 where the native information is stored. The data is transmitted from the proxy processing unit 34 to the web view processing unit 30.

ステップS18では、ウェブビュー処理部30にてウェブ用情報が受信される。ウェブビュー処理部30は、ステップS16にてプロキシ処理部34から送信されたウェブ用情報を受信する。このステップの処理によって、ウェブビュー処理部30は、ウェブ用情報受信手段として機能する。   In step S18, the web view processing unit 30 receives web information. The web view processing unit 30 receives the web information transmitted from the proxy processing unit 34 in step S16. By the processing in this step, the web view processing unit 30 functions as web information receiving means.

ウェブビュー処理部30は、プロキシ処理部34から取得したウェブ用情報を用いて処理を行うことができる。本実施の形態では、ウェブビュー処理部30は、ウェブビューの機能を用いて取得したウェブ用情報から画像を形成し、出力部26(ディスプレイやタッチパネル等)に当該画像を表示させる。   The web view processing unit 30 can perform processing using the web information acquired from the proxy processing unit 34. In the present embodiment, the web view processing unit 30 forms an image from the web information acquired using the web view function, and causes the output unit 26 (display, touch panel, etc.) to display the image.

また、本実施の形態では、ウェブビュー処理部30は、プロキシ処理部34から送信されたアクセス情報を受信する。   In the present embodiment, the web view processing unit 30 receives the access information transmitted from the proxy processing unit 34.

ステップS20では、ウェブビュー処理部30からネイティブビュー処理部32へアクセス情報が転送される。ウェブビュー処理部30は、ステップS16にてプロキシ処理部34から受信したアクセス情報をネイティブビュー処理部32へ転送する。このステップの処理によって、ウェブビュー処理部30は、アクセス情報送信手段として機能する。   In step S <b> 20, the access information is transferred from the web view processing unit 30 to the native view processing unit 32. The web view processing unit 30 transfers the access information received from the proxy processing unit 34 to the native view processing unit 32 in step S16. By the processing in this step, the web view processing unit 30 functions as an access information transmitting unit.

ステップS22では、ネイティブビュー処理部32にてアクセス情報が受信される。ネイティブビュー処理部32は、ステップS20においてウェブビュー処理部30から送信されたアクセス情報を受信する。このステップの処理によって、ネイティブビュー処理部32は、アクセス情報受信手段として機能する。   In step S22, the access information is received by the native view processing unit 32. The native view processing unit 32 receives the access information transmitted from the web view processing unit 30 in step S20. By the processing in this step, the native view processing unit 32 functions as an access information receiving unit.

ステップS24では、ネイティブビュー処理部32からプロキシ処理部34へネイティブ用情報の送信要求が行われる。ネイティブビュー処理部32は、ネイティブ用情報を送信することの要求をステップS22において受信したアクセス情報と共にプロキシ処理部34へ送信する。このステップの処理によって、ネイティブビュー処理部32はネイティブ用情報要求手段として機能する。   In step S <b> 24, a transmission request for native information is made from the native view processing unit 32 to the proxy processing unit 34. The native view processing unit 32 transmits a request for transmitting native information to the proxy processing unit 34 together with the access information received in step S22. By the processing in this step, the native view processing unit 32 functions as native information requesting means.

ステップS26では、ネイティブビュー処理部32から要求されたネイティブ情報がプロキシ処理部34からネイティブビュー処理部32へ送信される。プロキシ処理部34は、ステップS24においてネイティブビュー処理部32から送信された要求及びアクセス情報を受信すると、要求に応じてアクセス情報によって特定されるキャッシュの記憶領域からネイティブ用情報を読み出し、当該ネイティブ用情報をネイティブビュー処理部32へ送信する。このステップの処理によって、プロキシ処理部34はネイティブ用情報送信手段として機能する。   In step S <b> 26, the native information requested from the native view processing unit 32 is transmitted from the proxy processing unit 34 to the native view processing unit 32. When the proxy processing unit 34 receives the request and access information transmitted from the native view processing unit 32 in step S24, the proxy processing unit 34 reads the native information from the cache storage area specified by the access information in response to the request, and Information is transmitted to the native view processing unit 32. Through the processing in this step, the proxy processing unit 34 functions as native information transmission means.

なお、ステップS10においてサーバ102に送信された要求に情報の削除の方法を示す削除指令が含まれていた場合、プロキシ処理部34からネイティブビュー処理部32へネイティブ用情報が送られた後、当該削除指令に応じてネイティブ用情報をプロキシ処理部34のキャッシュから削除する。具体的には、アクセス情報によって特定される記憶領域に格納されているネイティブ用情報について、ステップS10での要求が当該情報を削除する削除指令であった場合、プロキシ処理部34は当該情報をネイティブビュー処理部32へ送信すると共に記憶部22のキャッシュ領域から削除する。   Note that if the request sent to the server 102 in step S10 includes a deletion command indicating a method for deleting information, after the native information is sent from the proxy processing unit 34 to the native view processing unit 32, The native information is deleted from the cache of the proxy processing unit 34 in response to the deletion command. Specifically, for the native information stored in the storage area specified by the access information, when the request in step S10 is a deletion command for deleting the information, the proxy processing unit 34 converts the information to the native information. The data is transmitted to the view processing unit 32 and deleted from the cache area of the storage unit 22.

ステップS28では、ネイティブビュー処理部32にてネイティブ用情報が受信される。このステップの処理によって、ネイティブビュー処理部32は、ネイティブ用情報受信手段として機能する。ネイティブビュー処理部32は、ステップS26にてプロキシ処理部34から送信されたネイティブ用情報を受信する。ネイティブビュー処理部32は、プロキシ処理部34から取得したネイティブ用情報を用いて処理を行うことができる。本実施の形態では、ネイティブビュー処理部32は、ネイティブビューの機能を用いて取得したネイティブ用情報から画像を形成し、出力部26(ディスプレイやタッチパネル等)に当該画像を表示させる。このとき、ステップS14においてプロキシ処理部34にてネイティブ用情報をネイティブビュー処理部32で処理可能な形式に変換してあるので、ネイティブビュー処理部32での画像表示処理の時間を短縮することができる。   In step S28, the native view processing unit 32 receives native information. By the processing in this step, the native view processing unit 32 functions as native information receiving means. The native view processing unit 32 receives the native information transmitted from the proxy processing unit 34 in step S26. The native view processing unit 32 can perform processing using the native information acquired from the proxy processing unit 34. In the present embodiment, the native view processing unit 32 forms an image from the native information acquired using the native view function, and causes the output unit 26 (display, touch panel, etc.) to display the image. At this time, in step S14, the proxy processing unit 34 converts the native information into a format that can be processed by the native view processing unit 32. Therefore, the time required for the image display processing in the native view processing unit 32 can be reduced. it can.

なお、本実施の形態では、アクセス情報を用いてネイティブビュー処理部32からプロキシ処理部34へネイティブ用情報の要求を行うものとしたが、これに限定されるものではない。例えば、プロキシ処理部34がネイティブ用情報を受信すると、形式変換等の処理を行った後、ネイティブビュー処理部32へネイティブ用情報を自動的に送信するプッシュ処理としてもよい。   In the present embodiment, the request for native information is made from the native view processing unit 32 to the proxy processing unit 34 using the access information, but the present invention is not limited to this. For example, when the proxy processing unit 34 receives native information, it may be a push process that automatically transmits the native information to the native view processing unit 32 after performing processing such as format conversion.

以上のように、本実施の形態における情報処理システム100では、ネイティブビュー処理部32にて処理されるネイティブ用情報がウェブビュー処理部30からの情報の要求に応じてサーバ102から提供される。そして、プロキシ処理部34を介してこれによって、ネイティブビュー処理部32から外部のサーバ102へ情報を要求することなく、ネイティブビュー処理部32において処理に供される情報を取得することができる。これにより、スマートフォン用のネイティブアプリケーション等において、アプリケーションを提供するプラットフォームを運用する会社の承認が必要とすることなく、当該会社の運用するサーバ102から更新に必要な情報を取得することができる。   As described above, in the information processing system 100 according to the present embodiment, native information processed by the native view processing unit 32 is provided from the server 102 in response to a request for information from the web view processing unit 30. Thus, the information provided for processing in the native view processing unit 32 can be acquired through the proxy processing unit 34 without requesting information from the native view processing unit 32 to the external server 102. As a result, information necessary for updating can be acquired from the server 102 operated by the company without requiring the approval of the company operating the platform that provides the application in the native application for the smartphone or the like.

また、ウェブビュー処理部30による処理とネイティブビュー処理部32による処理とは独立した処理であるが、ウェブビュー処理部30からの要求によってサーバ102から送信されたネイティブ用情報の形式をプロキシ処理部34にて予め変換することができる。これにより、ネイティブビュー処理部32において実際にデータを処理するための時間を短縮することができる。特に、電子ゲーム等において画像描画や音声再生の遅れが許容されない場合に処理速度を向上させることができる。   Further, the processing by the web view processing unit 30 and the processing by the native view processing unit 32 are independent processes, but the format of the native information transmitted from the server 102 by the request from the web view processing unit 30 is changed to the proxy processing unit. 34 can be converted in advance. Thereby, the time for actually processing data in the native view processing unit 32 can be reduced. In particular, the processing speed can be improved when delays in image drawing and audio reproduction are not allowed in an electronic game or the like.

10 処理部、12 記憶部、14 入力部、16 出力部、18 通信部、20 処理部、22 記憶部、24 入力部、26 出力部、28 通信部、30 ウェブビュー処理部、32 ネイティブビュー処理部、34 プロキシ処理部、100 情報処理システム、102 サーバ、104 クライアント。
10 processing units, 12 storage units, 14 input units, 16 output units, 18 communication units, 20 processing units, 22 storage units, 24 input units, 26 output units, 28 communication units, 30 web view processing units, 32 native view processing Part, 34 proxy processing part, 100 information processing system, 102 server, 104 client.

Claims (6)

ウェブブラウザの機能を利用して処理を行う第1の情報処理手段と、
ウェブブラウザの機能を利用せず処理を行う第2の情報処理手段と、
によって処理を行う情報処理装置であって、
前記第1の情報処理手段からプロキシを介して情報網によって接続された外部サーバに情報を要求する外部情報要求手段と、
前記要求に応じて、前記プロキシにおいて前記外部サーバから情報を取得し、前記情報をメモリに保存する情報取得手段と、
前記プロキシにおいて前記情報を前記第2の情報処理手段で処理可能な形式に変換する情報変換手段と、
前記情報変換手段において形式が変換された前記情報を前記プロキシから前記第2の情報処理手段に送信するネイティブ用情報送信手段と、
を備えることを特徴とする情報処理装置。
First information processing means for performing processing using a function of a web browser;
A second information processing means for performing processing without using the function of the web browser;
An information processing apparatus that performs processing according to
External information requesting means for requesting information from the first information processing means to an external server connected by an information network through a proxy;
In response to the request, the proxy acquires information from the external server and stores the information in a memory;
Information conversion means for converting the information into a format that can be processed by the second information processing means in the proxy;
Native information transmission means for transmitting the information whose format has been converted by the information conversion means from the proxy to the second information processing means;
An information processing apparatus comprising:
請求項1に記載の情報処理装置であって、
前記要求は、前記ネイティブ用情報送信手段において前記プロキシから前記第2の情報処理手段へ前記情報が送られた後、前記情報を前記プロキシから削除するか否かを示す削除指令を含み、
前記削除指令が削除するという指令である場合、前記プロキシは、前記プロキシから前記第2の情報処理手段へ前記情報が送られた後に前記情報を前記メモリから削除することを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
The request includes a deletion instruction indicating whether or not to delete the information from the proxy after the information is sent from the proxy to the second information processing means in the native information transmission means,
When the deletion instruction is an instruction to delete, the proxy deletes the information from the memory after the information is sent from the proxy to the second information processing means. .
請求項1又は2に記載の情報処理装置であって、
前記情報変換手段において形式が変換された前記情報へのアクセスするためのアクセス情報を前記第1の情報処理手段から前記第2の情報処理手段に送信するアクセス情報送信手段を備え、
前記ネイティブ用情報送信手段は、前記第2の情報処理手段から前記アクセス情報を用いてアクセスされた場合に前記情報変換手段において形式が変換された前記情報を前記プロキシから前記第2の情報処理手段に送信することを特徴とする情報処理装置。
The information processing apparatus according to claim 1 or 2,
Access information transmitting means for transmitting access information for accessing the information whose format has been converted by the information converting means from the first information processing means to the second information processing means;
The native information transmitting means transmits the information whose format has been converted in the information converting means when the second information processing means is accessed using the access information from the proxy to the second information processing means. An information processing apparatus that transmits to the information processing apparatus.
請求項1〜3のいずれか1項に記載の情報処理装置であって、
前記要求は、前記第1の情報処理手段において利用される情報の形式から前記第2の情報処理手段において利用される情報の形式へ変換する方法を特定する情報を含むことを特徴とする情報処理装置。
The information processing apparatus according to any one of claims 1 to 3,
The request includes information specifying a method for converting from the information format used in the first information processing means to the information format used in the second information processing means. apparatus.
ウェブブラウザの機能を利用して処理を行う第1の情報処理手段と、
ウェブブラウザの機能を利用せず処理を行う第2の情報処理手段と、
を含む情報処理プログラムであって、
コンピュータを、
前記第1の情報処理手段からプロキシを介して情報網によって接続された外部サーバに情報を要求する外部情報要求手段と、
前記要求に応じて、前記プロキシにおいて前記外部サーバから情報を取得し、前記情報をメモリに保存する情報取得手段と、
前記プロキシにおいて前記情報を前記第2の情報処理手段で処理可能な形式に変換する情報変換手段と、
前記情報変換手段において形式が変換された前記情報を前記プロキシから前記第2の情報処理手段に送信するネイティブ用情報送信手段と、
して機能させることを特徴とする情報処理プログラム。
First information processing means for performing processing using a function of a web browser;
A second information processing means for performing processing without using the function of the web browser;
An information processing program including
Computer
External information requesting means for requesting information from the first information processing means to an external server connected by an information network through a proxy;
In response to the request, the proxy acquires information from the external server and stores the information in a memory;
Information conversion means for converting the information into a format that can be processed by the second information processing means in the proxy;
Native information transmission means for transmitting the information whose format has been converted by the information conversion means from the proxy to the second information processing means;
An information processing program characterized in that it is made to function.
情報処理装置において、
ウェブブラウザの機能を利用して処理を行う第1の情報処理手段からプロキシを介して情報網によって接続された外部サーバに情報を要求する第1の工程と、
前記要求に応じて、前記プロキシにおいて前記外部サーバから情報を取得し、前記情報をメモリに保存する第2の工程と、
前記プロキシにおいて前記情報をウェブブラウザの機能を利用せず処理を行う第2の情報処理手段で処理可能な形式に変換する第3の工程と、
前記情報変換手段において形式が変換された前記情報を前記プロキシから前記第2の情報処理手段に送信する第4の工程と、
を行うことを特徴とする情報処理方法。
In an information processing device,
A first step of requesting information from an external server connected by an information network through a proxy from first information processing means that performs processing using a function of a web browser;
In response to the request, the proxy obtains information from the external server and stores the information in a memory;
A third step of converting the information into a format that can be processed by second information processing means that performs processing without using a function of a web browser in the proxy;
A fourth step of transmitting the information whose format has been converted by the information conversion means from the proxy to the second information processing means;
An information processing method characterized by:
JP2016034332A 2016-02-25 2016-02-25 Information processing apparatus and information processing program Active JP6607805B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016034332A JP6607805B2 (en) 2016-02-25 2016-02-25 Information processing apparatus and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016034332A JP6607805B2 (en) 2016-02-25 2016-02-25 Information processing apparatus and information processing program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015137560A Division JP5894320B1 (en) 2015-07-09 2015-07-09 Information processing apparatus and information processing program

Publications (3)

Publication Number Publication Date
JP2017021771A true JP2017021771A (en) 2017-01-26
JP2017021771A5 JP2017021771A5 (en) 2018-08-16
JP6607805B2 JP6607805B2 (en) 2019-11-20

Family

ID=57889746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016034332A Active JP6607805B2 (en) 2016-02-25 2016-02-25 Information processing apparatus and information processing program

Country Status (1)

Country Link
JP (1) JP6607805B2 (en)

Also Published As

Publication number Publication date
JP6607805B2 (en) 2019-11-20

Similar Documents

Publication Publication Date Title
EP2649533B1 (en) Methods and systems for facilitating a remote desktop session utilizing long polling
CN112559927B (en) Webpage loading method and device
JP2010176336A (en) Client program, terminal, method, server system, and server program
JP6328233B2 (en) Computer program product, system and method for optimizing web page loading
JPWO2006046286A1 (en) Data distribution system and method
JPWO2014155742A1 (en) Information processing system, information processing system control method, information processing apparatus, information processing apparatus control method, information storage medium, and program
JP5604016B1 (en) Script caching method and information processing apparatus using the same
CN113590974A (en) Recommendation page configuration method and device, electronic equipment and computer readable medium
JP6482204B2 (en) Information processing terminal, control method thereof, and program
JP2015141473A (en) Server system, method for controlling server system, and program
JP5891325B2 (en) Information providing apparatus, information providing method, and program
US20200125903A1 (en) Document generation system, method of controlling the same, and non-transitory computer readable medium
US10509826B2 (en) Server device, client device, information processing method, and recording medium
JP6607805B2 (en) Information processing apparatus and information processing program
US10282403B2 (en) Server device, client device, information processing method, and recording medium
JP5894320B1 (en) Information processing apparatus and information processing program
US9680967B2 (en) Method of using application, gateway using the method, terminal using the method, and terminal system using the method
KR101724076B1 (en) System and method for html control using user server
RU2634221C2 (en) Method and device for drawing presentation of electronic document on screen
JP3843390B2 (en) Web page browsing method and web page browsing program
US9690783B2 (en) Image conversion and method for converting text in an image into a targeted language
JP2015164018A (en) Device, method, and program for providing content
JP2016018552A (en) Script caching method and information processing device utilizing the same
JP2019106629A (en) Information processing system, control method, and program thereof
CN112860268B (en) Method and device for hot deployment of templates

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180702

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190514

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190712

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: 20190924

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191021

R150 Certificate of patent or registration of utility model

Ref document number: 6607805

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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