JP2016170497A - Display control device, server, system, and program - Google Patents

Display control device, server, system, and program Download PDF

Info

Publication number
JP2016170497A
JP2016170497A JP2015048251A JP2015048251A JP2016170497A JP 2016170497 A JP2016170497 A JP 2016170497A JP 2015048251 A JP2015048251 A JP 2015048251A JP 2015048251 A JP2015048251 A JP 2015048251A JP 2016170497 A JP2016170497 A JP 2016170497A
Authority
JP
Japan
Prior art keywords
data
display
web server
display data
web browser
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015048251A
Other languages
Japanese (ja)
Inventor
正義 ▲榊▼原
正義 ▲榊▼原
Masayoshi Sakakibara
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2015048251A priority Critical patent/JP2016170497A/en
Publication of JP2016170497A publication Critical patent/JP2016170497A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Information Transfer Between Computers (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce processing time related to display processing in a device that performs screen display by a web browser.SOLUTION: Acquisition means 201 obtains display data for displaying a screen from a Web server. Reading means 202 reads, if display element data included in display data obtained by the acquisition means 201 is stored in a storage device 206 which is provided in a device where a web browser 200 operates, the data from a storage device 206 by using a path indicating a storage location of the data without transmitting an acquisition request for the data to the web server. Drawing processing means 203 performs drawing processing of a screen corresponding to the display data obtained by the acquisition means 201, by using the data read by the reading means 202.SELECTED DRAWING: Figure 2

Description

本発明は、表示制御装置、サーバ、システムおよびプログラムに関する。   The present invention relates to a display control device, a server, a system, and a program.

特許文献1には、ウェブアクセス要求されたコンテンツの種類によらず、効率的にキャッシュするための技術が記載されている。特許文献1に記載の装置は、ウェブサーバ13から取得したコンテンツが、キャッシングシステムにおいて動的コンテンツとされている場合であっても、当該コンテンツについてキャッシュ可能とHTTP Responseのヘッダで指摘されている場合には、当該コンテンツをキャッシュメモリに保存する。   Patent Literature 1 describes a technique for efficiently caching regardless of the type of content requested for web access. In the device described in Patent Document 1, even if the content acquired from the web server 13 is dynamic content in the caching system, the content is indicated as being cacheable by the HTTP Response header. The content is stored in a cache memory.

特開2005−18398号公報JP 2005-18398 A

本発明は、Webブラウザにより画面表示を行う装置において、表示処理に係る処理時間を短縮することを目的とする。   An object of the present invention is to reduce processing time related to display processing in an apparatus that performs screen display using a Web browser.

本発明の請求項1に係る表示制御装置は、画面を表示するための表示用データをWebサーバから取得する取得手段と、前記取得された表示用データに含まれる表示要素のデータが、当該装置に設けられた記憶装置に記憶されている場合、該データを取得するための取得要求を前記Webサーバに送信することなく、該データの格納場所を示すパスを用いて該データを前記記憶装置から読み出す読出手段と、前記読み出されたデータを用いて前記取得された表示用データに対応する画面の描画処理を行う描画処理手段とを有することを特徴とする。   The display control apparatus according to claim 1 of the present invention includes an acquisition unit that acquires display data for displaying a screen from a Web server, and display element data included in the acquired display data. If the data is stored in the storage device, the data is sent from the storage device using a path indicating the storage location of the data without transmitting an acquisition request for acquiring the data to the Web server. It has a reading means for reading, and a drawing processing means for drawing a screen corresponding to the acquired display data using the read data.

本発明の請求項2に係る表示制御装置は、請求項1に記載の構成において、前記取得された表示用データから、予め定められた格納領域にアクセスするためのパスを示すベースパス情報と、該格納領域からの相対パスを示す相対パス情報とを取得する第2取得手段と、前記取得されたベースパス情報と相対パス情報とから、前記データにアクセスするためのファイルパスを特定する特定手段とを更に有し、前記読出手段は、前記特定されたファイルパスを用いて前記データを読み出すことを特徴とする。   The display control apparatus according to claim 2 of the present invention is the configuration according to claim 1, wherein base path information indicating a path for accessing a predetermined storage area from the acquired display data, Second acquisition means for acquiring relative path information indicating a relative path from the storage area, and specifying means for specifying a file path for accessing the data from the acquired base path information and relative path information And the reading means reads the data using the specified file path.

本発明の請求項3に係る表示制御装置は、請求項1または2に記載の構成において、前記読出手段は、前記Webサーバが当該装置内で動作している場合に前記データの格納場所を示すパスを用いて該データを前記記憶装置から読み出すことを特徴とする。   According to a third aspect of the present invention, in the configuration according to the first or second aspect, the reading means indicates the storage location of the data when the Web server is operating in the apparatus. The data is read from the storage device using a path.

本発明の請求項4に係る表示制御装置は、請求項1ないし3のいずれか1項に記載の構成において、前記読出手段は、前記データの読出に失敗した場合、前記Webサーバに該データの取得要求を送信し、該Webサーバから該データを取得することを特徴とする。   According to a fourth aspect of the present invention, in the configuration according to any one of the first to third aspects, when the reading unit fails to read the data, the display unit stores the data on the Web server. An acquisition request is transmitted, and the data is acquired from the Web server.

本発明の請求項5に係るサーバは、画面を表示するための表示用データの取得要求をWebブラウザから受信する受信手段と、前記受信された取得要求に対する応答として、前記表示用データに含まれる表示要素のデータの格納場所に対応するベースパス情報を該表示用データに付加して前記Webブラウザに送信する送信手段とを有することを特徴とする。   The server according to claim 5 of the present invention is included in the display data as a receiving means for receiving a display data acquisition request for displaying a screen from a Web browser, and as a response to the received acquisition request. Transmission means for adding the base path information corresponding to the storage location of the data of the display element to the display data and transmitting it to the Web browser.

本発明の請求項6に係るサーバは、請求項5に記載の構成において、前記送信手段は、前記受信された取得要求の送信元が当該装置内で動作しているWebブラウザである場合に、前記ベースパス情報を前記表示用データに付加して送信することを特徴とする。   According to a sixth aspect of the present invention, in the configuration according to the fifth aspect, when the transmission unit is a Web browser operating in the apparatus, the transmission unit of the received acquisition request is The base path information is added to the display data and transmitted.

本発明の請求項7に係るシステムは、Webブラウザと、Webサーバとを有し、前記Webブラウザは、画面を表示するための表示用データを前記Webサーバから取得する取得手段と、前記取得された表示用データに含まれる表示要素のデータが、当該Webブラウザが動作する装置に設けられた記憶装置に記憶されている場合、該データを取得するための取得要求を前記Webサーバに送信することなく、該データの格納場所を示すパスを用いて該データを前記記憶装置から読み出す読出手段と、前記読み出されたデータを用いて前記取得された表示用データに対応する画面の描画処理を行う描画処理手段とを備え、前記Webサーバは、画面を表示するための表示用データの取得要求を前記Webブラウザから受信する受信手段と、前記受信された取得要求に対する応答として、前記表示用データに含まれる表示要素のデータの格納場所に対応するベースパス情報を該表示用データに付加して前記Webブラウザに送信する送信手段とを備えることを特徴とする。   A system according to claim 7 of the present invention includes a Web browser and a Web server, and the Web browser acquires the display data for displaying a screen from the Web server, and the acquired When the display element data included in the display data is stored in a storage device provided in the device on which the Web browser operates, an acquisition request for acquiring the data is transmitted to the Web server. Rather, a reading means for reading the data from the storage device using a path indicating the storage location of the data, and a drawing process of the screen corresponding to the acquired display data using the read data Drawing processing means, wherein the Web server receives a display data acquisition request for displaying a screen from the Web browser; And a transmission means for adding the base path information corresponding to the storage location of the data of the display element included in the display data to the Web browser as a response to the received acquisition request. It is characterized by that.

本発明の請求項8に係るプログラムは、コンピュータに、画面を表示するための表示用データをWebサーバから取得するステップと、前記取得された表示用データに含まれる表示要素のデータが、前記コンピュータに設けられた記憶装置に記憶されている場合、該データを取得するための取得要求を前記Webサーバに送信することなく、該データの格納場所を示すパスを用いて該データを前記記憶装置から読み出すステップと、前記読み出されたデータを用いて前記取得された表示用データに対応する画面の描画処理を行うステップとを実行するためのプログラムであることを特徴とする。   According to an eighth aspect of the present invention, there is provided a program for acquiring, from a Web server, display data for displaying a screen on a computer, and display element data included in the acquired display data. If the data is stored in the storage device, the data is sent from the storage device using a path indicating the storage location of the data without transmitting an acquisition request for acquiring the data to the Web server. It is a program for executing a reading step and a step of performing a drawing process of a screen corresponding to the acquired display data using the read data.

本発明の請求項9に係るプログラムは、コンピュータに、画面を表示するための表示用データの取得要求をWebブラウザから受信するステップと、前記受信された取得要求に対する応答として、前記表示用データに含まれる表示要素のデータの格納場所に対応するベースパス情報を該表示用データに付加して前記Webブラウザに送信するステップとを実行させるためのプログラムであることを特徴とする。   According to a ninth aspect of the present invention, there is provided a program for receiving, in a computer, a display data acquisition request for displaying a screen from a Web browser, and as a response to the received acquisition request, the display data. And a step of adding the base path information corresponding to the storage location of the data of the included display element to the display data and transmitting it to the Web browser.

請求項1、7および8に係る発明によれば、Webブラウザにより画面表示を行う装置において、表示用データに含まれる表示要素のデータを、Webサーバを介して取得する場合に比べて、表示処理に係る処理時間を短縮することができる。
請求項2に係る発明によれば、表示用データに含まれる表示要素のデータを、Webサーバを介することなく取得することができる。
請求項3に係る発明によれば、WebサーバとWebブラウザとが一の装置で動作している場合に、Webサーバを介することなく表示要素のデータを取得することができる。
請求項4に係る発明によれば、表示要素のデータの読出に失敗した場合であっても表示処理を継続することができる。
請求項5および9に係る発明によれば、Webブラウザにより画面表示を行う装置において、表示用データに含まれる表示要素のデータを、Webサーバを介して取得する場合に比べて、表示処理に係る処理時間を短縮することができる。
請求項6に係る発明によれば、WebサーバとWebブラウザとが一の装置で動作している場合に、WebブラウザがWebサーバを介することなく表示要素のデータを取得することができる。
According to the first, seventh, and eighth aspects of the present invention, in the device that displays the screen by the Web browser, the display processing is performed as compared with the case where the display element data included in the display data is acquired via the Web server. It is possible to shorten the processing time according to the above.
According to the invention which concerns on Claim 2, the data of the display element contained in the display data can be acquired without going through a Web server.
According to the third aspect of the present invention, when the Web server and the Web browser are operating on one device, display element data can be acquired without going through the Web server.
According to the fourth aspect of the present invention, the display process can be continued even when the reading of the display element data fails.
According to the inventions according to claims 5 and 9, in the device that performs screen display by the Web browser, the display element data included in the display data is related to the display processing as compared with the case of acquiring the data through the Web server. Processing time can be shortened.
According to the sixth aspect of the present invention, when the Web server and the Web browser are operating on a single device, the Web browser can acquire display element data without going through the Web server.

システム1の構成を示す模式図Schematic diagram showing the configuration of system 1 画像形成装置20の機能構成を示す図The figure which shows the function structure of the image forming apparatus 20. 画像形成装置20のハードウェア構成を示す図The figure which shows the hardware constitutions of the image forming apparatus 20 画像形成装置20が行う処理の一例を示すフローチャートA flowchart showing an example of processing performed by the image forming apparatus 20 取得要求への応答処理の一例を示すフローチャートA flowchart showing an example of a response process to an acquisition request 表示用データの一例を示す図Diagram showing an example of display data ベースパス情報取得処理の一例を示すフローチャートA flowchart showing an example of base path information acquisition processing

[1]構成
図1は、本実施形態に係るシステム1の構成を示す模式図である。システム1は、サーバ10と、画像形成装置20(表示制御装置の一例、サーバの一例)とを備える。サーバ10は、いわゆるWebサーバの機能を提供する装置である。画像形成装置20は、コピー、スキャン、ファクシミリ、プリント(画像データの媒体への出力)などのサービスを利用者に提供する装置である。画像形成装置20は、媒体に画像を形成する画像形成処理や、媒体に形成された画像を読み取る画像読取処理などの処理を行う。これらの処理は、コピー、スキャン、ファクシミリ、プリントなどのサービスが利用者に提供される際に行われる。通信回線2は、例えばインターネットや移動体通信網、電話回線などのうちの少なくとも1つ以上を含む。通信回線2には、サーバ10および画像形成装置20が接続されている。
[1] Configuration FIG. 1 is a schematic diagram illustrating a configuration of a system 1 according to the present embodiment. The system 1 includes a server 10 and an image forming apparatus 20 (an example of a display control device, an example of a server). The server 10 is a device that provides a so-called Web server function. The image forming apparatus 20 is an apparatus that provides a user with services such as copying, scanning, facsimile, and printing (output of image data to a medium). The image forming apparatus 20 performs processes such as an image forming process for forming an image on a medium and an image reading process for reading an image formed on the medium. These processes are performed when services such as copying, scanning, facsimile, and printing are provided to the user. The communication line 2 includes at least one of the Internet, a mobile communication network, a telephone line, and the like, for example. A server 10 and an image forming apparatus 20 are connected to the communication line 2.

画像形成装置20はWebブラウザの機能とWebサーバの機能とを備える。Webブラウザは、画像形成装置20内部のWebサーバや外部装置のWebサーバにアクセスし、画像形成装置20の操作画面を、HTML(HyperText Markup Language)、CSS(Cascading Style Sheets)、JavaScript(登録商標)などのWeb技術により実現する。すなわち、Webブラウザは予め定められたURL(Uniform Resource Locator)で示されるWebサーバから操作画面を表示するためのデータ(HTMLで記述されたデータなど)を取得し、これを解析して表示装置に解析結果を表示する。表示部品(ボタンやテキスト)に対する操作により、そのデータに記述されたWebサーバのアクセス先(URL)にデータの取得要求が送信され、Webサーバから返送されるファイルの情報(MIMEタイプ(text/html、text/plain、text/javascript、text/css、text/xml、image/jpeg、image/png、image/bmp、等))に応じた処理が行われる。例えばファイル情報がHTMLであれば構文が解析され、表示が行われる。ファイル情報がJPEGであればJPEG画像が解凍されて表示される。ファイル情報がJavaScriptならばプログラムが解析され実行される。   The image forming apparatus 20 includes a Web browser function and a Web server function. The Web browser accesses a Web server inside the image forming apparatus 20 or a Web server of an external apparatus, and displays an operation screen of the image forming apparatus 20 as HTML (HyperText Markup Language), CSS (Cascading Style Sheets), JavaScript (registered trademark). It is realized by Web technology such as. That is, the Web browser obtains data (such as data described in HTML) for displaying an operation screen from a Web server indicated by a predetermined URL (Uniform Resource Locator), analyzes this data, and displays it on the display device. Display analysis results. By an operation on a display component (button or text), a data acquisition request is transmitted to the access destination (URL) of the Web server described in the data, and file information returned from the Web server (MIME type (text / html , Text / plain, text / javascript, text / css, text / xml, image / jpeg, image / png, image / bmp, etc.)). For example, if the file information is HTML, the syntax is analyzed and displayed. If the file information is JPEG, the JPEG image is decompressed and displayed. If the file information is JavaScript, the program is analyzed and executed.

図2は、画像形成装置20の機能構成の一例を示す図である。画像形成装置20は、Webブラウザ200と、Webサーバ250とを備える。Webブラウザ200は、取得手段201と、読出手段202と、描画処理手段203と、第2取得手段204と、特定手段205とを有する。取得手段201は、画面を表示するための表示用データをWebサーバから取得する。読出手段202は、取得手段201によって取得された表示用データに含まれる表示要素のデータが、Webブラウザ200が動作する装置に設けられた記憶装置206に記憶されている場合、上記データを取得するための取得要求をWebサーバに送信することなく、上記データの格納場所を示すパスを用いて上記データを記憶装置206から読み出す。描画処理手段203は、読出手段202によって読み出されたデータを用いて、取得手段201によって取得された表示用データに対応する画面の描画処理を行う。   FIG. 2 is a diagram illustrating an example of a functional configuration of the image forming apparatus 20. The image forming apparatus 20 includes a web browser 200 and a web server 250. The Web browser 200 includes an acquisition unit 201, a reading unit 202, a drawing processing unit 203, a second acquisition unit 204, and a specifying unit 205. The acquisition unit 201 acquires display data for displaying a screen from a Web server. When the display element data included in the display data acquired by the acquisition unit 201 is stored in the storage device 206 provided in the device on which the Web browser 200 operates, the reading unit 202 acquires the data. The data is read from the storage device 206 using a path indicating the storage location of the data without transmitting an acquisition request for the data to the Web server. The drawing processing unit 203 uses the data read by the reading unit 202 to perform screen drawing processing corresponding to the display data acquired by the acquiring unit 201.

第2取得手段204は、取得手段201によって取得された表示用データから、予め定められた格納領域にアクセスするためのパスを示すベースパス情報と、該格納領域からの相対パスを示す相対パス情報とを取得する。特定手段205は、第2取得手段204によって取得されたベースパス情報と相対パス情報とから、上記データにアクセスするためのファイルパスを特定する。   The second acquisition unit 204 includes base path information indicating a path for accessing a predetermined storage area from display data acquired by the acquisition unit 201, and relative path information indicating a relative path from the storage area. And get. The specifying unit 205 specifies a file path for accessing the data from the base path information and the relative path information acquired by the second acquiring unit 204.

Webサーバ250は、受信手段251と、送信手段252とを有する。受信手段251は、画面を表示するための表示用データの取得要求をWebブラウザから受信する。送信手段252は、受信手段251によって受信された取得要求に対応する応答として、上記表示用データに含まれる表示要素のデータの格納場所に対応するベースパス情報を上記表示データに付加して上記Webブラウザに送信する。   The Web server 250 includes a receiving unit 251 and a transmitting unit 252. The receiving unit 251 receives a display data acquisition request for displaying a screen from a Web browser. As a response corresponding to the acquisition request received by the receiving unit 251, the transmitting unit 252 adds base path information corresponding to the storage location of the display element data included in the display data to the display data and adds the Web data. Send to browser.

図3は、画像形成装置20のハードウェア構成を例示する図である。画像形成装置20は、制御モジュール21と、ディスプレイ22と、操作パネル23と、記憶装置26と、通信I/F27と、原稿送り装置28と、画像読取装置29と、プリント装置30とを備える。制御モジュール21は、CPU(Central Processing Unit)と、ROM(Read Only Memory)と、RAM(Random Access Memory)とを備える。CPUは画像形成装置20の各部を制御する。ROMはプログラムおよびデータを記憶する不揮発性の記憶装置である。RAMはCPUがプログラムを実行する際の作業領域として機能する揮発性の主記憶装置である。   FIG. 3 is a diagram illustrating a hardware configuration of the image forming apparatus 20. The image forming apparatus 20 includes a control module 21, a display 22, an operation panel 23, a storage device 26, a communication I / F 27, a document feeding device 28, an image reading device 29, and a printing device 30. The control module 21 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The CPU controls each part of the image forming apparatus 20. The ROM is a non-volatile storage device that stores programs and data. The RAM is a volatile main storage device that functions as a work area when the CPU executes a program.

ディスプレイ22は、例えば液晶ディスプレイを有し、制御モジュール21により制御されて表示面に画像を表示する。操作パネル23は、例えばタッチスクリーンとキーとを備えている。操作パネル23は、画像形成装置20を操作するために用いられる。記憶装置26は、ハードディスクドライブなどを備え、プログラムおよびデータを記憶する不揮発性の補助記憶装置である。通信I/F27は、通信回線2を介した通信を行うためのインターフェースであり、この例では特に、サーバ10と通信を行うためのインターフェースである。   The display 22 has a liquid crystal display, for example, and is controlled by the control module 21 to display an image on the display surface. The operation panel 23 includes, for example, a touch screen and keys. The operation panel 23 is used for operating the image forming apparatus 20. The storage device 26 includes a hard disk drive and the like, and is a nonvolatile auxiliary storage device that stores programs and data. The communication I / F 27 is an interface for performing communication via the communication line 2. In this example, the communication I / F 27 is an interface for performing communication with the server 10 in particular.

原稿送り装置28は、複数の搬送ロールなどを備え、利用者によりセットされた原稿を画像読取装置29に搬送する。画像読取装置29は、例えばCCD(Charge Coupled Devices)方式を用いて、原稿に描かれた画像を読み取る画像読取処理を行う。画像読取装置29は、用紙などの媒体に形成された画像を光学的に読み取って、読み取った画像を表す画像データを制御モジュール21に供給する。プリント装置30は、例えば電子写真方式を用いて、画像データに応じた画像を用紙などの媒体に形成する。なお、画像の読み取りおよび画像の形成に用いられる前述した方式は、それぞれ一例であり、他の方式であってもよい。   The document feeder 28 includes a plurality of transport rollers and the like, and transports a document set by a user to the image reading device 29. The image reading device 29 performs an image reading process for reading an image drawn on a document using, for example, a CCD (Charge Coupled Devices) system. The image reading device 29 optically reads an image formed on a medium such as paper and supplies image data representing the read image to the control module 21. The printing apparatus 30 forms an image corresponding to the image data on a medium such as paper using, for example, an electrophotographic method. Note that the above-described methods used for image reading and image formation are examples, and other methods may be used.

この例で、記憶装置26(またはROM)に記憶されているプログラムを制御モジュール21が実行することにより、図2に示される機能が実装される。プログラムを実行している制御モジュール21、または、制御モジュール21および通信I/F27は、取得手段201、読出手段202、描画処理手段203、第2取得手段204、特定手段205、受信手段251および送信手段252の一例である。   In this example, the function shown in FIG. 2 is implemented by the control module 21 executing the program stored in the storage device 26 (or ROM). The control module 21 that is executing the program, or the control module 21 and the communication I / F 27 includes an acquiring unit 201, a reading unit 202, a drawing processing unit 203, a second acquiring unit 204, a specifying unit 205, a receiving unit 251 and a transmission. This is an example of the means 252.

[2]動作
画像形成装置20のWebブラウザは、利用者の操作に応じてディスプレイ22に操作画面などの各種の画面を表示する。利用者が操作パネル23を用いて操作を行うと、Webブラウザは、操作された内容に応じて、操作画面などの画面を表示するための表示用データの取得要求を、予め定められたWebサーバへ送信する。表示用データは、例えばHTMLやCSSで記述されたデータである。取得要求の送信先となるWebサーバは、画像形成装置20内で動作するWebサーバであってもよく、また、サーバ10などの他の装置で動作するWebサーバであってもよい。
[2] Operation The web browser of the image forming apparatus 20 displays various screens such as an operation screen on the display 22 in accordance with a user operation. When the user performs an operation using the operation panel 23, the Web browser makes a request for acquiring display data for displaying a screen such as an operation screen in accordance with the operated content to a predetermined Web server. Send to. The display data is data described in, for example, HTML or CSS. The Web server that is the transmission destination of the acquisition request may be a Web server that operates in the image forming apparatus 20, or may be a Web server that operates on another apparatus such as the server 10.

図4は、画像形成装置20の制御モジュール21が行う、Webブラウザによる処理の流れを示すフローチャートである。図4に示される処理は、画像形成装置20の電源がオンされたり、利用者によって操作パネル23が操作されたりすることによって、ディスプレイ22に画面を表示する(または画面を更新する)場合に実行される。ステップS201において、制御モジュール21は画面を表示するための表示用データをWebサーバから取得する。この例で、制御モジュール21は、表示用データの取得要求であるHTTPリクエストをWebサーバに送信する。   FIG. 4 is a flowchart showing the flow of processing by the Web browser performed by the control module 21 of the image forming apparatus 20. The processing shown in FIG. 4 is executed when the screen is displayed on the display 22 (or the screen is updated) when the power of the image forming apparatus 20 is turned on or the operation panel 23 is operated by the user. Is done. In step S201, the control module 21 acquires display data for displaying a screen from the Web server. In this example, the control module 21 transmits an HTTP request, which is a display data acquisition request, to the Web server.

Webサーバは、Webブラウザから取得要求を受信すると、図5に示す処理を実行して、取得要求に対応する表示用データをWebブラウザに返送する。 When receiving the acquisition request from the Web browser, the Web server executes the processing shown in FIG. 5 and returns display data corresponding to the acquisition request to the Web browser.

図5は、Webサーバによる、取得要求への応答処理の流れを示すフローチャートである。ステップS601において、制御モジュール21は、Webブラウザから取得要求(HTTPリクエスト)を受信する。ステップS602において、制御モジュール21は、取得要求の送信元のアドレス情報を取得する。ステップS603において、制御モジュール21は、受信された取得要求が、自装置内で動作しているWebブラウザからの要求であるかを判定する。この判定の手法としては、例えば、要求元のアドレスがループバックアドレス(127.0.0.1)や、画像形成装置20に割り当てられたIPアドレスであるどうかを制御モジュール21が判定してもよい。   FIG. 5 is a flowchart showing a flow of response processing to an acquisition request by the Web server. In step S601, the control module 21 receives an acquisition request (HTTP request) from the Web browser. In step S602, the control module 21 acquires the address information of the transmission source of the acquisition request. In step S <b> 603, the control module 21 determines whether the received acquisition request is a request from a Web browser operating in its own device. For example, the control module 21 determines whether the request source address is a loopback address (127.0.0.1) or an IP address assigned to the image forming apparatus 20. Good.

機器内部からの要求である場合、制御モジュール21はステップS604の処理に進む。一方、機器外部からの要求である場合、制御モジュール21は、ステップS604およびステップS605の処理をスキップして、ステップS606の処理に進む。   If the request is from the inside of the device, the control module 21 proceeds to the process of step S604. On the other hand, if the request is from the outside of the device, the control module 21 skips the processes in steps S604 and S605, and proceeds to the process in step S606.

ステップS604において、制御モジュール21は、受信した取得要求に対応する表示用データにベースパス情報を付加する。この例で、ベースパス情報を付加するためのヘッダとして、「x-Base-File-Path」という拡張ヘッダが用いられる。ベースパス情報は、表示用データに含まれる表示要素のデータの格納場所に対応する、予め定められた格納場所を示す情報である。この例で、表示要素とは、表示用データに含まれるデータを示し、例えば、画像データ、PDF(Portable Document Format)データ、DocuWorks(登録商標)データである。   In step S604, the control module 21 adds base path information to the display data corresponding to the received acquisition request. In this example, an extension header “x-Base-File-Path” is used as a header for adding base path information. The base path information is information indicating a predetermined storage location corresponding to the storage location of the display element data included in the display data. In this example, the display element indicates data included in the display data, and is, for example, image data, PDF (Portable Document Format) data, or DocuWorks (registered trademark) data.

図6は、WebサーバからWebブラウザに送信される表示用データの内容の一例を示す図である。図6の例では、表示要素として「img1.jpg」、「img2.gif」、「img3.png」の3つの画像ファイルが表示用データに含まれている。また、「x-Base-File-Path」の拡張ヘッダに、ベースパス情報として「/local/root」がセットされている。   FIG. 6 is a diagram illustrating an example of the content of display data transmitted from the Web server to the Web browser. In the example of FIG. 6, three image files “img1.jpg”, “img2.gif”, and “img3.png” are included in the display data as display elements. Also, “/ local / root” is set as base path information in the extension header of “x-Base-File-Path”.

図5の説明に戻る。ステップS605において、制御モジュール21は、受信した取得要求に対応する表示用データにローカルコンテント情報を付加する。ローカルコンテント情報は、WebブラウザがWebサーバを経由せずに取得可能な表示要素の種別を示す情報である。追加されるローカルコンテント情報の数は、1であってもよく、複数であってもよい。この例で、ローカルコンテント情報を付加するためのヘッダとして、「x-Local-Content」という拡張ヘッダが用いられる。図6の例では、「x-Local-Content」として「*.jpg」と「*.gif」とが記述されている。この例には、拡張子が「jpg」のファイルと「gif」のファイルについては、WebブラウザはWebサーバを経由せずにファイルパスを用いてアクセスしてよい旨が示されている。   Returning to the description of FIG. In step S605, the control module 21 adds local content information to the display data corresponding to the received acquisition request. The local content information is information indicating the type of display element that can be acquired by the Web browser without going through the Web server. The number of local content information added may be one or plural. In this example, an extension header “x-Local-Content” is used as a header for adding local content information. In the example of FIG. 6, “* .jpg” and “* .gif” are described as “x-Local-Content”. In this example, it is indicated that the file with the extension “jpg” and the file with “gif” may be accessed using the file path without the Web browser via the Web server.

ステップS606において、制御モジュール21は、表示用データをWebブラウザに送信する。以上のように、表示用データの取得要求が、そのWebサーバが動作する機器外部から送信されたものである場合、Webサーバはベースパス情報やローカルコンテント情報をヘッダに付加することなく表示用データを要求元へ送信する。一方、機器内部からの要求であると判定された場合、Webサーバは表示用データのヘッダにベースパス情報やローカルコンテント情報を追加して送信する。   In step S606, the control module 21 transmits display data to the Web browser. As described above, when the display data acquisition request is sent from outside the device on which the Web server operates, the Web server displays the display data without adding base path information or local content information to the header. Is sent to the requester. On the other hand, when it is determined that the request is from the inside of the device, the Web server adds the base path information and the local content information to the header of the display data and transmits it.

図4の説明に戻る。ステップS201において、制御モジュール21は、Webサーバへ送信した取得要求の応答としてWebサーバから送信されてくる表示用データを取得する。ステップS202において、制御モジュール21は取得された表示用データからベースパス情報を取得する。   Returning to the description of FIG. In step S201, the control module 21 acquires display data transmitted from the Web server as a response to the acquisition request transmitted to the Web server. In step S202, the control module 21 acquires base path information from the acquired display data.

図7は、制御モジュール21が行う、Webブラウザのベースパス情報取得処理の流れを示すフローチャートである。ステップS401において、制御モジュール21は、未解析のヘッダ情報があるかを判定する。未解析のヘッダ情報がある場合(ステップS401;Y)、制御モジュール21はステップS402の処理に進む。一方、未解析のヘッダ情報がない場合(ステップS402;N)、制御モジュール21はそのまま処理を終了する。   FIG. 7 is a flowchart showing the flow of the Web browser base path information acquisition process performed by the control module 21. In step S401, the control module 21 determines whether there is unanalyzed header information. When there is unanalyzed header information (step S401; Y), the control module 21 proceeds to the process of step S402. On the other hand, when there is no unanalyzed header information (step S402; N), the control module 21 ends the process as it is.

ステップS402において、制御モジュール21はヘッダ情報を取得する。ステップS403において、制御モジュール21は、ステップS402で取得されたヘッダ情報がベースパス情報であるかを判定する。この例で、「x-Base-File-Path」がベースパス情報を示す拡張ヘッダである。取得されたヘッダ情報がベースパス情報である場合(ステップS403;Y)、制御モジュール21はステップS404の処理に進む。一方、ベースパス情報でない場合(ステップS403;N)、制御モジュール21はステップS404の処理に進む。   In step S402, the control module 21 acquires header information. In step S403, the control module 21 determines whether the header information acquired in step S402 is base path information. In this example, “x-Base-File-Path” is an extension header indicating base path information. When the acquired header information is base path information (step S403; Y), the control module 21 proceeds to the process of step S404. On the other hand, when it is not base path information (step S403; N), the control module 21 proceeds to the process of step S404.

ステップS404において、制御モジュール21は、ヘッダを解析して得られたベースパス情報を、記憶装置26またはRAMの予め定められた記憶領域に記憶する。表示用データが図6に示す例である場合、「/local/root」がベースパス情報である。ステップS404の処理を終えると、制御モジュール21はステップS401の処理に戻る。   In step S404, the control module 21 stores the base path information obtained by analyzing the header in the storage device 26 or a predetermined storage area of the RAM. When the display data is the example shown in FIG. 6, “/ local / root” is the base path information. When the process of step S404 is completed, the control module 21 returns to the process of step S401.

ステップS405において、制御モジュール21は、ステップS402で取得されたヘッダ情報がローカルコンテント情報であるかを判定する。取得されたヘッダ情報がローカルコンテント情報である場合(ステップS405;Y)、制御モジュール21はステップS406の処理に進む。一方、ローカルコンテント情報でない場合(ステップS405;N)、制御モジュール21はステップS406の処理を行うことなく、ステップS401の処理に戻る。   In step S405, the control module 21 determines whether the header information acquired in step S402 is local content information. When the acquired header information is local content information (step S405; Y), the control module 21 proceeds to the process of step S406. On the other hand, when it is not local content information (step S405; N), the control module 21 returns to the process of step S401 without performing the process of step S406.

ステップS406において、制御モジュール21は、ヘッダを解析して得たローカルコンテント情報を予め定められた記憶領域に記憶する。表示用データが図6に示す例である場合、「*.jpg」と「*.gif」がローカルコンテント情報である。ステップS406の処理を終えると、制御モジュール21はステップS401の処理に戻る。   In step S406, the control module 21 stores the local content information obtained by analyzing the header in a predetermined storage area. When the display data is the example shown in FIG. 6, “* .jpg” and “* .gif” are local content information. When the process of step S406 is completed, the control module 21 returns to the process of step S401.

図4の説明に戻る。制御モジュール21は、表示用データに表示要素が含まれている場合、ステップS204ないしステップS209に示す処理により、表示要素のデータをWebサーバ経由またはWebサーバを経由することなく直接取得する。Webサーバを経由する場合、制御モジュール21(すなわちWebブラウザ)は、その表示要素のデータの取得要求をWebサーバへ送信し、Webサーバからその取得要求の応答として送信されてくる表示要素のデータを受信する。一方、Webサーバを経由しない場合、制御モジュール21は、その表示要素のデータのファイルパスを用いてそのデータにアクセスし、そのデータを読み出すことによってデータを取得する。以下の説明では、説明の便宜上、Webサーバを経由することなくファイルパスによりローカルファイルにアクセスすることを「ローカルアクセス」と称する。   Returning to the description of FIG. When the display element includes the display element, the control module 21 directly acquires the display element data without going through the web server or the web server by the processing shown in steps S204 to S209. In the case of going through the Web server, the control module 21 (that is, the Web browser) transmits a display element data acquisition request to the Web server, and displays the display element data transmitted from the Web server as a response to the acquisition request. Receive. On the other hand, when not passing through the Web server, the control module 21 accesses the data using the file path of the data of the display element, and acquires the data by reading the data. In the following description, for convenience of description, accessing a local file by a file path without going through a Web server is referred to as “local access”.

まず、ステップS203において、制御モジュール21は、未取得の表示要素のデータがあるかを判定する。未取得の表示要素のデータがある場合、制御モジュール21はステップS204の処理に進む。一方、未取得の表示要素のデータがない場合、制御モジュール21はそのまま処理を終了する。   First, in step S203, the control module 21 determines whether there is unacquired display element data. If there is unacquired display element data, the control module 21 proceeds to the process of step S204. On the other hand, if there is no unacquired display element data, the control module 21 terminates the process.

ステップS204において、制御モジュール21は、表示要素の取得条件を照合し、表示要素をWebサーバ経由で取得するか、Webサーバを経由せずに取得するかを判定する。この例で、取得条件としてローカルコンテント情報が用いられる。制御モジュール21は、その表示要素のファイル名がローカルコンテント情報のいずれかとパターンマッチするか否かで判定する。表示用データが図6に示される例である場合、「img1.jpg」、「img2.gif」、「img3.gif」の3つの表示要素のうち、「img2.gif」、「img3.gif」の2つのファイルがローカルアクセスにより取得するファイルであると判定される。ステップS205において、制御モジュール21は、その表示要素のファイル名がローカルコンテント情報のいずれかとマッチしたかを判定する。マッチしたと判定された場合(ステップS205;Y)、制御モジュール21はその表示要素のデータを、Webサーバを経由せずに取得する。すなわち、マッチした場合、制御モジュール21はステップS206の処理に進む。一方、マッチしなかった場合(ステップS205;N)、制御モジュール21はステップS209の処理に進む。図6の例では、表示要素のファイル名が「img1.jpg」や「img2.gif」である場合、制御モジュール21はステップS206の処理に進む。一方、表示要素のファイル名が「img3.png」の場合、制御モジュール21はステップS209の処理に進む。   In step S204, the control module 21 collates display element acquisition conditions, and determines whether to acquire a display element via a Web server or not via a Web server. In this example, local content information is used as an acquisition condition. The control module 21 determines whether or not the file name of the display element matches with any of the local content information. When the display data is the example shown in FIG. 6, among the three display elements “img1.jpg”, “img2.gif”, and “img3.gif”, “img2.gif” and “img3.gif” These two files are determined to be files obtained by local access. In step S205, the control module 21 determines whether the file name of the display element matches any of the local content information. When it is determined that they match (step S205; Y), the control module 21 acquires the data of the display element without passing through the Web server. That is, if a match is found, the control module 21 proceeds to the process of step S206. On the other hand, when there is no match (step S205; N), the control module 21 proceeds to the process of step S209. In the example of FIG. 6, when the file name of the display element is “img1.jpg” or “img2.gif”, the control module 21 proceeds to the process of step S206. On the other hand, when the file name of the display element is “img3.png”, the control module 21 proceeds to the process of step S209.

ステップS206において、制御モジュール21は、表示要素のデータのファイルパスを特定する。この例で、ファイルパスは、表示用データのヘッダにセットされていたベースパス情報と、表示用データに記述されている、表示要素のデータの相対パスとから特定される。この例で、表示用データが図6に示すものである場合、ファイルパスは、ベースパス情報と表示要素のファイル名とを結合することにより得られる。例えば、ベースパス情報が「/local/root」であり、その表示要素のファイル名が「img1.jpg」である場合、ファイルパスは「/local/root/img1.jpg」となる。   In step S206, the control module 21 specifies the file path of the display element data. In this example, the file path is specified from the base path information set in the header of the display data and the relative path of the display element data described in the display data. In this example, when the display data is as shown in FIG. 6, the file path is obtained by combining the base path information and the file name of the display element. For example, when the base path information is “/ local / root” and the file name of the display element is “img1.jpg”, the file path is “/local/root/img1.jpg”.

ステップS207において、制御モジュール21は、ステップS206で特定したファイルパスを用いて表示要素のデータにアクセスしてデータ取得を行う。データを取得できた場合(ステップS208;Y)、制御モジュール21はステップS203の処理に戻り、次の表示要素について取得処理を行う。一方、データを取得できなかった場合(ステップS208;N)、制御モジュール21はステップS209の処理に進む。データを取得できない場合とは、例えば、なんらかのエラーにより表示要素のファイルが破損している場合や、ファイルが削除されている場合、等がある。   In step S207, the control module 21 acquires data by accessing the data of the display element using the file path specified in step S206. When the data can be acquired (step S208; Y), the control module 21 returns to the process of step S203 and performs the acquisition process for the next display element. On the other hand, when data cannot be acquired (step S208; N), the control module 21 proceeds to the process of step S209. Examples of the case where data cannot be acquired include a case where a display element file is damaged due to some error, a case where a file is deleted, and the like.

ステップS209において、制御モジュール21は、表示要素のデータをWebサーバから取得するための取得要求をWebサーバへ送信し、その取得要求の応答としてWebサーバから送信されてくる表示要素のデータを取得する。すなわち、ローカルコンテント情報として登録されていないファイル種別の表示要素である場合、または、その表示要素のデータにアクセス不可能な場合(ファイルパスによる表示要素のデータの取得に失敗した場合)、制御モジュール21は、通常通りWebサーバを介して表示要素にアクセスする。   In step S209, the control module 21 transmits an acquisition request for acquiring display element data from the Web server to the Web server, and acquires display element data transmitted from the Web server as a response to the acquisition request. . That is, if the file type display element is not registered as local content information, or if the display element data cannot be accessed (if the display element data cannot be obtained by the file path), the control module 21 accesses a display element via a Web server as usual.

以上のようにして、表示用データとそのデータに含まれる表示要素のデータが取得される。制御モジュール21(Webブラウザ)は、取得したデータを解析し、表示すべきページデータをレイアウトして描画データを生成し、ディスプレイ22に出力する。これにより、ディスプレイ22には、表示用データに対応する画面が表示される。   As described above, display data and display element data included in the data are acquired. The control module 21 (Web browser) analyzes the acquired data, lays out the page data to be displayed, generates drawing data, and outputs it to the display 22. As a result, a screen corresponding to the display data is displayed on the display 22.

ところで、Webブラウザでページをロードして表示する際、そのページを構成する要素が多いとWebサーバから取得する処理に時間がかかってしまう場合がある。このとき、一度アクセスした要素をキャッシュすることも考えられるが、アクセスする毎にその都度動的に決定される要素はキャッシュを使用することができない。また、Webブラウザにキャッシュされた要素が予め定められた量を超える場合などにキャッシュされたデータが削除されることがあり、この場合再度Webサーバからデータを取得しなおさなければならない。   By the way, when a page is loaded and displayed by a Web browser, if there are many elements constituting the page, it may take a long time to acquire from the Web server. At this time, it is conceivable to cache an element that has been accessed once, but the element that is dynamically determined each time it is accessed cannot use the cache. In addition, the cached data may be deleted when the number of elements cached in the Web browser exceeds a predetermined amount. In this case, the data must be acquired again from the Web server.

また、UI(ユーザインターフェース)をWebブラウザにより実現する装置において、UIのデータを取得するWebサーバがその装置内で動作している場合がある。この場合、WebブラウザはHTTPプロトコル等によりWebサーバを介して表示要素を取得しなければならず、取得のためのオーバーヘッドがかかっている。   Further, in a device that implements a UI (user interface) with a Web browser, a Web server that acquires UI data may be operating in the device. In this case, the Web browser must acquire the display element via the Web server using the HTTP protocol or the like, and overhead for acquisition is applied.

それに対しこの実施形態では、Webサーバを経由せずに表示要素のデータを取得することでHTTPプロトコルのオーバーヘッドが削減され処理時間が短縮される。また、ファイルパスによりアクセスされた表示要素のデータはキャッシュされない(キャッシュ領域を占有しない)ため、Webサーバを経由して表示要素のデータを取得する場合に比べて、キャッシュメモリの使用量が削減され、キャッシュメモリが効率的に使用される。   On the other hand, in this embodiment, the overhead of the HTTP protocol is reduced and the processing time is shortened by acquiring the display element data without going through the Web server. In addition, since the display element data accessed by the file path is not cached (does not occupy the cache area), the cache memory usage is reduced compared to the case where the display element data is acquired via the Web server. Cache memory is used efficiently.

[3]変形例
上述した実施形態は、本発明の実施の一例に過ぎず、以下のように変形させてもよい。また、上述した実施形態及び以下に示す各変形例は、必要に応じて組み合わせて実施してもよい。
[3] Modifications The above-described embodiments are merely examples of the present invention, and may be modified as follows. Moreover, you may implement combining embodiment mentioned above and each modification shown below as needed.

(1)上述の実施形態では、WebブラウザとWebサーバが一の装置(画像形成装置20)で動作している場合に(図5のステップS603;Y)、制御モジュール21(Webサーバ)が、ベースパス情報およびローカルコンテント情報を表示用データのヘッダに付加した(図5のステップS604、ステップS605)。これに対し、制御モジュール21(Webサーバ)が、ベースパス情報およびローカルコンテント情報を付加するか否かの判定を行わない構成であってもよい。この場合、表示用データの取得要求を受信すると、制御モジュール21(Webサーバ)は、上記判定処理を行うことなく、受信した表示用データにベースパス情報およびローカルコンテント情報を付加してWebブラウザに送信する。この場合、Webブラウザが、送信側のWebサーバが自装置で動作しているWebサーバであるか否かを判定し、自装置で動作していると判定された場合にローカルアクセスを行うと判定してもよい。すなわち、ローカルアクセスを行うか否かの判定は、Webサーバ側で行ってもよく、また、Webブラウザ側で行ってもよい。 (1) In the above-described embodiment, when the web browser and the web server are operating on one apparatus (image forming apparatus 20) (step S603 in FIG. 5; Y), the control module 21 (web server) Base path information and local content information are added to the header of the display data (steps S604 and S605 in FIG. 5). On the other hand, the control module 21 (Web server) may be configured not to determine whether or not to add base path information and local content information. In this case, when the display data acquisition request is received, the control module 21 (Web server) adds the base path information and the local content information to the received display data without performing the above determination process, and sends it to the Web browser. Send. In this case, the Web browser determines whether or not the transmission-side Web server is a Web server operating on the own device, and determines that local access is performed when it is determined that the Web browser is operating on the own device. May be. That is, whether or not to perform local access may be determined on the Web server side or on the Web browser side.

(2)上述の実施形態では、Webサーバを経由せずにファイルパスを用いてデータを取得するか否かを、制御モジュール21が、ファイル名とローカルコンテント情報とがパターンマッチするか否かによって判定した。Webサーバを経由するか否かを判定する方法はこれに限られない。制御モジュール21が、表示要素のデータの種別が予め定められた条件を満たす場合に、Webサーバを経由しないと判定すればよい。例えば、Webサーバを経由せずに取得する表示要素のデータの種別を示す種別情報を記憶装置26に予め記憶しておき、制御モジュール21が、表示要素のデータの種別と予め記憶された種別情報とを比較することによって判定してもよい。この場合、Webサーバは表示用データのヘッダとしてローカルコンテント情報を付加する必要はない。 (2) In the above-described embodiment, whether the control module 21 obtains data using a file path without going through a Web server depends on whether the file name and local content information match. Judged. The method of determining whether to go through the Web server is not limited to this. The control module 21 may determine not to go through the Web server when the data type of the display element satisfies a predetermined condition. For example, type information indicating the type of display element data acquired without going through a Web server is stored in the storage device 26 in advance, and the control module 21 stores the type of display element data and the pre-stored type information. You may determine by comparing. In this case, the Web server does not need to add local content information as a header of display data.

(3)上述の実施形態では、表示要素のデータにアクセスするためのファイルパスを特定する方法として、表示用データのヘッダにセットされたベースパス情報と、表示用データ内に記述された相対パスとが用いられた。ファイルパスの特定方法はこれに限られない。例えば、表示要素のデータの格納場所に対応するベースパス情報を記憶装置26に予め記憶しておき、制御モジュール21が、記憶装置26に記憶されたベースパス情報を用いてファイルパスを特定してもよい。この場合、Webサーバは表示用データのヘッダとしてベースパス情報を付加する必要はない。 (3) In the above-described embodiment, as a method for specifying the file path for accessing the data of the display element, the base path information set in the header of the display data and the relative path described in the display data And were used. The method for specifying the file path is not limited to this. For example, base path information corresponding to the storage location of the display element data is stored in the storage device 26 in advance, and the control module 21 specifies a file path using the base path information stored in the storage device 26. Also good. In this case, the Web server does not need to add base path information as a header of display data.

(4)上述の実施形態では、WebブラウザとWebサーバが一の装置(画像形成装置20)で動作したが、WebブラウザとWebサーバがそれぞれ異なる装置で動作してもよい。この場合、例えば画像ファイルなどのファイルをWebブラウザが動作する装置の予め定められた記憶領域にインストールさせ、Webブラウザが、その記憶領域からファイル(表示要素)を読み出すことで、Webサーバを経由せずにファイルを取得してもよい。 (4) In the above-described embodiment, the Web browser and the Web server are operated by one apparatus (image forming apparatus 20). However, the Web browser and the Web server may be operated by different apparatuses. In this case, for example, a file such as an image file is installed in a predetermined storage area of a device on which the Web browser operates, and the Web browser reads the file (display element) from the storage area so that the file passes through the Web server. You may get the file without

この場合、表示要素のデータの少なくとも一部のコピーを、Webブラウザが動作する装置に記憶させておくとともに、コピーが記憶されている装置のアドレスを、Webサーバに予め登録しておく。Webサーバは、表示用データの取得要求をWebブラウザから受信すると、受信された取得要求の送信元のアドレスを予め登録されたアドレスと照合し、照合された場合に、ローカルアクセスを行わせる(すなわちベースパス情報およびローカルコンテント情報を表示用データのヘッダに付加する)。   In this case, a copy of at least a part of the display element data is stored in a device on which the Web browser operates, and the address of the device in which the copy is stored is registered in advance in the Web server. When the Web server receives the display data acquisition request from the Web browser, the Web server compares the address of the transmission source of the received acquisition request with a pre-registered address. Base path information and local content information are added to the header of the display data).

Webブラウザは、表示要素の種別に応じてローカルアクセスを行うかを判定する。ローカルアクセスを行う場合は自装置の記憶装置から表示要素のデータを読み出し、一方、ローカルアクセスを行わない場合は表示要素の取得要求をWebサーバへ送信する。この場合、ローカルアクセスによるデータ取得に失敗した場合(図4のステップS208;N)、WebブラウザはWebサーバに取得要求を送信してWebサーバから表示要素のデータを取得する。これにより、例えばなんらかのエラーにより表示要素のデータのコピーが破損している場合やデータのコピーが削除されている場合、データを取得できなかった場合であっても、外部装置で動作するWebサーバから表示要素のデータが取得され、画面表示が行われる。   The Web browser determines whether to perform local access according to the type of display element. When local access is performed, display element data is read from the storage device of the local apparatus. On the other hand, when local access is not performed, a display element acquisition request is transmitted to the Web server. In this case, when data acquisition by local access fails (step S208 in FIG. 4; N), the Web browser transmits an acquisition request to the Web server and acquires display element data from the Web server. As a result, for example, when a copy of the data of the display element is damaged due to some error, or when the copy of the data is deleted, even if the data cannot be obtained, the Web server operating on the external device Display element data is acquired and screen display is performed.

(5)上述の実施形態では、制御モジュール21は、表示要素のファイルパスを用いて表示要素のデータに直接アクセスした。ローカルファイルにアクセスする機能が設けられたWebブラウザの場合、Webブラウザがその機能を用いて表示要素のデータにアクセスしてもよい。 (5) In the above-described embodiment, the control module 21 directly accesses the data of the display element using the file path of the display element. In the case of a Web browser provided with a function for accessing a local file, the Web browser may use the function to access display element data.

(6)上述の実施形態では、WebブラウザがWebサーバから取得するデータとして、操作画面などの画面を表示するための表示用データを例示したが、WebブラウザがWebサーバから取得するデータはこれに限られない。WebブラウザがWebサーバから取得するデータは、1または複数の要素を含むデータであればよい。 (6) In the above-described embodiment, the display data for displaying a screen such as an operation screen is exemplified as the data acquired by the Web browser from the Web server. However, the data acquired by the Web browser from the Web server is illustrated here. Not limited. The data acquired by the Web browser from the Web server may be data including one or more elements.

(7)画像形成装置20は、電子写真方式以外の方式で画像を形成するプリンタであってもよい。また、画像形成装置20は、白黒の画像を形成するものであってもよいし、カラーの画像を形成するものであってもよい。 (7) The image forming apparatus 20 may be a printer that forms an image by a method other than the electrophotographic method. The image forming apparatus 20 may form a black and white image or may form a color image.

(8)上述した実施形態において、画像形成装置20の制御モジュール21により実行されるプログラムは、インターネットなどの通信回線を介してダウンロードされてもよい。また、このプログラムは、磁気記録媒体(磁気テープ、磁気ディスクなど)、光記録媒体(光ディスクなど)、光磁気記録媒体、半導体メモリなどの、コンピュータが読取可能な記録媒体に記録した状態で提供されてもよい。 (8) In the above-described embodiment, the program executed by the control module 21 of the image forming apparatus 20 may be downloaded via a communication line such as the Internet. The program is provided in a state of being recorded on a computer-readable recording medium such as a magnetic recording medium (magnetic tape, magnetic disk, etc.), an optical recording medium (optical disk, etc.), a magneto-optical recording medium, or a semiconductor memory. May be.

1…システム、2…通信回線、10…サーバ、20…画像形成装置、21…制御モジュール、22…ディスプレイ、23…操作パネル、26…記憶装置、27…通信I/F、28…原稿送り装置、29…画像読取装置、30…プリント装置、201…取得手段、202…読出手段、203…描画処理手段、204…第2取得手段、205…特定手段、251…受信手段251、252…送信手段 DESCRIPTION OF SYMBOLS 1 ... System, 2 ... Communication line, 10 ... Server, 20 ... Image forming apparatus, 21 ... Control module, 22 ... Display, 23 ... Operation panel, 26 ... Storage device, 27 ... Communication I / F, 28 ... Document feeder , 29 ... Image reading device, 30 ... Printing device, 201 ... Acquisition means, 202 ... Reading means, 203 ... Drawing processing means, 204 ... Second acquisition means, 205 ... Identification means, 251 ... Reception means 251, 252 ... Transmission means

Claims (9)

画面を表示するための表示用データをWebサーバから取得する取得手段と、
前記取得された表示用データに含まれる表示要素のデータが、当該装置に設けられた記憶装置に記憶されている場合、該データを取得するための取得要求を前記Webサーバに送信することなく、該データの格納場所を示すパスを用いて該データを前記記憶装置から読み出す読出手段と、
前記読み出されたデータを用いて前記取得された表示用データに対応する画面の描画処理を行う描画処理手段と
を有する表示制御装置。
Obtaining means for obtaining display data for displaying a screen from a Web server;
When the display element data included in the acquired display data is stored in a storage device provided in the apparatus, without acquiring an acquisition request for acquiring the data to the Web server, Reading means for reading the data from the storage device using a path indicating the storage location of the data;
A display control apparatus comprising: a drawing processing unit that performs drawing processing of a screen corresponding to the acquired display data using the read data.
前記取得された表示用データから、予め定められた格納領域にアクセスするためのパスを示すベースパス情報と、該格納領域からの相対パスを示す相対パス情報とを取得する第2取得手段と、
前記取得されたベースパス情報と相対パス情報とから、前記データにアクセスするためのファイルパスを特定する特定手段と
を更に有し、
前記読出手段は、前記特定されたファイルパスを用いて前記データを読み出す
請求項1に記載の表示制御装置。
Second acquisition means for acquiring base path information indicating a path for accessing a predetermined storage area and relative path information indicating a relative path from the storage area, from the acquired display data;
A specifying means for specifying a file path for accessing the data from the acquired base path information and relative path information;
The display control apparatus according to claim 1, wherein the reading unit reads the data using the specified file path.
前記読出手段は、前記Webサーバが当該装置内で動作している場合に前記データの格納場所を示すパスを用いて該データを前記記憶装置から読み出す
請求項1または2に記載の表示制御装置。
The display control device according to claim 1, wherein the reading unit reads the data from the storage device using a path indicating a storage location of the data when the Web server is operating in the device.
前記読出手段は、前記データの読出に失敗した場合、前記Webサーバに該データの取得要求を送信し、該Webサーバから該データを取得する
請求項1ないし3のいずれか1項に記載の表示制御装置。
The display according to any one of claims 1 to 3, wherein when the reading of the data fails, the reading unit transmits the data acquisition request to the Web server and acquires the data from the Web server. Control device.
画面を表示するための表示用データの取得要求をWebブラウザから受信する受信手段と、
前記受信された取得要求に対する応答として、前記表示用データに含まれる表示要素のデータの格納場所に対応するベースパス情報を該表示用データに付加して前記Webブラウザに送信する送信手段と
を有するサーバ。
Receiving means for receiving a display data acquisition request for displaying a screen from a web browser;
As a response to the received acquisition request, transmission means for adding base path information corresponding to the storage location of the data of the display element included in the display data to the display data and transmitting it to the Web browser. server.
前記送信手段は、前記受信された取得要求の送信元が当該装置内で動作しているWebブラウザである場合に、前記ベースパス情報を前記表示用データに付加して送信する
請求項5に記載のサーバ。
The transmission unit adds the base path information to the display data and transmits when the transmission source of the received acquisition request is a Web browser operating in the apparatus. Server.
Webブラウザと、Webサーバとを有し、
前記Webブラウザは、
画面を表示するための表示用データを前記Webサーバから取得する取得手段と、
前記取得された表示用データに含まれる表示要素のデータが、当該Webブラウザが動作する装置に設けられた記憶装置に記憶されている場合、該データを取得するための取得要求を前記Webサーバに送信することなく、該データの格納場所を示すパスを用いて該データを前記記憶装置から読み出す読出手段と、
前記読み出されたデータを用いて前記取得された表示用データに対応する画面の描画処理を行う描画処理手段と
を備え、
前記Webサーバは、
画面を表示するための表示用データの取得要求を前記Webブラウザから受信する受信手段と、
前記受信された取得要求に対する応答として、前記表示用データに含まれる表示要素のデータの格納場所に対応するベースパス情報を該表示用データに付加して前記Webブラウザに送信する送信手段と
を備えるシステム。
A web browser and a web server;
The web browser
Acquisition means for acquiring display data for displaying a screen from the Web server;
When the display element data included in the acquired display data is stored in a storage device provided in a device on which the Web browser operates, an acquisition request for acquiring the data is sent to the Web server. Reading means for reading the data from the storage device using a path indicating the storage location of the data without transmitting the data;
Drawing processing means for performing drawing processing of a screen corresponding to the acquired display data using the read data;
The web server
Receiving means for receiving a display data acquisition request for displaying a screen from the Web browser;
As a response to the received acquisition request, transmission means for adding base path information corresponding to the storage location of the data of the display element included in the display data to the display data and transmitting it to the Web browser. system.
コンピュータに、
画面を表示するための表示用データをWebサーバから取得するステップと、
前記取得された表示用データに含まれる表示要素のデータが、前記コンピュータに設けられた記憶装置に記憶されている場合、該データを取得するための取得要求を前記Webサーバに送信することなく、該データの格納場所を示すパスを用いて該データを前記記憶装置から読み出すステップと、
前記読み出されたデータを用いて前記取得された表示用データに対応する画面の描画処理を行うステップと
を実行するためのプログラム。
On the computer,
Obtaining display data for displaying a screen from a web server;
When the data of the display element included in the acquired display data is stored in a storage device provided in the computer, without transmitting an acquisition request for acquiring the data to the Web server, Reading the data from the storage device using a path indicating the storage location of the data;
Performing a drawing process of a screen corresponding to the acquired display data using the read data.
コンピュータに、
画面を表示するための表示用データの取得要求をWebブラウザから受信するステップと、
前記受信された取得要求に対する応答として、前記表示用データに含まれる表示要素のデータの格納場所に対応するベースパス情報を該表示用データに付加して前記Webブラウザに送信するステップと
を実行するためのプログラム。
On the computer,
Receiving a display data acquisition request for displaying a screen from a web browser;
In response to the received acquisition request, the step of adding base path information corresponding to the storage location of the data of the display element included in the display data to the display data and transmitting it to the Web browser is executed. Program for.
JP2015048251A 2015-03-11 2015-03-11 Display control device, server, system, and program Pending JP2016170497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015048251A JP2016170497A (en) 2015-03-11 2015-03-11 Display control device, server, system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015048251A JP2016170497A (en) 2015-03-11 2015-03-11 Display control device, server, system, and program

Publications (1)

Publication Number Publication Date
JP2016170497A true JP2016170497A (en) 2016-09-23

Family

ID=56982463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015048251A Pending JP2016170497A (en) 2015-03-11 2015-03-11 Display control device, server, system, and program

Country Status (1)

Country Link
JP (1) JP2016170497A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018056645A (en) * 2016-09-26 2018-04-05 富士ゼロックス株式会社 Image processing device, server device, image processing system, image processing program, and information processing program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348221A (en) * 2003-05-20 2004-12-09 Nippon Telegr & Teleph Corp <Ntt> System and method for acquiring/storing file
JP2005063192A (en) * 2003-08-14 2005-03-10 Nippon Telegr & Teleph Corp <Ntt> Web caching device, web caching method, and web caching program
JP2009176176A (en) * 2008-01-28 2009-08-06 Nec Corp Web page distribution device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348221A (en) * 2003-05-20 2004-12-09 Nippon Telegr & Teleph Corp <Ntt> System and method for acquiring/storing file
JP2005063192A (en) * 2003-08-14 2005-03-10 Nippon Telegr & Teleph Corp <Ntt> Web caching device, web caching method, and web caching program
JP2009176176A (en) * 2008-01-28 2009-08-06 Nec Corp Web page distribution device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018056645A (en) * 2016-09-26 2018-04-05 富士ゼロックス株式会社 Image processing device, server device, image processing system, image processing program, and information processing program

Similar Documents

Publication Publication Date Title
US8964217B2 (en) Information processing system and method for acquiring workflow from management apparatus using user terminal address
US8717608B2 (en) Terminal device and method generating print data based on one set of web-page information
US7809804B2 (en) Image processing apparatus and program product
JP6729168B2 (en) Content processing device
JP2009038526A (en) Printing server apparatus
US10148768B2 (en) Information processing apparatus and recording medium
US11747955B2 (en) Information processing device and recording system
JP2017201491A (en) Printing system, printing management server, communication relay device, and program
US9110962B2 (en) Data providing apparatus for implementing script, electronic apparatus for implementing script, data processing system for implementing script, and method of data processing for implementing script
US8516359B2 (en) Specifying a web address in order to provide dummy data to be temporarily inserted in a document and later replacing the dummy data
JP5974364B2 (en) Device control apparatus, device apparatus, control method, and control program
KR20200022785A (en) Performing print job according to format of print job acquired based on metadata
JP5838795B2 (en) Print data generation program, terminal device, and control method of terminal device
JP5530217B2 (en) Document browsing system and document conversion server
JP2011141684A (en) Image forming apparatus, service provision method, program and storage medium
US9531905B2 (en) Scanner that is capable of uploading scan data in a target area within a data storage server
US20120331175A1 (en) Image processing apparatus that communicates with server via relay device, method of controlling image processing apparatus, and storage medium
US20120265857A1 (en) Image forming apparatus, communication control method, recording medium encoded with communication control program, browsing method, and recording medium encoded with browsing program
JP2007280028A (en) Information processor and method for setting/changing shortcut key
US8862990B2 (en) Information processing apparatus and data processing method for generating print information based on a print instruction from a browser
JP2016170497A (en) Display control device, server, system, and program
JP6451412B2 (en) Display control apparatus and program
JP2007334887A (en) System and method for retrieving and routing content through document processor
US9549278B2 (en) Communication system, communication apparatus, methods of controlling same, and storage medium
US20160357486A1 (en) Data providing device, data providing method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190117

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190611