[go: up one dir, main page]

JP2014052960A - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP2014052960A
JP2014052960A JP2012198565A JP2012198565A JP2014052960A JP 2014052960 A JP2014052960 A JP 2014052960A JP 2012198565 A JP2012198565 A JP 2012198565A JP 2012198565 A JP2012198565 A JP 2012198565A JP 2014052960 A JP2014052960 A JP 2014052960A
Authority
JP
Japan
Prior art keywords
image
images
processing apparatus
image processing
predetermined number
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
JP2012198565A
Other languages
Japanese (ja)
Inventor
Itaru Kodaira
格 小平
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2012198565A priority Critical patent/JP2014052960A/en
Publication of JP2014052960A publication Critical patent/JP2014052960A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

【課題】CSSスプライト画像を用いる場合の画像の表示時間を短縮する。
【解決手段】Webブラウザに操作画面のWebページを提供可能な画像形成装置であって、Webページの表示対象となる複数の画像を記憶する記憶手段と、所定の条件に基づいて、複数の画像の中から所定数の画像を決定する決定手段と、所定数の画像をまとめて1つの画像を生成する生成手段と、1つの画像を前記Webブラウザに配信する配信手段と、を備える。
【選択図】図3
An image display time when a CSS sprite image is used is shortened.
An image forming apparatus capable of providing a Web page of an operation screen to a Web browser, the storage unit storing a plurality of images to be displayed on the Web page, and a plurality of images based on a predetermined condition Determination means for determining a predetermined number of images, generation means for generating a single image by combining the predetermined number of images, and distribution means for distributing one image to the Web browser.
[Selection] Figure 3

Description

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

PC(Personal Computer)上で動作するWebブラウザは、一般的に画像データをサーバから取得する。Webブラウザは、画像データを取得する際にhttpリクエストを使用する。また、画像データをまとめて取得するCSS(Cascading Style Sheets)スプライトという技術が知られている。これにより、画像のロード回数が削減でき、Webページの画像表示を速くすることができる。   A Web browser operating on a PC (Personal Computer) generally acquires image data from a server. The Web browser uses an http request when acquiring image data. Also, a technique called CSS (Cascading Style Sheets) sprite that collects image data collectively is known. As a result, the number of times the image is loaded can be reduced, and the image display of the Web page can be accelerated.

しかし、CSSスプライトでは、Webページで使用する画像全てをCSSスプライト画像に含めるため、CSSスプライト画像自体のサイズが大きくなってしまう。画像サイズの増大に対し、CSSスプライト画像の矩形画像の表示面積を小さくし、CSSスプライト画像の通信速度を速くする技術がある(例えば、特許文献1参照)。   However, in CSS sprites, all the images used on the Web page are included in the CSS sprite image, so the size of the CSS sprite image itself becomes large. There is a technique for reducing the display area of a rectangular image of a CSS sprite image and increasing the communication speed of the CSS sprite image as the image size increases (see, for example, Patent Document 1).

しかしながら、従来技術は、Webページで表示される画像を全てCSSスプライト画像に含めることに変わりなく、画像を表示するまでの時間がかかるという問題点があった。   However, the conventional technique has a problem in that it takes time until the image is displayed without changing all the images displayed on the Web page into the CSS sprite image.

そこで、本発明は、CSSスプライト画像を用いる場合の画像の表示時間を短縮することができる画像処理装置及びプログラムを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus and a program that can shorten the display time of an image when a CSS sprite image is used.

本発明の一態様の画像処理装置は、Webブラウザに操作画面のWebページを提供可能な画像形成装置であって、前記Webページの表示対象となる複数の画像を記憶する記憶手段と、所定の条件に基づいて、前記複数の画像の中から所定数の画像を決定する決定手段と、前記所定数の画像をまとめて1つの画像を生成する生成手段と、前記1つの画像を前記Webブラウザに配信する配信手段と、を備える。   An image processing apparatus according to an aspect of the present invention is an image forming apparatus capable of providing a Web page of an operation screen to a Web browser, and stores a plurality of images to be displayed on the Web page; Based on a condition, a determination unit that determines a predetermined number of images from the plurality of images, a generation unit that generates a single image by combining the predetermined number of images, and the one image to the Web browser Distribution means for distributing.

本発明によれば、CSSスプライト画像を用いる場合の画像の表示時間を短縮することができる。   ADVANTAGE OF THE INVENTION According to this invention, the display time of the image in the case of using a CSS sprite image can be shortened.

実施例における画像処理システムの一例を示す図。The figure which shows an example of the image processing system in an Example. 実施例における画像処理装置のハードウェア構成の一例を示すブロック図。1 is a block diagram illustrating an example of a hardware configuration of an image processing apparatus according to an embodiment. 実施例における画像処理装置の構成の一例を示すブロック図。1 is a block diagram illustrating an example of a configuration of an image processing apparatus in an embodiment. CSSスプライト画像の一例を示す図。The figure which shows an example of a CSS sprite image. HTMLファイルの一例を示す図。The figure which shows an example of an HTML file. Webページに表示されるイメージ例を示す図。The figure which shows the example of an image displayed on a web page. CSSスプライト画像情報1の一例を示す図。The figure which shows an example of CSS sprite image information 1. FIG. フィニッシャー未装着時のCSSスプライト画像の一例を示す図。The figure which shows an example of the CSS sprite image at the time of not attaching a finisher. フィニッシャー装着済のCSSスプライト画像の一例を示す図。The figure which shows an example of the CSS sprite image with a finisher mounted. 機能制限情報の一例を示す図。The figure which shows an example of function restriction information. CSSスプライト画像情報2の一例を示す図。The figure which shows an example of CSS sprite image information 2. FIG. 各パターンに対する画像情報の一例を示す図。The figure which shows an example of the image information with respect to each pattern. CSSスプライト画像情報3の一例を示す図。The figure which shows an example of the CSS sprite image information 3. FIG. 集計情報の一例を示す図。The figure which shows an example of total information. CSSスプライト画像の生成処理の一例を示すフローチャート。The flowchart which shows an example of the production | generation process of a CSS sprite image. CSSスプライト画像の表示処理の一例を示すシーケンス図。The sequence diagram which shows an example of the display process of a CSS sprite image.

以下、本発明の実施例を図面に基づいて説明する。画像処理装置の一例として複合機(MFP:Multifunction Peripheral)を用いて説明するが、Webサーバ機能を有する装置であればよい。   Embodiments of the present invention will be described below with reference to the drawings. Although an example of an image processing apparatus will be described using a multifunction peripheral (MFP), any apparatus having a Web server function may be used.

[実施例]
<システム>
図1は、実施例における画像処理システム1の一例を示す図である。図1に示す画像処理システム1は、画像処理装置(例えばMFP)10、情報処理装置(PC:Personal Computer)20等がネットワークを介して接続される。ネットワークに接続される画像処理装置や情報処理装置の数は、図1に示す例に限られない。
[Example]
<System>
FIG. 1 is a diagram illustrating an example of an image processing system 1 in the embodiment. In an image processing system 1 shown in FIG. 1, an image processing apparatus (for example, MFP) 10 and an information processing apparatus (PC: Personal Computer) 20 are connected via a network. The number of image processing apparatuses and information processing apparatuses connected to the network is not limited to the example shown in FIG.

情報処理装置20は、Webブラウザを搭載し、このWebブラウザを用いて、画像処理装置10にWebページを要求するhttpリクエストを送信する。情報処理装置20は、Webページを取得するとWebブラウザを用いて表示部に表示する。   The information processing apparatus 20 includes a web browser, and transmits an http request for requesting a web page to the image processing apparatus 10 using the web browser. When the information processing apparatus 20 acquires a Web page, the information processing apparatus 20 displays the Web page on a display unit using a Web browser.

画像処理装置10は、Webサーバとしての機能を有し、情報処理装置20のWebブラウザからhttpリクエストを受け付ける。画像処理装置10は、受け付けたリクエストで指定されたWebページに必要なHTML(HyperText Markup Language)ファイルや画像ファイルを画像処理装置10に配信する。画像ファイルは、例えばCSSスプライト画像である。画像処理装置10は、以下、画像処理装置10について主に説明する。   The image processing apparatus 10 has a function as a Web server, and accepts an http request from the Web browser of the information processing apparatus 20. The image processing apparatus 10 distributes an HTML (HyperText Markup Language) file and an image file necessary for the Web page specified by the received request to the image processing apparatus 10. The image file is, for example, a CSS sprite image. Hereinafter, the image processing apparatus 10 will be mainly described.

<ハードウェア>
次に、画像処理装置10のハードウェア構成について説明する。図2は、実施例における画像処理装置10のハードウェア構成の一例を示すブロック図である。図2に示す例では、画像処理装置10は、CPU(Central Processing Unit)102、SDRAM(Synchronous DRAM)111、SRAM(Static Random Access Memory)112、フラッシュメモリ(フラッシュROM)110、ICカードインタフェース部130およびHDD103などをASIC101に接続したコントローラボード100と、オペレーションパネル150と、ファックスコントロールユニット(FCU)160と、USB170と、IEEE1394 180と、ハードウェア190(例えばプリンタなど)とを含む。
<Hardware>
Next, the hardware configuration of the image processing apparatus 10 will be described. FIG. 2 is a block diagram illustrating an example of a hardware configuration of the image processing apparatus 10 according to the embodiment. In the example illustrated in FIG. 2, the image processing apparatus 10 includes a CPU (Central Processing Unit) 102, an SDRAM (Synchronous DRAM) 111, an SRAM (Static Random Access Memory) 112, a flash memory (flash ROM) 110, and an IC card interface unit 130. And a controller board 100 in which the HDD 103 and the like are connected to the ASIC 101, an operation panel 150, a fax control unit (FCU) 160, a USB 170, an IEEE1394 180, and hardware 190 (for example, a printer).

オペレーションパネル150は、ASIC(Application Specific Integrated Circuit)101に直接接続され、FCU160、USB170、IEEE1394 180およびハードウェア190はPCIバスを介してASIC101に接続されている。   The operation panel 150 is directly connected to an application specific integrated circuit (ASIC) 101, and the FCU 160, USB 170, IEEE1394 180, and hardware 190 are connected to the ASIC 101 via a PCI bus.

ICカードインタフェース部130は、ICカード140を挿入して、ICカード140とデータのやりとりを行うインタフェースである。ICカード140は、インストール記憶媒体として使用することもでき、この場合には開発された外部アプリをICカード140に格納する。   The IC card interface unit 130 is an interface for inserting the IC card 140 and exchanging data with the IC card 140. The IC card 140 can also be used as an installation storage medium. In this case, the developed external application is stored in the IC card 140.

CPU102は、SDRAM111などにロードされたプログラムを処理することにより、各機能を実現する。HDD103には、プログラムやプログラムが利用する各種のデータ等が記憶される。SDRAM111やSRAM112には、各種の設定情報等が記憶される。   The CPU 102 implements each function by processing a program loaded in the SDRAM 111 or the like. The HDD 103 stores a program and various data used by the program. Various setting information and the like are stored in the SDRAM 111 and the SRAM 112.

オペレーションパネル150は、ユーザからの入力の受け付けを行うためのボタン等の入力手段や、液晶パネル等の表示手段等を備えたハードウェアである。オペレーションパネル150は、Webブラウザ機能により、Webページを表示する。   The operation panel 150 is hardware including input means such as buttons for accepting input from a user, display means such as a liquid crystal panel, and the like. The operation panel 150 displays a web page by a web browser function.

<機能>
次に、画像処理装置10の機能的構成について説明する。図3は、実施例における画像処理装置10の構成の一例を示すブロック図である。図3に示す例では、情報処理装置20は、画像処理装置10とネットワークを介して接続されており、Webブラウザ250を搭載し、Webサーバ310に対して操作画面の表示を要求したりする。
<Function>
Next, a functional configuration of the image processing apparatus 10 will be described. FIG. 3 is a block diagram illustrating an example of the configuration of the image processing apparatus 10 according to the embodiment. In the example illustrated in FIG. 3, the information processing apparatus 20 is connected to the image processing apparatus 10 via a network, is equipped with a Web browser 250, and requests the Web server 310 to display an operation screen.

図3に示すWebブラウザ250は、Webページを表示する際、httpリクエストにより画像の取得を要求する。Webブラウザ250は、リクエストの応答で取得したHTMLファイルや画像ファイルによりWebページを表示する。   When the Web browser 250 shown in FIG. 3 displays a Web page, the Web browser 250 requests acquisition of an image using an http request. The web browser 250 displays a web page using an HTML file or an image file acquired in response to the request.

画像処理装置10は、Webサーバ310、コピーアプリ(以下、アプリケーションを単にアプリとも称す)321、FAXアプリ322、スキャナアプリ323、ROM331、不揮発RAM332、及びRAM333を備える。   The image processing apparatus 10 includes a Web server 310, a copy application (hereinafter simply referred to as an application) 321, a FAX application 322, a scanner application 323, a ROM 331, a nonvolatile RAM 332, and a RAM 333.

また、画像処理装置10は、システム管理部341、メモリ管理部342、エンジン管理部343、ユーザ管理部344、送信管理部345、操作パネル350、プロッタオプション361、スキャナオプション362、及びFAXボード363を備える。   The image processing apparatus 10 includes a system management unit 341, a memory management unit 342, an engine management unit 343, a user management unit 344, a transmission management unit 345, an operation panel 350, a plotter option 361, a scanner option 362, and a FAX board 363. Prepare.

オプションとは、画像処理装置10に装着可能(あるいは取り外し可能)な外部装置である。実施例では、印刷後の仕分け・パンチ・ステープルを行う「フィニッシャー」、電話回線を通してFAX通信を行う「FAX通信ボード」をオプションの例として挙げている。   The option is an external device that can be attached to (or removed from) the image processing apparatus 10. In the embodiment, “finisher” that performs sorting, punching, and stapling after printing and “FAX communication board” that performs FAX communication through a telephone line are given as examples of options.

Webサーバ(Webサービス提供手段)310は、インターネットに接続された各装置に対してWebサーバ(httpサーバ)として動作し、情報処理装置20上で動作するWebブラウザ250にアプリケーションの操作画面を表示する。   The Web server (Web service providing means) 310 operates as a Web server (http server) for each device connected to the Internet, and displays an application operation screen on the Web browser 250 operating on the information processing apparatus 20. .

Webサーバ210は、リクエスト受付・配信手段311、HTML生成手段312、決定手段313、画像生成手段314、及び集計手段315を有する。   The Web server 210 includes a request reception / distribution unit 311, an HTML generation unit 312, a determination unit 313, an image generation unit 314, and a totalization unit 315.

リクエスト受付・配信手段311は、Webブラウザ250からのリクエストを受け付け、URL(Uniform Resource Locator)に応じて必要なHTMLファイルや画像ファイルをRAM333から取得する。   The request reception / distribution unit 311 receives a request from the Web browser 250 and acquires a necessary HTML file or image file from the RAM 333 according to a URL (Uniform Resource Locator).

リクエスト受付・配信手段311は、リクエストの応答として、HTMLファイルや画像ファイルをWebブラウザ250に配信する。   The request reception / distribution unit 311 distributes an HTML file or an image file to the Web browser 250 as a response to the request.

HTML生成手段312は、Webブラウザ250に提供するHTMLファイルを生成する。HTMLファイルは、図6を用いて後述する。   The HTML generation unit 312 generates an HTML file to be provided to the web browser 250. The HTML file will be described later with reference to FIG.

決定手段313は、所定の条件に基づいて、ROM331に記憶されたWebページの表示対象となる複数の画像の中から所定数の画像を決定する。例えば、決定手段313は、画像生成手段314により生成されるCSSスプライト画像にどの画像を含めるかを決定する。所定の条件は、幾つかの例を挙げて後述する。   The determination unit 313 determines a predetermined number of images from among a plurality of images that are display targets of the Web page stored in the ROM 331 based on a predetermined condition. For example, the determination unit 313 determines which images are included in the CSS sprite image generated by the image generation unit 314. The predetermined condition will be described later with some examples.

また、決定手段313は、オプションが装着された場合などに、所定数の画像の再決定を行う。決定手段313は、再決定を行った場合には、その旨を画像生成手段314に通知する。   The determination unit 313 performs redetermination of a predetermined number of images when an option is installed. When the determination unit 313 performs redetermination, the determination unit 313 notifies the image generation unit 314 to that effect.

画像生成手段314は、決定手段313により決定された所定数の画像をまとめて、1つの画像を生成する。画像生成手段314は、例えば、決定手段313により決定された所定数の画像を合成してCSSスプライト画像を生成する。   The image generation unit 314 collects a predetermined number of images determined by the determination unit 313 and generates one image. For example, the image generation unit 314 generates a CSS sprite image by combining a predetermined number of images determined by the determination unit 313.

画像生成手段314は、決定手段313により再決定が行われた場合、再決定後の所定数の画像から1つの画像を生成する。   When the re-determination is performed by the determination unit 313, the image generation unit 314 generates one image from a predetermined number of images after the re-determination.

集計手段315は、Webページ毎に、Webブラウザ250への提供回数を集計する。集計手段315は、ユーザ毎に集計してもよい。集計手段315は、集計した回数を決定手段313に通知する。   The counting unit 315 counts the number of times of provision to the Web browser 250 for each Web page. The counting means 315 may total for each user. The aggregation unit 315 notifies the determination unit 313 of the number of times of aggregation.

コピーアプリ321は、画像処理装置10に搭載されているアプリケーションであり、アプリケーションが持つ機能のジョブを実行する。   The copy application 321 is an application installed in the image processing apparatus 10 and executes a job having a function of the application.

FAXアプリ322は、画像処理装置10に搭載されるアプリケーションであり、アプリケーションが持つ機能のジョブを実行する。   The FAX application 322 is an application installed in the image processing apparatus 10 and executes a job having a function of the application.

スキャナアプリ323は、画像処理装置10に搭載されているアプリケーションであり、アプリケーションが持つ機能のジョブ実行をする。   The scanner application 323 is an application installed in the image processing apparatus 10 and executes a job for a function of the application.

ROM331は、ユーザによって変更されないデータを保持する。ROM331は、例えば、CSSスプライト画像の元となる元データ(画像データ)、及び各CSSスプライト画像情報などを記憶する。ROM331は、つまり、Webページの表示対象となる複数の画像を記憶する。   The ROM 331 holds data that is not changed by the user. The ROM 331 stores, for example, original data (image data) that is a base of the CSS sprite image, each CSS sprite image information, and the like. That is, the ROM 331 stores a plurality of images to be displayed on the Web page.

不揮発RAM332は、ユーザによって変更され、電源を切ってもデータを記憶する。不揮発RAM332は、例えば、後述する機能制限情報、集計情報を記憶する。   The nonvolatile RAM 332 is changed by the user and stores data even when the power is turned off. The nonvolatile RAM 332 stores, for example, function restriction information and total information described later.

RAM333は、ユーザによって変更され、電源を切ったときに記憶する必要がないデータを記憶する。RAM333は、例えば、生成されたCSSスプライト画像や、HTMLファイルを記憶する。RAM333は、装置動作中に一時的に値を保持するのにも用いられる。   The RAM 333 stores data that is changed by the user and does not need to be stored when the power is turned off. The RAM 333 stores, for example, generated CSS sprite images and HTML files. The RAM 333 is also used to temporarily hold values during device operation.

システム管理部341は、システム全体の状態管理をする。メモリ管理部342は、メモリ管理やスキャンしたファイルデータ作成を行う。   The system management unit 341 manages the state of the entire system. The memory management unit 342 performs memory management and creation of scanned file data.

エンジン管理部343は、原稿の読み取りと印刷の制御を行う。エンジン管理部343は、検出手段371を有する。検出手段371は、オプションとしての外部装置が装着されたことを検出する。検出手段371は、オプションの装着を検出すると、オプション装着の旨を決定手段313に通知する。また、検出手段371は、装着されるオプションの変更も検出する。   The engine management unit 343 controls document reading and printing. The engine management unit 343 includes a detection unit 371. The detecting unit 371 detects that an optional external device is mounted. When detecting the option mounting, the detection unit 371 notifies the determination unit 313 that the option is mounted. The detecting means 371 also detects a change in the option that is attached.

ユーザ管理部344は、ユーザ認証やスキャナ送信先の管理を行う。ユーザ管理部344は、画像処理装置10を使用するユーザをユーザ認証などで特定するユーザ管理手段としても機能する。   A user management unit 344 manages user authentication and scanner transmission destinations. The user management unit 344 also functions as a user management unit that specifies a user who uses the image processing apparatus 10 by user authentication or the like.

送信管理部345は、FAX送信やスキャン送信の管理を行う。送信管理部345は、検出手段372を有する。検出手段372は、オプションとしてのFAX通信ボード363の装着を検出する。検出手段372は、FAX通信ボード363の装着を検出すると、オプション装着の旨を決定手段313に通知する。   The transmission management unit 345 manages FAX transmission and scan transmission. The transmission management unit 345 includes a detection unit 372. The detection unit 372 detects the installation of the optional FAX communication board 363. When detecting the mounting of the FAX communication board 363, the detecting unit 372 notifies the determining unit 313 that the option is mounted.

操作パネル350は、画像処理装置10に装着される操作パネルである。操作パネル350は、画面を表示するためのLCD(Liquid Crystal Display)、状態を示すためのLED(Light Emitting Diode)およびブザー、ユーザからの入力のためのいくつかのボタン(ハードキーと呼ぶ)、を備える。   The operation panel 350 is an operation panel attached to the image processing apparatus 10. The operation panel 350 includes an LCD (Liquid Crystal Display) for displaying a screen, an LED (Light Emitting Diode) and a buzzer for indicating a state, several buttons (referred to as hard keys) for input from the user, Is provided.

プロッタオプション361は、印刷に関するオプションである。プロッタオプション361は、例えば、印刷後の仕分け、パンチ、ステープルを行う「フィニッシャー」などである。   The plotter option 361 is an option related to printing. The plotter option 361 is, for example, “finisher” for performing sorting, punching, and stapling after printing.

スキャナオプション362は、読み取りに関するオプションである。スキャナオプション362は、例えば、複数原稿を自動で給紙する「自動原稿送り装置」などである。FAX通信ボード363は、電話回線を通してFAX通信を行うオプションである。   The scanner option 362 is an option related to reading. The scanner option 362 is, for example, an “automatic document feeder” that automatically feeds a plurality of documents. The FAX communication board 363 is an option for performing FAX communication through a telephone line.

なお、画像処理装置10のプロッタオプション361、スキャナオプション362及びFAX通信ボード363は、図2のハードウェア190に対応し、操作パネル350は、オペレーションパネル150に対応する。また、ROM331は、例えばHDD103やフラッシュメモリ110に対応する。   The plotter option 361, the scanner option 362, and the FAX communication board 363 of the image processing apparatus 10 correspond to the hardware 190 in FIG. 2, and the operation panel 350 corresponds to the operation panel 150. The ROM 331 corresponds to the HDD 103 and the flash memory 110, for example.

不揮発RAM332は、例えばSRAM112に対応し、RAM333は、例えばSDRAM111に対応する。その他の各手段、各アプリ、及び各部は、例えばCPU102又はASIC101などにより実現されうる。   The nonvolatile RAM 332 corresponds to, for example, the SRAM 112, and the RAM 333 corresponds to, for example, the SDRAM 111. Other units, applications, and units can be realized by the CPU 102 or the ASIC 101, for example.

<CSSスプライト画像を用いた表示例>
図4は、CSSスプライト画像の一例を示す図である。図4に示す例では、画像生成手段314は、ROM331から6つのMFPの画像を取得し、これらの画像を合成して1つの画像(CSSスプライト画像)を生成する。
<Display example using CSS sprite image>
FIG. 4 is a diagram illustrating an example of a CSS sprite image. In the example illustrated in FIG. 4, the image generation unit 314 acquires images of six MFPs from the ROM 331 and combines these images to generate one image (CSS sprite image).

図5は、HTMLファイルの一例を示す図である。図5に示す例では、HTML生成手段312は、スタイルシート(CSS)定義にて、クラス名img1〜img6に対し、CSSスプライト画像「mfp.jpg」のうち指定の領域を表示するように定義している。   FIG. 5 is a diagram illustrating an example of an HTML file. In the example shown in FIG. 5, the HTML generation unit 312 defines the style sheet (CSS) definition to display a specified area of the CSS sprite image “mfp.jpg” for the class names img1 to img6. ing.

例えば、img5は、「mfp.jpg」の幅方向に402ピクセル目から131ピクセル分表示するように定義されている。HTMLファイルのbody部にて、クラス名img1〜img6が指定されると、CSSスプライト画像「mfp.jpg」の一部が表示される。   For example, img5 is defined to display 131 pixels from the 402th pixel in the width direction of “mfp.jpg”. When class names img1 to img6 are specified in the body part of the HTML file, a part of the CSS sprite image “mfp.jpg” is displayed.

図6は、Webページに表示されるイメージ例を示す図である。図6に示す例では、「フィニッシャーカバーが開いています」という文字列の下に、「img5」を表示する。このとき、画像ファイルは「mfp.jpg」1つだけなので、一度「mfp.jpg」を情報処理装置10がロードすれば、画像ファイルを再度ロードする必要はない。   FIG. 6 is a diagram illustrating an example of an image displayed on the Web page. In the example shown in FIG. 6, “img5” is displayed below the character string “Finisher cover is open”. At this time, since there is only one “mfp.jpg”, once the information processing apparatus 10 loads “mfp.jpg”, it is not necessary to load the image file again.

<条件に応じたCSSスプライト画像の生成>
次に、条件に応じたスプライト画像の生成について説明する。まず、オプションに関する条件に基づいてスプライト画像を生成する例について説明する。
<Generation of CSS sprite image according to conditions>
Next, generation of a sprite image according to conditions will be described. First, an example in which a sprite image is generated based on conditions regarding options will be described.

(条件1)
条件1は、オプション構成に関する条件である。例えば、決定手段313は、所定のオプションが装着されているか否かで、CSSスプライト画像に含める画像の内容を変える。
(Condition 1)
Condition 1 is a condition related to the option configuration. For example, the determination unit 313 changes the content of the image included in the CSS sprite image depending on whether or not a predetermined option is installed.

図7は、CSSスプライト画像情報1の一例を示す図である。図7に示すCSSスプライト画像情報1は、例えばROM331に記憶される。CSSスプライト画像情報1は、例えば、CSSスプライト画像を生成するための情報、CSSスプライト画像から各画像を表示するための情報を含む。   FIG. 7 is a diagram illustrating an example of the CSS sprite image information 1. The CSS sprite image information 1 illustrated in FIG. 7 is stored in the ROM 331, for example. The CSS sprite image information 1 includes, for example, information for generating a CSS sprite image and information for displaying each image from the CSS sprite image.

図7に示すCSSスプライト画像情報1は、以下の情報を含む。
(1)元画像:CSSスプライト画像を構成する元の画像のファイル名
(2)CSSスプライト画像生成条件:各元画像に対しCSSスプライト画像が必要となるオプション構成条件
(3)CSSスプライト画像ファイル名
(4)CSSスプライト画像上の開始x座標、開始y座標、幅、高さ
(2)に関し、例えば画像「a0.jpg」の生成条件は、「フィニッシャー無し」となっている。これは、「フィニッシャー無し」の時に画像「a0.jpg」を含むCSSスプライト画像を生成する必要があることを示す。逆に、「フィニッシャー有り」の時には、画像「a0.jpg」を含むCSSスプライト画像は生成されない。
The CSS sprite image information 1 shown in FIG. 7 includes the following information.
(1) Original image: file name of original image constituting CSS sprite image (2) CSS sprite image generation condition: optional composition condition that requires CSS sprite image for each original image (3) CSS sprite image file name (4) Start x-coordinate, start y-coordinate, width, height on CSS sprite image Regarding (2), for example, the generation condition of the image “a0.jpg” is “no finisher”. This indicates that it is necessary to generate a CSS sprite image including the image “a0.jpg” when “no finisher” is set. On the other hand, when “Finisher is present”, the CSS sprite image including the image “a0.jpg” is not generated.

決定手段313は、オプションの装着によりWebページに表示可能となる画像を含む所定数の画像を決定する。つまり、決定手段313は、各検出手段により検出されたオプション構成(ここではフィニッシャー無し/有り)から、図7に示す情報のうち(2)の条件に合致する元画像を決定する。   The determination unit 313 determines a predetermined number of images including images that can be displayed on the Web page when the option is attached. That is, the determination unit 313 determines an original image that satisfies the condition (2) among the information shown in FIG. 7 from the optional configuration (here, with or without finisher) detected by each detection unit.

画像生成手段314は、決定手段313により決定された元画像に基づいて図7に示す情報のうち(3)(4)の情報に従い、CSSスプライト画像を生成する。   The image generation unit 314 generates a CSS sprite image according to the information (3) and (4) among the information shown in FIG. 7 based on the original image determined by the determination unit 313.

例えば、オプション構成が「フィニッシャー無し」の場合、決定手段313は、画像「a0.jpg」「a1.jpg」をCSSスプライト画像に含める画像として決定する。画像「a0.jpg」「a1.jpg」を含むCSSスプライト画像のファイル名は、ともに「mfp1.jpg」である。   For example, when the optional configuration is “no finisher”, the determination unit 313 determines the images “a0.jpg” and “a1.jpg” as images to be included in the CSS sprite image. The file name of the CSS sprite image including the images “a0.jpg” and “a1.jpg” are both “mfp1.jpg”.

よって、画像生成手段314は、画像「a0.jpg」「a1.jpg」に対するCSSスプライト画像を(4)の座標・幅・高さに従って合成して、画像ファイル「mfp1.jpg」を生成する。   Therefore, the image generation unit 314 combines the CSS sprite images for the images “a0.jpg” and “a1.jpg” according to the coordinates, width, and height of (4) to generate the image file “mfp1.jpg”.

図8は、フィニッシャー未装着時のCSSスプライト画像の一例を示す図である。図8に示すように、フィニッシャー未装着時には、図7に示す画像「a0.jpg」「a1.jpg」が合成された画像が生成される。   FIG. 8 is a diagram illustrating an example of a CSS sprite image when the finisher is not installed. As shown in FIG. 8, when the finisher is not attached, an image in which the images “a0.jpg” and “a1.jpg” shown in FIG. 7 are combined is generated.

この結果、CSSスプライト画像ファイル「mfp1.jpg」として、図8に示すフィニッシャー未装着時のCSSスプライト画像に示す画像が生成される。図8に示すCSSスプライト画像は、図4に示すCSSスプライト画像に示した画像に比べて、含む画像数が少ない。これは、フィニッシャー有り時に必要な画像が、CSSスプライト画像に含まれていないからである。これにより、ファイル容量も小さく、画像ファイルロード時間も短くなる。CSSスプライト画像の生成タイミングは、例えば、装置起動時や、定期的などである。   As a result, as the CSS sprite image file “mfp1.jpg”, an image shown in the CSS sprite image when the finisher is not installed shown in FIG. 8 is generated. The CSS sprite image shown in FIG. 8 includes fewer images than the image shown in the CSS sprite image shown in FIG. This is because an image required when the finisher is present is not included in the CSS sprite image. This reduces the file capacity and shortens the image file loading time. The CSS sprite image generation timing is, for example, when the apparatus is activated or periodically.

また、画像処理装置10の起動後に、オプション構成が変更される場合もある。このとき、Webサーバ310は、生成済みのCSSスプライト画像を一旦消去する。この後、検出手段により検出された変更後のオプション構成に従って、決定手段313は、CSSスプライト画像に含める画像を再決定する。   In addition, the option configuration may be changed after the image processing apparatus 10 is activated. At this time, the Web server 310 temporarily deletes the generated CSS sprite image. Thereafter, the determination unit 313 re-determines an image to be included in the CSS sprite image in accordance with the changed optional configuration detected by the detection unit.

画像生成手段314は、決定手段313により再決定された画像を用いてCSSスプライト画像を再生成する。   The image generation unit 314 regenerates a CSS sprite image using the image re-determined by the determination unit 313.

例えば、画像処理装置10の起動後に、「フィニッシャー無し」から「フィニッシャー有り」に変更された場合、Webサーバ310は、変更前のCSSスプライト画像「mfp1.jpg」をRAM333から消去する。   For example, when the image processing apparatus 10 is activated and changed from “No finisher” to “Finisher present”, the Web server 310 deletes the CSS sprite image “mfp1.jpg” before the change from the RAM 333.

画像生成手段314は、図7に示すCSSスプライト画像情報に基づいて、「フィニッシャー有り」時に必要な画像のみを含むCSSスプライト画像「mfp2.jpg」を生成する。   The image generation unit 314 generates a CSS sprite image “mfp2.jpg” including only an image necessary when “finisher is present” based on the CSS sprite image information shown in FIG.

図9は、フィニッシャー装着済のCSSスプライト画像の一例を示す図である。図9に示すように、フィニッシャー装着済時には、図7に示す画像「b0.jpg」、「b1.jpg」、「b3.jpg」、「b4.jpg」が合成された画像が生成される。   FIG. 9 is a diagram illustrating an example of a CSS sprite image with the finisher attached. As shown in FIG. 9, when the finisher is installed, an image in which the images “b0.jpg”, “b1.jpg”, “b3.jpg”, and “b4.jpg” shown in FIG. 7 are combined is generated.

これにより、オプション構成が途中で変更になっても、変更後のオプション構成に応じて、画像表示時間を短縮することができる。   Thereby, even if the option configuration is changed in the middle, the image display time can be shortened according to the changed option configuration.

また、画像処理装置10の起動後に、オプション構成が動的に変更されることを想定して、装置起動時に検出されたオプション構成を含む各オプションのパターンに応じて、画像生成手段314は、CSSスプライト画像を生成してもよい。   Further, assuming that the option configuration is dynamically changed after the image processing apparatus 10 is activated, the image generation unit 314 performs CSS according to each option pattern including the option configuration detected at the apparatus activation. A sprite image may be generated.

例えば、装置起動時には「フィニッシャー無し」であっても、途中で「フィニッシャー有り」に変わることを想定して、決定手段313は、図7に示す(2)の条件が「フィニッシャー無し」「フィニッシャー有り」の両方のCSSスプライト画像を決定する。   For example, assuming that the finisher changes to “with finisher” on the way even when “no finisher” is set when the apparatus is activated, the determination unit 313 determines that the condition (2) shown in FIG. 7 is “no finisher” or “with finisher”. Both CSS sprite images are determined.

画像生成手段314は、決定手段313により決定された「フィニッシャー無し」「フィニッシャー有り」それぞれのCSSスプライト画像を生成する。すなわち、画像生成手段314は、ファイル名「mfp1.jpg」「mfp2.jpg」のCSSスプライト画像を生成しておく。   The image generation unit 314 generates CSS sprite images of “without finisher” and “with finisher” determined by the determination unit 313. That is, the image generation unit 314 generates a CSS sprite image with the file names “mfp1.jpg” and “mfp2.jpg”.

その後、オプションが「フィニッシャー有り」に変化しても、CSSスプライト画像「mfp2.jpg」は生成済みである。よって、オプションが変更された時にCSSスプライト画像を生成するよりも、オプション構成の変更時にCSSスプライト画像の再生成が実行されない分、変更後の表示データをWebブラウザ側に早く提供することができる。   Thereafter, the CSS sprite image “mfp2.jpg” has already been generated even if the option changes to “with finisher”. Therefore, the display data after the change can be provided to the Web browser side faster than the CSS sprite image is generated when the option configuration is changed, because the CSS sprite image is not regenerated when the option is changed.

なお、上記例では「カバーが開いている」という機器の状態をWeb上で表示する例を示したが、この他、Web上での機器の設定をする画面を表示する際の画像表示でも有用である。   In the above example, the device state that “the cover is open” is displayed on the Web, but in addition to this, it is also useful for image display when displaying a screen for setting the device on the Web. It is.

例えば、機器設定の項目として「コピー設定項目」と「FAX設定項目」があり、「FAX設定項目」はオプション「FAX通信ボード」装着時のみ表示可能とする。この場合、「FAX設定項目」のみで表示する画像は、「FAX通信ボード」が無い時はCSSスプライト画像に含む必要がない。そのため、決定手段313は、オプションとしての「FAX通信ボード」の有無によって、CSSスプライト画像に「FAX設定項目のみで表示する画像」を含むか含まないかを決定すればよい。   For example, there are “copy setting item” and “FAX setting item” as device setting items, and “FAX setting item” can be displayed only when the option “FAX communication board” is installed. In this case, an image displayed only by “FAX setting item” need not be included in the CSS sprite image when there is no “FAX communication board”. Therefore, the determination unit 313 may determine whether the CSS sprite image includes or does not include an “image to be displayed only with FAX setting items” depending on the presence / absence of an optional “FAX communication board”.

(条件2)
条件2は、ユーザ毎の機能制限に関する条件である。例えば、決定手段313は、画像処理装置10を使用するユーザの機能制限によって、CSSスプライト画像に含める画像の内容を変える。
(Condition 2)
Condition 2 is a condition related to function restriction for each user. For example, the determination unit 313 changes the content of the image to be included in the CSS sprite image depending on the function restriction of the user who uses the image processing apparatus 10.

図10は、機能制限情報の一例を示す図である。図10に示す機能制限情報は、例えば、不揮発RAM332に記憶される。図10に示す例では、ユーザAは、コピー・FAX・スキャナとも使用可、ユーザBは、コピー・スキャナが使用可(FAXは使用不可)、ユーザCは、コピーのみ使用可(FAX・スキャナは使用不可)となっている。   FIG. 10 is a diagram illustrating an example of the function restriction information. The function restriction information illustrated in FIG. 10 is stored in the nonvolatile RAM 332, for example. In the example shown in FIG. 10, the user A can use both a copy / fax / scanner, the user B can use the copy / scanner (FAX cannot be used), and the user C can use only the copy (FAX / scanner is available). Cannot be used).

図11は、CSSスプライト画像情報2の一例を示す図である。図11に示すCSSスプライト画像情報2は、各元画像に対し、CSSスプライト画像生成条件として、どの機能が使用可能時に使用される画像かを示す。なお、図11に示すCSSスプライト画像情報2では、図7に示す(3)(4)の情報を省略している。   FIG. 11 is a diagram illustrating an example of the CSS sprite image information 2. The CSS sprite image information 2 shown in FIG. 11 indicates which function is used when the CSS sprite image generation condition can be used for each original image. In the CSS sprite image information 2 shown in FIG. 11, the information (3) and (4) shown in FIG. 7 is omitted.

決定手段313は、ユーザ管理部344で特定されたユーザ毎に、使用できる機能を機能制限情報に基づいて特定し、特定された機能のWebページに含まれる画像を含む所定数の画像を決定する。   The determining unit 313 specifies a function that can be used for each user specified by the user management unit 344 based on the function restriction information, and determines a predetermined number of images including images included in the Web page of the specified function. .

例えば、決定手段313は、ユーザAはコピー・FAX・スキャナとも使用可能なので、ユーザA用として、画像「c0.jpg」、「c1.jpg」、「f0.jpg」、「f1.jpg」、「s0.jpg」、「s1.jpg」を含むように決定する。   For example, since the user A can use both a copy, a FAX, and a scanner, the determination unit 313 uses the images “c0.jpg”, “c1.jpg”, “f0.jpg”, “f1.jpg”, It is determined to include “s0.jpg” and “s1.jpg”.

決定手段313は、ユーザBはコピー・スキャナが使用可能なので、ユーザB用として、画像「c0.jpg」、「c1.jpg」、「s0.jpg」、「s1.jpg」を含むように決定する。決定手段313は、同様に、ユーザC用として、画像「c0.jpg」、「c1.jpg」を含むように決定する。   Since the user B can use the copy scanner, the determination unit 313 determines that the images for the user B include “c0.jpg”, “c1.jpg”, “s0.jpg”, and “s1.jpg”. To do. Similarly, the determination unit 313 determines for the user C to include the images “c0.jpg” and “c1.jpg”.

画像生成手段314は、決定手段313により決定されたユーザ毎の画像をまとめて、ユーザ毎にCSSスプライト画像を生成する。これにより、ユーザ毎の機能制限に対応して、画像表示時間を短縮することができる。   The image generation unit 314 collects the images for each user determined by the determination unit 313 and generates a CSS sprite image for each user. Thereby, the image display time can be shortened corresponding to the function restriction for each user.

また、画像処理装置10の起動後に、機能制限情報の使用可否情報を変更する場合もある。このとき、Webサーバ310は、生成済みのCSSスプライト画像を一旦消去する。この後、変更された機能制限情報に従って、決定手段313は、CSSスプライト画像に含める画像を再決定する。   In addition, after the image processing apparatus 10 is activated, the function restriction information availability information may be changed. At this time, the Web server 310 temporarily deletes the generated CSS sprite image. Thereafter, the determination unit 313 redetermines an image to be included in the CSS sprite image according to the changed function restriction information.

画像生成手段314は、決定手段313により再決定された画像を用いてCSSスプライト画像を再生成する。   The image generation unit 314 regenerates a CSS sprite image using the image re-determined by the determination unit 313.

これにより、画像処理装置10を使用しているユーザに対する機能制限の設定が変更しても、変更後の機能制限情報に基づいて画像表示時間を短縮することができる。   Thereby, even if the function restriction setting for the user who uses the image processing apparatus 10 is changed, the image display time can be shortened based on the changed function restriction information.

また、決定手段313は、機能制限情報の使用可否の各パターンに応じてCSSスプライト画像に含める画像を予め決定してもよい。例えば、決定手段313は、図11に示すCSSスプライト画像情報2から、各機能の使用可否の全パターンに対してCSSスプライト画像に含める画像を決定する。   Further, the determining unit 313 may determine in advance an image to be included in the CSS sprite image according to each pattern of whether or not the function restriction information can be used. For example, the determining unit 313 determines an image to be included in the CSS sprite image for all patterns indicating whether each function can be used, from the CSS sprite image information 2 shown in FIG.

図12は、各パターンに対する画像情報の一例を示す図である。図12に示す情報は、例えば不揮発RAM332に記憶される。図12に示す情報は、図11に示すCSSスプライト画像情報2から各機能の使用可/不可のパターンを整理した情報である。   FIG. 12 is a diagram illustrating an example of image information for each pattern. The information shown in FIG. 12 is stored in the nonvolatile RAM 332, for example. The information shown in FIG. 12 is information obtained by organizing the usable / unusable patterns of each function from the CSS sprite image information 2 shown in FIG.

決定手段313は、図12に示す情報を参照し、パターン毎に、CSSスプライト画像に含める画像を予め(例えば装置起動時)決定しておく。画像生成手段314は、決定手段313により決定された各パターンの画像を用いてCSSスプライト画像を生成する。   The determining unit 313 refers to the information shown in FIG. 12 and determines in advance (for example, when the apparatus is activated) an image to be included in the CSS sprite image for each pattern. The image generation unit 314 generates a CSS sprite image using the image of each pattern determined by the determination unit 313.

これにより、ユーザがどのような機能制限設定になっていても、その機能制限設定に対応するCSSスプライト画像が用意されているので、起動中にユーザの機能制限設定が変更されても、CSSスプライト画像を再生成する必要がない。   As a result, a CSS sprite image corresponding to the function restriction setting is prepared regardless of the function restriction setting for the user. Therefore, even if the user's function restriction setting is changed during activation, the CSS sprite is changed. There is no need to regenerate the image.

(条件3)
条件3は、Webページ毎のWebブラウザへの提供回数に関する条件である。例えば、決定手段313は、Webページの表示回数によって、CSSスプライト画像に含める画像の内容を変える。提供回数は、表示回数などでもよい。
(Condition 3)
Condition 3 is a condition relating to the number of times the web page is provided to the web browser. For example, the determination unit 313 changes the content of the image included in the CSS sprite image according to the display count of the Web page. The number of times of provision may be the number of times of display.

図13は、CSSスプライト画像情報3の一例を示す図である。図13に示すCSSスプライト画像情報3は、例えばROM331に記憶される。図13に示すCSSスプライト画像情報3は、各画像に対し、どのWebページで使用しているかを示す。なお、図13に示すCSSスプライト画像情報3では、図7に示す(3)(4)の情報を省略している。   FIG. 13 is a diagram illustrating an example of the CSS sprite image information 3. The CSS sprite image information 3 shown in FIG. 13 is stored in the ROM 331, for example. The CSS sprite image information 3 shown in FIG. 13 indicates which Web page is used for each image. In the CSS sprite image information 3 shown in FIG. 13, the information (3) and (4) shown in FIG. 7 is omitted.

集計手段315は、ユーザ毎に、Webブラウザ250に表示した、又は提供したページの回数を集計する。決定手段313は、特定のタイミング(装置起動時や、1週間毎など)で、その集計結果を元に、表示回数又は提供回数が所定値以上となる画面で使用する画像をユーザ毎に決定する。   The totaling unit 315 totals the number of pages displayed or provided on the Web browser 250 for each user. The determination unit 313 determines, for each user, an image to be used on a screen at which the number of display times or the number of provisions exceeds a predetermined value based on the totaled result at a specific timing (when the apparatus is activated or every week). .

画像生成手段314は、決定手段313により決定された画像を用いてCSSスプライト画像をユーザ毎に生成する。   The image generation unit 314 generates a CSS sprite image for each user using the image determined by the determination unit 313.

図14は、集計情報の一例を示す図である。図14に示す集計情報は、例えば不揮発RAM332に記憶される。図14に示す集計情報は、ユーザ毎の、各ページの表示回数を示す。   FIG. 14 is a diagram illustrating an example of total information. The total information illustrated in FIG. 14 is stored in, for example, the nonvolatile RAM 332. The total information illustrated in FIG. 14 indicates the number of times each page is displayed for each user.

図14に示す例では、決定手段313は、ユーザAはページ1、2の頻度が所定値以上であるので、ページ1、2で使用される画像「i1.jpg」、「i2.jpg」、「i3.jpg」、「i4.jpg」を、CSSスプライト画像用の画像に決定する。   In the example shown in FIG. 14, since the frequency of pages 1 and 2 is greater than or equal to a predetermined value by user A, the determination unit 313 determines that the images “i1.jpg”, “i2.jpg”, “I3.jpg” and “i4.jpg” are determined as images for the CSS sprite image.

また、決定手段313は、ユーザBはページ1の頻度が所定値以上であるので、ページ1で使用される画像「i1.jpg」、「i2.jpg」、「i3.jpg」を、CSSスプライト画像用の画像に決定する。   Further, since the frequency of page 1 is equal to or higher than the predetermined value, the determination unit 313 determines the images “i1.jpg”, “i2.jpg”, and “i3.jpg” used in page 1 as CSS sprites. Determine the image for the image.

また、決定手段313は、ユーザCはページ3の頻度が所定値以上であるので、ページ3で使用される画像「i5.jpg」、「i6.jpg」を、CSSスプライト画像用の画像に決定する。決定手段313は、頻度の判定について、回数が適度な閾値(例えば100)以上であるか否かで判断すればよい。   In addition, since the frequency of page 3 is equal to or higher than a predetermined value, the determination unit 313 determines the images “i5.jpg” and “i6.jpg” used on page 3 as CSS sprite image images. To do. The determining unit 313 may determine the frequency based on whether or not the number of times is equal to or more than an appropriate threshold value (for example, 100).

なお、集計手段315は、ユーザ毎に集計しない場合は、ページ表示回数を装置全体で集計する。決定手段313は、その集計結果から各ユーザ共通のCSSスプライト画像用の画像を決定する、画像生成手段314は、各ユーザ共通のCSSスプライト画像を生成すればよい。   Note that the counting unit 315 counts the page display count for the entire apparatus when not counting for each user. The determining unit 313 determines an image for the CSS sprite image common to each user from the aggregation result. The image generating unit 314 may generate a CSS sprite image common to each user.

これにより、表示頻度又は提供頻度が所定値以上のページは、そのページで使用される画像がCSSスプライト画像に含まれるので、画像のロードが速くなる。また、CSSスプライト画像は、表示頻度又は提供が所定値未満のページでしか使用されない画像は含まないので、CSSスプライト画像の容量も抑えることができる。   As a result, for a page whose display frequency or provision frequency is equal to or higher than a predetermined value, the image used on the page is included in the CSS sprite image, so the loading of the image is accelerated. In addition, since the CSS sprite image does not include an image that is used only on a page whose display frequency or provision is less than a predetermined value, the capacity of the CSS sprite image can be suppressed.

<動作>
次に、実施例の画像処理装置10の動作について説明する。図15は、CSSスプライト画像の生成処理の一例を示すフローチャートである。図15に示すステップS101で、Webサーバ310は、CSSスプライト画像の生成タイミングであるか否かを判定する。例えば、Webサーバ310は、装置起動時か否かを判定する。また、Webサーバ310は、オプションの変更や、機能制限情報の変更や、一週間毎などの所定間隔を生成タイミングとしてもよい。
<Operation>
Next, the operation of the image processing apparatus 10 according to the embodiment will be described. FIG. 15 is a flowchart illustrating an example of a CSS sprite image generation process. In step S101 shown in FIG. 15, the Web server 310 determines whether it is the CSS sprite image generation timing. For example, the Web server 310 determines whether or not the apparatus is activated. Further, the Web server 310 may use a predetermined interval such as option change, function restriction information change, or weekly as the generation timing.

生成タイミングであれば(ステップS101−YES)ステップS102に進み、生成タイミングでなければ(ステップS101−NO)ステップS101に戻る。   If it is generation timing (step S101-YES), it will progress to step S102, and if it is not generation timing (step S101-NO), it will return to step S101.

ステップS102で、決定手段313は、Webページで表示対象とする画像の中から、所定の条件を満たす画像を選択し、決定する。   In step S102, the determination unit 313 selects and determines an image satisfying a predetermined condition from images to be displayed on the Web page.

ステップS103で、画像生成手段314は、決定手段313により決定された画像を用いてCSSスプライト画像を生成する。画像生成手段314は、決定手段313により決定された画像のグループが複数ある場合は、複数のCSSスプライト画像を生成してもよい。   In step S103, the image generating unit 314 generates a CSS sprite image using the image determined by the determining unit 313. The image generation unit 314 may generate a plurality of CSS sprite images when there are a plurality of image groups determined by the determination unit 313.

これにより、Webページで使用される全ての画像をCSSスプライト画像に含めないので、CSSスプライト画像を用いる場合の画像の表示時間を短縮することができる。   As a result, not all images used in the Web page are included in the CSS sprite image, so that it is possible to shorten the image display time when using the CSS sprite image.

図16は、CSSスプライト画像の表示処理の一例を示すシーケンス図である。図16は、Webブラウザ250は、画像処理装置10のWebサーバ310に対し、httpリクエストで、操作画面のWebページの取得を要求する。例えば、取得対象のURLを示す情報が、httpリクエストに含まれる。   FIG. 16 is a sequence diagram illustrating an example of a CSS sprite image display process. In FIG. 16, the Web browser 250 requests the Web server 310 of the image processing apparatus 10 to acquire the Web page of the operation screen using an http request. For example, information indicating the URL to be acquired is included in the http request.

ステップS202で、Webサーバ310(リクエスト受付・配信手段311)は、httpリクエストで指定されたページの取得要求を受け付ける。Webサーバ310は、要求されたWebページのURLで使用する画像のCSSスプライト画像のファイルと、HTMLファイルとをRAM333から取得する。Webサーバ310(リクエスト受付・配信手段311)は、取得したHTMLファイル、CSSスプライト画像ファイルをWebブラウザ25に配信する。   In step S202, the Web server 310 (request reception / distribution means 311) receives an acquisition request for the page specified by the http request. The Web server 310 acquires from the RAM 333 the CSS sprite image file and the HTML file of the image used at the requested Web page URL. The Web server 310 (request reception / distribution means 311) distributes the acquired HTML file and CSS sprite image file to the Web browser 25.

ステップS203で、Webブラウザ250は、取得したCSSスプライト画像ファイルとHTMLファイルとを用いてWebページを表示するよう制御する。   In step S203, the web browser 250 controls to display a web page using the acquired CSS sprite image file and HTML file.

以上、実施例によれば、CSSスプライト画像のサイズを従来よりも小さくすることができるので、CSSスプライト画像を用いる場合の画像の表示時間を短縮することができる。   As described above, according to the embodiment, the size of the CSS sprite image can be made smaller than before, so that the display time of the image when using the CSS sprite image can be shortened.

なお、Webブラウザは、情報処理装置20のWebブラウザ250を用いて説明したが、画像処理装置10内のWebブラウザでもよい。   The Web browser has been described using the Web browser 250 of the information processing apparatus 20, but may be a Web browser in the image processing apparatus 10.

なお、実施例の画像処理装置で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されて提供される。   The program executed by the image processing apparatus according to the embodiment is a file in an installable format or an executable format, and is a computer such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk). Recorded on a readable recording medium.

また、実施例の画像処理装置で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、実施例の画像処理装置や各情報処理装置で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。   The program executed by the image processing apparatus according to the embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Further, the image processing apparatus according to the embodiment and the program executed by each information processing apparatus may be provided or distributed via a network such as the Internet.

また、実施例の画像処理装置で実行されるプログラムを、ROM等に予め組み込んで提供するように構成してもよい。   The program executed by the image processing apparatus according to the embodiment may be configured to be provided by being incorporated in advance in a ROM or the like.

実施例の画像処理装置で実行されるプログラムは、前述した各部や各手段を含むモジュール構成となっている。実際のハードウェアとしては、CPUがROMやHDDからプログラムを読み出して実行することにより上記各部や各手段のうち1又は複数の各部や各手段がRAM上にロードされ、1又は複数の各部や各手段がRAM上に生成されるようになっている。   A program executed by the image processing apparatus according to the embodiment has a module configuration including the above-described units and units. As actual hardware, the CPU reads out the program from the ROM or HDD and executes it, so that one or a plurality of each unit or each means among the above-mentioned each unit or each means is loaded on the RAM, and one or a plurality of each unit or each Means are generated on the RAM.

なお、上記の画像処理装置及びプログラムは、上記実施例そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化することができる。また、上記実施例に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成することができる。   The above-described image processing apparatus and program are not limited to the above-described embodiments as they are, but can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments.

1 画像処理システム
10 画像処理装置
20 情報処理装置
101 ASIC
102 CPU
103 HDD
110 フラッシュメモリ
111 SDRAM
112 SRAM
150 オペレーションパネル
310 Webサーバ
311 リクエスト受付・配信手段
312 HTML生成手段
313 決定手段
314 画像生成手段
315 集計手段
371、372 検出手段
DESCRIPTION OF SYMBOLS 1 Image processing system 10 Image processing apparatus 20 Information processing apparatus 101 ASIC
102 CPU
103 HDD
110 Flash memory 111 SDRAM
112 SRAM
150 Operation Panel 310 Web Server 311 Request Accepting / Distributing Unit 312 HTML Generating Unit 313 Determining Unit 314 Image Generating Unit 315 Counting Units 371 and 372 Detection Unit

特開2010−277501号公報JP 2010-277501 A

Claims (10)

Webブラウザに操作画面のWebページを提供可能な画像形成装置であって、
前記Webページの表示対象となる複数の画像を記憶する記憶手段と、
所定の条件に基づいて、前記複数の画像の中から所定数の画像を決定する決定手段と、
前記所定数の画像をまとめて1つの画像を生成する生成手段と、
前記1つの画像を前記Webブラウザに配信する配信手段と、
を備える画像処理装置。
An image forming apparatus capable of providing a web page of an operation screen to a web browser,
Storage means for storing a plurality of images to be displayed on the Web page;
Determining means for determining a predetermined number of images from the plurality of images based on a predetermined condition;
Generating means for collecting the predetermined number of images and generating one image;
Distribution means for distributing the one image to the Web browser;
An image processing apparatus comprising:
当該画像処理装置に装着された外部装置を検出する検出手段をさらに備え、
前記決定手段は、
前記外部装置の装着により前記Webページに表示可能となる画像を含む前記所定数の画像を決定する請求項1記載の画像処理装置。
A detection means for detecting an external device attached to the image processing apparatus;
The determining means includes
The image processing apparatus according to claim 1, wherein the predetermined number of images including images that can be displayed on the Web page when the external apparatus is attached is determined.
前記検出手段は、
装着される外部装置の変更を検出し、
前記決定手段は、
前記外部装置の変更により所定数の画像を再決定し、
前記生成手段は、
再決定された所定数の画像をまとめて1つの画像を再生成する請求項2記載の画像処理装置。
The detection means includes
Detects changes in the external device installed,
The determining means includes
Re-determining a predetermined number of images by changing the external device,
The generating means includes
The image processing apparatus according to claim 2, wherein the predetermined number of re-determined images are collected to regenerate one image.
前記決定手段は、
前記外部装置の有無のパターンに応じて前記所定数の画像を予め決定し、
前記生成手段は、
前記パターン毎に前記1つの画像を生成する前記1つの画像を配信する請求項2記載の画像処理装置。
The determining means includes
The predetermined number of images is determined in advance according to the pattern of the presence or absence of the external device,
The generating means includes
The image processing apparatus according to claim 2, wherein the one image that generates the one image is distributed for each pattern.
ユーザ毎に当該画像処理装置の各機能の使用可否を示す機能制限情報を記憶する第2記憶手段と、
当該画像処理装置を使用するユーザを特定するユーザ管理手段と、をさらに備え、
前記決定手段は、
特定されたユーザ毎に、使用できる機能を前記機能制限情報に基づいて特定し、特定された機能のWebページに含まれる画像を含む前記所定数の画像を決定する請求項1記載の画像処理装置。
Second storage means for storing function restriction information indicating availability of each function of the image processing apparatus for each user;
User management means for identifying a user who uses the image processing apparatus, and
The determining means includes
The image processing apparatus according to claim 1, wherein a function that can be used is specified for each specified user based on the function restriction information, and the predetermined number of images including an image included in a Web page of the specified function is determined. .
前記決定手段は、
前記機能制限情報が変更された場合、変更後の機能制限情報に基づいて所定数の画像を再決定し、
前記生成手段は、
再決定された所定数の画像をまとめて1つの画像を再生成する請求項5記載の画像処理装置。
The determining means includes
When the function restriction information is changed, a predetermined number of images are redetermined based on the changed function restriction information,
The generating means includes
6. The image processing apparatus according to claim 5, wherein a predetermined number of re-determined images are collected to regenerate one image.
前記決定手段は、
前記各機能の使用可否のパターンに応じて前記所定数の画像を予め決定し、
前記生成手段は、
前記パターン毎に前記1つの画像を生成する請求項5記載の画像処理装置。
The determining means includes
The predetermined number of images is determined in advance according to a pattern of availability of each function,
The generating means includes
The image processing apparatus according to claim 5, wherein the one image is generated for each pattern.
Webページ毎に、前記Webブラウザへの提供回数を集計する集計手段をさらに備え、
前記決定手段は、
前記提供回数が所定値以上となるWebページに含まれる画像を含む前記所定数の画像を決定する請求項1記載の画像処理装置。
Further, for each web page, further comprises a counting means for counting the number of times of provision to the web browser,
The determining means includes
The image processing apparatus according to claim 1, wherein the predetermined number of images including an image included in a Web page in which the provision count is equal to or greater than a predetermined value is determined.
当該画像処理装置を使用するユーザを特定するユーザ管理手段をさらに備え、
前記集計手段は、
ユーザ毎に、前記提供回数を集計し、
前記決定手段は、
特定されたユーザ毎に、前記提供回数が所定値以上となるWebページに含まれる画像を含む前記所定数の画像を決定する請求項8記載の画像処理装置。
A user management means for identifying a user who uses the image processing apparatus;
The counting means includes
For each user, the number of provisions is totaled,
The determining means includes
The image processing apparatus according to claim 8, wherein for each identified user, the predetermined number of images including an image included in a Web page in which the provision count is equal to or greater than a predetermined value is determined.
Webブラウザに操作画面のWebページを提供可能なコンピュータで実行されるプログラムであって、
記憶手段に記憶される前記Webページの表示対象となる複数の画像の中から、所定の条件に基づいて所定数の画像を決定する決定ステップと、
前記所定数の画像をまとめて1つの画像を生成する生成ステップと、
前記1つの画像を前記Webブラウザに配信する配信ステップと、
を前記コンピュータに実行させるプログラム。
A program executed on a computer capable of providing a web page of an operation screen to a web browser,
A determining step of determining a predetermined number of images based on a predetermined condition from a plurality of images to be displayed on the Web page stored in a storage unit;
A generating step of generating a single image by combining the predetermined number of images;
A distribution step of distributing the one image to the web browser;
A program for causing the computer to execute.
JP2012198565A 2012-09-10 2012-09-10 Image processing apparatus and program Pending JP2014052960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012198565A JP2014052960A (en) 2012-09-10 2012-09-10 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012198565A JP2014052960A (en) 2012-09-10 2012-09-10 Image processing apparatus and program

Publications (1)

Publication Number Publication Date
JP2014052960A true JP2014052960A (en) 2014-03-20

Family

ID=50611361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012198565A Pending JP2014052960A (en) 2012-09-10 2012-09-10 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP2014052960A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112800372A (en) * 2021-02-03 2021-05-14 网易(杭州)网络有限公司 Page loading method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112800372A (en) * 2021-02-03 2021-05-14 网易(杭州)网络有限公司 Page loading method and device and electronic equipment
CN112800372B (en) * 2021-02-03 2023-06-13 网易(杭州)网络有限公司 Page loading method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US9369595B2 (en) Image forming apparatus for being able to utilize application in which web browser is used
US9001340B2 (en) Control device
JP2012027662A (en) Image formation apparatus and screen control method
US20180234562A1 (en) Information processing apparatus, control method of information processing apparatus, and recording medium
JP2014011696A (en) Image processing apparatus and computer program
US10701236B2 (en) Image processing apparatus, image processing system, and control method for activating an application therein
US20080239395A1 (en) Image processing apparatus, image data transfer control method and image data transfer control program
US10136008B2 (en) Image processing system that performs preview display, image processing apparatus, display control apparatus, display control method, and storage medium
CN102447803B (en) Complex machine
RU2609751C2 (en) Information processing apparatus, information processing method, processing apparatus, and storage medium
US20120324352A1 (en) Client server system and client device of client server system
JP2006341614A (en) Image forming apparatus and image forming method
US8218185B2 (en) Information processing apparatus and information processing method
JP2009202576A (en) Image formation method of image formation device and image formation device
US10452322B2 (en) Information processing device, information processing system, and computer program product
JP6690513B2 (en) Information processing apparatus, information processing system, and information processing method
JP2014052960A (en) Image processing apparatus and program
JP2010154151A (en) Information processor, and information processing program
US20180084123A1 (en) Image forming apparatus, control device, and screen display method
US9361058B2 (en) Image processing apparatus, information processing apparatus and method for determining whether target image is processable and acquiring processed target image from the information processing apparatus
JP6044248B2 (en) Information processing apparatus, application program introduction apparatus, and program
JP2013254277A (en) Image processing device, image processing system, and program
JP5949529B2 (en) Image processing apparatus and program
JP2010191609A (en) Work flow execution device, work flow execution method, and work flow execution program
JP2009124331A (en) Original image collecting device, and original image collecting method