JP7630996B2 - Information processing device, control method for information processing device, and program - Google Patents
Information processing device, control method for information processing device, and program Download PDFInfo
- Publication number
- JP7630996B2 JP7630996B2 JP2021000499A JP2021000499A JP7630996B2 JP 7630996 B2 JP7630996 B2 JP 7630996B2 JP 2021000499 A JP2021000499 A JP 2021000499A JP 2021000499 A JP2021000499 A JP 2021000499A JP 7630996 B2 JP7630996 B2 JP 7630996B2
- Authority
- JP
- Japan
- Prior art keywords
- communication terminal
- information
- web page
- transmission
- information processing
- 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
Links
- 238000000034 method Methods 0.000 title claims description 35
- 230000010365 information processing Effects 0.000 title claims description 22
- 238000004891 communication Methods 0.000 claims description 130
- 230000005540 biological transmission Effects 0.000 claims description 38
- 238000009877 rendering Methods 0.000 claims description 32
- 230000004044 response Effects 0.000 claims description 6
- 238000005286 illumination Methods 0.000 claims 1
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 238000007639 printing Methods 0.000 description 7
- 230000001934 delay Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Description
本発明は、情報処理装置、情報処理装置の制御方法、及びプログラムに関する。 The present invention relates to an information processing device , a control method for an information processing device, and a program.
現在、Webブラウザ(以下、ブラウザ)を搭載し、そのブラウザ上でWebページを閲覧できる機能を有する通信端末が普及している。ブラウザを通して外部サービスのWebページを表示することにより、通信端末が外部サービスと連携できるようになる。
ところで、クラウドサーバ上で動作するブラウザにおいてWebページの描画結果を生成し、描画結果を通信端末に送信することでブラウザを有しない端末装置においてWebページを表示する技術がある。このようなクラウド上のブラウザはクラウドサーバ上で稼働する仮想マシン上で稼働する。仮想マシンには、PCに必要とされる様々な機器リソースが仮想的に割り当てられる。このため、仮想マシン上で稼働するブラウザは、PC上で稼働する場合と同じように動作することができる。特許文献1には、プライバシーにかかわる情報を扱うか否かによってブラウザの種類を切り替えるクラウドシステムについて記載されている。
At present, communication terminals equipped with a web browser (hereinafter, referred to as a browser) and having a function for browsing web pages on the browser are in widespread use. By displaying a web page of an external service through the browser, the communication terminal can link with the external service.
Incidentally, there is a technology in which a browser running on a cloud server generates a rendering result of a web page, and transmits the rendering result to a communication terminal to display the web page on a terminal device that does not have a browser. Such a cloud-based browser runs on a virtual machine running on the cloud server. Various device resources required for a PC are virtually allocated to the virtual machine. Therefore, the browser running on the virtual machine can operate in the same way as when it runs on a PC. Patent Document 1 describes a cloud system that switches the type of browser depending on whether or not privacy-related information is handled.
しかしながら、通信端末の機能の呼び出し可能に設計されたブラウザをクラウド上で利用する場合、通信端末は描画結果を受け取るまで所定の機能を実行できないという問題があった。例えば、disabled属性が付与された要素により生成された表示アイテムを押下すると、通信端末から音が鳴動するように設計されたブラウザを考える。音の鳴動の用途は、ユーザに該当要素の操作が不可である旨を気付かせることである。ここで、Webページにはユーザ操作入力を待ち受ける複数の<button>要素があり、その内で1つの<button>要素にdisabled属性が付与されているとする。一般の組込みブラウザを利用する場合、ユーザがdisabled属性が付与された<button>要素に基づくボタンを押下すると、即時音が鳴動する。しかしながら、クラウド上のブラウザを利用する場合、Webページの処理結果としての描画結果の通知に合わせて音が鳴動する。このため、描画結果の生成に時間がかかる場合、ユーザがボタンを押下してから、音が鳴動するまで時間がかかってしまい、ユーザを困惑させてしまう恐れがある。 However, when a browser designed to be able to call the functions of a communication terminal is used on the cloud, there is a problem that the communication terminal cannot execute a specified function until it receives the drawing result. For example, consider a browser designed to sound a sound from the communication terminal when a display item generated by an element to which a disabled attribute is attached is pressed. The purpose of sounding is to make the user aware that the corresponding element cannot be operated. Here, assume that a Web page has multiple <button> elements that wait for user operation input, and one of the <button> elements has a disabled attribute attached. When a general built-in browser is used, when a user presses a button based on a <button> element to which a disabled attribute is attached, a sound is immediately sounded. However, when a browser on the cloud is used, a sound is sounded in accordance with the notification of the drawing result as the processing result of the Web page. Therefore, if it takes a long time to generate the drawing result, it takes a long time from when the user presses the button until the sound is sounded, which may confuse the user.
そこで本発明は、クラウド上のブラウザを利用する際のユーザの利便性を向上させることを目的とする。 The present invention aims to improve the convenience of users when using a cloud-based browser.
本発明の情報処理装置は、通信端末と通信可能な情報処理装置であって、Webページの描画結果を前記通信端末に送信する第1の送信手段と、前記第1の送信手段により送信された前記Webページの描画結果に対する前記通信端末における操作を示す情報を取得する取得手段と、前記取得手段より取得された前記情報が示す操作に応じて前記Webページの描画を更新し、更新した描画結果を前記通信端末に送信する第2の送信手段と、前記取得手段より取得された前記情報が示す操作が前記Webページに表示される所定のアイテムに対する操作である場合に、前記所定のアイテムに対して前記操作を実行した場合に生じる命令情報を前記通信端末に送信する第3の送信手段と、を有し、前記取得手段が取得した前記情報が示す操作が前記Webページに表示される前記所定のアイテムに対する操作である場合、前記第3の送信手段は前記第2の送信手段による前記更新した描画結果の送信より優先して前記通信端末に前記命令情報を送信し、前記第2の送信手段は前記第3の送信手段による前記命令情報の送信より後に前記更新した描画結果を前記通信端末に送信することを特徴とする。 The information processing device of the present invention is an information processing device capable of communicating with a communication terminal, and comprises a first transmission means for transmitting a drawing result of a Web page to the communication terminal, an acquisition means for acquiring information indicating an operation on the communication terminal for the drawing result of the Web page transmitted by the first transmission means, a second transmission means for updating the drawing of the Web page in accordance with the operation indicated by the information acquired by the acquisition means and transmitting the updated drawing result to the communication terminal, and a third transmission means for transmitting to the communication terminal, when the operation indicated by the information acquired by the acquisition means is an operation on a specified item displayed on the Web page, command information that is generated when the operation is performed on the specified item, and when the operation indicated by the information acquired by the acquisition means is an operation on the specified item displayed on the Web page, the third transmission means transmits the command information to the communication terminal in priority to the transmission of the updated drawing result by the second transmission means, and the second transmission means transmits the updated drawing result to the communication terminal after the transmission of the command information by the third transmission means .
本発明によれば、クラウド上のブラウザを利用する際のユーザの利便性を向上させることができる。 The present invention can improve the convenience for users when using a cloud-based browser.
以下、本発明の実施形態について、図面を参照して説明する。なお、以下の実施の形態は特許請求の範囲に関る本発明を限定するものではなく、また、本実施の形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一な構成については、同じ符号を付して説明する。 The following describes an embodiment of the present invention with reference to the drawings. Note that the following embodiment does not limit the scope of the present invention as defined by the claims, and not all of the combinations of features described in the present embodiment are necessarily essential to the solution of the present invention. Note that the same components are described with the same reference numerals.
<第1の実施形態>
本実施形態における仮想マシン100は、通信端末110で利用可能なブラウザをクラウド上で動作させている。この仮想マシン100は、Webページを処理する際に、通信端末110で実行可能な実行命令がある場合に、当該実行命令をWebページの描画結果よりも優先的に通信端末110に提供する。これにより、描画結果の生成に時間がかかる場合でも、通信端末110での動作を速やかに実行させることが可能になる。本実施形態では、HTML形式で記述されたWebページに含まれる特定の要素に対するユーザ操作に応じて、通信端末110から音を鳴動させる例について説明する。具体的には、disable属性やreadonly属性が付与された<button>要素や、<input>要素に基づく表示アイテムをユーザが押下した際に、通信端末から音を鳴動させる。Webページは、Web情報の一例である。なお本実施形態において仮想マシン100は、所定の操作があった場合に実行命令を取得する構成になっているが、これに限られず、エラー通知等があった場合に実行命令を取得する構成でもよい。
First Embodiment
In the present embodiment, the
図1Aは、本実施形態における仮想マシン100のハードウェア構成例を示す図である。仮想マシン100は、クラウドサーバ上に構成されており、主として、CPU101、ROM102、RAM103、及びインタフェース104を備える。これらはバス105を介して相互に接続されている。仮想マシン100は、情報処理装置の一例である。CPU(Central Processing Unit)101は仮想マシン100の全体を制御する。CPU101は、ROM102等に記憶されたプログラムを読み出して実行することにより、後述するフローチャートの処理や各種の機能を実行する。ROM(Read Only Memory)102はCPU101が実行するプログラムや命令テーブル204(図2)を記憶する。RAM(Random Access Memory)103はCPU101の作業領域として機能する他、プログラム実行中に使用するデータを一時的に記憶する。
FIG. 1A is a diagram showing an example of the hardware configuration of a
インタフェース104はゲートウェイ201(図2)と接続するためのネットワークインタフェースである。またインタフェース104はROM102等に保持するデータや外部から供給されたデータを表示する表示装置や、ユーザからの操作を受けてデータを入力するための入力装置と接続するための機能を有してもよい。さらに仮想マシン100は仮想的に設置されたハードディスクやメモリカード等を有してもよい。また仮想マシン100は仮想的に着脱可能なフレキシブルディスク(FD)やCompact Disk(CD)等の光ディスク、磁気や光カード、ICカード、メモリカード等を含む外部記憶装置にアクセスして、データの入出力を行ってもよい。
The
図1Bは、本実施形態における通信端末110及びWebサーバ120のハードウェア構成例を示す図である。通信端末110は、ユーザが画面を閲覧、及び操作する端末装置であり、例えばPC(パーソナルコンピュータ)、タブレット端末である。なお通信端末110は、MFP(Multi Function Peripheral)であってもよい。Webサーバ120は、Webページの格納先のサーバ装置である。以下、通信端末110とWebサーバ120の同様の構成は通信端末110について説明し、Webサーバ120の説明を省略する。
FIG. 1B is a diagram showing an example of the hardware configuration of the
通信端末110は、主として、CPU111、ROM112、RAM113、HDD114、インタフェース115、及びタッチパネル116を備える。これらはバス117を介して相互に接続されている。CPU111は装置の全体を制御する。CPU111は、ROM112等に記憶されたプログラムを読み出して実行することにより、後述するフローチャートの処理や各種の機能を実行する。ROM112はCPU111が実行するプログラムを記憶する。RAM113はCPU111の作業領域として機能する他、プログラム実行中に使用するデータを一時的に記憶する。HDD114は、各種データや設定情報等を記憶する。またWebサーバ120のHDD114は、Webページを記憶するデータベースを有している。
The
インタフェース115はインターネット等のネットワークに接続するためのネットワークインタフェースである。また通信端末110のインタフェース115は、スキャン装置やプリンタ等の周辺装置と接続する。通信端末110は、CPU111の制御により、スキャンや印刷を実行する。
タッチパネル116は、画面表示機能とユーザ操作の入力機能を兼ね備える。通信端末110は、CPU101の制御により、Webページの描画結果を通信端末110のタッチパネル116に表示する。通信端末110のタッチパネル116は、表示部の一例である。以下、通信端末110のタッチパネル116を画面と呼ぶ。Webページの描画結果には、ユーザからの入力操作を受け付ける表示アイテム(ボタン、入力欄等)が含まれる。タッチパネル116はタッチセンサを備えている。ユーザの指等によってタッチ操作が検出されると、タッチセンサで検出された信号はROM112に格納されたタッチセンサ用のプログラムにより処理され、タッチした位置がタッチパネル116上の座標情報として算出される。
更に通信端末110には、音声出力装置(不図示)やLEDランプ(不図示)が内蔵されている。通信端末110は、CPU101の制御により、音の鳴動や、LEDランプの点灯を実行する。
The
The
Furthermore, a sound output device (not shown) and an LED lamp (not shown) are built into the
次に、本実施形態に係る情報処理システムの全体構成例について、図2を参照して説明する。このシステムでは、仮想マシン100及びゲートウェイ201からなる画像生成システム200と、通信端末110と、Webサーバ120とが、ネットワークを介して相互に通信可能である。画像生成システム200は、通信端末110からの要求に応じてWebサーバ120からWebページを取得して、取得したWebページの描画結果としての画像データを生成するクラウドシステムである。画像生成システム200がWebページの描画結果を通信端末110に送信すると、通信端末110は画像生成システム200から受信した描画結果を画面に表示する。さらに通信端末110は描画結果が表示される画面に対するタッチ操作を検出した場合に、タッチした位置の座標情報を画像生成システム200に送信する。
Next, an example of the overall configuration of the information processing system according to this embodiment will be described with reference to FIG. 2. In this system, an
ゲートウェイ201は、インターネット等のネットワークに接続して、通信端末110と仮想マシン100との通信、及びWebサーバ120と仮想マシン100との通信を制御する。図2の例では画像生成システム200は、1台の仮想マシン100により構成されているが、負荷分散可能なようにロードバランサを配置して、複数台の仮想マシンにより構成されてもよい。
The
仮想マシン100は、Webサーバ120から受信したWebページを解釈する処理を行って、その処理結果を通信端末110に送信する。本実施形態において仮想マシン100は、ブラウザ202及び命令送信部203としての機能を有する。
ブラウザ202は、Webページを解釈する処理を行って通信端末110の画面に表示するための画像データ(描画結果)を生成する。また本実施形態においてブラウザ202は、通信端末110においてWebページに関する所定の操作が行われたと判定した場合、送信すべき実行命令を取得する。ここでブラウザ202は、Webページに含まれる所定の要素の表示位置が押下された場合に、所定の操作が行われたと判定する。ここでいう所定の要素は、disable属性やreadonly属性等の所定の属性が付与された、<button>要素や<input>要素等のユーザインタフェースの要素である。ブラウザ202は、通信端末110から座標情報を受信した場合に、受信した座標情報と所定の要素の座標情報とを比較することにより、所定の操作が行われたか否かを判定する。所定の操作が行われたと判定された場合にブラウザ202は、当該所定の操作に関連付く実行命令を取得する。操作の内容と、実行命令の内容とは、命令テーブル204により関連付けられている。ブラウザ202は、ROM102に記憶される命令テーブル204を読み出して、操作の内容に関連付く実行命令を取得する。その後命令送信部203は、ブラウザ202が描画結果を生成する処理を行う前に実行命令を送信する処理を行う。即ち仮想マシン100は、Webページの描画結果よりも命令情報を優先的に送信する。
The
The
次に情報処理システムで実行される処理の流れについて説明する。図3は、本実施形態に係る通信端末110の処理の流れを示すフローチャートである。図3のフローチャートの処理は、通信端末110のCPU111がROM112に記憶されたプログラムをRAM113に読み出して実行することにより実現される。以下の説明では、各工程(ステップ)について先頭にSを付けて表記することで、工程(ステップ)の表記を省略する。フローチャートにて示す処理内容は、例えばユーザが閲覧を希望するWebページのURLを入力した場合に開始する。
Next, the flow of processing executed in the information processing system will be described. FIG. 3 is a flowchart showing the flow of processing in the
まずS301において、通信端末110は、入力されたWebページのURLを仮想マシン100へ送信する。その後S302において、通信端末110は、仮想マシン100から受信したWebページの描画結果を表示する。これによりWebページに含まれるユーザインタフェース(表示アイテム)が画面に表示される。なお本実施形態のWebページには、動画が含まれているとする。
次にS303において、通信端末110は、画面表示を終了するか否かを判定する。通信端末110が画面表示を終了すると判定した場合、仮想マシン100に表示終了指示を送信して、本フローチャートの処理が終了する。通信端末110が画面表示を終了しないと判定した場合、処理はS304へ進む。
S304において、通信端末110は、ユーザにより画面が押下されたか否かを判定する。通信端末110が画面が押下されたと判定した場合(S304のYes)、通信端末110は押下された位置の座標情報を算出して、仮想マシン100へ送信する(S305)。一方で、通信端末110が画面が押下されていないと判定した場合(S304のNo)、処理はS306へ進む。
First, in S301, the
Next, in S303, the
In S304, the
次にS306において、通信端末110は、仮想マシン100から情報を受信したか否か判定する。通信端末110が情報を受信したと判定した場合(S306のYes)、通信端末110はその情報が実行命令であるか否か判定する(S307)。一方で、通信端末110が情報を受信していないと判定した場合(S306のNo)、処理はS304に戻る。
続いて、S307の判定の結果、通信端末110が受信した情報が実行命令であると判定した場合(S307のYes)、通信端末110はその実行命令に従った処理を行う(S308)。例えば通信端末110は音声出力装置を用いて音を鳴動する。
一方で、S307の判定の結果、通信端末110が受信した情報が実行命令ではないと判定した場合(S307のNo)、その情報がWebページの描画結果であると判断し、処理はS302に戻る。本実施形態では、動画における次フレームが画面に表示される。
Next, in S306, the
Next, when it is determined in S307 that the information received by the
On the other hand, if the
以上のような通信端末110の処理によれば、ユーザがWebページに関する所定の操作を行った場合に、画面の表示が更新されるのを待つことなく、当該操作に対応する処理が速やかに実行される。即ちクラウド上のブラウザを利用する際の、操作に対応するレスポンスの遅延が抑制されて、ユーザを困惑させてしまうことがなくなる。
According to the above-described processing of the
図4は、本実施形態に係る仮想マシン100の処理の流れを示すフローチャートである。図4のフローチャートの処理は、仮想マシン100のCPU101がROM102に記憶されたプログラムをRAM103に読み出して実行することにより実現される。
まずS401において、仮想マシン100は、通信端末110からURLを受信する。
次にS402において、仮想マシン100は、S401で受信したURLのWebページをWebサーバ120から取得する。ここで、WebページはHTML文書、JavaScript(登録商標)、CSSファイル、外部フォント、画像、動画等を含む。仮想マシン100は、通信端末110から受信したURLが示すWebページの描画結果を通信端末110に送信する。
次にS403において、仮想マシン100は、S402で取得したWebページを解釈する処理を行う。仮想マシン100は、通信端末110に送信したWebページに対する通信端末110における操作を示す情報を取得し、当該情報に基づいて処理を決定する。例えば、仮想マシン100は、通信端末110における操作を示す情報に基づいて、Webページの描画の更新が必要か否かを判断する。
次にS404において、仮想マシン100は、通信端末110から押下された画面上の位置を示す座標情報(位置情報)を受信したか否か判定する。仮想マシン100が座標情報を受信したと判定した場合(S404のYes)、仮想マシン100は受信した座標情報に基づいて通信端末110において所定の操作があったか否か判定する(S405)。一方で、仮想マシン100が座標情報を受信していないと判定した場合(S404のNo)、処理はS407に進む。
Fig. 4 is a flowchart showing the flow of processing of the
First, in S<b>401 , the
Next, in S402, the
Next, in S403, the
Next, in S404, the
ここでS405の処理について、図5にWebページの例を示して具体的に説明する。図5(A)はWebページを構成するHTMLファイルの記述例を示す図である。図5(B)は図5(A)のHTMLファイルを処理した際に生成される描画結果を示す図である。図5(B)の描画結果には、2つのボタン511、512と、動画が再生される動画領域513が含まれる。
図5(A)の記述コード501は、disable属性が付与された<button>要素を示し、図5(B)のボタン511に対応している。図5(A)の記述コード502は、disable属性が付与されていない<button>要素を示し、図5(B)のボタン512に対応している。図5(A)の記述コード503は、<video>要素を示し、図5(B)の動画領域513に対応している。
The process of S405 will now be described in detail with reference to an example of a web page shown in Fig. 5. Fig. 5(A) is a diagram showing an example of a description of an HTML file constituting a web page. Fig. 5(B) is a diagram showing the rendering result generated when the HTML file in Fig. 5(A) is processed. The rendering result in Fig. 5(B) includes two
続いて、図6に命令テーブル204の例を示す。命令テーブル204では、Webページに関する操作内容601を示す「Web page process」と、通信端末110で実行可能な命令情報602を示す「Device API」とが関連付けられている。例えば、“Push disable element”と“beep01()”が関連付けられているので、ユーザがdisable属性を付与された要素に基づく表示アイテムを押下した場合、通信端末110にて音(beep01)が鳴動することがわかる。即ち、仮想マシン100は、押下が有効ではないエレメントに対して押下が通信端末110において検出された場合、エラーを示す音(beep01)を出力する処理を通信端末110に指示する。図5の例では、ユーザが画面上のボタン511を押下した場合に、通信端末110から音が鳴動される。同様に、“Push readonly element”と“beep02()”が関連付けられているので、ユーザがreadonly属性を付与された要素に基づく表示アイテムを押下した場合、通信端末110にて音(beep02)が鳴動することがわかる。即ち、仮想マシン100は、読み込みのみが許可されたエレメントに対して押下が通信端末110において検出された場合、エラーを示す音(beep02)を出力する処理を通信端末110に指示する。なお命令情報602は、音の鳴動に限られず、通信端末110で実行可能な実行命令であれば、光の点灯等でもよい。
Next, FIG. 6 shows an example of the command table 204. In the command table 204, "Web page process" indicating
図4の説明に戻る。S405で仮想マシン100は、命令テーブル204に登録される操作があったか否かを判定する。図5及び図6の例では、仮想マシン100はボタン511が押下されたか否かを判定する。仮想マシン100が命令テーブル204に登録される操作があったと判定した場合(S405のYes)、所定の操作があったとして、仮想マシン100は命令テーブル204から当該操作に関連付く実行命令を取得する。図5及び図6の例では、仮想マシン100は実行命令“beep01()”を取得する。その後仮想マシン100は取得した実行命令を通信端末110に送信する(S406)。この場合には通信端末110の処理フローにて、S307で受信した情報が実行すべき命令と判断され、S306にて実行命令“beep01()”が実行される。
Returning to the explanation of FIG. 4, in S405, the
なお本実施形態において仮想マシン100は、実行命令を通信端末110に送信するが、ユーザが押下した要素名と当該要素名に付与されている属性とを命令情報として通信端末110に送信してもよい。その場合には、通信端末110が受信した命令情報に基づいて実行すべき命令が存在するか否かを判定し、実行すべき命令が存在する場合には、当該命令を実行する。実行すべき命令が存在するか否かの判定には、通信端末110側に記憶される命令テーブルが用いられる。
In this embodiment, the
続いてS407において、仮想マシン100は、Webページの解釈する処理が終了したか否か判定する。仮想マシン100が解釈する処理が終了したと判定した場合(S407のYes)、仮想マシン100はWebページの描画結果を生成し(S408)、描画結果を通信端末110へ送信する(S409)。仮想マシン100は、Webページに対する通信端末110における操作を示す情報が示す操作に応じてWebページの描画を更新する。この場合には通信端末110の処理フローにて、S302で画面にWebページの描画結果が表示される。即ち、仮想マシン100は、更新した描画結果を通信端末110に送信する。一方で、仮想マシン100が解釈する処理が終了してないと判定した場合(S407のNo)、処理はS403に戻る。このように、仮想マシン100は、Webページに対する通信端末110における操作を示す情報を取得し、それに応じて更新したWebページの描画結果の送信より優先して、通信端末110に操作に応じた処理の指示を送信する。
続いてS410において、仮想マシン100は、通信端末110から表示終了指示を受信したか否かを判定する。仮想マシン100が表示終了指示を受信したと判定した場合(S410のYes)、本フローチャートの処理が終了する。仮想マシン100が表示終了指示を受信していないと判定した場合(S410のNo)、処理はS403に戻る。
Next, in S407, the
Next, in S410, the
以上のような第1の実施形態によれば、Webページの描画結果に先行して通信端末110で実行すべき命令が通信端末110に通知される。これによりユーザが特定のボタンを押下した場合に、例えば、動画における次のフレームが表示されるのを待つことなく音が鳴動し、ユーザに特定のボタンが押下不可である旨を速やかに通知することができる。即ち仮想マシン100は、ユーザが通信端末110の画面を操作する場合に、ユーザが通信端末110に組み込まれたブラウザを操作しているかのような画面表示、音の出力を行うことができる。従ってクラウド上のブラウザを利用する際のユーザの利便性を向上させることができる。
According to the first embodiment described above, the command to be executed by the
<第2の実施形態>
上述の第1の実施形態では、仮想マシン100が通信端末110で実行可能な実行命令を取得した場合に、当該実行命令を通信端末110に即時送信する例について説明した。ここで通信端末110と画像生成システム200をつなぐ通信帯域が逼迫している場合、遅延が許容されない実行命令を優先的に送信することが必要となる。例えば、ユーザがWebページのユーザインタフェースを操作した際の音の鳴動が遅延すると、ユーザを困惑させることが多い。一方で、ユーザがWebページ内の印刷実行ボタンを押下してから印刷が開始されるまで数100ms(ミリ秒)必要だったとしても、ユーザを困惑させることは少ない。そこで第2の実施形態では、ユーザの操作に連動する必要のある命令を、ユーザの操作に連動する必要のない命令よりも優先的に送信する例について説明する。本実施形態における構成は図1A、図1B及び図2と同様である。また本実施形態で実行される通信端末110の処理フローは図3と同様である。従って本実施形態において、第1の実施形態と同様の部分の説明は省略する。
Second Embodiment
In the first embodiment described above, an example is described in which, when the
図7は、本実施形態に係る仮想マシン100の処理の流れを示すフローチャートである。なお図7のフローチャートは、図3のS406をS701~S703に置き換えたフローチャートである。従ってS701~S703について説明し、他の工程(ステップ)の説明を省略する。
まず、図8にWebページの例を示して具体的に説明する。図8(A)はWebページを構成するHTMLファイルの記述例を示す図である。図8(B)は図8(A)のHTMLファイルを処理した際に生成される描画結果を示す図である。図8(B)の描画結果は、図5(B)と同様である。図8(A)と図5(A)の相違点は、記述コード502が記述コード801に置き換えられている点である。図8(A)の記述コード801は、イベントハンドラに“print()”が登録されている<button>要素を示し、図8(B)のボタン512に対応している。ボタン512は、通信端末110に印刷の実行を指示する印刷実行ボタンである。
Fig. 7 is a flowchart showing the flow of processing of the
First, a specific description will be given with reference to an example of a Web page shown in FIG. 8. FIG. 8(A) is a diagram showing a description example of an HTML file constituting a Web page. FIG. 8(B) is a diagram showing a rendering result generated when the HTML file of FIG. 8(A) is processed. The rendering result of FIG. 8(B) is the same as that of FIG. 5(B). The difference between FIG. 8(A) and FIG. 5(A) is that the
続いて、図9に命令テーブル204の例を示す。図9と図6との第1の相違点は、“Perform print()”と“print()”とが関連付けられるデータが追加されている点である。このデータの追加により、ユーザが印刷実行ボタンを押下した場合に、通信端末110にて印刷の実行が行われる。
ここで、ユーザのボタン操作から音が鳴動するまでの時間に遅延が生じると、ユーザが困惑することが多い。即ち音の鳴動は、ユーザの操作に連動する必要のある処理である。このような処理の実行命令を第1の命令情報と称する。第1の命令情報としては、音の鳴動の他に、光の点灯等が挙げられる。一方で、ユーザが印刷実行ボタンを押下してから印刷の実行が開始されるまでの時間に遅延が生じしても、ユーザが困惑することは少ない。即ち印刷は、ユーザの操作に連動する必要のない処理である。このような処理の実行命令を第2の命令情報と称する。第2の命令情報としては、印刷の他に、スキャン、通信端末110の設定変更等が挙げられる。
Next, an example of the command table 204 is shown in Fig. 9. The first difference between Fig. 9 and Fig. 6 is that data associating "Perform print()" with "print()" has been added. With this data added, when the user presses the print execution button, printing is executed by the
Here, if there is a delay between the user's button operation and the sound being emitted, the user is likely to be confused. That is, the sound being emitted is a process that needs to be linked to the user's operation. An execution command for such a process is referred to as first command information. Examples of the first command information include the emission of a sound and the turning on of a light. On the other hand, even if there is a delay between the user pressing the print execution button and the start of printing execution, the user is unlikely to be confused. That is, printing is a process that does not need to be linked to the user's operation. An execution command for such a process is referred to as second command information. Examples of the second command information include scanning, changing the settings of the
また図9と図6との第2の相違点は、遅延時間901を示す項目「Delay」が更に関連付けられている点である。遅延時間901は、実行命令が取得されてから送信されるまでの時間を指定するための時間情報である。例えば「Delay」が0msに指定されている場合、仮想マシン100はその実行命令を取得後直ちに送信する。また、「Delay」が500msに指定されている場合、仮想マシン100は、その実行命令を取得してから500ミリ秒経過後に送信する。本実施形態では、第1の命令情報の遅延時間901を第2の命令情報の遅延時間901よりも短くする。即ち仮想マシン100は、第1の命令情報を第2の命令情報よりも優先的に送信する。なお命令テーブル204に設定される情報は、送信すべき命令情報が複数ある場合に送信順序を決定可能な情報であれば、遅延時間901に限られない。
9 and 6 is that an item "Delay" indicating a
まずS701で、仮想マシン100は、命令テーブル204から取得した実行命令を送信するジョブである命令送信ジョブをタイマーに登録する。ここで仮想マシン100は、その実行命令の遅延時間901を命令テーブル204から取得してタイマーに登録する。例えば、“Perform print()”は「Delay」が500msであるため、500ミリ秒経過後に実行命令“print()”を送信するように登録される。
次にS702で、仮想マシン100は、命令送信ジョブの登録からの経過時間が指定時間に達したか否かを判定する。経過時間が指定時間に達したと判定された場合(S702のYes)、仮想マシン100は該当する命令送信ジョブを実行し(S703)、その後処理はS407に進む。一方で、経過時間が指定時間に達していないと判定された場合(S702のNo)、処理はS407に進む。
First, in S701, the
Next, in S702, the
以上のような第2の実施形態によれば、ユーザの操作に連動する必要のある実行命令とユーザの操作に連動する必要のない実行命令とが、ほぼ同時に発生した場合、連動の必要のある実行命令を、連動の必要のない実行命令よりも優先的に送信することができる。従って、通信端末110と画像生成システム200をつなぐ通信帯域が逼迫していても、通信端末110にてユーザが特定のボタンを押下した場合に遅延することなく音が鳴動し、ユーザに特定のボタンが押下不可である旨を速やかに通知することができる。即ち第1の実施形態と同様に、クラウド上のブラウザを利用する際のユーザの利便性を向上させることができる。
According to the second embodiment described above, when an execution command that needs to be linked to a user's operation and an execution command that does not need to be linked to a user's operation occur almost simultaneously, the execution command that needs to be linked can be transmitted preferentially over the execution command that does not need to be linked. Therefore, even if the communication bandwidth connecting the
なお第2の実施形態の変形例として、図7では描画生成処理(S408)が、指定時間の経過後に開始されるが、命令送信ジョブのタイマー登録と同時、又はタイマー登録から所定時間経過後に開始されてもよい。これによりできる限り早く描画結果を通信端末110に送信することが可能になる。
As a variation of the second embodiment, in FIG. 7, the drawing generation process (S408) is started after a specified time has elapsed, but it may be started simultaneously with timer registration of the command transmission job, or after a predetermined time has elapsed since timer registration. This makes it possible to transmit the drawing result to the
以上、本発明を各実施形態と共に説明したが、上記実施形態は本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 The present invention has been described above with reference to various embodiments, but the above embodiments are merely examples of concrete ways of implementing the present invention, and the technical scope of the present invention should not be interpreted in a limiting manner based on these. In other words, the present invention can be implemented in various forms without departing from its technical concept or main features.
(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
Other Embodiments
The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
100:仮想マシン100:通信端末、120:Webサーバ、200:画像生成システム、202:ブラウザ、203:命令送信部、204:命令テーブル 100: Virtual machine 100: Communication terminal, 120: Web server, 200: Image generation system, 202: Browser, 203: Command transmission unit, 204: Command table
Claims (7)
Webページの描画結果を前記通信端末に送信する第1の送信手段と、
前記第1の送信手段により送信された前記Webページの描画結果に対する前記通信端末における操作を示す情報を取得する取得手段と、
前記取得手段より取得された前記情報が示す操作に応じて前記Webページの描画を更新し、更新した描画結果を前記通信端末に送信する第2の送信手段と、
前記取得手段より取得された前記情報が示す操作が前記Webページに表示される所定のアイテムに対する操作である場合に、前記所定のアイテムに対して前記操作を実行した場合に生じる命令情報を前記通信端末に送信する第3の送信手段と、を有し、
前記取得手段が取得した前記情報が示す操作が前記Webページに表示される前記所定のアイテムに対する操作である場合、前記第3の送信手段は前記第2の送信手段による前記更新した描画結果の送信より優先して前記通信端末に前記命令情報を送信し、前記第2の送信手段は前記第3の送信手段による前記命令情報の送信より後に前記更新した描画結果を前記通信端末に送信する
ことを特徴とする情報処理装置。 An information processing device capable of communicating with a communication terminal,
a first transmission means for transmitting a rendering result of the web page to the communication terminal;
an acquisition means for acquiring information indicating an operation on the communication terminal with respect to the rendering result of the Web page transmitted by the first transmission means;
a second transmission means for updating a drawing on the Web page in response to an operation indicated by the information acquired by the acquisition means, and transmitting the updated drawing result to the communication terminal;
a third transmission means for transmitting , when the operation indicated by the information acquired by the acquisition means is an operation on a predetermined item displayed on the Web page, command information resulting from the operation being executed on the predetermined item to the communication terminal ;
When the operation indicated by the information acquired by the acquisition means is an operation for the predetermined item displayed on the Web page, the third transmission means transmits the command information to the communication terminal in priority to the transmission of the updated drawing result by the second transmission means, and the second transmission means transmits the updated drawing result to the communication terminal after the transmission of the command information by the third transmission means.
23. An information processing apparatus comprising:
ことを特徴とする請求項1に記載の情報処理装置。2. The information processing apparatus according to claim 1,
ことを特徴とする請求項2に記載の情報処理装置。3. The information processing apparatus according to claim 2.
ことを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。4. The information processing apparatus according to claim 1, wherein the information processing apparatus further comprises:
前記情報処理装置は、前記Webページの描画結果に対する操作に関する位置情報と前記Webページに含まれる前記所定のアイテムの位置情報とに基づいて、前記所定のアイテムに対する操作が行われたことを判定する判定手段を更に有するThe information processing device further includes a determination unit that determines whether an operation has been performed on the predetermined item based on position information regarding an operation on the drawing result of the Web page and position information of the predetermined item included in the Web page.
ことを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。5. The information processing apparatus according to claim 1, wherein the information processing apparatus further comprises: a first input section;
Webページの描画結果を前記通信端末に送信する第1の送信ステップと、
前記第1の送信ステップにより送信された前記Webページの描画結果に対する前記通信端末における操作を示す情報を取得する取得ステップと、
前記取得ステップより取得された前記情報が示す操作に応じて前記Webページの描画を更新し、更新した描画結果を前記通信端末に送信する第2の送信ステップと、
前記取得ステップより取得された前記情報が示す操作が前記Webページに表示される所定のアイテムに対する操作である場合に、前記所定のアイテムに対して前記操作を実行した場合に生じる命令情報を前記通信端末に送信する第3の送信ステップと、を含み、
前記取得ステップで取得した前記情報が示す操作が前記Webページに表示される前記所定のアイテムに対する操作である場合、前記第2の送信ステップによる前記更新した描画結果の送信より優先して前記第3の送信ステップにより前記命令情報を前記通信端末に送信し、前記第3の送信ステップによる前記命令情報の送信より後に前記第2の送信ステップにより前記更新した描画結果を前記通信端末に送信する
ことを特徴とする情報処理装置の制御方法。 A method for controlling an information processing device capable of communicating with a communication terminal, comprising:
a first transmission step of transmitting a rendering result of the web page to the communication terminal;
an acquiring step of acquiring information indicating an operation on the communication terminal with respect to the rendering result of the Web page transmitted in the first transmitting step;
a second transmission step of updating a drawing on the Web page in response to an operation indicated by the information acquired in the acquisition step, and transmitting the updated drawing result to the communication terminal;
a third transmission step of transmitting, when the operation indicated by the information acquired in the acquisition step is an operation on a predetermined item displayed on the Web page, command information resulting from the operation being executed on the predetermined item to the communication terminal ;
When the operation indicated by the information acquired in the acquisition step is an operation for the predetermined item displayed on the Web page, the command information is transmitted to the communication terminal in the third transmission step in priority to the transmission of the updated drawing result in the second transmission step, and the updated drawing result is transmitted to the communication terminal in the second transmission step after the transmission of the command information in the third transmission step.
23. A method for controlling an information processing apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021000499A JP7630996B2 (en) | 2021-01-05 | 2021-01-05 | Information processing device, control method for information processing device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021000499A JP7630996B2 (en) | 2021-01-05 | 2021-01-05 | Information processing device, control method for information processing device, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022105891A JP2022105891A (en) | 2022-07-15 |
JP7630996B2 true JP7630996B2 (en) | 2025-02-18 |
Family
ID=82365533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021000499A Active JP7630996B2 (en) | 2021-01-05 | 2021-01-05 | Information processing device, control method for information processing device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7630996B2 (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040139208A1 (en) | 2002-12-03 | 2004-07-15 | Raja Tuli | Portable internet access device back page cache |
JP2011528821A (en) | 2008-07-18 | 2011-11-24 | クゥアルコム・インコーポレイテッド | Message content rating for content control in wireless devices |
CN102375657A (en) | 2010-08-09 | 2012-03-14 | 晨星软件研发(深圳)有限公司 | Display control device and method for controller to select display image interaction objects |
US20150172767A1 (en) | 2013-12-16 | 2015-06-18 | Lg Electronics Inc. | Display device and method for controlling the same |
JP2015201695A (en) | 2014-04-04 | 2015-11-12 | 株式会社リコー | distribution management device |
JP6021487B2 (en) | 2012-07-18 | 2016-11-09 | キヤノン株式会社 | Information processing system, control method, server, information processing apparatus, and computer program |
JP6369043B2 (en) | 2013-03-15 | 2018-08-08 | 株式会社リコー | Delivery control system, delivery system, delivery control method, and program |
JP2018155831A (en) | 2017-03-16 | 2018-10-04 | 株式会社リコー | Information processing system, information processing apparatus, information processing program, and information processing method |
CN108763297A (en) | 2018-04-18 | 2018-11-06 | Oppo广东移动通信有限公司 | Webpage resource processing method and device and mobile terminal |
JP6482330B2 (en) | 2015-03-09 | 2019-03-13 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
-
2021
- 2021-01-05 JP JP2021000499A patent/JP7630996B2/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040139208A1 (en) | 2002-12-03 | 2004-07-15 | Raja Tuli | Portable internet access device back page cache |
JP2011528821A (en) | 2008-07-18 | 2011-11-24 | クゥアルコム・インコーポレイテッド | Message content rating for content control in wireless devices |
CN102375657A (en) | 2010-08-09 | 2012-03-14 | 晨星软件研发(深圳)有限公司 | Display control device and method for controller to select display image interaction objects |
JP6021487B2 (en) | 2012-07-18 | 2016-11-09 | キヤノン株式会社 | Information processing system, control method, server, information processing apparatus, and computer program |
JP6369043B2 (en) | 2013-03-15 | 2018-08-08 | 株式会社リコー | Delivery control system, delivery system, delivery control method, and program |
US20150172767A1 (en) | 2013-12-16 | 2015-06-18 | Lg Electronics Inc. | Display device and method for controlling the same |
JP2015201695A (en) | 2014-04-04 | 2015-11-12 | 株式会社リコー | distribution management device |
JP6482330B2 (en) | 2015-03-09 | 2019-03-13 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
JP2018155831A (en) | 2017-03-16 | 2018-10-04 | 株式会社リコー | Information processing system, information processing apparatus, information processing program, and information processing method |
CN108763297A (en) | 2018-04-18 | 2018-11-06 | Oppo广东移动通信有限公司 | Webpage resource processing method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
JP2022105891A (en) | 2022-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6442976B2 (en) | Image forming apparatus, browser control method, and program | |
JP6138088B2 (en) | Information processing apparatus, control method, and software program | |
JP5371726B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
US9304786B2 (en) | Information processing apparatus, method of controlling the same, and program | |
US9160873B2 (en) | Information processing system controlling image processing apparatus to display screen information, control method therefor, external control apparatus, information provision apparatus, image processing apparatus, and storage medium storing program | |
US20180275926A1 (en) | Information processing system, help display method, and electronic device | |
JP2007213501A (en) | Document processor, document processing system and data structure of document file | |
JP2016085659A (en) | Information processing system, information processing apparatus, information processing method, and program | |
US10455101B2 (en) | Server, image processing unit, and non-transitory recording medium for displaying error screen | |
JP2014178999A (en) | Information processing system, device, information processing method, and program | |
JP2011124957A (en) | Information processor, method to control the same, program, and memory medium | |
US8612889B2 (en) | Information processing device, method for controlling screen display and storage medium | |
US9667831B2 (en) | Information processing apparatus, printing method, and non-transitory computer-readable recording medium for generating print data corresponding to a display image | |
US20160105577A1 (en) | Image processing apparatus, method for controlling the same, and storage medium | |
US9179017B2 (en) | Image processing apparatus and method for processing an image which utilizes a first mode for instructions from the image processing apparatus and a second mode for instructions received from an external apparatus and for instructions from the image processing apparatus | |
JP4415810B2 (en) | Image processing apparatus, control method thereof, and control program | |
JP2016083870A (en) | Image formation device, and control method and system therefor | |
JP7630996B2 (en) | Information processing device, control method for information processing device, and program | |
JP4991606B2 (en) | Image forming apparatus and image forming system | |
US20160227056A1 (en) | Information processing apparatus, and method | |
JP2011135135A (en) | Image forming system and image forming apparatus | |
US20170024065A1 (en) | Information processing apparatus and event management method | |
US8527875B2 (en) | Information processing apparatus and method of controlling the same | |
JP5619245B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP5043993B2 (en) | Information processing apparatus, information processing apparatus control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231222 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240729 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240806 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241007 |
|
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: 20250107 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250205 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7630996 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |