JP2014056354A - Web server, image forming device, screen control program, and screen control method - Google Patents
Web server, image forming device, screen control program, and screen control method Download PDFInfo
- Publication number
- JP2014056354A JP2014056354A JP2012199924A JP2012199924A JP2014056354A JP 2014056354 A JP2014056354 A JP 2014056354A JP 2012199924 A JP2012199924 A JP 2012199924A JP 2012199924 A JP2012199924 A JP 2012199924A JP 2014056354 A JP2014056354 A JP 2014056354A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- automatic update
- data
- sub
- automatic
- 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
Links
Images
Abstract
Description
本発明は、ウェブサーバー、画像形成装置、画面制御プログラム、および画面制御方法に関するものである。 The present invention relates to a web server, an image forming apparatus, a screen control program, and a screen control method.
ウェブページにおいて、JavaScript(商標)を使用して一定間隔で、フレーム内の表示を自動的に更新する技術がある(例えば特許文献1参照)。 There is a technique for automatically updating a display in a frame at regular intervals using Java Script (trademark) on a web page (see, for example, Patent Document 1).
上述の自動更新の技術では、ウェブサーバー側に格納されているウェブページのHTML(Hypertext Markup Language)データにおいてJavaScript(商標)で、フレームに対応するHTMLデータファイルが指定され、クライアント側において、一定間隔で繰り返しそのHTMLデータファイルが取得されそのHTMLデータファイルに基づきそのフレームの表示内容が更新される。 In the above-described automatic update technique, HTML data files corresponding to frames are specified in JavaScript (Hypertext Markup Language) data of a web page stored on the web server side, and a predetermined interval is provided on the client side. The HTML data file is repeatedly acquired and the display content of the frame is updated based on the HTML data file.
しかしながら、このようにして自動更新を行うと、フレームの表示内容において、ユーザー操作に基づく入力値を受け付ける入力フィールド、チェックボックスなどのユーザー操作部が存在する場合、自動更新時に、それまでにユーザーにより入力された値が消去され、ユーザー操作部の値が初期値に更新されてしまい、ユーザーは値を再度入力しなければならない。 However, when automatic updating is performed in this way, if there are user operation units such as input fields and check boxes that accept input values based on user operations in the display content of the frame, the user may have made up to that point at the time of automatic updating. The input value is deleted, the value of the user operation unit is updated to the initial value, and the user must input the value again.
本発明は、上記の問題に鑑みてなされたものであり、ユーザーにとって好ましくない自動更新を抑制するウェブサーバー、画像形成装置、画面制御プログラム、および画面制御方法を得ることを目的とする。 The present invention has been made in view of the above problems, and an object thereof is to obtain a web server, an image forming apparatus, a screen control program, and a screen control method that suppress automatic updating that is undesirable for a user.
上記の課題を解決するために、本発明では以下のようにした。 In order to solve the above problems, the present invention is configured as follows.
本発明に係るウェブサーバーは、クライアント装置の操作画面の画面データおよび操作画面に含まれるサブ画面の画面データの要求を受け付ける要求受付部と、要求受付部により要求を受け付けた画面データを送信しクライアント装置に画面データに基づく操作画面を表示させる画面データ送信部とを備える。サブ画面の画面データは、そのサブ画面の自動更新の許可または不許可を示す自動更新データを含み、操作画面の画面データは、(a)操作画面における自動更新の設定値が自動更新の許可を示す場合には、サブ画面の画面データの要求を繰り返しクライアント装置から当該ウェブサーバーへ送信させ、(b)サブ画面の自動更新データの値が自動更新の不許可を示している場合、自動更新の設定値に拘わらず、そのサブ画面の自動更新を禁止させる。 A web server according to the present invention transmits a request reception unit that receives a request for screen data of an operation screen of a client device and a screen data of a sub screen included in the operation screen, and a screen data that is received by the request reception unit. A screen data transmission unit that displays an operation screen based on the screen data on the apparatus. The screen data of the sub screen includes automatic update data indicating permission or non-permission of automatic update of the sub screen, and the screen data of the operation screen includes (a) the setting value of automatic update on the operation screen indicates permission of automatic update. In the case of display, when the request for the screen data of the sub screen is repeatedly transmitted from the client device to the web server, and (b) the value of the automatic update data of the sub screen indicates that automatic update is not permitted, Regardless of the setting value, automatic updating of the sub-screen is prohibited.
これにより、操作画面において自動更新が設定されていても、自動更新させたくないサブ画面については自動更新が抑制される。 Thereby, even if the automatic update is set on the operation screen, the automatic update is suppressed for the sub screen that is not to be automatically updated.
また、本発明に係るウェブサーバーは、上記のウェブサーバーに加え、次のようにしてもよい。この場合、サブ画面がユーザー操作に基づく入力値を受け付ける画面である場合には、そのサブ画面の画面データにおける自動更新データは、自動更新の不許可を示す値を有し、サブ画面がユーザー操作に基づく入力値を受け付けない画面である場合には、そのサブ画面の画面データにおける自動更新データは、自動更新の不許可を示す値を有さない。 In addition to the above web server, the web server according to the present invention may be configured as follows. In this case, when the sub screen is a screen that accepts an input value based on a user operation, the automatic update data in the screen data of the sub screen has a value indicating that automatic update is not permitted, and the sub screen is a user operation. In the case of a screen that does not accept an input value based on the automatic update data in the screen data of the sub-screen does not have a value indicating that automatic update is not permitted.
これにより、操作画面において自動更新が設定されていても、ユーザー操作に基づく入力値を受け付けるサブ画面については自動更新が抑制される。したがって、自動更新に起因するユーザー入力値の消失がされずに済む。 Thereby, even if the automatic update is set on the operation screen, the automatic update is suppressed for the sub screen that receives the input value based on the user operation. Therefore, the user input value caused by the automatic update is not lost.
また、本発明に係るウェブサーバーは、上記のウェブサーバーに加え、次のようにしてもよい。この場合、サブ画面が設定値の入力画面である場合には、そのサブ画面の画面データにおける自動更新データは、自動更新の不許可を示す値を有する。 In addition to the above web server, the web server according to the present invention may be configured as follows. In this case, when the sub screen is a setting value input screen, the automatic update data in the screen data of the sub screen has a value indicating that automatic updating is not permitted.
また、本発明に係るウェブサーバーは、上記のウェブサーバーに加え、次のようにしてもよい。この場合、サブ画面がステータス表示画面である場合には、そのサブ画面の画面データにおける自動更新データは、自動更新の不許可を示す値を有さない。 In addition to the above web server, the web server according to the present invention may be configured as follows. In this case, when the sub screen is a status display screen, the automatic update data in the screen data of the sub screen does not have a value indicating that automatic update is not permitted.
また、本発明に係るウェブサーバーは、上記のウェブサーバーに加え、次のようにしてもよい。この場合、ウェブサーバーは、要求受付部により要求を受け付けたサブ画面の画面データを動的に生成するデータファイル生成部と、サブ画面の画面データのテンプレートファイルを記憶する記憶装置とをさらに備える。また、データファイル生成部は、(c1)画面データに対応するテンプレートファイルを特定し、(c2)テンプレートファイルにおけるトークンを検出し、(c3)検出したトークンに対応する関数を実行し、(c4)そのトークンをその関数の戻り値で置換してテンプレートファイルから画面データを生成する。そして、このテンプレートファイルは、上述の自動更新データを含む。 In addition to the above web server, the web server according to the present invention may be configured as follows. In this case, the web server further includes a data file generation unit that dynamically generates screen data of the sub screen that has received the request by the request reception unit, and a storage device that stores a template file of the screen data of the sub screen. The data file generation unit (c1) specifies a template file corresponding to the screen data, (c2) detects a token in the template file, (c3) executes a function corresponding to the detected token, (c4) Replace the token with the return value of the function and generate screen data from the template file. The template file includes the automatic update data described above.
また、本発明に係る画像形成装置は、上記のウェブサーバーを備える。 An image forming apparatus according to the present invention includes the web server.
本発明に係る画面制御プログラムは、クライアント装置の操作画面の画面データに記述される画面制御プログラムであって、その操作画面は、サブ画面を含み、そのサブ画面の画面データは、そのサブ画面の自動更新の許可または不許可を示す自動更新データを含んでいる。そして、画面制御プログラムは、クライアント装置のコンピューターに、(a)操作画面における自動更新の設定値が自動更新の許可を示す場合には、サブ画面の画面データの要求を繰り返しクライアント装置からウェブサーバーへ送信させ、(b)サブ画面の自動更新データの値が自動更新の不許可を示している場合、自動更新の設定値に拘わらず、そのサブ画面の自動更新を禁止させる。 A screen control program according to the present invention is a screen control program described in screen data of an operation screen of a client device. The operation screen includes a sub screen, and the screen data of the sub screen includes the sub screen. Includes automatic update data indicating whether automatic update is permitted or not. Then, the screen control program repeats the request for the screen data of the sub screen from the client device to the web server when the setting value of the automatic update on the operation screen indicates permission for automatic update. (B) When the value of the automatic update data on the sub screen indicates that automatic updating is not permitted, automatic updating of the sub screen is prohibited regardless of the setting value of automatic updating.
本発明に係る画面制御方法は、クライアント装置の操作画面に含まれるサブ画面の自動更新を制御する。そのサブ画面の画面データは、そのサブ画面の自動更新の許可または不許可を示す自動更新データを含んでいる。そして、(a)操作画面における自動更新の設定値が自動更新の許可を示す場合には、サブ画面の画面データの要求を繰り返しクライアント装置からウェブサーバーへ送信させ、(b)サブ画面の自動更新データの値が自動更新の不許可を示している場合、自動更新の設定値に拘わらず、そのサブ画面の自動更新を禁止させる。 The screen control method according to the present invention controls automatic updating of sub-screens included in the operation screen of the client device. The screen data of the sub screen includes automatic update data indicating permission or non-permission of automatic update of the sub screen. Then, (a) when the setting value for automatic update on the operation screen indicates permission for automatic update, the screen data request of the sub screen is repeatedly transmitted from the client device to the web server, and (b) automatic update of the sub screen When the data value indicates that automatic updating is not permitted, automatic updating of the sub-screen is prohibited regardless of the setting value of automatic updating.
本発明によれば、ユーザーにとって好ましくない自動更新が抑制される。 According to the present invention, automatic updating that is undesirable for a user is suppressed.
以下、図に基づいて本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態に係る複合機の構成を示すブロック図である。図1に示すように、複合機1に、周辺機器インターフェイスまたはネットワークを介してホスト装置2が接続されている。この複合機1は、このウェブサーバーとして機能し、ホスト装置2は、ウェブクライアントとして機能する。
FIG. 1 is a block diagram showing a configuration of a multifunction machine according to an embodiment of the present invention. As shown in FIG. 1, a
複合機1は、画像形成装置の一例であり、プリンター11と、スキャナー12と、ファクシミリ装置13と、操作パネル14と、通信装置15と、記憶装置16と、演算処理装置17とを備える。
The
プリンター11は、印刷データに基づいて文書画像を印刷する装置である。スキャナー12は、文書から文書画像を光学的に読み取り、文書画像の画像データを生成する装置である。ファクシミリ装置13は、送信すべき文書データからファクシミリ信号を生成し送信するとともに、ファクシミリ信号を受信し文書データに変換する装置である。
The
また、操作パネル14は、複合機1の筐体表面に配置され、ユーザーに対して各種情報を表示する表示装置と、ユーザー操作を検出する入力装置とを有する。表示装置としては例えば液晶ディスプレイが使用される。入力装置としては、キースイッチ、タッチパネルなどが使用される。
The
また、通信装置15は、ホスト装置2と通信可能な装置である。通信装置15としては、例えば、USB(Universal Serial Bus)などの周辺機器インターフェイス回路、ネットワークインターフェイス、モデムなどが使用される。
The
また、記憶装置16は、各種プログラムおよび各種データを格納可能な装置である。記憶装置16としては、ハードディスクドライブ、不揮発性メモリーなどの不揮発性の記憶媒体が使用される。記憶装置16には、HTML生成プログラム21およびHTMLテンプレートファイル22が予め記憶されている。
The
HTML生成プログラム21は、演算処理装置17により実行され、HTMLテンプレートファイル22から、ホスト装置2へ送信するHTMLデータファイルを生成するためのプログラムである。この実施の形態では、HTML生成プログラム21は、関数コード21aを含む。関数コード21aは、HTMLテンプレートファイル22に記述されているトークンに対応する多価関数のプログラムコードである。
The HTML
HTMLテンプレートファイル22は、動的に置換されるトークンを含むテキストデータファイルである。なお、トークンの記述以外の部分は、対応するHTMLデータファイルと同一である。
The HTML
特定の操作画面のHTMLテンプレートファイル22は、操作画面内のフレームにサブ画面を表示させるコードを含み、さらに、(a)操作画面における自動更新の設定値が自動更新の許可を示す場合には、サブ画面の画面データの要求を繰り返しホスト装置2から複合機1へ送信させ、(b)サブ画面の自動更新データの値が自動更新の不許可を示している場合、自動更新の設定値に拘わらず、そのサブ画面の自動更新を禁止させるコード(画面制御プログラムの一例)を含む。このコードは、例えば、JavaScript(商標)で記述される。
The HTML
このHTMLテンプレートファイル22から、操作画面のHTMLデータファイル(画面データの一例)が生成される。
From this HTML
また、サブ画面のHTMLテンプレートファイル22は、そのサブ画面の自動更新の許可または不許可を示す自動更新データを含む。
The
このHTMLテンプレートファイル22から、サブ画面のHTMLデータファイル(画面データの一例)が生成される。このため、サブ画面の画面データには、自動更新データが含まれている。
From the
この実施の形態では、サブ画面がユーザー操作に基づく入力値を受け付ける画面である場合には、そのサブ画面の画面データにおける自動更新データは、自動更新の不許可を示す値を有し、サブ画面がユーザー操作に基づく入力値を受け付けない画面である場合には、そのサブ画面の画面データにおける自動更新データは、自動更新の不許可を示す値を有さない。 In this embodiment, when the sub screen is a screen that accepts an input value based on a user operation, the automatic update data in the screen data of the sub screen has a value indicating that automatic update is not permitted. Is a screen that does not accept input values based on user operations, the automatic update data in the screen data of the sub-screen does not have a value indicating that automatic update is not permitted.
例えば、サブ画面が設定値の入力画面である場合には、そのサブ画面の画面データにおける自動更新データは、自動更新の不許可を示す値を有する。この設定値の入力画面では、複合機1の各種機能についての設定値が入力可能である。
For example, when the sub screen is a setting value input screen, the automatic update data in the screen data of the sub screen has a value indicating that automatic updating is not permitted. On this setting value input screen, setting values for various functions of the
また、例えば、サブ画面がステータス表示画面である場合には、そのサブ画面の画面データにおける自動更新データは、自動更新の不許可を示す値を有さない。このステータス表示画面では、複合機1の各種ステータス(トナー残量、用紙残量など)が表示される。
For example, when the sub screen is a status display screen, the automatic update data in the screen data of the sub screen does not have a value indicating that automatic updating is not permitted. On the status display screen, various statuses (remaining amount of toner, remaining amount of paper, etc.) of the
また、演算処理装置17は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを有するコンピューターであり、ROMや図示せぬ記憶装置からRAMへプログラムをロードし、そのプログラムをCPUで実行することにより、各種処理部を実現する。
The
複合機1の起動後に、図示せぬプログラムが演算処理装置17により実行され、通信処理部31などが実現される。また、通信処理部31によりホスト装置2からの要求が受信されると、HTML生成プログラム21が実行され、HTML生成部32が実現される。
After the
通信処理部31は、通信装置15を使用して、特定の通信プロトコルでホスト装置2とデータ通信を行う。この実施の形態では、通信処理部31は、HTTPサーバー機能を有し、HTTP(Hypertext Transfer Protocol)で通信を行う。
The
HTML生成部32は、通信処理部31により受け付けた要求のデータファイルを動的に生成する。この実施の形態では、HTML生成部32は、通信処理部31により受信されたHTTPコマンド内の特定のURI(Uniform Resource Identifier)に対応するHTMLデータファイルを生成する。なお、URIとしては、HTMLデータファイル名でもよいし、CGI名でもよい。
The
例えば、HTML生成部32は、(c1)要求された操作画面またはサブ画面のHTMLデータファイルに対応するテンプレートファイルを特定し、(c2)テンプレートファイルにおけるトークンを検出し、(c3)検出したトークンに対応する関数コード21aを実行し、(c4)そのトークンをその関数コード21aの戻り値で置換してテンプレートファイルから画面データを生成する。
For example, the
一方、ホスト装置2は、通信装置41、演算処理装置42、表示装置43、および入力装置44を有する。
On the other hand, the
通信装置41は、複合機1と通信可能な装置である。通信装置41としては、例えば、USBなどの周辺機器インターフェイス回路、ネットワークインターフェイス、モデムなどが使用される。
The
また、演算処理装置42は、CPU、ROM、RAMなどを有するコンピューターであり、図示せぬ記憶装置などからRAMへプログラムをロードし、そのプログラムをCPUで実行することにより、各種処理部を実現する。
The
また、表示装置43は、液晶ディスプレイなどであって、操作画面を表示する。入力装置44は、キーボード、マウス、タッチパネルなどであって、操作画面およびサブ画面に対するユーザー操作を受け付ける。
The
ホスト装置2の起動後に、図示せぬプログラムが演算処理装置42により適宜実行される。この実施の形態1では、演算処理装置42により、通信処理部51、表示処理部52などの処理部が実現される。通信処理部51および表示処理部52は、例えばウェブブラウザーとして実現される。通信処理部51は、ウェブクライアントとして動作し、通信装置41を使用して、HTTPコマンドを複合機1へ送信し、HTMLデータファイルを受信する。表示処理部52は、受信されたHTMLデータファイルを解析し、HTMLデータファイルに基づく画面を表示装置43に表示させる。
After the
次に、上記複合機1およびホスト装置2の動作について説明する。図2は、図1における複合機1から取得されたHTMLデータファイルに基づくホスト装置2の動作を説明するフローチャートである。
Next, operations of the
ホスト装置2は、ユーザー操作に基づき、通信処理部51で、操作画面のHTMLデータファイルを取得するためのHTTPコマンドを複合機1へ送信する。複合機1では、通信処理部31がそのHTTPコマンドを受信すると、HTML生成部32が、操作画面のHTMLデータファイルを生成し、通信処理部31で、ホスト装置2へ送信する。ホスト装置2は、そのHTMLデータファイルを通信処理部51で受信し、その操作画面のHTMLデータファイルを解釈して、以下の処理を実行する。まず、ホスト装置2は、そのHTMLデータファイルに基づく操作画面を表示処理部52で表示装置43に表示する(ステップS1)。
Based on the user operation, the
また、ホスト装置2は、その操作画面のHTMLデータファイルに記述されている初期サブ画面のHTMLデータファイルをするためのHTTPコマンドを複合機1へ送信する。複合機1では、通信処理部31がそのHTTPコマンドを受信すると、HTML生成部32が、そのサブ画面のHTMLデータファイルを生成し、通信処理部31で、ホスト装置2へ送信する。ホスト装置2は、そのHTMLデータファイルを通信処理部51で受信し、表示処理部52で、操作画面内のフレームに、そのサブ画面を表示する(ステップS2)。
In addition, the
図3は、図1における複合機1から取得されたHTMLデータファイルに基づきホスト装置2において表示される操作画面の一例を示す図である。図4は、図3に示す操作画面の表示後にユーザーにより設定値の入力があった場合の操作画面の一例を示す図である。
FIG. 3 is a diagram showing an example of an operation screen displayed on the
図3および図4において、チェックボックス81は、自動更新の設定値(つまり、自動更新の可否を示す設定値)をユーザーが入力するための操作部であって、ユーザーは、サブ画面90を自動更新させたい場合には、チェックボックス81をチェックし、サブ画面90を自動更新させたくない場合には、チェックボックス81のチェックを外す。自動更新では、特定の時間間隔で、サブ画面90のHTMLデータファイルを取得するためのHTTPコマンドが繰り返し送信され、最新のHTTPコマンドで取得されたHTMLデータファイルに基づきサブ画面90が繰り返し更新される。手動更新ボタン82は、ユーザーが手動でサブ画面90を更新させるためのボタンである。手動更新ボタン82のユーザーによる押下が検出されると、サブ画面90のHTMLデータファイルを取得するためのHTTPコマンドが1回だけ送信され、そのHTTPコマンドで取得されたHTMLデータファイルに基づきサブ画面90が更新される。また、図3に示すように、操作画面には、サブ画面90のメニューがあり、ステータス表示画面のメニュー項目83、設定画面のメニュー項目84などがある。メニュー項目83がユーザーにより押下されると、ステータス表示画面のHTMLデータファイルが取得され、サブ画面90としてステータス表示画面が表示される。メニュー項目84がユーザーにより押下されると、設定画面のHTMLデータファイルが取得され、サブ画面90として設定画面が表示される。
3 and 4, a
図3および図4では、設定画面が表示されている。この設定画面は、ユーザーが設定値を入力するためのラジオボタン、入力フィールドなどの操作部が存在し、図4に示すようにユーザーがこれらの操作部に対して設定値を入力した後に、確定ボタン85を押下すると、表示処理部52は、その時点での操作部の値(つまり、設定値)を通信処理部51で複合機1へ送信する。複合機1は、その設定値を受信すると、受信した設定値を適用する。
In FIG. 3 and FIG. 4, a setting screen is displayed. This setting screen has operation parts such as radio buttons and input fields for the user to input setting values. As shown in FIG. 4, after the user inputs setting values to these operation parts, the setting is confirmed. When the
図2に戻り、サブ画面の表示開始時に、表示処理部52は、自動更新フラグの値(つまり、上述のチェックボックス81の値)がオン(つまり、自動更新を許可する値)であるか否かを判定する(ステップS3)。表示処理部52は、その自動更新フラグの値がオンである場合、そのサブ画面における自動更新データに基づいて、このサブ画面がユーザー入力を要求するものであるか否かを判定する(ステップS4)。
Returning to FIG. 2, at the start of display of the sub-screen, the
なお、自動更新フラグの初期値は、操作画面のHTMLデータファイルにおいて指定されており、操作画面の表示開始後、その自動更新フラグの値は、チェックボックス81に対するユーザー操作で変更可能である。
Note that the initial value of the automatic update flag is specified in the HTML data file of the operation screen, and the value of the automatic update flag can be changed by a user operation on the
そして、表示処理部52は、その自動更新フラグに基づいて、このサブ画面がユーザー入力を要求するものではないと判定した場合、サブ画面の更新モードとして、自動更新モードをセットし(ステップS5)、このサブ画面がユーザー入力を要求するものであると判定した場合、サブ画面の更新モードとして、非自動更新モードをセットする(ステップS6)。また、自動更新フラグの値がオンではない場合は、表示処理部52は、サブ画面の更新モードとして、非自動更新モードをセットする(ステップS6)。
If the
つまり、図4に示すように、ユーザーにより自動更新がセットされていても、サブ画面がユーザー入力を要求するものである場合には、サブ画面の更新モードとして、非自動更新モードがセットされる。したがって、自動更新に起因して、図4に示すようなユーザーが入力した値が、確定ボタン85を押下する前に消失せずに済む。
That is, as shown in FIG. 4, even if the automatic update is set by the user, if the sub screen requests user input, the non-automatic update mode is set as the sub screen update mode. . Therefore, the value input by the user as shown in FIG. 4 does not disappear before the
なお、自動更新モードがセットされると、タイマーによる更新間隔の計時が開始される。 Note that when the automatic update mode is set, the timer starts the update interval.
その後、表示処理部52は、メニュー項目83,84に対するユーザー操作が検出されたか否か(ステップS7)、自動更新モードの場合には自動更新のタイミングか否か(ステップS8,S9)、およびチェックボックス81が操作されたか否か(ステップS10)を監視する。
Thereafter, the
そして、メニュー項目83,84に対するユーザー操作が検出されると、表示処理部52は、操作されたメニュー項目に対応するサブ画面のHTMLデータファイルを複合機1から取得し、そのHTMLデータファイルに基づくサブ画面を表示させ(ステップS11)、そのサブ画面についての更新モードを同様にセットする(ステップS3〜S6)。
When a user operation on the
また、自動更新モードにおいて自動更新のタイミングとなると、表示処理部52は、現在表示中のサブ画面のHTMLデータファイルを自動的に複合機1から取得し、取得したHTMLデータファイルでサブ画面を自動的に更新する(ステップS12)。
In addition, when the automatic update timing comes in the automatic update mode, the
また、チェックボックス81が操作されると、表示処理部52は、操作に応じて自動更新フラグの値を変更し(ステップS13)、自動更新フラグの変更後の値に基づいて、サブ画面の更新モードをセットしなおす(ステップS3〜S6)。
When the
以上のように、上記実施の形態によれば、サブ画面の画面データは、そのサブ画面の自動更新の許可または不許可を示す自動更新データを含み、操作画面の画面データは、(a)操作画面における自動更新の設定値が自動更新オンを示す場合には、サブ画面の画面データの要求を繰り返しホスト装置2から複合機1へ送信させ、(b)サブ画面の自動更新データの値が自動更新の不許可を示している場合、自動更新の設定値に拘わらず、そのサブ画面の自動更新を禁止させる。
As described above, according to the above-described embodiment, the screen data of the sub screen includes automatic update data indicating permission or non-permission of automatic update of the sub screen, and the screen data of the operation screen includes (a) operation When the automatic update setting value on the screen indicates automatic update ON, the screen data request for the sub screen is repeatedly transmitted from the
これにより、操作画面において自動更新がユーザーにより設定されていても、自動更新させたくないサブ画面については自動更新が抑制される。 Thereby, even if the automatic update is set by the user on the operation screen, the automatic update is suppressed for the sub screen that is not desired to be automatically updated.
なお、上述の実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。 The above-described embodiments are preferred examples of the present invention, but the present invention is not limited to these, and various modifications and changes can be made without departing from the scope of the present invention. is there.
例えば、自動更新データは、JavaScript(商標)の変数として記述される。 For example, the automatic update data is described as a JavaScript (trademark) variable.
本発明は、例えば、画像形成装置のホスト装置に適用可能である。 The present invention is applicable to a host device of an image forming apparatus, for example.
1 複合機(ウェブサーバーの一例,画像形成装置の一例)
2 クライアント装置
16 記憶装置
22 HTMLテンプレートファイル(テンプレートファイルの一例)
31 通信処理部(要求受付部の一例)
32 HTML生成部(画面データ送信部の一例,データファイル生成部の一例)
42 演算処理装置(コンピューターの一例)
90 サブ画面
1 MFP (an example of a web server, an example of an image forming device)
2
31 Communication processing unit (an example of a request receiving unit)
32 HTML generator (an example of a screen data transmitter, an example of a data file generator)
42 Arithmetic processing device (an example of a computer)
90 Sub screen
Claims (8)
前記要求受付部により前記要求を受け付けた前記画面データを送信し前記クライアント装置に前記画面データに基づく前記操作画面を表示させる画面データ送信部とを備え、
前記サブ画面の画面データは、そのサブ画面の自動更新の許可または不許可を示す自動更新データを含み、
前記操作画面の画面データは、(a)前記操作画面における自動更新の設定値が自動更新の許可を示す場合には、前記サブ画面の画面データの要求を繰り返し前記クライアント装置から当該ウェブサーバーへ送信させ、(b)前記サブ画面の前記自動更新データの値が自動更新の不許可を示している場合、前記自動更新の設定値に拘わらず、そのサブ画面の自動更新を禁止させること、
を特徴とするウェブサーバー。 A request accepting unit that accepts a request for screen data of the operation screen of the client device and screen data of the sub screen included in the operation screen;
A screen data transmission unit that transmits the screen data received by the request reception unit and displays the operation screen based on the screen data on the client device;
The screen data of the sub screen includes automatic update data indicating permission or disapproval of automatic update of the sub screen,
The screen data of the operation screen includes: (a) When the setting value of automatic update on the operation screen indicates permission of automatic update, the screen data of the sub screen is repeatedly transmitted from the client device to the web server. (B) when the value of the automatic update data on the sub screen indicates that automatic update is not permitted, the automatic update of the sub screen is prohibited regardless of the setting value of the automatic update;
A web server characterized by
前記サブ画面がユーザー操作に基づく入力値を受け付けない画面である場合には、そのサブ画面の画面データにおける前記自動更新データは、前記自動更新の不許可を示す値を有さないこと、
を特徴とする請求項1記載のウェブサーバー。 When the sub screen is a screen that accepts an input value based on a user operation, the automatic update data in the screen data of the sub screen has a value indicating that automatic updating is not permitted,
When the sub screen is a screen that does not accept an input value based on a user operation, the automatic update data in the screen data of the sub screen does not have a value indicating that automatic updating is not permitted,
The web server according to claim 1.
前記データファイル生成部は、(c1)前記画面データに対応するテンプレートファイルを特定し、(c2)前記テンプレートファイルにおけるトークンを検出し、(c3)検出した前記トークンに対応する関数を実行し、(c4)前記トークンを前記関数の戻り値で置換して前記テンプレートファイルから前記画面データを生成し、
前記テンプレートファイルは、前記自動更新データを含むこと、
を特徴とする請求項1から請求項4のうちのいずれか1項記載のウェブサーバー。 A data file generation unit that dynamically generates the screen data of the sub screen that has received the request by the request reception unit, and a storage device that stores a template file of the screen data of the sub screen,
The data file generation unit (c1) specifies a template file corresponding to the screen data, (c2) detects a token in the template file, (c3) executes a function corresponding to the detected token, c4) replacing the token with the return value of the function to generate the screen data from the template file;
The template file includes the automatic update data;
The web server according to any one of claims 1 to 4, wherein
前記操作画面は、サブ画面を含み、
前記サブ画面の画面データは、そのサブ画面の自動更新の許可または不許可を示す自動更新データを含んでおり、
前記クライアント装置のコンピューターに、
(a)前記操作画面における自動更新の設定値が自動更新の許可を示す場合には、前記サブ画面の画面データの要求を繰り返し前記クライアント装置からウェブサーバーへ送信させ、(b)前記サブ画面の前記自動更新データの値が自動更新の不許可を示している場合、前記自動更新の設定値に拘わらず、そのサブ画面の自動更新を禁止させること、
を特徴とする画面制御プログラム。 In the screen control program described in the screen data of the operation screen of the client device,
The operation screen includes a sub-screen,
The screen data of the sub screen includes automatic update data indicating permission or non-permission of automatic update of the sub screen,
In the client device computer,
(A) When the setting value of automatic update on the operation screen indicates permission of automatic update, the screen data request of the sub screen is repeatedly transmitted from the client device to the web server, and (b) the sub screen When the value of the automatic update data indicates that automatic update is not permitted, the automatic update of the sub-screen is prohibited regardless of the setting value of the automatic update;
A screen control program.
前記サブ画面の画面データは、そのサブ画面の自動更新の許可または不許可を示す自動更新データを含んでおり、
(a)前記操作画面における自動更新の設定値が自動更新の許可を示す場合には、前記サブ画面の画面データの要求を繰り返し前記クライアント装置からウェブサーバーへ送信させ、(b)前記サブ画面の前記自動更新データの値が自動更新の不許可を示している場合、前記自動更新の設定値に拘わらず、そのサブ画面の自動更新を禁止させること、
を特徴とする画面制御方法。 In the screen control method for controlling the automatic update of the sub screen included in the operation screen of the client device,
The screen data of the sub screen includes automatic update data indicating permission or non-permission of automatic update of the sub screen,
(A) When the setting value of automatic update on the operation screen indicates permission of automatic update, the screen data request of the sub screen is repeatedly transmitted from the client device to the web server, and (b) the sub screen When the value of the automatic update data indicates that automatic update is not permitted, the automatic update of the sub-screen is prohibited regardless of the setting value of the automatic update;
A screen control method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012199924A JP5797174B2 (en) | 2012-09-11 | 2012-09-11 | Web server, image forming apparatus, screen control program, and screen control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012199924A JP5797174B2 (en) | 2012-09-11 | 2012-09-11 | Web server, image forming apparatus, screen control program, and screen control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014056354A true JP2014056354A (en) | 2014-03-27 |
JP5797174B2 JP5797174B2 (en) | 2015-10-21 |
Family
ID=50613628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012199924A Expired - Fee Related JP5797174B2 (en) | 2012-09-11 | 2012-09-11 | Web server, image forming apparatus, screen control program, and screen control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5797174B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004534310A (en) * | 2001-06-14 | 2004-11-11 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Screen refresh method |
-
2012
- 2012-09-11 JP JP2012199924A patent/JP5797174B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004534310A (en) * | 2001-06-14 | 2004-11-11 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Screen refresh method |
Also Published As
Publication number | Publication date |
---|---|
JP5797174B2 (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5325859B2 (en) | Image forming system and image forming apparatus | |
US8504612B2 (en) | Image forming system, image forming apparatus, and image forming method for the development, distribution, and maintenance of image forming apparatus operation screens | |
US9195976B2 (en) | Device, charging method, and system | |
JP6927276B2 (en) | Information processing system, information processing device, information processing method and program | |
JP2011055075A (en) | Image forming system and image forming apparatus | |
JP2011238006A (en) | Image formation system and server device | |
KR101395488B1 (en) | Image processing apparatus, method of controlling same and storage medium storing program for same | |
JP2011131382A (en) | Image forming system and image forming apparatus | |
JP5471032B2 (en) | Image forming apparatus and program | |
JP2011133935A (en) | Image forming system and image forming apparatus | |
JP5346901B2 (en) | Driver program | |
JP2017184156A (en) | Information processing device, information processing system, method for controlling information processing device, and program | |
JP5060543B2 (en) | Image forming system and image forming apparatus | |
JP5797174B2 (en) | Web server, image forming apparatus, screen control program, and screen control method | |
JP5232846B2 (en) | Image forming system and image forming apparatus | |
JP2008282311A (en) | Network device and data updating method | |
JP2011137921A (en) | Screen switching method, image forming apparatus, information processor, and screen switching control system | |
JP2012014626A (en) | Screen information output device, screen information output method and screen description information | |
KR101385492B1 (en) | Data transmitting device, image forming apparatus and methods thereof | |
JP2012089953A (en) | Image forming apparatus | |
JP7334530B2 (en) | Information processing device and program | |
JP2011129967A (en) | Image forming apparatus | |
JP2011138257A (en) | Screen switching method, image forming apparatus, and screen switching control system | |
JP2013003980A (en) | Server device and server program | |
JP5232764B2 (en) | Image forming apparatus and driver program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140819 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150507 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150701 |
|
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: 20150723 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150818 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5797174 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |