JP2009045782A - Image forming device - Google Patents

Image forming device Download PDF

Info

Publication number
JP2009045782A
JP2009045782A JP2007212358A JP2007212358A JP2009045782A JP 2009045782 A JP2009045782 A JP 2009045782A JP 2007212358 A JP2007212358 A JP 2007212358A JP 2007212358 A JP2007212358 A JP 2007212358A JP 2009045782 A JP2009045782 A JP 2009045782A
Authority
JP
Japan
Prior art keywords
information
unit
billing
charging
storage unit
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
JP2007212358A
Other languages
Japanese (ja)
Inventor
Keisuke Watanabe
啓介 渡辺
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data Corp
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 Oki Data Corp filed Critical Oki Data Corp
Priority to JP2007212358A priority Critical patent/JP2009045782A/en
Publication of JP2009045782A publication Critical patent/JP2009045782A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable printing based on a print job even if an accounting server is in a stopped state and a shortage of memory capacity for storing the accounting information of the image forming device arises. <P>SOLUTION: The image forming device comprises a calculation section for calculating a charge amount for every print job based on the size and the number of sheets of a print medium used for printing at the time of the printing, a generating section for generating accounting information containing the calculated charge amount, a storage control section for storing the accounting information, an erasing section for erasing the corresponding accounting information from memory when a notice of the completion of acquisition of the accounting information transmitted from the accounting server is received, a usable capacity detecting section for detecting the usable capacity in the memory, and an accounting information print control section for causing a printing section to print out a plurality of the acquired accounting information when the data volume of the generated accounting information is larger than the usable capacity of the memory. When the data volume of the generated accounting information is equal to the usable capacity of the memory or less, the storage control unit stores the accounting information in the memory. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ネットワークを介して課金サーバと接続される画像形成装置に関する。   The present invention relates to an image forming apparatus connected to a charging server via a network.

従来、この種の画像形成装置として、例えば引用文献1に開示されているように、印刷結果などのジョブ履歴を画像形成装置のレンタル使用に対する課金の計算に用いるため、該ジョブ履歴に基づく課金情報を該装置本体の記憶部に記憶し、課金サーバから一定期間毎に課金情報の送信要求を受けると、該記憶部で保持する課金情報を課金サーバに送信する画像形成装置が提案されている。上記画像形成装置では、課金サーバに課金情報を送信すると、記憶部で保持する送信済の課金情報を消去することにより、新たな印刷ジョブに基づく課金情報の該記憶部への格納を円滑に処理する。
特開2001−350936号公報
Conventionally, as this type of image forming apparatus, for example, as disclosed in the cited document 1, a job history such as a print result is used for calculating a charge for rental use of the image forming apparatus. Is stored in the storage unit of the apparatus main body, and an image forming apparatus is proposed that transmits the charging information held in the storage unit to the charging server when a charging information transmission request is received from the charging server at regular intervals. In the image forming apparatus, when the charging information is transmitted to the charging server, the transmitted charging information held in the storage unit is deleted, thereby smoothly storing the charging information based on a new print job in the storage unit. To do.
JP 2001-350936 A

しかしながら、上記画像形成装置では、課金サーバが故障などのために停止状態であると、該課金サーバから課金情報の送信要求が無いため、記憶部に課金情報が蓄積され続ける。そして、上記画像形成装置では、課金情報の蓄積により記憶部の使用可能なメモリ容量が少なくなり、新たな課金情報の記憶が不能になると、印刷ジョブの受け付けを停止し、印刷処理を停止してしまう問題があった。   However, in the image forming apparatus, if the charging server is in a stopped state due to a failure or the like, there is no request for transmitting charging information from the charging server, so that the charging information continues to be stored in the storage unit. In the image forming apparatus, when the charging information is accumulated, the usable memory capacity of the storage unit is reduced, and when new charging information cannot be stored, the reception of the print job is stopped and the printing process is stopped. There was a problem.

以上の問題点に鑑み、本発明の目的は、ネットワークを介して課金サーバと接続される画像形成装置において、課金サーバが停止状態で、かつ該画像形成装置の課金情報を記憶する記憶部のメモリ容量の不足が生じても、新たな印刷ジョブに基づく印刷処理を実行し得る画像形成装置を提供することにある。   In view of the above problems, an object of the present invention is to provide an image forming apparatus connected to a charging server via a network in a storage unit in which the charging server is stopped and the charging information of the image forming apparatus is stored. An object of the present invention is to provide an image forming apparatus capable of executing a printing process based on a new print job even when a capacity shortage occurs.

本発明は、以上の点を解決するために、次の構成を採用する。
本発明の画像形成装置は、課金サーバとネットワーク接続するためのインタフェース部と、受け付けた印刷ジョブに基づいて印刷媒体上に画像を形成する印刷処理部とを備える画像形成装置において、印刷処理が終了すると、少なくとも印刷処理に用いた印刷媒体のサイズ及び枚数に基づく印刷ジョブ毎の課金額を算出する算出部と、算出した課金額を含む課金情報を生成する生成部と、生成した課金情報に記憶させる格納制御部と、課金サーバから課金情報送信要求を受けると、記憶部で保持する課金情報を該課金サーバに送信する送信部と、課金サーバから送信した課金情報に対する取得完了の通知を受けると、記憶部から該当する課金情報を消去する消去部と、生成した課金情報のデータ量を検出するデータ量検出部と、記憶部の使用可能容量を検出する使用可能容量検出部と、生成した課金情報のデータ量が記憶部の使用可能容量より大きいと、記憶部で保持する複数の課金情報を取得する取得部と、取得した複数の課金情報を印刷処理部により印刷出力させる課金情報印刷制御部とを備え、課金情報の印刷出力が終了すると、消去部は、取得した複数の課金情報を記憶部から消去し、生成した課金情報のデータ量が記憶部の使用可能容量以下であると、格納制御部は、該課金情報を記憶部に格納することを特徴とする。
The present invention adopts the following configuration in order to solve the above points.
An image forming apparatus according to the present invention includes an interface unit for connecting to a billing server over a network and a print processing unit that forms an image on a print medium based on the received print job. Then, a calculation unit that calculates a charge amount for each print job based on at least the size and number of print media used for the printing process, a generation unit that generates charge information including the calculated charge amount, and a storage in the generated charge information When a charging information transmission request is received from the storage control unit and the charging server, a transmission unit that transmits the charging information held in the storage unit to the charging server and a notification of acquisition completion for the charging information transmitted from the charging server Use of the erasure unit for erasing the corresponding billing information from the storage unit, the data amount detection unit for detecting the data amount of the generated billing information, and the storage unit An available capacity detecting unit for detecting the capacity, an acquisition unit for acquiring a plurality of charging information held in the storage unit when the data amount of the generated charging information is larger than an available capacity of the storage unit, and a plurality of acquired A charging information printing control unit for printing out the charging information by the print processing unit, and when the printing output of the charging information is completed, the erasing unit erases the plurality of acquired charging information from the storage unit, and When the data amount is less than or equal to the usable capacity of the storage unit, the storage control unit stores the charging information in the storage unit.

本発明によれば、ネットワークを介して課金サーバと接続される画像形成装置では、課金サーバが停止状態で、かつ該画像形成装置の課金情報を記憶する記憶部のメモリ容量の不足が生じても、該記憶部で保持する課金情報を光学的に読み取り可能なコードに変換して印刷媒体上に印刷し、印刷が終了すると、該記憶部からコード化の対象である課金情報を消去するので、新たな印刷ジョブに基づく印刷処理を実行することができる。   According to the present invention, in an image forming apparatus connected to a charging server via a network, even if the charging server is stopped and the memory capacity of the storage unit for storing charging information of the image forming apparatus is insufficient The charging information held in the storage unit is converted into an optically readable code, printed on a print medium, and when printing is completed, the charging information to be coded is deleted from the storage unit. A printing process based on a new print job can be executed.

以下、本発明の実施形態を図を用いて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<実施例1の構成>
本発明の実施例1の画像形成装置100は、図1に示すように、ネットワーク400を介してホストコンピュータ200と、課金サーバ300とに接続されている。ここで、画像形成装置100は、例えばレンタル会社よりオフィスに導入される画像形成、印刷処理、画像読み込み等の機能を有するMFP(Multi Function Products)であり、図2にMFPの場合における画像形成装置100の外観図を示す。
<Configuration of Example 1>
As shown in FIG. 1, the image forming apparatus 100 according to the first exemplary embodiment of the present invention is connected to a host computer 200 and a charging server 300 via a network 400. Here, the image forming apparatus 100 is, for example, an MFP (Multi Function Products) having functions such as image forming, printing processing, and image reading introduced into an office by a rental company. FIG. 2 shows an image forming apparatus in the case of an MFP. 100 is an external view.

MFPである画像形成装置100は、図2に示すように、設置された原稿を給紙する給紙部10と、印刷媒体を堆積保持するための用紙トレイ11と、印刷処理が終了して画像形成装置100から排出された印刷媒体を堆積保持するための排出トレイ12と、ユーザに対するメッセージ等を表示するための図示しないディスプレイと、ユーザからの設定及び指示を受け付ける図示しない操作ボタンとから構成される。   As shown in FIG. 2, the image forming apparatus 100 that is an MFP includes a paper feeding unit 10 that feeds an installed original, a paper tray 11 that accumulates and holds a print medium, and an image after printing processing is completed. It includes a discharge tray 12 for accumulating and holding the print medium discharged from the forming apparatus 100, a display (not shown) for displaying a message and the like for the user, and an operation button (not shown) for receiving settings and instructions from the user. The

ところで、説明を簡便に行うべく、図1には、1台のホストコンピュータ200がネットワーク400を介して画像形成装置100に接続された構成のみが示されているが、ネットワーク400にはホストコンピュータ200と同様の機能を有する多数のホストコンピュータが接続されている。ここで、本発明の実施例では、画像形成装置100にネットワーク400を介してホストコンピュータ200を接続する構成にしたが、ホストコンピュータ200の代わりに複数のPC(Personal Computer)を接続する構成にしてもよい。   For the sake of simplicity, FIG. 1 shows only a configuration in which one host computer 200 is connected to the image forming apparatus 100 via the network 400, but the network 400 includes the host computer 200. A number of host computers having the same functions as are connected. Here, in the embodiment of the present invention, the host computer 200 is connected to the image forming apparatus 100 via the network 400. However, instead of the host computer 200, a plurality of PCs (Personal Computers) are connected. Also good.

ホストコンピュータ200は、利用者が画像データを作成するために用いる情報処理端末であり、図1に示すように、ネットワーク400を介して接続する画像形成装置100と通信するための通信部201と、装置全体を制御するための制御部202と、一時的にデータを記憶するための一時記憶部203と、表示部204と、入力部205と、データの作成に用いる各種アプリケーションが格納されているアプリケーション格納部206と、プリンタドライバ207とを備える。   A host computer 200 is an information processing terminal used by a user to create image data. As shown in FIG. 1, a host computer 200 communicates with an image forming apparatus 100 connected via a network 400; A control unit 202 for controlling the entire apparatus, a temporary storage unit 203 for temporarily storing data, a display unit 204, an input unit 205, and an application storing various applications used for creating data A storage unit 206 and a printer driver 207 are provided.

そして、ホストコンピュータ200を利用する利用者がホストコンピュータ200の図示しない電源ボタンを押下し、表示部204に表示されたログイン画面を参照して入力部205に備えるキーボードから「ユーザ名」及び「パスワード」を入力して、該ログイン画面上の「ログイン」ボタンを押下すると、制御部202は、取得した「ユーザ名」及び「パスワード」に基づいて図示しない利用者管理情報記憶部で保持する利用者管理情報を検索し、利用者の認証一致、不一致を判定する。ここで、上記利用者管理情報は、「登録ユーザ名」及び「登録パスワード」から構成されている。利用者の認証一致が判定されると、制御部202は、ホストコンピュータ200を構成する各部を起動させる。   Then, a user who uses the host computer 200 presses a power button (not shown) of the host computer 200, refers to a login screen displayed on the display unit 204, and “user name” and “password” from the keyboard provided in the input unit 205. ”And pressing the“ login ”button on the login screen, the control unit 202 holds the user stored in the user management information storage unit (not shown) based on the acquired“ user name ”and“ password ”. Search the management information and determine whether the user's authentication matches or does not match. Here, the user management information is composed of “registered user name” and “registered password”. When it is determined that the user authentication matches, the control unit 202 activates each unit constituting the host computer 200.

次に、利用者が入力部205に備えるキーボード及びマウスを用いて例えばある文書作成用アプリケーションソフトの起動を指示すると、制御部202は、アプリケーション格納部206に格納された該当するアプリケーションソフトを起動させ、このアプリケーションソフトに基づいて文書作成用画面を表示部204に備えるディスプレイに表示させる。   Next, when the user gives an instruction to start, for example, certain document creation application software using the keyboard and mouse provided in the input unit 205, the control unit 202 starts the corresponding application software stored in the application storage unit 206. Based on this application software, a document creation screen is displayed on a display provided in the display unit 204.

利用者が入力部205に備えるキーボード及びマウスを用いて表示部204に表示された文書作成用画面を用いて文書を作成し、このアプリケーションソフト上の印刷コマンドを押下すると、制御部202は、プリンタドライバに印刷データの生成を指示する。   When the user creates a document using the document creation screen displayed on the display unit 204 using the keyboard and mouse provided in the input unit 205 and presses a print command on the application software, the control unit 202 Instructs the driver to generate print data.

プリンタドライバ207は、図1に示すように、スプーラ2071と、ラスタライズ変換部2072とを備える。ここで、プリンタドライバ207は、アプリケーション格納部206に格納されたアプリケーションソフトからの印刷指示に基づいた印刷処理を画像形成装置100が行うために、画像形成装置100を制御するための機能を有する。   As shown in FIG. 1, the printer driver 207 includes a spooler 2071 and a rasterize conversion unit 2072. Here, the printer driver 207 has a function for controlling the image forming apparatus 100 so that the image forming apparatus 100 performs a printing process based on a print instruction from the application software stored in the application storage unit 206.

スプーラ2071は、アプリケーション格納部206に格納されたある文書作成用のアプリケーションソフトを用いて作成されたデータからベクタ形式の印刷データを生成するためのモジュールである。   The spooler 2071 is a module for generating vector format print data from data created by using certain document creation application software stored in the application storage unit 206.

そして、プリンタドライバ207において、印刷データの生成の指示を受けると、スプーラ2071は、アプリケーションソフトを用いて作成されたデータから印刷データを生成する。この、印刷データには、ホストコンピュータ200の利用者がアプリケーションソフトを用いて設定した「用紙サイズ」、「ページ数」、「ファイル名」、そして、ログイン時に取得した「ユーザ名」などが付与される。   When the printer driver 207 receives a print data generation instruction, the spooler 2071 generates print data from data created using application software. The print data is given “paper size”, “number of pages”, “file name” set by the user of the host computer 200 using the application software, and “user name” acquired at the time of login. The

スプーラ2071が印刷データを生成すると、制御部202は、この印刷データを一時記憶部203に記憶する。そして、制御部202は、印刷データを記憶すると、ラスタライズ変換部2072にラスタライズ変換を指示する。   When the spooler 2071 generates print data, the control unit 202 stores the print data in the temporary storage unit 203. After storing the print data, the control unit 202 instructs the rasterization conversion unit 2072 to perform rasterization conversion.

ラスタライズ変換部2072は、印刷データをラスタライズ変換してビットマップ形式の画像データを生成する。即ち、ラスタライズ変換部2072は、ラスタライズ変換の指示を受けると、一時記憶部203で保持する印刷データをラスタライズ変換して画像データを生成する。ここで、画像データには、印刷データに付与された「用紙サイズ」、「ページ数」、「ファイル名」、「ユーザ名」などがそのまま付与される。   A rasterization conversion unit 2072 performs rasterization conversion on print data to generate bitmap format image data. In other words, when receiving a rasterize conversion instruction, the rasterize conversion unit 2072 generates image data by rasterizing the print data held in the temporary storage unit 203. Here, the “paper size”, “number of pages”, “file name”, “user name”, and the like given to the print data are given to the image data as they are.

ラスタライズ変換部2072が画像データを生成すると、制御部202は、この画像データを一時記憶部203に記憶すると共に、該画像データを画像形成装置100に送信する。   When the rasterize conversion unit 2072 generates image data, the control unit 202 stores the image data in the temporary storage unit 203 and transmits the image data to the image forming apparatus 100.

画像形成装置100は、画像形成、印刷出力、画像読み込み等の機能を有するMFPであり、図1に示すように、ネットワーク400を介して接続するホストコンピュータ200及び課金サーバ300と通信するための通信部101と、装置全体を制御する制御部102と、一時的にデータを記憶するための一時記憶部103と、印刷制御部104と、プリンタエンジン105と、課金額計算用情報DB(データベース)106と、課金情報生成部107と、課金情報データ量検出部108と、課金情報記憶部109と、課金情報管理部110と、使用可能容量検出部111と、容量比較判定部112と、変換用課金情報取得部113と、コード生成部114と、特徴抽出部115と、特徴情報生成部116と、特徴情報記憶部117と、特徴情報管理部118と、画像読取部119と、コード解析部120と、復号課金情報照合判定部121とを備える。   The image forming apparatus 100 is an MFP having functions such as image formation, print output, and image reading. As shown in FIG. 1, the image forming apparatus 100 communicates with a host computer 200 and a billing server 300 connected via a network 400. Unit 101, control unit 102 for controlling the entire apparatus, temporary storage unit 103 for temporarily storing data, print control unit 104, printer engine 105, and accounting amount calculation information DB (database) 106 A billing information generation unit 107, a billing information data amount detection unit 108, a billing information storage unit 109, a billing information management unit 110, a usable capacity detection unit 111, a capacity comparison determination unit 112, and a conversion billing Information acquisition unit 113, code generation unit 114, feature extraction unit 115, feature information generation unit 116, feature information storage unit 117, It includes an information management unit 118, an image reading unit 119, a code analysis unit 120, and a decoding billing information collation judging section 121.

画像形成装置100の制御部102は、ホストコンピュータ200から画像データを受けると、該画像データを一時記憶部103に記憶する。そして、制御部102は、画像データを記憶すると、一時記憶部103で保持する該当画像データを印刷制御部104に転送する。   When the control unit 102 of the image forming apparatus 100 receives image data from the host computer 200, the control unit 102 stores the image data in the temporary storage unit 103. When storing the image data, the control unit 102 transfers the corresponding image data held in the temporary storage unit 103 to the print control unit 104.

印刷制御部104は、画像データの印刷処理を制御する制御部であり、プリンタエンジン105を構成する各部位に接続されている。即ち、印刷制御部104は、画像データを受けると、該画像データに基づいて印刷処理を制御すべく、印刷開始を指示する印刷指示信号及び画像データをプリンタエンジン105に転送する。   The print control unit 104 is a control unit that controls image data print processing, and is connected to each part of the printer engine 105. That is, when receiving the image data, the print control unit 104 transfers a print instruction signal for instructing the start of printing and the image data to the printer engine 105 so as to control the printing process based on the image data.

プリンタエンジン105は、画像データに基づく印刷処理を実行する実行部であり、印刷指示信号及び画像データを受けると、該画像データに基づく印刷処理を行う。ここで、プリンタエンジン105における印刷処理は周知であるため、詳細な説明を割愛する。   The printer engine 105 is an execution unit that executes a printing process based on image data. Upon receiving a print instruction signal and image data, the printer engine 105 performs a printing process based on the image data. Here, since the printing process in the printer engine 105 is well known, a detailed description is omitted.

印刷制御部104は、プリンタエンジン105がホストコンピュータ200からの画像データに基づいた印刷処理を完了すると、印刷完了を示す印刷完了信号を制御部102に出力する。ここで、印刷完了信号には、画像データの属性である「ファイル名」、「ユーザ名」と、印刷処理の実行結果を示す「印刷用紙サイズ」、「印刷ページ数」、「印刷出力日時」とが付与されている。制御部102は、印刷完了信号を受けると、課金情報生成部107に課金情報の生成の指示及び該印刷完了信号を送信する。尚、上記印刷処理の完了とは、印刷媒体上に画像データに基づいたトナー像を形成し、該トナー像を印刷媒体上に定着する処理を経て、画像形成装置100の排出トレイ12(図2)への排出処理が終了するまでを示す。   When the printer engine 105 completes the printing process based on the image data from the host computer 200, the print control unit 104 outputs a print completion signal indicating the completion of printing to the control unit 102. Here, the print completion signal includes “file name” and “user name” that are attributes of image data, “print paper size”, “number of print pages”, and “print output date / time” indicating the execution result of the print processing. And are given. Upon receiving the print completion signal, the control unit 102 transmits an accounting information generation instruction and the printing completion signal to the accounting information generation unit 107. The completion of the printing process means that a toner image based on the image data is formed on the print medium, and the toner image is fixed on the print medium, and then the discharge tray 12 of the image forming apparatus 100 (FIG. 2). ) To the end of the discharge process.

一方、印刷制御部104は、課金情報記憶部109への記憶が不能となった場合にプリンタエンジン105が後述する「ID」が付与された1次元バーコード、又はQRコード等の2次元バーコードから成る課金コードに基づいた印刷処理を完了すると、コード印刷完了を示すコード印刷完了信号を制御部102に出力する。ここで、コード印刷完了信号には、後述する「ID」が付与されている。制御部102は、コード印刷完了信号を受けると、特徴情報生成部116に特徴情報の抽出の指示及び該コード印刷完了信号を送信する。   On the other hand, when the printing control unit 104 becomes unable to store in the billing information storage unit 109, the printer engine 105 is assigned a one-dimensional barcode to which an “ID” described later is added, or a two-dimensional barcode such as a QR code. When the printing process based on the billing code is completed, a code printing completion signal indicating completion of code printing is output to the control unit 102. Here, an “ID” to be described later is given to the code printing completion signal. Upon receiving the code printing completion signal, the control unit 102 transmits a feature information extraction instruction and the code printing completion signal to the feature information generation unit 116.

課金額計算用情報DB106は、ファイル毎の画像データに基づく課金額を算出するための課金額計算用情報を保持するデータベースである。課金額計算用情報は、図3に示すように、例えば各用紙サイズと、各サイズの用紙を用いた印刷処理における1枚当たりの課金額とから構成される。   The charge amount calculation information DB 106 is a database that holds charge amount calculation information for calculating a charge amount based on image data for each file. As shown in FIG. 3, the billing amount calculation information is composed of, for example, each sheet size and a billing amount per sheet in the printing process using each size sheet.

課金情報生成部107は、課金情報を生成する生成部であり、課金情報の生成の指示と共に印刷完了信号を受けると、該印刷完了信号に付与された「ファイル名」、「ユーザ名」、「印刷用紙サイズ」、「印刷ページ数」、「印刷出力日時」に基づいて課金情報を生成する。即ち、課金情報生成部107は、上記印刷完了信号を受けると、先ず、該印刷完了信号に付与された「印刷用紙サイズ」に基づいて上記課金額計算用情報DB106で保持する課金額計算用情報を検索し、該当する用紙サイズの1枚当たりの課金額と、「印刷ページ数」とから課金額を算出する。   The billing information generation unit 107 is a generation unit that generates billing information. Upon receiving a print completion signal together with a billing information generation instruction, the billing information generation unit 107 receives a “file name”, “user name”, “ Billing information is generated based on “print paper size”, “number of print pages”, and “print output date / time”. That is, when the billing information generation unit 107 receives the print completion signal, first, billing amount calculation information held in the billing amount calculation information DB 106 based on the “print paper size” given to the print completion signal. And the charge amount is calculated from the charge amount per sheet of the corresponding paper size and the “number of printed pages”.

そして、課金情報生成部107は、上記課金額を算出すると、例えば図4に示すような課金情報“%S%T=07/05/10/Fri/17:15:30%P=PRI%U=jiro%F=def.doc%C=10.2%E”を生成する。ここで、“%S”は、課金データの先頭を示し、“%E”は、課金データの最後を示す。“%T=”は、印刷出力日時が後に続くことを示し、上記課金情報の印刷出力日時は“2007年5月10日金曜日17時15分30秒”である。“%P=”は、プリンタ名が後に続くことを示し、上記課金情報のプリンタ名は“PRI”である。“%U=”は、ユーザ名が後に続くことを示し、上記課金情報のユーザ名は、“jiro”である。“%F=”は、ファイル名が後に続くことを示し、上記課金情報のファイル名は、“def.doc”である。“%C=”は、課金額が後に続くことを示し、上記課金情報の課金額は、“10.2[円]”である。上記課金情報の印刷出力日時及び課金額は、実際にはバイナリコードで示される。また、上記課金情報の印刷出力日時及び課金額は、実際にはバイナリコードで示されるが、説明を簡便に行うべく上記のように記載している。   Then, when the charging information generation unit 107 calculates the charging amount, for example, charging information “% S% T = 07/05/10 / Fri / 17: 15: 30% P = PRI% U as shown in FIG. = Jiro% F = def.doc% C = 10.2% E ". Here, “% S” indicates the beginning of the billing data, and “% E” indicates the end of the billing data. “% T =” indicates that the print output date and time will follow, and the print output date and time of the accounting information is “17:15:30 on Friday, May 10, 2007”. “% P =” indicates that the printer name follows, and the printer name of the accounting information is “PRI”. “% U =” indicates that the user name follows, and the user name of the accounting information is “jiro”. “% F =” indicates that a file name follows, and the file name of the accounting information is “def.doc”. “% C =” indicates that the billing amount follows, and the billing amount of the billing information is “10.2 [yen]”. The print output date and time and the charge amount of the charge information are actually indicated in binary code. Further, the print output date and time and the charge amount of the charge information are actually shown in binary code, but are described as described above for easy explanation.

課金情報生成部107が課金情報を生成すると、制御部102は、課金情報を一時記憶部103に記憶する。そして、制御部102は、課金情報を記憶すると、課金情報データ量検出部108に課金情報のデータ量の検出を指示する。   When the charging information generation unit 107 generates charging information, the control unit 102 stores the charging information in the temporary storage unit 103. After storing the billing information, the control unit 102 instructs the billing information data amount detection unit 108 to detect the data amount of the billing information.

課金情報データ量検出部108は、課金情報のデータ量(サイズ)を検出する機能を有する検出部である。即ち、課金情報データ量検出部108は、課金情報のデータ量の検出の指示を受けると、一時記憶部103で保持する課金情報のデータ量を検出する。   The billing information data amount detection unit 108 is a detection unit having a function of detecting the data amount (size) of billing information. That is, when the billing information data amount detection unit 108 receives an instruction to detect the amount of billing information data, the billing information data amount detection unit 108 detects the amount of billing information data held in the temporary storage unit 103.

課金情報データ量検出部108が課金情報のデータ量を検出すると、制御部102は、該課金情報のデータ量を一時記憶部103に記憶すると共に、使用可能容量検出部111に課金情報記憶部109の使用可能容量の検出を指示する。   When the billing information data amount detection unit 108 detects the amount of billing information data, the control unit 102 stores the billing information data amount in the temporary storage unit 103 and the usable capacity detection unit 111 in the billing information storage unit 109. Instructs the detection of the available capacity.

課金情報管理部110は、課金情報記憶部109で保持する課金情報を管理する管理部である。即ち、課金情報管理部110は、後述する課金情報の格納の指示を受けると、一時記憶部103で保持する課金情報を課金情報記憶部109に昇順に格納する。課金情報管理部110は、課金情報を格納すると、課金情報格納済信号を生成し、該信号を制御部102に送信する。   The billing information management unit 110 is a management unit that manages billing information held in the billing information storage unit 109. That is, when the charging information management unit 110 receives an instruction to store charging information, which will be described later, the charging information stored in the temporary storage unit 103 is stored in the charging information storage unit 109 in ascending order. When charging information is stored, charging information management unit 110 generates a charging information stored signal and transmits the signal to control unit 102.

一方、課金情報管理部110は、後述する復号した課金情報の格納の指示を受けると、後述する印刷媒体上に印刷された課金コードを復号して取得した課金情報を通常ルートで課金サーバ300に送信するために、一時記憶部103で保持する復号した課金情報を課金情報記憶部109に昇順に格納する。課金情報管理部110は、復号した課金情報を格納すると、復号課金情報格納済信号を生成し、該信号を制御部102に送信する。   On the other hand, upon receipt of an instruction to store decrypted billing information (to be described later), billing information management unit 110 decrypts the billing code printed on a print medium (to be described later) and sends the billing information acquired to billing server 300 via the normal route. For transmission, the decrypted billing information held in the temporary storage unit 103 is stored in the billing information storage unit 109 in ascending order. When the billing information management unit 110 stores the decrypted billing information, the billing information management unit 110 generates a decrypted billing information stored signal and transmits the signal to the control unit 102.

そして、課金情報管理部110は、制御部102を介して課金サーバ300から後述する課金情報送信要求信号を受けると、課金情報記憶部109で保持する全ての課金情報を画像形成装置100の「プリンタ名」を付与して制御部102を介して課金サーバ300に送信する。課金情報管理部110は、課金情報を課金サーバ300に送信すると、課金情報送信済信号を生成し、該信号を制御部102に送信する。ここで、上記「プリンタ名」は、画像形成装置100の図示しないメモリで保持する画像形成装置100を識別するための装置名である。   When the charging information management unit 110 receives a charging information transmission request signal (to be described later) from the charging server 300 via the control unit 102, all the charging information held in the charging information storage unit 109 is stored in the “printer” of the image forming apparatus 100. Name ”is assigned and transmitted to the accounting server 300 via the control unit 102. When charging information is transmitted to charging server 300, charging information management unit 110 generates a charging information transmitted signal and transmits the signal to control unit 102. Here, the “printer name” is an apparatus name for identifying the image forming apparatus 100 held in a memory (not shown) of the image forming apparatus 100.

また、課金情報管理部110は、上記課金情報送信要求信号に基づいて課金情報記憶部109で保持する全ての課金情報を制御部102を介して課金サーバ300に送信後、後述する課金情報の削除の指示を受けると、課金情報記憶部109で保持する全ての課金情報を削除する。課金情報管理部110は、全ての課金情報を削除すると、課金情報全削除済信号を生成し、該信号を制御部102に送信する。   In addition, the accounting information management unit 110 transmits all the accounting information held in the accounting information storage unit 109 to the accounting server 300 via the control unit 102 based on the accounting information transmission request signal, and then deletes accounting information described later. When the instruction is received, all the accounting information held in the accounting information storage unit 109 is deleted. When the charging information management unit 110 deletes all the charging information, the charging information management unit 110 generates a charging information all deleted signal and transmits the signal to the control unit 102.

一方、課金情報管理部110は、後述するコード化の対象である課金情報の削除の指示を受けると、課金情報記憶部109から該当する印刷出力済みの課金情報を削除する。課金情報管理部110は、コード化の対象である課金情報を削除すると、課金情報記憶部109の記憶可能容量が増えるので、一時記憶部103で保持する生成した新たな課金情報を課金情報記憶部109に昇順に格納する。そして、課金情報管理部110は、課金情報を格納すると、課金情報格納済信号を生成し、該信号を制御部102に送信する。   On the other hand, upon receiving an instruction to delete the accounting information to be encoded, which will be described later, the accounting information management unit 110 deletes the corresponding printed accounting information from the accounting information storage unit 109. If the accounting information to be encoded is deleted, the accounting information management unit 110 increases the storable capacity of the accounting information storage unit 109. Therefore, the accounting information management unit 110 uses the generated accounting information stored in the temporary storage unit 103 as the accounting information storage unit. 109 is stored in ascending order. When charging information is stored, charging information management section 110 generates a charging information stored signal and transmits the signal to control section 102.

使用可能容量検出部111は、課金情報記憶部109の記憶領域の使用可能容量(サイズ)を検出する機能を有する検出部である。即ち、使用可能容量検出部111は、課金情報記憶部109の使用可能容量の検出の指示を受けると、課金情報記憶部109に予め記憶された総記憶容量から、課金情報記憶部109の使用済領域の容量を差し引いて使用可能容量の値を算出する。   The usable capacity detection unit 111 is a detection unit having a function of detecting the usable capacity (size) of the storage area of the billing information storage unit 109. That is, when the usable capacity detection unit 111 receives an instruction to detect the usable capacity of the charging information storage unit 109, the usable capacity detection unit 111 uses the total storage capacity stored in advance in the charging information storage unit 109 to indicate whether the charging information storage unit 109 has been used. The available capacity value is calculated by subtracting the capacity of the area.

使用可能容量検出部111が課金情報記憶部109の使用可能容量を検出すると、制御部102は、使用可能容量を一時記憶部103に記憶する。そして、制御部102は、使用可能容量を記憶すると、容量比較判定部112に容量の比較判定を指示する。   When the usable capacity detection unit 111 detects the usable capacity of the charging information storage unit 109, the control unit 102 stores the usable capacity in the temporary storage unit 103. After storing the usable capacity, the control unit 102 instructs the capacity comparison / determination unit 112 to compare and determine the capacity.

容量比較判定部112は、課金情報のデータ量と、課金情報記憶部109の使用可能容量とを比較して、該課金情報を課金情報記憶部109に格納することが可能か否かを判定する判定部である。即ち、容量比較判定部112は、容量の比較判定の指示を受けると、一時記憶部103で保持する課金情報のデータ量と、課金情報記憶部109の使用可能容量とを比較し、課金情報記憶部109の使用可能容量≧課金情報のデータ量であると、格納可能と判定する。容量比較判定部112が格納可能と判定すると、制御部102は、課金情報管理部110に課金情報の格納を指示する。   The capacity comparison / determination unit 112 compares the data amount of the billing information with the usable capacity of the billing information storage unit 109 to determine whether or not the billing information can be stored in the billing information storage unit 109. It is a judgment part. That is, upon receiving an instruction for capacity comparison determination, the capacity comparison determination unit 112 compares the amount of charging information held in the temporary storage unit 103 with the usable capacity of the charging information storage unit 109, and stores the charging information storage. If the usable capacity of the unit 109 is equal to or greater than the data amount of the charging information, it is determined that the data can be stored. When the capacity comparison / determination unit 112 determines that storage is possible, the control unit 102 instructs the charging information management unit 110 to store charging information.

一方、容量比較判定部112は、課金情報記憶部109の使用可能容量<課金情報のデータ量であると、格納不可と判定する。容量比較判定部112が課金情報を格納不可と判定すると、制御部102は、変換用課金情報取得部113にコード変換用の課金情報の取得を指示する。   On the other hand, the capacity comparison / determination unit 112 determines that the storage is not possible if the available capacity of the charging information storage unit 109 is smaller than the data amount of the charging information. When the capacity comparison / determination unit 112 determines that the charging information cannot be stored, the control unit 102 instructs the conversion charging information acquisition unit 113 to acquire the charging information for code conversion.

変換用課金情報取得部113は、課金情報記憶部109から後述するコード変換すべき課金情報を取得する取得部である。即ち、変換用課金情報取得部113は、コード変換用の課金情報の取得の指示を受けると、印刷出力させるために課金情報記憶部109で保持する課金情報から予め設定した例えば100KB(キロバイト)のデータ量の複数の課金情報を降順に取得する。変換用課金情報取得部113は、予め設定されたデータ量以内のファイル単位での区切りの良い複数の課金情報を取得するものとする。   Conversion accounting information acquisition unit 113 is an acquisition unit that acquires accounting information to be subjected to code conversion, which will be described later, from accounting information storage unit 109. That is, when receiving the instruction for acquiring the charge information for code conversion, the conversion charge information acquisition unit 113 receives, for example, 100 KB (kilobytes) set in advance from the charge information held in the charge information storage unit 109 for printout. A plurality of pieces of billing information for the data amount are acquired in descending order. It is assumed that the conversion billing information acquisition unit 113 acquires a plurality of billing information with good separation in file units within a preset data amount.

変換用課金情報取得部113が上記コード変換すべき課金情報を取得すると、制御部102は、該変換すべき課金情報を一時記憶部103に記憶する。そして、制御部102は、変換すべき課金情報を記憶すると、コード生成部114にコード生成を指示する。   When the conversion charging information acquisition unit 113 acquires the charging information to be code-converted, the control unit 102 stores the charging information to be converted in the temporary storage unit 103. Then, after storing the accounting information to be converted, the control unit 102 instructs the code generation unit 114 to generate a code.

コード生成部114は、コード変換すべき課金情報をコード変換し、光学的に読み取り可能な課金コードを生成する生成部である。即ち、コード生成部114は、コード生成の指示を受けると、一時記憶部103で保持する変換すべき課金情報をコード変換し、光学的に読み取り可能な課金コードを生成する。ここで、課金コードとは、画像データから成る1次元バーコード、QRコード等の2次元バーコードである。   The code generation unit 114 is a generation unit that converts the charging information to be converted into a code and generates an optically readable charging code. That is, when the code generation unit 114 receives a code generation instruction, the code generation unit 114 converts the charging information to be converted held in the temporary storage unit 103 and generates an optically readable charging code. Here, the billing code is a two-dimensional barcode such as a one-dimensional barcode or QR code made of image data.

コード生成部114が課金コードを生成すると、制御部102は、該課金コードを一時記憶部103に記憶する。そして、制御部102は、課金コードを記憶すると、該課金コードの管理に用いる通し番号である「ID」を生成し、該「ID」を課金コードに付与する。ここで、制御部102は、上記「ID」を生成するためのカウンタ機能を有する。そして、制御部102は、「ID」を課金コードに付与すると、印刷制御部104に画像データから成る「ID」を付与した課金コードを転送する。   When the code generation unit 114 generates a charging code, the control unit 102 stores the charging code in the temporary storage unit 103. Then, when the charging code is stored, the control unit 102 generates “ID” which is a serial number used for managing the charging code, and assigns the “ID” to the charging code. Here, the control unit 102 has a counter function for generating the “ID”. Then, when “ID” is assigned to the charging code, the control unit 102 transfers the charging code to which the “ID” including the image data is added to the print control unit 104.

制御部102は、上記「ID」の付与されたコード印刷完了信号を受けると、該「ID」を一時記憶部103に記憶すると共に、特徴抽出部115に特徴情報の生成を指示する。   Upon receiving the code printing completion signal to which the “ID” is assigned, the control unit 102 stores the “ID” in the temporary storage unit 103 and instructs the feature extraction unit 115 to generate feature information.

特徴抽出部115は、後述する印刷媒体上に印刷された課金コードで示す課金情報が自己の画像形成装置100のものであるか否かを識別するために、印刷媒体上に印刷されたコード化課金情報の特徴を抽出する抽出部である。即ち、特徴抽出部115は、特徴情報の抽出の指示を受けると、先ず、一時記憶部103で保持するコード化された課金情報、又は後述する復号した課金情報に対しハッシュ関数を用いて「ハッシュ値」を算出する。ここで、ハッシュ関数は、例えばSHA−1関数であり、2の64ビット以下の情報から160ビットの「ハッシュ値」を算出するが、周知であるため、詳細な説明を割愛する。   The feature extraction unit 115 encodes the information printed on the print medium to identify whether or not the charge information indicated by the charge code printed on the print medium, which will be described later, belongs to the image forming apparatus 100 itself. It is an extraction unit that extracts features of billing information. That is, when receiving an instruction to extract feature information, the feature extraction unit 115 first performs “hash” on the encoded billing information held in the temporary storage unit 103 or the decrypted billing information described later using a hash function. Value "is calculated. Here, the hash function is, for example, an SHA-1 function, and a 160-bit “hash value” is calculated from information of 2 64 bits or less. However, since the hash function is well-known, detailed description thereof is omitted.

そして、特徴抽出部115は、上記「ハッシュ値」を算出すると、一時記憶部103で保持するコード化された課金情報、又は復号した課金情報の「データ量」を算出する。   Then, after calculating the “hash value”, the feature extraction unit 115 calculates the “data amount” of the encoded charging information held in the temporary storage unit 103 or the decoded charging information.

特徴抽出部115がコード化された課金情報の「ハッシュ値」及び「データ量」を算出すると、制御部102は、特徴情報生成部116に特徴情報の生成を指示する。   When the feature extraction unit 115 calculates the “hash value” and “data amount” of the encoded billing information, the control unit 102 instructs the feature information generation unit 116 to generate feature information.

一方、特徴抽出部115が復号した課金情報の「ハッシュ値」及び「データ量」を算出すると、制御部102は、復号課金情報照合判定部121に復号した課金情報の照合判定を指示する。   On the other hand, when the “hash value” and “data amount” of the billing information decrypted by the feature extraction unit 115 are calculated, the control unit 102 instructs the decryption billing information collation determination unit 121 to collate the decrypted billing information.

特徴情報生成部116は、上記特徴抽出部115で抽出した「ハッシュ値」及び「データ量」に基づいて、コード化の対照となる課金情報の特徴を示すデータ量の小さい特徴情報を生成する生成部である。   The feature information generation unit 116 generates feature information with a small data amount indicating the feature of the billing information to be coded against, based on the “hash value” and “data amount” extracted by the feature extraction unit 115. Part.

即ち、特徴情報生成部116は、特徴情報の生成の指示を受けると、一時記憶部103で保持する「ID」、「ハッシュ値」、「データ量」に基づいて、例えば図7に示すような特徴情報“%S%I=00001023%H=51a504d7%B=00001000%E”を生成する。ここで、“%S”は、特徴情報の先頭を示し、“%E”は、特徴情報の最後を示す。“%I=”は、IDが後に続くことを示し、上記特徴情報のIDは“00001023”である。“%H=”は、ハッシュ値が続くことを示し、上記特徴情報のハッシュ値は“51a504d7”である。“%B=”は、データ量が続くことを示し、上記特徴情報のデータ量は“1000byte”である。   That is, when the feature information generation unit 116 receives an instruction to generate feature information, based on the “ID”, “hash value”, and “data amount” stored in the temporary storage unit 103, for example, as shown in FIG. The feature information “% S% I = 000010023% H = 51a504d7% B = 00001000% E” is generated. Here, “% S” indicates the beginning of the feature information, and “% E” indicates the end of the feature information. “% I =” indicates that an ID follows, and the ID of the feature information is “00001023”. “% H =” indicates that the hash value continues, and the hash value of the feature information is “51a504d7”. “% B =” indicates that the data amount continues, and the data amount of the feature information is “1000 bytes”.

特徴情報生成部116が特徴情報を生成すると、制御部102は、該特徴情報を一時記憶部103に記憶する。そして、制御部102は、特徴情報を記憶すると、特徴情報管理部118に特徴情報の格納を指示する。   When the feature information generation unit 116 generates feature information, the control unit 102 stores the feature information in the temporary storage unit 103. After storing the feature information, the control unit 102 instructs the feature information management unit 118 to store the feature information.

特徴情報記憶部117は、特徴情報管理部118の指示に基づいて特徴情報生成部116において生成した特徴情報を記憶する記憶部である。ここで、特徴情報記憶部117は、例えばHDD(Hard Disc Drive)等の不揮発性メモリ、又はフラッシュメモリから構成される。   The feature information storage unit 117 is a storage unit that stores the feature information generated by the feature information generation unit 116 based on an instruction from the feature information management unit 118. Here, the feature information storage unit 117 includes a nonvolatile memory such as an HDD (Hard Disc Drive) or a flash memory.

特徴情報管理部118は、特徴情報記憶部117で保持する特徴情報を管理する管理部である。即ち、特徴情報管理部118は、特徴情報の格納の指示を受けると、一時記憶部103で保持する特徴情報を特徴情報記憶部117に昇順に記憶する。特徴情報管理部118が特徴情報を記憶すると、制御部102は、課金情報管理部110にコード化の対象である課金情報の削除を指示する。   The feature information management unit 118 is a management unit that manages the feature information held in the feature information storage unit 117. In other words, when receiving an instruction to store feature information, the feature information management unit 118 stores the feature information held in the temporary storage unit 103 in the feature information storage unit 117 in ascending order. When the feature information management unit 118 stores the feature information, the control unit 102 instructs the charging information management unit 110 to delete the charging information to be coded.

そして、特徴情報管理部118は、特徴情報の削除の指示を受けると、一時記憶部103で保持する「復号したID」に基づいて特徴情報記憶部117を検索し、該特徴情報記憶部117から該当する特徴情報を削除する。特徴情報管理部118は、特徴情報を削除すると、特徴情報削除済信号を生成し、該信号を制御部102に送信する。   When the feature information management unit 118 receives an instruction to delete the feature information, the feature information management unit 118 searches the feature information storage unit 117 based on the “decoded ID” held in the temporary storage unit 103, and the feature information storage unit 117 Delete the relevant feature information. When the feature information management unit 118 deletes the feature information, the feature information management unit 118 generates a feature information deleted signal and transmits the signal to the control unit 102.

制御部102は、課金サーバ300が復旧し、課金サーバ300から課金情報送信要求信号を受けると、課金情報管理部110に該信号を転送する。そして、制御部102は、課金情報管理部110から課金サーバ300に課金情報記憶部109で保持する全ての課金情報を送信し、課金情報記憶部109で保持する全ての課金情報を削除したことを示す課金情報全削除済信号を受けると、図示しないROMで保持する該当プログラムを起動させ、課金情報記憶部109が空になった旨を通知するための通知画面を図示しない表示部に備えるディスプレイに表示させる。   When charging server 300 is restored and receives a charging information transmission request signal from charging server 300, control unit 102 transfers the signal to charging information management unit 110. Then, the control unit 102 transmits all the charging information held in the charging information storage unit 109 from the charging information management unit 110 to the charging server 300, and deletes all the charging information held in the charging information storage unit 109. When the accounting information all-deleted signal shown is received, the corresponding program stored in the ROM (not shown) is activated, and a notification screen for notifying that the accounting information storage unit 109 is empty is provided on a display unit (not shown). Display.

管理者は、上記通知画面を参照すると、課金コードの印刷された印刷媒体から課金情報を復号し、該復号した課金情報を通常ルートで課金サーバ300に送信させるために、画像形成装置100の図示しないガラス板から成る原稿載置台に上記印刷媒体を載置し、図示しない入力部に備えたボタンを介して画像読み取りを指示する。ここで、図5にQRコードから成る課金コードが印刷された印刷媒体の一例を示す。また、本実施例では、印刷媒体上に上記課金コードのみを印刷するという構成にしたが、これに限らず、ユーザが該印刷媒体に印刷されたコードが課金コードであると肉眼で判断できるように、例えば図6に示すように、「プリンタ名」、課金コード化の対象である課金情報の数を示す「データ数」、データ量を示す「データサイズ」、「ID」等の文字を印刷する構成にしてもよい。制御部102は、上記ボタンを介して画像読み取りの指示を受けると、画像読取部119に画像の読み取りを指示する。   With reference to the notification screen, the administrator decrypts the billing information from the print medium on which the billing code is printed, and transmits the decrypted billing information to the billing server 300 via the normal route. The print medium is placed on a document placing table made of a glass plate not to be read, and image reading is instructed via a button provided in an input unit (not shown). Here, FIG. 5 shows an example of a print medium on which a billing code including a QR code is printed. In the present embodiment, only the charging code is printed on the print medium. However, the present invention is not limited to this, and the user can visually determine that the code printed on the print medium is the charging code. For example, as shown in FIG. 6, characters such as “printer name”, “number of data” indicating the number of charging information to be encoded, “data size” indicating the amount of data, “ID”, and the like are printed. You may make it the structure to carry out. When receiving an image reading instruction via the button, the control unit 102 instructs the image reading unit 119 to read an image.

画像読取部119は、上記原稿載置台に載置された原稿を光学的に読み取って画像データを生成する生成部である。即ち、画像読取部119は、画像の読み取りの指示を受けると、原稿載置台に載置された1次元バーコード、又は2次元バーコードが印刷された印刷媒体を光学的に読み取って画像データを生成する。   The image reading unit 119 is a generating unit that optically reads a document placed on the document placing table and generates image data. In other words, when receiving an image reading instruction, the image reading unit 119 optically reads a print medium on which a one-dimensional barcode or a two-dimensional barcode placed on a document placement table is printed, and reads image data. Generate.

画像読取部119が画像データを生成すると、制御部102は、該画像データを一時記憶部103に記憶する。そして、制御部102は、画像データを記憶すると、コード解析部120にコード解析を指示する。   When the image reading unit 119 generates image data, the control unit 102 stores the image data in the temporary storage unit 103. After storing the image data, the control unit 102 instructs the code analysis unit 120 to perform code analysis.

コード解析部120は、画像読取部119で読み取った画像データから課金コード画像を抽出し、該課金コード画像から1次元バーコード、又は2次元バーコードから成る課金コードを解読して課金情報及びIDを復号する解析部である。即ち、コード解析部120は、コード解析の指示を受けると、一時記憶部103で保持する画像データから1次元バーコード、又は2次元バーコードから成る課金コードを抽出し、該課金コード画像から課金コードを解読して課金情報及びIDを復号する。   The code analysis unit 120 extracts a charging code image from the image data read by the image reading unit 119, decodes the charging code composed of a one-dimensional barcode or a two-dimensional barcode from the charging code image, and stores the charging information and ID It is an analysis part which decodes. That is, upon receiving a code analysis instruction, the code analysis unit 120 extracts a charge code including a one-dimensional barcode or a two-dimensional barcode from the image data held in the temporary storage unit 103, and charges the charge code image from the charge code image. Decode the billing information and ID by decrypting the code.

コード解析部120が課金情報及びIDを復号すると、制御部102は、復号した課金情報及びIDを一時記憶部103に記憶する。そして、制御部102は、復号した課金情報及びIDを記憶すると、特徴抽出部115に復号した課金情報の特徴の抽出を指示する。   When the code analysis unit 120 decrypts the billing information and ID, the control unit 102 stores the decrypted billing information and ID in the temporary storage unit 103. When storing the decrypted billing information and ID, the control unit 102 instructs the feature extraction unit 115 to extract the features of the decrypted billing information.

復号課金情報照合判定部121は、特徴抽出部115で抽出した復号した課金情報の「ハッシュ値」及び「データ量」に基づいて、該復号した課金情報を通常ルートで課金サーバ300に送信するために課金情報記憶部109に格納するか否かを判定する判定部である。即ち、復号課金情報照合判定部121は、復号した課金情報の照合判定の指示を受けると、一時記憶部103で保持する復号したIDと、復号した課金情報の特徴である「ハッシュ値」に基づいて特徴情報記憶部117を検索し、該ID及びハッシュ値に一致する特徴情報が存在すると、照合一致と判定する。復号課金情報照合判定部121が照合一致と判定すると、制御部102は、課金情報管理部110に復号した課金情報の格納を指示する。   Based on the “hash value” and “data amount” of the decrypted billing information extracted by the feature extraction unit 115, the decrypted billing information collation determination unit 121 transmits the decrypted billing information to the billing server 300 via the normal route. Is a determination unit that determines whether or not to store in the billing information storage unit 109. In other words, when receiving the instruction for collation judgment of the decrypted billing information, the decrypted billing information collation determining unit 121 is based on the decrypted ID held in the temporary storage unit 103 and the “hash value” that is the characteristic of the decrypted billing information. Then, the feature information storage unit 117 is searched, and if there is feature information that matches the ID and hash value, it is determined as matching. When the decrypted billing information collation determining unit 121 determines that the collation matches, the control unit 102 instructs the billing information managing unit 110 to store the decrypted billing information.

一方、復号課金情報照合判定部121は、上記ID及びハッシュ値に一致する特徴情報が存在しないと、照合不一致と判定する。復号課金情報照合判定部121が照合不一致と判定すると、制御部102は、図示しないROMで保持する該当プログラムを起動させ、自己の課金情報でないため印刷媒体上の課金コードが画像形成装置100に格納不可である旨を通知するための通知画面を図示しない表示部に備えるディスプレイに表示させる。   On the other hand, if there is no feature information that matches the ID and the hash value, the decryption charging information collation determination unit 121 determines that the collation does not match. If the decrypted charging information verification determination unit 121 determines that the verification does not match, the control unit 102 activates a corresponding program held in a ROM (not shown) and stores the charging code on the print medium in the image forming apparatus 100 because it is not its own charging information. A notification screen for notifying that it is impossible is displayed on a display provided in a display unit (not shown).

制御部102は、課金情報管理部110から復号課金情報格納済信号を受けると、特徴情報管理部118に特徴情報の削除を指示する。   Upon receiving the decrypted billing information stored signal from the billing information management unit 110, the control unit 102 instructs the feature information management unit 118 to delete the feature information.

また、制御部102は、課金サーバ300から集計課金情報格納済信号を受けると、課金情報管理部110に課金情報の削除を指示する。   When control unit 102 receives a total billing information stored signal from billing server 300, control unit 102 instructs billing information management unit 110 to delete billing information.

課金サーバ300は、画像形成装置100の課金情報記憶部109で保持する課金情報を回収し、該課金情報を集計して集計課金情報を生成し、該集計課金情報を記憶・管理する装置であり、図1に示すように、画像形成装置100と通信するための通信部301と、サーバを制御する制御部302と、一時記憶部303と、集計課金情報記憶部304と、集計課金情報管理部305とを備える。   The billing server 300 is a device that collects billing information held in the billing information storage unit 109 of the image forming apparatus 100, aggregates the billing information, generates aggregate billing information, and stores and manages the aggregate billing information. As shown in FIG. 1, a communication unit 301 for communicating with the image forming apparatus 100, a control unit 302 for controlling the server, a temporary storage unit 303, a total billing information storage unit 304, and a total billing information management unit 305.

制御部302は、画像形成装置100の課金情報記憶部109で保持する課金情報を回収するために、予め設定された一定期間毎に課金情報要求信号を生成し、該信号を画像形成装置100に送信する。   The control unit 302 generates a billing information request signal every predetermined period to collect billing information held in the billing information storage unit 109 of the image forming apparatus 100, and sends the signal to the image forming apparatus 100. Send.

そして、制御部302は、課金サーバ300が復旧すると、画像形成装置100の課金情報記憶部109における記憶可能容量の不足を解消するために、課金情報要求信号を生成し、該信号を画像形成装置100に送信する。   Then, when the charging server 300 is restored, the control unit 302 generates a charging information request signal in order to solve the shortage of storable capacity in the charging information storage unit 109 of the image forming apparatus 100, and the signal is output to the image forming apparatus. To 100.

また、制御部302は、上記課金情報送信要求信号の返答として画像形成装置100から課金情報を受けると、該課金情報を一時記憶部303に記憶する。また、制御部302は、課金情報を記憶すると、集計課金情報管理部305に課金情報の登録を指示する。   Further, when the control unit 302 receives billing information from the image forming apparatus 100 as a response to the billing information transmission request signal, the control unit 302 stores the billing information in the temporary storage unit 303. In addition, when storing the charging information, the control unit 302 instructs the total charging information management unit 305 to register the charging information.

集計課金情報記憶部304は、集計課金情報管理部305からの指示に基づいて、画像形成装置100から取得した課金情報を記憶する記憶部である。ここで、集計課金情報記憶部304は、集計課金情報管理部305からの指示に基づいて、上記取得した課金情報を画像形成装置毎、かつユーザ名毎に振り分けて記憶し、画像形成装置毎の合計課金金額と、ユーザ名毎の合計課金金額とを記憶する。   The total charging information storage unit 304 is a storage unit that stores the charging information acquired from the image forming apparatus 100 based on an instruction from the total charging information management unit 305. Here, the total charge information storage unit 304 distributes and stores the acquired charge information for each image forming apparatus and for each user name based on an instruction from the total charge information management unit 305. The total charge amount and the total charge amount for each user name are stored.

集計課金情報管理部305は、集計課金情報記憶部304で保持する集計課金情報を管理する管理部であり、課金情報の登録の指示を受けると、画像形成装置100から取得した課金情報を各ファイル毎のユーザ名に基づいて振り分けて集計課金情報記憶部304に記憶する。そして、集計課金情報管理部305は、集計課金情報記憶部304を更新すると共に、各画像形成装置毎の合計課金金額と、ユーザ名毎の合計課金金額とを再計算する。   The total billing information management unit 305 is a management unit that manages the total billing information held in the total billing information storage unit 304. Upon receiving a billing information registration instruction, the total billing information management unit 305 stores the billing information acquired from the image forming apparatus 100 in each file. Based on each user name, it is sorted and stored in the total billing information storage unit 304. The total billing information management unit 305 updates the total billing information storage unit 304 and recalculates the total billing amount for each image forming apparatus and the total billing amount for each user name.

集計課金情報管理部305は、集計課金情報記憶部304に集計課金情報を記憶すると、集計課金情報の格納が完了したことを示す集計課金情報格納済信号を生成し、該信号を制御部302を介して画像形成装置100に送信する。   When the total charge information storage unit 304 stores the total charge information, the total charge information management unit 305 generates a total charge information stored signal indicating that the storage of the total charge information has been completed. To the image forming apparatus 100.

<実施例1の動作>
以下、本発明に係る実施例1の画像形成装置100の動作について、フローチャートを用いて説明する。ここで、画像形成装置100がMFPであることを前提として動作の説明を行う。
<Operation of Example 1>
Hereinafter, the operation of the image forming apparatus 100 according to the first embodiment of the present invention will be described with reference to flowcharts. Here, the operation will be described on the assumption that the image forming apparatus 100 is an MFP.

先ず、課金サーバ300が停止状態時の画像形成装置100の動作について、図8のフローチャートを用いて説明する。   First, the operation of the image forming apparatus 100 when the accounting server 300 is stopped will be described with reference to the flowchart of FIG.

ホストコンピュータ200を利用する利用者がホストコンピュータ200の図示しない電源ボタンを押下し、表示部204に表示されたログイン画面を参照して入力部205に備えるキーボードから「ユーザ名」及び「パスワード」を入力して、該ログイン画面上の「ログイン」ボタンを押下すると、制御部202は、取得した「ユーザ名:jiro」及び「パスワード」に基づいて図示しない利用者管理情報記憶部で保持する利用者管理情報を検索し、利用者の認証一致、不一致を判定する。ここで、上記利用者管理情報は、「登録ユーザ名:jiro」及び「登録パスワード」から構成されている。利用者の認証一致が判定されると、制御部202は、ホストコンピュータ200を構成する各部を起動させる。   A user using the host computer 200 presses a power button (not shown) of the host computer 200 and refers to a login screen displayed on the display unit 204 to enter “user name” and “password” from the keyboard provided in the input unit 205. When the user inputs and presses the “login” button on the login screen, the control unit 202 holds the user stored in the user management information storage unit (not shown) based on the acquired “user name: jiro” and “password”. Search the management information and determine whether the user's authentication matches or does not match. Here, the user management information is composed of “registered user name: jiro” and “registered password”. When it is determined that the user authentication matches, the control unit 202 activates each unit constituting the host computer 200.

次に、利用者が入力部205に備えるキーボード及びマウスを用いて文書作成用アプリケーションソフトの起動を指示すると、制御部202は、アプリケーション格納部206に格納された該当するアプリケーションソフトを起動させ、このアプリケーションソフトに基づいて文書作成用画面を表示部204に備えるディスプレイに表示させる。   Next, when the user instructs activation of the document creation application software using the keyboard and mouse provided in the input unit 205, the control unit 202 activates the corresponding application software stored in the application storage unit 206. A document creation screen is displayed on a display provided in the display unit 204 based on the application software.

利用者が入力部205に備えるキーボード及びマウスを用いて表示部204に表示された文書作成用画面を用いて文書を作成し、このアプリケーションソフト上の印刷コマンドを押下すると、制御部202は、プリンタドライバに印刷データの生成を指示する。   When the user creates a document using the document creation screen displayed on the display unit 204 using the keyboard and mouse provided in the input unit 205 and presses a print command on the application software, the control unit 202 Instructs the driver to generate print data.

プリンタドライバ207において、印刷データの生成の指示を受けると、スプーラ2071は、アプリケーションソフトを用いて作成されたデータから印刷データを生成する。ここで、印刷データには、ホストコンピュータ200の利用者がアプリケーションソフトを用いて設定した「用紙サイズ:A4」、「ページ数:2枚」、「ファイル名:def.doc」、そして、ログイン時に取得した「ユーザ名:jiro」などが付与される。   When the printer driver 207 receives a print data generation instruction, the spooler 2071 generates print data from data created using application software. Here, the print data includes “paper size: A4”, “number of pages: 2”, “file name: def.doc” set by the user of the host computer 200 using application software, and at the time of login. The acquired “user name: jiro” or the like is given.

スプーラ2071が印刷データを生成すると、制御部202は、この印刷データを一時記憶部203に記憶する。そして、制御部202は、印刷データを記憶すると、ラスタライズ変換部2072にラスタライズ変換を指示する。   When the spooler 2071 generates print data, the control unit 202 stores the print data in the temporary storage unit 203. After storing the print data, the control unit 202 instructs the rasterization conversion unit 2072 to perform rasterization conversion.

ラスタライズ変換部2072は、ラスタライズ変換の指示を受けると、一時記憶部203で保持する印刷データをラスタライズ変換して画像データを生成する。ここで、画像データには、印刷データに付与された「用紙サイズ:A4」、「ページ数:2枚」、「ファイル名:def.doc」、「ユーザ名:jiro」などがそのまま付与される。   When receiving a rasterize conversion instruction, the rasterize conversion unit 2072 generates image data by rasterizing the print data held in the temporary storage unit 203. Here, “paper size: A4”, “number of pages: 2”, “file name: def.doc”, “user name: jiro”, and the like given to the print data are directly given to the image data. .

ラスタライズ変換部2072が画像データを生成すると、制御部202は、この画像データを一時記憶部203に記憶すると共に、該画像データを画像形成装置100に送信する。   When the rasterize conversion unit 2072 generates image data, the control unit 202 stores the image data in the temporary storage unit 203 and transmits the image data to the image forming apparatus 100.

画像形成装置100の制御部102は、ジョブ待ち状態にあり、通信部101を介してホストコンピュータ200から画像データを受けると(ステップS101)、該画像データを一時記憶部103に記憶する。そして、制御部102は、画像データを記憶すると、一時記憶部103で保持する該当画像データを印刷制御部104に転送する。   When the control unit 102 of the image forming apparatus 100 is in a job waiting state and receives image data from the host computer 200 via the communication unit 101 (step S101), the control unit 102 stores the image data in the temporary storage unit 103. When storing the image data, the control unit 102 transfers the corresponding image data held in the temporary storage unit 103 to the print control unit 104.

印刷制御部104は、画像データを受けると、該画像データに基づいて印刷処理を制御すべく、印刷開始を指示する印刷指示信号及び画像データをプリンタエンジン105に転送する。   Upon receiving the image data, the print control unit 104 transfers a print instruction signal for instructing the start of printing and the image data to the printer engine 105 in order to control print processing based on the image data.

プリンタエンジン105は、画像データに基づく印刷処理を実行する実行部であり、印刷指示信号及び画像データを受けると、該画像データに基づく印刷処理を行う(ステップS102)。   The printer engine 105 is an execution unit that executes a printing process based on image data. Upon receiving a print instruction signal and image data, the printer engine 105 performs a printing process based on the image data (step S102).

印刷制御部104は、プリンタエンジン105がホストコンピュータ200からの画像データに基づいた印刷処理を完了すると、印刷完了を示す印刷完了信号を制御部102に出力する。印刷完了信号には、画像データの属性である「ファイル名:def.doc」、「ユーザ名:jiro」と、印刷処理の実行結果を示す「印刷用紙サイズ:A4」、「印刷ページ数:2枚」、「印刷出力日時:07/05/10/Fri/17:15:30」とが付与されている。制御部102は、印刷完了信号を受けると、課金情報生成部107に課金情報の生成の指示及び該印刷完了信号を送信する。   When the printer engine 105 completes the printing process based on the image data from the host computer 200, the print control unit 104 outputs a print completion signal indicating the completion of printing to the control unit 102. The print completion signal includes “file name: def.doc” and “user name: jiro” as attributes of the image data, “print paper size: A4” indicating the execution result of the printing process, and “number of printed pages: 2”. Sheet ”and“ print output date / time: 07/05/10 / Fri / 17: 15: 30 ”. Upon receiving the print completion signal, the control unit 102 transmits an accounting information generation instruction and the printing completion signal to the accounting information generation unit 107.

課金情報生成部107は、上記印刷完了信号を受けると、先ず、該印刷完了信号に付与された「印刷用紙サイズ:A4」に基づいて課金額計算用情報DB106で保持する課金額計算用情報を検索し、該当する用紙サイズの1枚当たりの課金額(5.1円)と、「印刷ページ数:2枚」とから課金額(10.2円)を算出する。   Upon receipt of the print completion signal, the billing information generation unit 107 first stores billing amount calculation information held in the billing amount calculation information DB 106 based on “print paper size: A4” given to the print completion signal. Searching is performed, and the charge amount (10.2 yen) is calculated from the charge amount (5.1 yen) per sheet of the corresponding paper size and “number of printed pages: 2 sheets”.

そして、課金情報生成部107は、上記課金額を算出すると、図4に示すように課金情報“%S%T=07/05/10/Fri/17:15:30%P=PRI%U=jiro%F=def.doc%C=10.2%E”を生成する(ステップS103)。   Then, when the charging information generation unit 107 calculates the charging amount, as shown in FIG. 4, the charging information “% S% T = 07/05/10 / Fri / 17: 15: 30% P = PRI% U = jiro% F = def.doc% C = 10.2% E "is generated (step S103).

課金情報生成部107が課金情報を生成すると、制御部102は、課金情報を一時記憶部103に記憶する。そして、制御部102は、課金情報を記憶すると、課金情報データ量検出部108に課金情報のデータ量の検出を指示する。   When the charging information generation unit 107 generates charging information, the control unit 102 stores the charging information in the temporary storage unit 103. After storing the billing information, the control unit 102 instructs the billing information data amount detection unit 108 to detect the data amount of the billing information.

課金情報データ量検出部108は、課金情報のデータ量の検出の指示を受けると、一時記憶部103で保持する課金情報のデータ量を検出する(ステップS104)。   When receiving an instruction to detect the amount of billing information data, billing information data amount detection unit 108 detects the amount of billing information data stored in temporary storage unit 103 (step S104).

課金情報データ量検出部108が課金情報のデータ量を検出すると、制御部102は、該課金情報のデータ量を一時記憶部103に記憶すると共に、使用可能容量検出部111に課金情報記憶部109の使用可能容量の検出を指示する。   When the billing information data amount detection unit 108 detects the amount of billing information data, the control unit 102 stores the billing information data amount in the temporary storage unit 103 and the usable capacity detection unit 111 in the billing information storage unit 109. Instructs the detection of the available capacity.

使用可能容量検出部111は、課金情報記憶部109の使用可能容量の検出の指示を受けると、課金情報記憶部109に予め記憶された総記憶容量から、課金情報記憶部109の使用済領域の容量を差し引いて使用可能容量の値を算出する(ステップS105)。   When the usable capacity detection unit 111 receives an instruction to detect the usable capacity of the charging information storage unit 109, the usable capacity detection unit 111 calculates the used area of the charging information storage unit 109 from the total storage capacity stored in advance in the charging information storage unit 109. A usable capacity value is calculated by subtracting the capacity (step S105).

使用可能容量検出部111が課金情報記憶部109の使用可能容量を検出すると、制御部102は、使用可能容量を一時記憶部103に記憶する。そして、制御部102は、使用可能容量を記憶すると、容量比較判定部112に容量の比較判定を指示する。   When the usable capacity detection unit 111 detects the usable capacity of the charging information storage unit 109, the control unit 102 stores the usable capacity in the temporary storage unit 103. After storing the usable capacity, the control unit 102 instructs the capacity comparison / determination unit 112 to compare and determine the capacity.

容量比較判定部112は、容量の比較判定の指示を受けると、一時記憶部103で保持する課金情報のデータ量と、課金情報記憶部109の使用可能容量とを比較し、課金情報記憶部109の使用可能容量≧課金情報のデータ量であると(ステップS106)、格納可能と判定する。容量比較判定部112が格納可能と判定すると、制御部102は、課金情報管理部110に課金情報の格納を指示する。   When the capacity comparison determination unit 112 receives an instruction for capacity comparison determination, the capacity comparison determination unit 112 compares the data amount of the charging information held in the temporary storage unit 103 with the usable capacity of the charging information storage unit 109, and the charging information storage unit 109 If the available capacity is equal to or greater than the data amount of the charging information (step S106), it is determined that storage is possible. When the capacity comparison / determination unit 112 determines that storage is possible, the control unit 102 instructs the charging information management unit 110 to store charging information.

課金情報管理部110は、課金情報の格納の指示を受けると、一時記憶部103で保持する生成した課金情報を課金情報記憶部109に昇順に格納する(ステップS107)。そして、課金情報管理部110は、課金情報を格納すると、課金情報格納済信号を生成し、該信号を制御部102に送信する。制御部102は、上記課金情報格納済信号を受けると、印刷ジョブ待ち状態に移行する。   When receiving the charging information storage instruction, charging information management unit 110 stores the generated charging information held in temporary storage unit 103 in charging information storage unit 109 in ascending order (step S107). When charging information is stored, charging information management section 110 generates a charging information stored signal and transmits the signal to control section 102. Upon receiving the accounting information stored signal, the control unit 102 shifts to a print job waiting state.

一方、容量比較判定部112は、課金サーバ300が故障して課金情報を送信していない場合、課金情報記憶部109の使用可能容量<課金情報のデータ量となるので、格納不可と判定する。容量比較判定部112が課金情報を格納不可と判定すると、制御部102は、変換用課金情報取得部113にコード変換用の課金情報の取得を指示する。   On the other hand, if the charging server 300 fails and the charging information is not transmitted, the capacity comparison / determination unit 112 determines that storage is impossible because the usable capacity of the charging information storage unit 109 is less than the data amount of the charging information. When the capacity comparison / determination unit 112 determines that the charging information cannot be stored, the control unit 102 instructs the conversion charging information acquisition unit 113 to acquire the charging information for code conversion.

変換用課金情報取得部113は、コード変換用の課金情報の取得の指示を受けると、印刷出力させるために課金情報記憶部109で保持する課金情報から予め設定した100KB(キロバイト)のデータ量の複数の課金情報を降順に取得する(ステップS108)。   Upon receiving the instruction for acquiring the charging information for code conversion, the conversion charging information acquisition unit 113 has a data amount of 100 KB (kilobytes) set in advance from the charging information held in the charging information storage unit 109 for printout. A plurality of pieces of billing information are acquired in descending order (step S108).

変換用課金情報取得部113が上記コード変換すべき課金情報を取得すると、制御部102は、該変換すべき課金情報を一時記憶部103に記憶する。そして、制御部102は、変換すべき課金情報を記憶すると、コード生成部114にコード生成を指示する。   When the conversion charging information acquisition unit 113 acquires the charging information to be code-converted, the control unit 102 stores the charging information to be converted in the temporary storage unit 103. Then, after storing the accounting information to be converted, the control unit 102 instructs the code generation unit 114 to generate a code.

コード生成部114は、コード生成の指示を受けると、一時記憶部103で保持する変換すべき課金情報をコード変換し、光学的に読み取り可能なQRコードから成る課金コードを生成する(ステップS109)。   Upon receiving the code generation instruction, the code generation unit 114 converts the charge information to be converted held in the temporary storage unit 103, and generates a charge code including an optically readable QR code (step S109). .

コード生成部114が課金コードを生成すると、制御部102は、該課金コードを一時記憶部103に記憶する。そして、制御部102は、課金コードを記憶すると、該課金コードの管理に用いる通し番号である「ID」を生成し、該「ID」をQRコードから成る課金コードに付与する。そして、制御部102は、「ID」をQRコードから成る課金コードに付与すると、印刷制御部104に画像データから成る「ID」を付与した課金コードを転送する。   When the code generation unit 114 generates a charging code, the control unit 102 stores the charging code in the temporary storage unit 103. Then, when the charging code is stored, the control unit 102 generates “ID” which is a serial number used for managing the charging code, and assigns the “ID” to the charging code including the QR code. When the control unit 102 assigns “ID” to the billing code composed of the QR code, the control unit 102 transfers the billing code appended with “ID” composed of the image data to the print control unit 104.

印刷制御部104は、画像データから成る「ID」を付与したQRコードから成る課金コードを受けると、該QRコードから成る課金コードに基づいて印刷処理を制御すべく、印刷開始を指示する印刷指示信号及び課金コードをプリンタエンジン105に転送する。   When the print control unit 104 receives a charge code composed of a QR code to which “ID” composed of image data is received, a print instruction for instructing the start of printing in order to control print processing based on the charge code composed of the QR code The signal and the billing code are transferred to the printer engine 105.

プリンタエンジン105は、印刷指示信号及び上記QRコードから成る課金コードを受けると、該課金コードに基づく印刷処理を行う(ステップS110)。課金コードが印刷された印刷媒体は、課金サーバ300が復旧するまで所定位置に保管される。   When the printer engine 105 receives the print instruction signal and the billing code including the QR code, the printer engine 105 performs a printing process based on the billing code (step S110). The print medium on which the billing code is printed is stored in a predetermined position until the billing server 300 is restored.

印刷制御部104は、課金情報記憶部109への記憶が不能となった場合にプリンタエンジン105が「ID」が付与されたQRコードから成る課金コードに基づいた印刷処理を完了すると、該「ID」が付与されたコード印刷完了を示すコード印刷完了信号を制御部102に出力する。制御部102は、コード印刷完了信号を受けると、特徴情報生成部116に特徴情報の抽出の指示及び該コード印刷完了信号を送信する。   When the printing control unit 104 completes the printing process based on the charging code including the QR code to which “ID” is assigned when the storage in the charging information storage unit 109 becomes impossible, the “ID” Is output to the control unit 102. Upon receiving the code printing completion signal, the control unit 102 transmits a feature information extraction instruction and the code printing completion signal to the feature information generation unit 116.

制御部102は、上記「ID」の付与されたコード印刷完了信号を受けると、該「ID」を一時記憶部103に記憶すると共に、後ほど印刷媒体上に印刷された課金コードから復号する課金情報が自己の画像形成装置100のものであるか否かを識別するために、特徴抽出部115にコード化の対象である課金情報の特徴の抽出を指示する。   When the control unit 102 receives the code printing completion signal assigned with the “ID”, the control unit 102 stores the “ID” in the temporary storage unit 103 and later decodes the charging information from the charging code printed on the printing medium. In order to identify whether or not the image forming apparatus 100 belongs to the image forming apparatus 100, the feature extraction unit 115 is instructed to extract the feature of the billing information to be coded.

特徴抽出部115は、コード化の対象である課金情報の特徴の抽出の指示を受けると、先ず、一時記憶部103で保持する変換すべき課金情報に対しハッシュ関数を用いて「ハッシュ値」を算出する。   When the feature extraction unit 115 receives an instruction to extract the feature of the accounting information to be encoded, first, the feature extraction unit 115 uses the hash function to calculate the “hash value” for the accounting information to be converted held in the temporary storage unit 103. calculate.

そして、特徴抽出部115は、上記「ハッシュ値」を算出すると、一時記憶部103で保持する変換すべき課金情報の「データ量」を算出する。   Then, after calculating the “hash value”, the feature extraction unit 115 calculates the “data amount” of the billing information to be converted and held in the temporary storage unit 103.

特徴抽出部115が変換すべき課金情報の「ハッシュ値」及び「データ量」を算出すると、制御部102は、特徴情報生成部116に特徴情報の生成を指示する。   When the feature extraction unit 115 calculates the “hash value” and “data amount” of the billing information to be converted, the control unit 102 instructs the feature information generation unit 116 to generate feature information.

特徴情報生成部116は、特徴情報の生成の指示を受けると、一時記憶部103で保持する「ID」、「ハッシュ値」、「データ量」に基づいて、図7に示すような特徴情報“%S%I=00001023%H=51a504d7%B=00001000%E”を生成する(ステップS111)。   When the feature information generation unit 116 receives an instruction to generate feature information, based on the “ID”, “hash value”, and “data amount” stored in the temporary storage unit 103, the feature information “ % S% I = 000010023% H = 51a504d7% B = 00001000% E "is generated (step S111).

特徴情報生成部116が上記特徴情報を生成すると、制御部102は、該特徴情報を一時記憶部103に記憶する。そして、制御部102は、特徴情報を記憶すると、特徴情報管理部118に特徴情報の格納を指示する。   When the feature information generation unit 116 generates the feature information, the control unit 102 stores the feature information in the temporary storage unit 103. After storing the feature information, the control unit 102 instructs the feature information management unit 118 to store the feature information.

特徴情報管理部118は、特徴情報の格納の指示を受けると、一時記憶部103で保持する特徴情報を特徴情報記憶部117に昇順に記憶する(ステップS112)。特徴情報管理部118が特徴情報を記憶すると、制御部102は、課金情報管理部110にコード化の対象である課金情報の削除を指示する。   When receiving the instruction to store the feature information, the feature information management unit 118 stores the feature information held in the temporary storage unit 103 in the feature information storage unit 117 in ascending order (step S112). When the feature information management unit 118 stores the feature information, the control unit 102 instructs the charging information management unit 110 to delete the charging information to be coded.

課金情報管理部110は、コード化の対象である課金情報の削除の指示を受けると、課金情報記憶部109から該当する印刷出力済みの課金情報を削除する(ステップS113)。そして、課金情報管理部110は、コード化の対象である課金情報を削除すると、課金情報記憶部109の記憶可能容量が増えるので、新たに生成した課金情報を課金情報記憶部109に昇順に格納する(ステップS107)そして、課金情報管理部110は、新たな課金情報を格納すると、課金情報格納済信号を生成し、該信号を制御部102に送信する。制御部102は、上記課金情報格納済信号を受けると、印刷ジョブ待ち状態に移行する。   When the charging information management unit 110 receives an instruction to delete the charging information to be coded, the charging information management unit 110 deletes the corresponding printed accounting information from the charging information storage unit 109 (step S113). When the accounting information management unit 110 deletes the accounting information to be encoded, the storage capacity of the accounting information storage unit 109 increases. Therefore, the newly generated accounting information is stored in the accounting information storage unit 109 in ascending order. In step S107, when new billing information is stored, the billing information management unit 110 generates a billing information stored signal and transmits the signal to the control unit 102. Upon receiving the accounting information stored signal, the control unit 102 shifts to a print job waiting state.

次に、課金サーバの復旧後の画像形成装置100の動作について、図9のフローチャートを用いて説明する。   Next, the operation of the image forming apparatus 100 after the accounting server is restored will be described with reference to the flowchart of FIG.

課金サーバ300が復旧すると、制御部302は、画像形成装置100の課金情報記憶部109における記憶可能容量の不足を解消するために、課金情報要求信号を生成し、該信号を通信部301を介して画像形成装置100に送信する。   When the billing server 300 is restored, the control unit 302 generates a billing information request signal in order to solve the shortage of storable capacity in the billing information storage unit 109 of the image forming apparatus 100, and sends the signal via the communication unit 301. To the image forming apparatus 100.

画像形成装置100の制御部102は、課金サーバ300が復旧し、課金サーバ300から課金情報送信要求信号を受けると、課金情報管理部110に該信号を転送する。そして、制御部102は、課金情報管理部110から課金サーバ300に課金情報記憶部109で保持する全ての課金情報を送信し、課金情報記憶部109で保持する全ての課金情報を削除したことを示す課金情報全削除済信号を受けると、図示しないROMで保持する該当プログラムを起動させ、課金情報記憶部109が空になった旨を通知するための通知画面を図示しない表示部に備えるディスプレイに表示させる。   When the accounting server 300 is restored and the accounting information transmission request signal is received from the accounting server 300, the control unit 102 of the image forming apparatus 100 transfers the signal to the accounting information management unit 110. Then, the control unit 102 transmits all the charging information held in the charging information storage unit 109 from the charging information management unit 110 to the charging server 300, and deletes all the charging information held in the charging information storage unit 109. When the accounting information all-deleted signal shown is received, the corresponding program stored in the ROM (not shown) is activated, and a notification screen for notifying that the accounting information storage unit 109 is empty is provided on a display unit (not shown). Display.

利用者は、上記通知画面を参照すると、印刷媒体上に印刷されたQRコードである課金コードを画像形成装置100を用いて課金情報に復号し、該復号した課金情報を通常ルートで課金サーバ300に送信させるために、画像形成装置100の図示しないガラス板から成る原稿載置台に課金コードが印刷された印刷媒体を載置し、図示しない入力部に備えたボタンを介して画像読み取りを指示する。制御部102は、上記ボタンを介して画像読み取りの指示を受けると、画像読取部119に画像の読み取りを指示する。   When the user refers to the notification screen, the billing code, which is a QR code printed on the print medium, is decoded into billing information using the image forming apparatus 100, and the billing server 300 uses the normal billing for the decrypted billing information. In order to transmit the data to the image forming apparatus 100, a printing medium on which a billing code is printed is placed on a document placing table made of a glass plate (not shown) of the image forming apparatus 100, and an image reading is instructed via a button provided on an input unit (not shown). . When receiving an image reading instruction via the button, the control unit 102 instructs the image reading unit 119 to read an image.

画像読取部119は、画像の読み取りの指示を受けると、原稿載置台に載置されたQRコードが印刷された印刷媒体を光学的に読み取って画像データを生成する。   When the image reading unit 119 receives an image reading instruction, the image reading unit 119 optically reads the print medium on which the QR code placed on the document placing table is printed to generate image data.

画像読取部119が画像データを生成すると、制御部102は、該画像データを一時記憶部103に記憶する。そして、制御部102は、画像データを記憶すると、コード解析部120にコード解析を指示する。   When the image reading unit 119 generates image data, the control unit 102 stores the image data in the temporary storage unit 103. After storing the image data, the control unit 102 instructs the code analysis unit 120 to perform code analysis.

コード解析部120は、コード解析の指示を受けると、一時記憶部103で保持する画像データからQRコードから成る課金コードを抽出し、該課金コード画像から課金コードを解読して課金情報及びIDを復号する(ステップS201)。   Upon receiving the code analysis instruction, the code analysis unit 120 extracts a charging code including a QR code from the image data held in the temporary storage unit 103, decodes the charging code from the charging code image, and stores the charging information and ID. Decoding is performed (step S201).

コード解析部120が課金情報及びIDを復号すると、制御部102は、復号した課金情報及びIDを一時記憶部103に記憶する。そして、制御部102は、復号した課金情報及びIDを記憶すると、特徴抽出部115に課金情報の特徴の抽出を指示する。   When the code analysis unit 120 decrypts the billing information and ID, the control unit 102 stores the decrypted billing information and ID in the temporary storage unit 103. Then, after storing the decrypted charging information and ID, the control unit 102 instructs the feature extracting unit 115 to extract the characteristics of the charging information.

特徴抽出部115は、特徴の抽出の指示を受けると、先ず、一時記憶部103で保持する復号した課金情報に対しハッシュ関数を用いて「ハッシュ値」を算出する。   When the feature extraction unit 115 receives a feature extraction instruction, the feature extraction unit 115 first calculates a “hash value” for the decrypted billing information held in the temporary storage unit 103 using a hash function.

そして、特徴抽出部115は、上記「ハッシュ値」を算出すると、一時記憶部103で保持する復号した課金情報の「データ量」を算出する(ステップS202)。   Then, after calculating the “hash value”, the feature extraction unit 115 calculates the “data amount” of the decrypted billing information held in the temporary storage unit 103 (step S202).

特徴抽出部115が復号した課金情報の「ハッシュ値」及び「データ量」を算出すると、制御部102は、復号課金情報照合判定部121に復号した課金情報の照合判定を指示する。   When the “hash value” and “data amount” of the billing information decrypted by the feature extraction unit 115 are calculated, the control unit 102 instructs the decrypted billing information collation determination unit 121 to collate the decrypted billing information.

復号課金情報照合判定部121は、復号した課金情報の照合判定の指示を受けると、一時記憶部103で保持する復号したIDと、復号した課金情報の特徴である「ハッシュ値」に基づいて特徴情報記憶部117を検索し、該ID及びハッシュ値に一致する特徴情報が存在すると、照合一致と判定する。復号課金情報照合判定部121が照合一致と判定すると(ステップS203)、制御部102は、課金情報管理部110に復号した課金情報の格納を指示する。   Decrypted billing information collation determination unit 121, when receiving an instruction for collation determination of the decrypted billing information, features based on the decrypted ID held in temporary storage unit 103 and the “hash value” that is the characteristic of the decrypted billing information. The information storage unit 117 is searched, and if there is feature information that matches the ID and the hash value, it is determined that the matching matches. When the decrypted billing information collation determining unit 121 determines that the collation coincides (step S203), the control unit 102 instructs the billing information managing unit 110 to store the decrypted billing information.

一方、復号課金情報照合判定部121は、上記ID及びハッシュ値に一致する特徴情報が存在しないと、照合不一致と判定する。復号課金情報照合判定部121が照合不一致と判定すると、制御部102は、図示しないROMで保持する該当プログラムを起動させ、印刷媒体上の課金コードが画像形成装置100に格納不可である旨を通知するための通知画面を図示しない表示部に備えるディスプレイに表示させる(ステップS204)。   On the other hand, if there is no feature information that matches the ID and the hash value, the decryption charging information collation determination unit 121 determines that the collation does not match. When the decryption charging information verification determination unit 121 determines that the verification does not match, the control unit 102 activates a corresponding program held in a ROM (not shown) and notifies the image forming apparatus 100 that the charging code on the print medium cannot be stored. A notification screen for the display is displayed on a display provided in a display unit (not shown) (step S204).

課金情報管理部110は、復号した課金情報の格納の指示を受けると、一時記憶部103で保持する復号した課金情報を課金情報記憶部109に昇順に格納する(ステップS205)。そして、課金情報管理部110は、復号した課金情報を格納すると、復号課金情報格納済信号を生成し、該信号を制御部102に送信する。   When receiving the instruction to store the decrypted billing information, billing information management unit 110 stores the decrypted billing information held in temporary storage unit 103 in billing information storage unit 109 in ascending order (step S205). Then, when the billing information management unit 110 stores the decrypted billing information, the billing information management unit 110 generates a decrypted billing information stored signal and transmits the signal to the control unit 102.

制御部102は、課金情報管理部110から復号課金情報格納済信号を受けると、特徴情報管理部118に特徴情報の削除を指示する。   Upon receiving the decrypted billing information stored signal from the billing information management unit 110, the control unit 102 instructs the feature information management unit 118 to delete the feature information.

特徴情報管理部118は、特徴情報の削除の指示を受けると、一時記憶部103で保持する「復号したID」に基づいて特徴情報記憶部117を検索し、該特徴情報記憶部117から該当する特徴情報を削除する(ステップS206)。そして、特徴情報管理部118は、特徴情報を削除すると、特徴情報削除済信号を生成し、該信号を制御部102に送信する。制御部102は、上記特徴情報削除済信号を受けると、印刷ジョブ待ち状態に移行する。   When the feature information management unit 118 receives an instruction to delete the feature information, the feature information management unit 118 searches the feature information storage unit 117 based on the “decoded ID” held in the temporary storage unit 103, and the feature information management unit 118 corresponds to the feature information storage unit 117. The feature information is deleted (step S206). When the feature information is deleted, the feature information management unit 118 generates a feature information deleted signal and transmits the signal to the control unit 102. Upon receiving the feature information deleted signal, the control unit 102 shifts to a print job waiting state.

次に、課金サーバ300からの課金情報の送信要求に対する画像形成装置100の動作について、図10のフローチャートを用いて説明する。   Next, the operation of the image forming apparatus 100 in response to a charging information transmission request from the charging server 300 will be described with reference to the flowchart of FIG.

課金サーバ300の制御部302は、画像形成装置100の課金情報記憶部109で保持する課金情報を回収するために、予め設定された一定期間毎に課金情報要求信号を生成し、該信号を通信部301を介して画像形成装置100に送信する。   The control unit 302 of the billing server 300 generates a billing information request signal every predetermined period and collects the billing information held in the billing information storage unit 109 of the image forming apparatus 100 and communicates the signal. The image is transmitted to the image forming apparatus 100 via the unit 301.

画像形成装置100の制御部102は、通信部101を介して上記課金情報要求信号を受けると、課金情報管理部110に該信号を転送する。   When the control unit 102 of the image forming apparatus 100 receives the billing information request signal via the communication unit 101, the control unit 102 transfers the signal to the billing information management unit 110.

課金情報管理部110は、上記課金情報送信要求信号を受けると、課金情報記憶部109で保持する全ての課金情報を画像形成装置100の図示しないメモリで保持する「プリンタ名」を付与して制御部102を介して課金サーバ300に送信する(ステップS301)。   When the charging information management unit 110 receives the charging information transmission request signal, the charging information management unit 110 controls by assigning a “printer name” that holds all charging information held in the charging information storage unit 109 in a memory (not shown) of the image forming apparatus 100. It transmits to the accounting server 300 via the unit 102 (step S301).

課金サーバ300の制御部302は、通信部301を介して上記課金情報送信要求信号の返答として画像形成装置100から課金情報を受けると、該課金情報を一時記憶部303に記憶する。そして、制御部302は、課金情報を記憶すると、集計課金情報管理部305に課金情報の登録を指示する。   When the control unit 302 of the accounting server 300 receives the accounting information from the image forming apparatus 100 as a response to the accounting information transmission request signal via the communication unit 301, the accounting information is stored in the temporary storage unit 303. After storing the billing information, the control unit 302 instructs the total billing information management unit 305 to register the billing information.

集計課金情報管理部305は、課金情報の登録の指示を受けると、画像形成装置100から取得した課金情報を各ファイル毎のユーザ名に基づいて振り分けて集計課金情報記憶部304に記憶する。そして、集計課金情報管理部305は、集計課金情報記憶部304を更新すると共に、各画像形成装置毎の合計課金金額と、ユーザ名毎の合計課金金額とを再計算する。   When receiving the billing information registration instruction, the total billing information management unit 305 distributes the billing information acquired from the image forming apparatus 100 based on the user name for each file and stores it in the total billing information storage unit 304. The total billing information management unit 305 updates the total billing information storage unit 304 and recalculates the total billing amount for each image forming apparatus and the total billing amount for each user name.

そして、集計課金情報管理部305は、集計課金情報記憶部304に集計課金情報を記憶すると、集計課金情報の格納が完了したことを示す集計課金情報格納済信号を生成し、該信号を制御部302を介して画像形成装置100に送信する。   Then, the total charge information management unit 305 stores the total charge information in the total charge information storage unit 304, generates a total charge information stored signal indicating that the storage of the total charge information is completed, and transmits the signal to the control unit The image is transmitted to the image forming apparatus 100 via 302.

画像形成装置100の制御部102は、課金サーバ300から集計課金情報格納済信号を受けると、課金情報管理部110に課金情報の削除を指示する。   When the control unit 102 of the image forming apparatus 100 receives the total billing information stored signal from the billing server 300, the control unit 102 instructs the billing information management unit 110 to delete the billing information.

課金情報管理部110は、課金情報の削除の指示を受けると、課金情報記憶部109で保持する全ての課金情報を削除する(ステップS302)。課金情報管理部110は、全ての課金情報を削除すると、課金情報全削除済信号を生成し、該信号を制御部102に送信する。制御部102は、上記課金情報全削除済信号を受けると、図示しないROMで保持する該当プログラムを起動させ、課金情報記憶部109が空になった旨を通知するための通知画面を図示しない表示部に備えるディスプレイに表示させる。そして、制御部102は、上記通知画面をディスプレイに表示させた後、印刷ジョブ待ち状態に移行する。   When the charging information management unit 110 receives an instruction to delete the charging information, the charging information management unit 110 deletes all the charging information held in the charging information storage unit 109 (step S302). When the charging information management unit 110 deletes all the charging information, the charging information management unit 110 generates a charging information all deleted signal and transmits the signal to the control unit 102. Upon receiving the accounting information all deleted signal, the control unit 102 activates a corresponding program held in a ROM (not shown) and displays a notification screen (not shown) for notifying that the accounting information storage unit 109 is empty. To be displayed on a display provided in the department. Then, the control unit 102 displays the notification screen on the display, and then shifts to a print job waiting state.

<実施例1の効果>
本実施例1の画像形成装置100では、課金サーバ300が停止状態で、かつ画像形成装置100の課金情報記憶部109の使用可能容量の不足が生じても、該課金情報記憶部109で保持する課金情報を光学的に読み取り可能な1次元バーコード、又は2次元バーコード等の課金コードに変換して印刷媒体上に印刷し、印刷が終了すると、該課金情報記憶部109から該課金コードに変換済の課金情報を消去するので、新たな印刷ジョブに基づく印刷処理を実行することができる。
<Effect of Example 1>
In the image forming apparatus 100 according to the first exemplary embodiment, even when the charging server 300 is in a stopped state and the available capacity of the charging information storage unit 109 of the image forming apparatus 100 is insufficient, the charging information storage unit 109 holds it. The billing information is converted into a billing code such as an optically readable one-dimensional barcode or two-dimensional barcode, printed on a print medium, and when the printing is completed, the billing information is stored in the billing code from the billing information storage unit 109. Since the converted accounting information is deleted, the printing process based on the new print job can be executed.

また、本実施例1の画像形成装置100では、課金サーバ300が復旧すると、画像形成装置100のコード解析部120が印刷媒体上に印刷された上記課金コードを光学的に読み取って画像データを生成すると、コード解析部120が該画像データに含まれる課金コードの画像を復号化して課金情報を復号し、該復号した課金情報を課金情報記憶部109に格納するので、復号した課金情報を課金サーバ300に送信することができる。   In the image forming apparatus 100 according to the first embodiment, when the charging server 300 is restored, the code analysis unit 120 of the image forming apparatus 100 optically reads the charging code printed on the print medium to generate image data. Then, the code analyzing unit 120 decodes the charging code image included in the image data, decodes the charging information, and stores the decoded charging information in the charging information storage unit 109. Therefore, the decoded charging information is stored in the charging server. 300 can be transmitted.

尚、本実施例1では、課金サーバ300の復旧後、管理者が画像形成装置100の図示しない原稿載置台に課金コードが印刷された印刷媒体を載置し、図示しない入力部に備えたボタンを介して画像読み取りを指示すると、画像形成装置100の画像読取部119が該印刷媒体を光学的に読み取って画像データを生成し、コード解析部120が生成した画像データを解析して課金情報を復号する構成にしたが、これに限らず、課金サーバ300が停止状態になって課金情報記憶部109の記憶可能容量が不足すると、課金情報をコード化せずに印刷媒体上に印刷して保管し、課金サーバ300が復旧すると、管理者が該印刷媒体上に印刷された課金情報を画像形成装置100の図示しない入力部を用いて手入力する構成にしてもよい。   In the first embodiment, after the accounting server 300 is restored, the administrator places a printing medium on which an accounting code is printed on a document placing table (not shown) of the image forming apparatus 100, and a button provided in an input unit (not shown). The image reading unit 119 of the image forming apparatus 100 optically reads the print medium to generate image data, and the code analysis unit 120 analyzes the image data generated to obtain charging information. However, the present invention is not limited to this. When the accounting server 300 is stopped and the storage capacity of the accounting information storage unit 109 is insufficient, the accounting information is printed and stored on the print medium without being encoded. When the accounting server 300 is restored, the administrator may manually input the accounting information printed on the print medium using an input unit (not shown) of the image forming apparatus 100.

<実施例2の構成>
本発明の実施例2の画像形成装置100aは、課金コードが印刷された印刷媒体の歪みなどにより該課金コードが読み取れない、又は該印刷媒体の紛失などにより課金コードを復号して課金情報を生成することが出来ない場合に対応すべく、特徴抽出部115aにコード化の対象である課金情報から各ユーザ毎の課金額を集計する機能を追加し、特徴情報生成部116aに各「ユーザ名」及び該各ユーザ毎の課金額を示す「コード化課金額」から成る「コード化課金集計情報」を含む特徴情報を生成する機能を追加し、特徴情報管理部118aに生成した特徴情報を特徴情報記憶部117aに記憶させる構成にしたものである。
<Configuration of Example 2>
The image forming apparatus 100a according to the second embodiment of the present invention generates billing information by decoding the billing code when the billing code cannot be read due to distortion of the print medium on which the billing code is printed or when the print medium is lost. In order to cope with the case where it is not possible to do so, the function extracting unit 115a is added with a function of counting the charging amount for each user from the charging information to be encoded, and each “user name” is added to the feature information generating unit 116a. And a function for generating feature information including “coded charge total information” composed of “coded charge amount” indicating the charge amount for each user, and the feature information generated by the feature information management unit 118a is converted into feature information. It is configured to be stored in the storage unit 117a.

一方、課金サーバ300aは、上記状況により画像形成装置100aにおいて課金情報を復号できない場合に上記特徴情報から集計課金情報を作成すべく、該画像形成装置100aに対して例えば毎月1日に先月分の特徴情報の送信を要求する機能を追加し、かつ特徴情報を取得すると、該特徴情報を解析して正規の課金情報の代替となる代替課金情報を生成する機能を追加する構成にしたものである。   On the other hand, when the charging information cannot be decoded in the image forming apparatus 100a due to the above situation, the charging server 300a makes the image forming apparatus 100a generate the total charging information from the feature information, for example, on the first day of every month. A function for requesting transmission of feature information is added, and when feature information is acquired, a function for analyzing the feature information and generating alternative billing information that substitutes for regular billing information is added. .

また、上記課金サーバ300aは、集計課金情報管理部305aに生成した上記代替課金情報をユーザ名に基づいて振り分けて集計課金情報記憶部304aに記憶する機能を追加する構成にしたものである。   Further, the accounting server 300a is configured to add a function of distributing the alternative charging information generated in the total charging information management unit 305a based on the user name and storing it in the total charging information storage unit 304a.

画像形成装置100aは、画像形成、印刷出力、画像読み込み等の機能を有する例えばMFPであり、図11に示すように、ネットワーク400を介して接続するホストコンピュータ200及び課金サーバ300aと通信するための通信部101と、装置全体を制御する制御部102aと、一時的にデータを記憶するための一時記憶部103と、印刷制御部104と、プリンタエンジン105と、課金額計算用情報DB106と、課金情報生成部107と、課金情報データ量検出部108と、課金情報記憶部109と、課金情報管理部110と、使用可能容量検出部111と、容量比較判定部112と、変換用課金情報取得部113と、コード生成部114と、特徴抽出部115aと、特徴情報生成部116aと、特徴情報記憶部117aと、特徴情報管理部118aと、画像読取部119と、コード解析部120と、復号課金情報照合判定部121とを備える。   The image forming apparatus 100a is, for example, an MFP having functions such as image formation, print output, and image reading. As shown in FIG. 11, the image forming apparatus 100a communicates with a host computer 200 and a charging server 300a connected via a network 400. A communication unit 101; a control unit 102a that controls the entire apparatus; a temporary storage unit 103 for temporarily storing data; a print control unit 104; a printer engine 105; a charge amount calculation information DB 106; Information generation unit 107, billing information data amount detection unit 108, billing information storage unit 109, billing information management unit 110, usable capacity detection unit 111, capacity comparison determination unit 112, and conversion billing information acquisition unit 113, a code generation unit 114, a feature extraction unit 115a, a feature information generation unit 116a, a feature information storage unit 117a, It includes a feature information management unit 118a, an image reading unit 119, a code analysis unit 120, and a decoding billing information collation judging section 121.

特徴抽出部115aは、後述する印刷媒体上に印刷された課金コードから復号した課金情報が自己の画像形成装置100aのものであるか否かを識別するため、かつ印刷媒体上に印刷された課金情報の控えとなるために、コード化され印刷媒体上に印刷された課金情報の特徴を抽出する抽出部である。即ち、特徴抽出部115aは、特徴情報の抽出の指示を受けると、先ず、一時記憶部103で保持するコード化された課金情報、又は復号した課金情報に対しハッシュ関数を用いて「ハッシュ値」を算出する。ここで、ハッシュ関数は、例えばSHA−1関数であり、2の64ビット以下の情報から160ビットの「ハッシュ値」を算出するが、周知であるため、詳細な説明を割愛する。   The feature extraction unit 115a identifies whether or not the billing information decoded from the billing code printed on the print medium, which will be described later, is that of the own image forming apparatus 100a, and the bill printed on the print medium. This is an extraction unit that extracts the characteristics of the accounting information that is encoded and printed on the print medium in order to save information. That is, when the feature extraction unit 115a receives an instruction to extract feature information, first, the hash value is used for the encoded billing information stored in the temporary storage unit 103 or the decrypted billing information using a hash function. Is calculated. Here, the hash function is, for example, an SHA-1 function, and a 160-bit “hash value” is calculated from information of 2 64 bits or less. However, since the hash function is well-known, detailed description thereof is omitted.

そして、特徴抽出部115aは、上記「ハッシュ値」を算出すると、一時記憶部103で保持するコード化された課金情報、又は復号した課金情報の「データ量」を算出する。   Then, when calculating the “hash value”, the feature extraction unit 115a calculates the “data amount” of the encoded charging information held in the temporary storage unit 103 or the decoded charging information.

特徴抽出部115aは、コード化された課金情報に基づいて「データ量」を算出すると、該コード化された課金情報から各「ユーザ名」及び該各ユーザ毎の課金額を示す「コード化課金額」から成る「コード化課金集計情報」を算出する。特徴抽出部115aがコード化された課金情報の「ハッシュ値」、「データ量」、「コード化課金情報集計額」を算出すると、制御部102aは、これらを一時記憶部103に記憶すると共に、特徴情報生成部116aに特徴情報の生成を指示する。   When the feature extraction unit 115a calculates the “data amount” based on the encoded charging information, the feature extraction unit 115a indicates “each user name” and the charging amount for each user from the encoded charging information. “Coded charge total information” consisting of “amount” is calculated. When the feature extraction unit 115 a calculates the “hash value”, “data amount”, and “coded charge information total amount” of the encoded charging information, the control unit 102 a stores these in the temporary storage unit 103, The feature information generation unit 116a is instructed to generate feature information.

一方、特徴抽出部115aが複合した課金情報に基づいて「ハッシュ値」、「データ量」を算出すると、制御部102aは、復号課金情報照合判定部121に復号した課金情報の照合判定を指示する。   On the other hand, when the “hash value” and “data amount” are calculated based on the billing information combined by the feature extraction unit 115a, the control unit 102a instructs the decryption billing information collation determination unit 121 to collate the decrypted billing information. .

特徴情報生成部116aは、上記特徴抽出部115aで抽出した「ハッシュ値」、「データ量」、「コード化課金集計情報」に基づいて、コード化の対象である課金情報の特徴を示すデータ量の小さい特徴情報を生成する生成部である。ここで、特徴情報は、コード解析部120が印刷媒体上の課金コードから復号した課金情報を読み取った後、復号課金情報照合判定部121において、該復号した課金情報が画像形成装置100aに格納するか否かを判定するために用いられる。   The feature information generation unit 116a, based on the “hash value”, “data amount”, and “coded billing total information” extracted by the feature extraction unit 115a, the data amount indicating the feature of the billing information to be coded It is a production | generation part which produces | generates small feature information. Here, the characteristic information is stored in the image forming apparatus 100a by the decrypted billing information collation determining unit 121 after the billing information decrypted from the billing code on the print medium by the code analyzing unit 120 is read. It is used to determine whether or not.

即ち、特徴情報生成部116aは、特徴情報の生成の指示を受けると、一時記憶部103で保持するコード生成部114で生成した「ID」、上記「ハッシュ値」、「データ量」、「コード化課金集計情報」に基づいて、例えば図12に示すような特徴情報“%S%I=00001023%H=51a504d7%B=00001000%U=taro&C=625.5%U=jiro&C=758.8%U=hanako&C=256.8%E“を生成する。   That is, when the feature information generation unit 116a receives an instruction to generate feature information, the “ID” generated by the code generation unit 114 held in the temporary storage unit 103, the “hash value”, the “data amount”, the “code” 12, for example, feature information “% S% I = 000010023% H = 51a504d7% B = 00001000% U = taro & C = 625.5% U = jiro & C = 758.8% as shown in FIG. U = hanako & C = 256.8% E "is generated.

上記特徴情報では、“%S”は、特徴情報の先頭を示し、“%E”は、特徴情報の最後を示す。“%I=”は、IDが後に続くことを示し、上記特徴情報のIDは“00001023”である。“%H=”は、ハッシュ値が続くことを示し、上記特徴情報のハッシュ値は“51a504d7”である。“%B=”は、データ量が続くことを示し、上記特徴情報のデータ量は“1000byte”である。“%U=”は、ユーザ名が続くことを示し、上記特徴情報のユーザ名は“taro”、”jiro“、”hanako“であり、各ユーザ名の後に”&“で接続された”&C=“は、各ユーザの課金額が続くことを示し、上記特徴情報の各ユーザ毎の課金額は、taroは625.5[円]、jiroは758.8[円]、hanakoは256.8[円]である。   In the feature information, “% S” indicates the beginning of the feature information, and “% E” indicates the end of the feature information. “% I =” indicates that an ID follows, and the ID of the feature information is “00001023”. “% H =” indicates that the hash value continues, and the hash value of the feature information is “51a504d7”. “% B =” indicates that the data amount continues, and the data amount of the feature information is “1000 bytes”. “% U =” indicates that the user name follows, and the user names of the above characteristic information are “taro”, “jiro”, “hanako”, and “&” connected by “&” after each user name. = "Indicates that the billing amount of each user continues, and the billing amount for each user of the feature information is 625.5 [yen] for taro, 758.8 [yen] for jiro, and 256.8 for hanako. [Yen].

特徴情報生成部116aが特徴情報を生成すると、制御部102aは、該特徴情報を一時記憶部103に記憶する。そして、制御部102aは、特徴情報を記憶すると、特徴情報管理部118aに特徴情報の格納を指示する。   When the feature information generation unit 116 a generates feature information, the control unit 102 a stores the feature information in the temporary storage unit 103. After storing the feature information, the control unit 102a instructs the feature information management unit 118a to store the feature information.

特徴情報管理部118aは、特徴情報記憶部117aで保持する特徴情報を管理する管理部である。即ち、特徴情報管理部118aは、特徴情報の格納の指示を受けると、一時記憶部103で保持する特徴情報を特徴情報記憶部117aに昇順に格納する。特徴情報管理部118aが特徴情報を記憶すると、制御部102aは、課金情報管理部110にコード化の対象である課金情報の削除を指示する。   The feature information management unit 118a is a management unit that manages the feature information held in the feature information storage unit 117a. That is, when receiving a feature information storage instruction, the feature information management unit 118a stores the feature information held in the temporary storage unit 103 in the feature information storage unit 117a in ascending order. When the feature information management unit 118a stores the feature information, the control unit 102a instructs the charging information management unit 110 to delete the charging information to be coded.

そして、特徴情報管理部118aは、制御部102aを介して例えば毎月1日に課金サーバ300aから後述する残存特徴情報要求信号を受けると、特徴情報記憶部117aで保持する先月分の特徴情報が存在する場合、該当特徴情報に図示しない記憶部で保持する画像形成装置100aの装置名である「プリンタ名」と、該特徴情報を生成した日時及び時間を示す「特徴情報生成日時」とを付与した残存特徴情報を生成し、該残存特徴情報を制御部102aを介して課金サーバ300aに送信する。ここで、特徴情報記憶部117aで保持する特徴情報には、該特徴情報を生成した日付及び時間を示す「特徴情報生成日時」が付与されており、特徴情報管理部118aは、この「特徴情報生成日時」に基づいて上記処理を行うものとする。   When the feature information management unit 118a receives a residual feature information request signal (to be described later) from the accounting server 300a on the first day of every month via the control unit 102a, for example, feature information for the previous month held in the feature information storage unit 117a exists. In this case, the “printer name” that is the device name of the image forming apparatus 100a held in the storage unit (not shown) and the “feature information generation date and time” indicating the date and time when the feature information was generated are assigned to the corresponding feature information. Residual feature information is generated, and the residual feature information is transmitted to the accounting server 300a via the control unit 102a. Here, the feature information stored in the feature information storage unit 117a is given a "feature information generation date and time" indicating the date and time when the feature information was generated. The feature information management unit 118a It is assumed that the above processing is performed based on “generation date”.

一方、特徴情報管理部118aは、先月分の特徴情報が存在しない場合、特徴情報無信号を生成し、該信号に図示しない記憶部で保持する画像形成装置100aの装置名である「プリンタ名」を付与し、「プリンタ名」を付与した該信号を制御部102aを介して課金サーバ300aに送信する。   On the other hand, if there is no feature information for the previous month, the feature information management unit 118a generates a feature information no signal, and “printer name” which is the device name of the image forming apparatus 100a held in the storage unit (not shown) in the signal. And the signal with “printer name” is transmitted to the accounting server 300a via the control unit 102a.

制御部102aは、上記残存特徴情報の送信の返答として課金サーバ300aから後述する代替課金情報格納済信号を受けると、特徴情報管理部118aに特徴情報の削除を指示する。   When receiving a substitute billing information stored signal (to be described later) from billing server 300a as a response to the transmission of the remaining feature information, control unit 102a instructs feature information management unit 118a to delete feature information.

また、特徴情報管理部118aは、上記特徴情報の削除の指示を受けると、実施例1で説明した一時記憶部103で保持するコード解析部120で復号した「復号ID」に基づいて特徴情報記憶部117aを検索し、該特徴情報記憶部117aから該当する特徴情報を削除する。特徴情報管理部118aは、特徴情報を削除すると、特徴情報削除済信号を生成し、該信号を制御部102aに送信する。   When the feature information management unit 118a receives the instruction to delete the feature information, the feature information management unit 118a stores the feature information based on the “decoding ID” decoded by the code analysis unit 120 held in the temporary storage unit 103 described in the first embodiment. The unit 117a is searched, and the corresponding feature information is deleted from the feature information storage unit 117a. When the feature information is deleted, the feature information management unit 118a generates a feature information deleted signal, and transmits the signal to the control unit 102a.

尚、その他の構成については、実施例1の画像形成装置100の構成と同じである。   Other configurations are the same as those of the image forming apparatus 100 of the first embodiment.

課金サーバ300aは、画像形成装置100aの課金情報記憶部109で保持する課金情報、又は特徴情報記憶部117aで保持する特徴情報を回収し、該課金情報、又は特徴情報に基づいて集計課金情報を生成し、該集計課金情報を記憶・管理する装置であり、図11に示すように、画像形成装置100aと通信するための通信部301と、サーバを制御する制御部302aと、一時記憶部303と、集計課金情報記憶部304aと、集計課金情報管理部305aと、残存特徴情報解析部306と、代理課金情報生成部307とを備える。   The billing server 300a collects billing information held in the billing information storage unit 109 of the image forming apparatus 100a or feature information held in the feature information storage unit 117a, and collects billing information based on the billing information or feature information. As shown in FIG. 11, a communication unit 301 for communicating with the image forming apparatus 100a, a control unit 302a for controlling the server, and a temporary storage unit 303. A total billing information storage unit 304a, a total billing information management unit 305a, a remaining feature information analysis unit 306, and a proxy billing information generation unit 307.

制御部302aは、画像形成装置100aの課金情報記憶部109で保持する課金情報を回収するために、予め設定された一定期間毎に課金情報要求信号を生成し、該信号を画像形成装置100aに送信する。   The control unit 302a generates a billing information request signal every predetermined period to collect billing information held in the billing information storage unit 109 of the image forming apparatus 100a, and sends the billing information request signal to the image forming apparatus 100a. Send.

そして、制御部302aは、課金サーバ300aが復旧すると、画像形成装置100aの課金情報記憶部109における記憶可能容量の不足を解消するために、課金情報要求信号を生成し、該信号を画像形成装置100aに送信する。   Then, when the accounting server 300a is restored, the control unit 302a generates a charging information request signal in order to solve the shortage of storable capacity in the charging information storage unit 109 of the image forming apparatus 100a. To 100a.

また、制御部302aは、上記課金情報送信要求信号の返答として画像形成装置100aから課金情報を受けると、該課金情報を一時記憶部303に記憶する。制御部302aは、課金情報を記憶すると、集計課金情報管理部305aに課金情報の登録を指示する。   Further, when the control unit 302a receives the billing information from the image forming apparatus 100a as a response to the billing information transmission request signal, the control unit 302a stores the billing information in the temporary storage unit 303. When storing the charging information, the control unit 302a instructs the total charging information management unit 305a to register the charging information.

課金サーバ300aを管理する管理者は、月単位で課金情報に基づく請求書を作成するために、例えば毎月1日に該課金サーバ300aの図示しない入力部を操作して、印刷媒体上に印刷出力された課金コードが復元されていないため、画像形成装置100aに残存する特徴情報が存在するか否かを検索するために、図示しない入力部に備えたボタンを介して残存する特徴情報の取得を指示する。制御部302aは、上記ボタンを介して残存する特徴情報の取得の指示を受けると、残存特徴情報要求信号を生成し、該信号を画像形成装置100aに送信する。   An administrator who manages the billing server 300a operates the input unit (not shown) of the billing server 300a on the first day of each month to create a bill based on billing information on a monthly basis. Since the charged billing code is not restored, the remaining feature information is acquired via a button provided in an input unit (not shown) in order to search whether there is feature information remaining in the image forming apparatus 100a. Instruct. Upon receiving an instruction to acquire remaining feature information via the button, the control unit 302a generates a remaining feature information request signal and transmits the signal to the image forming apparatus 100a.

制御部302aは、上記残存特徴情報要求信号の返答として画像形成装置100aから上記残存特徴情報を受けると、該残存特徴情報を一時記憶部303に記憶する。そして、制御部302aは、残存特徴情報を記憶すると、残存特徴情報解析部306に残存特徴情報の解析を指示する。   Upon receiving the remaining feature information from the image forming apparatus 100a as a response to the remaining feature information request signal, the control unit 302a stores the remaining feature information in the temporary storage unit 303. After storing the remaining feature information, the control unit 302a instructs the remaining feature information analysis unit 306 to analyze the remaining feature information.

一方、制御部302aは、上記残存特徴情報要求信号の返答として画像形成装置100aから上記特徴情報無信号を受けると、例えば課金サーバ300aの図示しない表示部に、画像形成装置100a残存する特徴情報が無い旨を通知するための通知画面を表示させる。課金サーバ300aを管理する管理者は、上記通知画面を参照して、画像形成装置100aに残存する特徴情報が存在しないことを把握する。   On the other hand, when the control unit 302a receives the feature information no signal from the image forming apparatus 100a as a response to the remaining feature information request signal, for example, the feature information remaining in the image forming apparatus 100a is displayed on a display unit (not shown) of the charging server 300a. A notification screen for notifying that there is no message is displayed. The administrator who manages the accounting server 300a refers to the notification screen and grasps that there is no feature information remaining in the image forming apparatus 100a.

残存特徴情報解析部306は、画像形成装置100aから取得した上記残存特徴情報を解析して、該残存特徴情報に含まれる「プリンタ名」及び「コード化課金情報集計額」と、該特徴情報に付与された上記「特徴情報生成日時」とを取得する解析部である。即ち、残存特徴情報解析部306は、残存特徴情報の解析の指示を受けると、先ず、一時記憶部303で保持する残存特徴情報から「プリンタ名」を取得する。   The residual feature information analysis unit 306 analyzes the residual feature information acquired from the image forming apparatus 100a, and adds the “printer name” and “coded charge information total amount” included in the residual feature information to the feature information. It is an analysis unit that acquires the given “feature information generation date and time”. That is, when the remaining feature information analysis unit 306 receives an instruction to analyze the remaining feature information, the remaining feature information analysis unit 306 first acquires “printer name” from the remaining feature information held in the temporary storage unit 303.

そして、残存特徴情報解析部306は、上記「プリンタ名」を取得すると、一時記憶部303で保持する残存特徴情報から「コード化課金集計情報」を取得し、該「コード化課金集計情報」から各「ユーザ名」及び各ユーザ名の課金額を示す「コード化課金額」を取得する。   Then, when the “printer name” is acquired, the remaining feature information analysis unit 306 acquires “coded charge total information” from the remaining feature information held in the temporary storage unit 303, and from the “coded charge total information”. Each “user name” and “coded charge amount” indicating the charge amount of each user name are acquired.

また、残存特徴情報解析部306は、上記各「ユーザ名」及び「コード化課金額」を取得すると、一時記憶部303で保持する残存特徴情報から「特徴情報生成日時」を取得する。   Also, when the “user name” and “coded charge amount” are acquired, the remaining feature information analysis unit 306 acquires “feature information generation date / time” from the remaining feature information held in the temporary storage unit 303.

残存特徴情報解析部306が上記「プリンタ名」と、各「ユーザ名」及び「コード化課金額」と、「特徴情報生成日時」とを取得すると、制御部302aは、これらを一時記憶部303に記憶する。そして、制御部302aは、上記「プリンタ名」と、各「ユーザ名」及び「コード化課金額」と、「特徴情報生成日時」とを記憶すると、代替課金情報生成部307に代替課金情報の生成を指示する。   When the remaining feature information analysis unit 306 acquires the “printer name”, each “user name”, “encoded charge amount”, and “feature information generation date and time”, the control unit 302a stores them in the temporary storage unit 303. To remember. After storing the “printer name”, each “user name”, “encoded charge amount”, and “feature information generation date / time”, the control unit 302a stores the replacement charge information in the replacement charge information generation unit 307. Directs generation.

代替課金情報生成部307は、残存特徴情報解析部306において残存特徴情報から解析した上記「プリンタ名」と、各「ユーザ名」及び「コード化課金額」と、「特徴情報生成日時」に基づいて、取得出来なかった正規の課金情報に代替する代替課金情報を生成する生成部である。即ち、代替課金情報生成部307は、代替課金情報の生成の指示を受けると、一時記憶部303で保持する「ユーザ名」毎に、例えば図13に示すような代替課金情報“%S%T=07/05/10/Fri/17:30:17%P=PRI%U=taro%F=substitute.doc%C=625.5%E”を生成する。ここで、“%F=”は、ファイル名が後に続くことを示し、上記代替課金情報のファイル名は、“substitute.doc”であり、代替課金情報であることを示すために図示しないROMに予め設定されたプログラムにより自動的に生成される。代替課金情報のその他の構成については、実施例1で説明した課金情報と同じであるため、説明を割愛する。   The alternative charging information generation unit 307 is based on the “printer name” analyzed from the remaining feature information by the remaining feature information analysis unit 306, each “user name”, “encoded charging amount”, and “feature information generation date and time”. Thus, the generating unit generates alternative charging information that substitutes for the regular charging information that could not be acquired. That is, when the alternative charging information generation unit 307 receives an instruction to generate alternative charging information, for example, the alternative charging information “% S% T as shown in FIG. 13 is stored for each“ user name ”held in the temporary storage unit 303. = 07/05/10 / Fri / 17: 30: 30% P = PRI% U = taro% F = substitute.doc% C = 625.5% E ″. Here, “% F =” indicates that the file name follows, and the file name of the alternative charging information is “substitute.doc”, which is stored in a ROM (not shown) to indicate that it is alternative charging information. It is automatically generated by a preset program. The other configuration of the alternative billing information is the same as the billing information described in the first embodiment, and a description thereof will be omitted.

代替課金情報生成部307が「ユーザ名」毎に代替課金情報を生成すると、制御部302aは、該代替課金情報を一時記憶部303に記憶する。そして、制御部302aは、代替課金情報を記憶すると、集計課金情報管理部305aに代替課金情報の登録を指示する。   When the alternative charging information generation unit 307 generates alternative charging information for each “user name”, the control unit 302 a stores the alternative charging information in the temporary storage unit 303. Then, when the alternative charging information is stored, the control unit 302a instructs the total charging information management unit 305a to register the alternative charging information.

集計課金情報記憶部304aは、集計課金情報管理部305aからの指示に基づいて、画像形成装置100aから取得した課金情報、又は代替課金情報を記憶する記憶部である。即ち、集計課金情報記憶部304aは、集計課金情報管理部305aからの指示に基づいて、一時記憶部303で保持する課金情報、又は代替課金情報を画像形成装置毎、かつユーザ毎に振り分けて記憶し、画像形成装置毎の合計金額と、ユーザ名毎の合計課金金額とを記憶する。   The total charging information storage unit 304a is a storage unit that stores the charging information acquired from the image forming apparatus 100a or alternative charging information based on an instruction from the total charging information management unit 305a. In other words, the total billing information storage unit 304a distributes and stores the billing information held in the temporary storage unit 303 or alternative billing information for each image forming apparatus and for each user based on an instruction from the total billing information management unit 305a. The total amount for each image forming apparatus and the total charge amount for each user name are stored.

集計課金情報管理部305aは、集計課金情報記憶部304aで保持する集計課金情報を管理する管理部であり、課金情報の登録、又は代替課金情報の登録の指示を受けると、画像形成装置100aから取得した課金情報、又は代替課金情報を各ファイル毎のユーザ名に基づいて振り分けて集計課金情報記憶部304aに記憶する。ここで、集計課金情報管理部305aは、集計課金情報記憶部304aを更新すると共に、各画像形成装置毎の合計課金金額と、ユーザ名毎の合計課金金額とを再計算する。   The total billing information management unit 305a is a management unit that manages the total billing information held in the total billing information storage unit 304a. Upon receiving an instruction for registration of billing information or alternative billing information, the total billing information management unit 305a receives an instruction from the image forming apparatus 100a. The acquired charging information or alternative charging information is sorted based on the user name for each file and stored in the total charging information storage unit 304a. Here, the total charge information management unit 305a updates the total charge information storage unit 304a and recalculates the total charge amount for each image forming apparatus and the total charge amount for each user name.

そして、集計課金情報管理部305aは、課金情報に基づいて集計課金情報記憶部304aを更新すると、集計課金情報の格納が完了したことを示す集計課金情報格納済信号を生成し、該信号を制御部302aを介して画像形成装置100aに送信する。   Then, when the total charge information storage unit 304a is updated based on the charge information, the total charge information management unit 305a generates a total charge information stored signal indicating that the storage of the total charge information is completed, and controls the signal The image is transmitted to the image forming apparatus 100a via the unit 302a.

一方、集計課金情報管理部305aは、代替課金情報に基づいて集計課金情報記憶部304aを更新すると、代替課金情報に基づく集計課金情報の格納が完了したことを示す代替課金情報格納済信号を生成し、該信号を制御部302aを介して画像形成装置100aに送信する。   On the other hand, the total billing information management unit 305a, when updating the total billing information storage unit 304a based on the alternative billing information, generates an alternative billing information stored signal indicating that the storage of the total billing information based on the alternative billing information has been completed. Then, the signal is transmitted to the image forming apparatus 100a via the control unit 302a.

<実施例2の動作>
以下、本発明に係る実施例2の画像形成装置100aの動作について、フローチャートを用いて説明する。ここで、画像形成装置100aがMFPであることを前提として動作の説明を行う。
<Operation of Example 2>
Hereinafter, the operation of the image forming apparatus 100a according to the second embodiment of the present invention will be described with reference to flowcharts. Here, the operation will be described on the assumption that the image forming apparatus 100a is an MFP.

先ず、課金サーバ300aが停止状態時の画像形成装置100aの動作について、図14のフローチャートを用いて説明する。   First, the operation of the image forming apparatus 100a when the accounting server 300a is stopped will be described with reference to the flowchart of FIG.

実施例2のステップS401〜S410の動作は、実施例1のステップS101〜S110の動作と同じである。   The operations in steps S401 to S410 in the second embodiment are the same as the operations in steps S101 to S110 in the first embodiment.

特徴抽出部115aは、特徴の抽出の指示を受けると、先ず、一時記憶部103で保持する変換すべき課金情報に対しハッシュ関数を用いて「ハッシュ値」を算出する。   When receiving a feature extraction instruction, the feature extraction unit 115 a first calculates a “hash value” for the accounting information to be converted held in the temporary storage unit 103 using a hash function.

そして、特徴抽出部115aは、上記「ハッシュ値」を算出すると、一時記憶部103で保持する変換すべき課金情報、又は復号した課金情報の「データ量」を算出する。   Then, when calculating the “hash value”, the feature extraction unit 115 a calculates the billing information to be converted held in the temporary storage unit 103 or the “data amount” of the decrypted billing information.

特徴抽出部115aは、コード化された課金情報に基づいて「データ量」を算出すると、該コード化された課金情報から各「ユーザ名」及び該各ユーザ毎の課金額を示す「コード化課金額」から成る「コード化課金集計情報」を算出する。特徴抽出部115aがコード化された課金情報の「ハッシュ値」、「データ量」、「コード化課金情報集計額」を算出すると、制御部102aは、これらを一時記憶部103に記憶すると共に、特徴情報生成部116aに特徴情報の生成を指示する。   When the feature extraction unit 115a calculates the “data amount” based on the encoded charging information, the feature extraction unit 115a indicates “each user name” and the charging amount for each user from the encoded charging information. “Coded charge total information” consisting of “amount” is calculated. When the feature extraction unit 115 a calculates the “hash value”, “data amount”, and “coded charge information total amount” of the encoded charging information, the control unit 102 a stores these in the temporary storage unit 103, The feature information generation unit 116a is instructed to generate feature information.

特徴情報生成部116aは、特徴情報の生成の指示を受けると、一時記憶部103で保持するコード生成部114で生成した「ID」、上記「ハッシュ値」、「データ量」、「コード化課金集計情報」に基づいて、例えば図12に示すような特徴情報“%S%I=00001023%H=51a504d7%B=00001000%U=taro&C=625.5%U=jiro&C=758.8%U=hanako&C=256.8%E”を生成する(ステップS411)。   When the feature information generation unit 116 a receives an instruction to generate feature information, the “ID” generated by the code generation unit 114 held in the temporary storage unit 103, the “hash value”, the “data amount”, the “coded charge” Based on the “total information”, for example, feature information “% S% I = 00001023% H = 51a504d7% B = 00001000% U = taro & C = 625.5% U = jiro & C = 758.8% U = Hanako & C = 256.8% E ″ is generated (step S411).

特徴情報生成部116aが特徴情報を生成すると、制御部102aは、該特徴情報を一時記憶部103に記憶する。そして、制御部102aは、特徴情報を記憶すると、特徴情報管理部118aに特徴情報の格納を指示する。   When the feature information generation unit 116 a generates feature information, the control unit 102 a stores the feature information in the temporary storage unit 103. After storing the feature information, the control unit 102a instructs the feature information management unit 118a to store the feature information.

特徴情報管理部118aは、特徴情報の格納の指示を受けると、一時記憶部103で保持する特徴情報を特徴情報記憶部117aに昇順に格納する(ステップS412)。特徴情報管理部118aが特徴情報を記憶すると、制御部102aは、課金情報管理部110にコード化の対象である課金情報の削除を指示する。   When receiving the instruction to store the feature information, the feature information management unit 118a stores the feature information held in the temporary storage unit 103 in the feature information storage unit 117a in ascending order (step S412). When the feature information management unit 118a stores the feature information, the control unit 102a instructs the charging information management unit 110 to delete the charging information to be coded.

実施例2のステップS413の動作は、実施例1のステップS113の動作と同じである。   The operation in step S413 in the second embodiment is the same as the operation in step S113 in the first embodiment.

次に、課金サーバ300aの復旧後の画像形成装置100aの動作について、図15のフローチャートを用いて説明する。   Next, the operation of the image forming apparatus 100a after the charging server 300a is restored will be described with reference to the flowchart of FIG.

課金サーバ300aが復旧すると、制御部302aは、画像形成装置100aの課金情報記憶部109における記憶可能容量の不足を解消するために、課金情報要求信号を生成し、該信号を通信部301を介して画像形成装置100aに送信する。   When the billing server 300a is restored, the control unit 302a generates a billing information request signal in order to solve the shortage of the storable capacity in the billing information storage unit 109 of the image forming apparatus 100a, and sends the signal via the communication unit 301. To the image forming apparatus 100a.

実施例2のステップS501の動作は、実施例1のステップS201の動作と同じである。   The operation in step S501 in the second embodiment is the same as the operation in step S201 in the first embodiment.

特徴抽出部115aは、特徴の抽出の指示を受けると、先ず、一時記憶部103で保持する復号した課金情報に対しハッシュ関数を用いて「ハッシュ値」を算出する。   When the feature extraction unit 115 a receives a feature extraction instruction, the feature extraction unit 115 a first calculates a “hash value” using the hash function for the decrypted billing information held in the temporary storage unit 103.

そして、特徴抽出部115aは、上記「ハッシュ値」を算出すると、一時記憶部103で保持する復号した課金情報の「データ量」を算出する(ステップS502)。   After calculating the “hash value”, the feature extraction unit 115a calculates the “data amount” of the decrypted billing information held in the temporary storage unit 103 (step S502).

特徴抽出部115aが複合した課金情報に基づいて「ハッシュ値」、「データ量」を算出すると、制御部102aは、復号課金情報照合判定部121に復号した課金情報の照合判定を指示する。   When the “hash value” and “data amount” are calculated based on the billing information combined by the feature extraction unit 115a, the control unit 102a instructs the decryption billing information collation determination unit 121 to collate the decrypted billing information.

実施例2のステップS503〜S505動作は、実施例1のステップS203〜S205の動作と同じである。   The operations in steps S503 to S505 in the second embodiment are the same as the operations in steps S203 to S205 in the first embodiment.

特徴情報管理部118aは、上記特徴情報の削除の指示を受けると、一時記憶部103で保持する「復号ID」に基づいて特徴情報記憶部117aを検索し、該特徴情報記憶部117aから該当する特徴情報を削除する(ステップS506)。そして、特徴情報管理部118aは、特徴情報を削除すると、特徴情報削除済信号を生成し、該信号を制御部102aに送信する。制御部102aは、上記特徴情報削除済信号を受けると、印刷ジョブ待ち状態に移行する。   When the feature information management unit 118a receives an instruction to delete the feature information, the feature information management unit 118a searches the feature information storage unit 117a based on the “decryption ID” stored in the temporary storage unit 103, and the feature information management unit 118a corresponds to the feature information storage unit 117a. The feature information is deleted (step S506). Then, when the feature information is deleted, the feature information management unit 118a generates a feature information deleted signal and transmits the signal to the control unit 102a. Upon receiving the feature information deleted signal, the control unit 102a shifts to a print job waiting state.

次に、課金サーバ300aから課金情報の送信要求を受けてから、課金情報記憶部109で保持する課金情報を課金サーバ300aに送信するまでの画像形成装置100aの動作については、図10のフローチャートで説明した実施例1の画像形成装置100の動作と同じであるため、説明を割愛する。   Next, the operation of the image forming apparatus 100a from the reception of the charging information transmission request from the charging server 300a to the transmission of the charging information held in the charging information storage unit 109 to the charging server 300a is shown in the flowchart of FIG. Since the operation is the same as that of the image forming apparatus 100 according to the first embodiment described above, the description thereof is omitted.

最後に、課金サーバ300aからの特徴情報の送信要求に対する画像形成装置100aの動作について、図16のフローチャートを用いて説明する。   Finally, the operation of the image forming apparatus 100a in response to the feature information transmission request from the accounting server 300a will be described with reference to the flowchart of FIG.

課金サーバ300aを管理する管理者は、月単位で課金情報に基づく請求書を作成するために、例えば毎月1日に該課金サーバ300aの図示しない入力部を操作して、印刷媒体上に印刷出力された課金コードが復元されていないため、画像形成装置100aに残存する特徴情報が存在するか否かを検索するために、図示しない入力部に備えたボタンを介して残存する特徴情報の取得を指示する。制御部302aは、上記ボタンを介して残存する特徴情報の取得の指示を受けると、残存特徴情報要求信号を生成し、該信号を画像形成装置100aに送信する。   An administrator who manages the billing server 300a operates the input unit (not shown) of the billing server 300a on the first day of each month to create a bill based on billing information on a monthly basis. Since the charged billing code is not restored, the remaining feature information is acquired via a button provided in an input unit (not shown) in order to search whether there is feature information remaining in the image forming apparatus 100a. Instruct. Upon receiving an instruction to acquire remaining feature information via the button, the control unit 302a generates a remaining feature information request signal and transmits the signal to the image forming apparatus 100a.

画像形成装置100aの特徴情報管理部118aは、制御部102aを介して毎月1日に課金サーバ300aから残存特徴情報要求信号を受けると(ステップS601)、特徴情報記憶部117aで保持する先月分の特徴情報が存在する場合(ステップS602)、該当特徴情報に図示しない記憶部で保持する画像形成装置100aの装置名である「プリンタ名」と、該特徴情報を生成した日時及び時間を示す「特徴情報生成日時」とを付与した残存特徴情報を生成し、該残存特徴情報を制御部102aを介して課金サーバ300aに送信する(ステップS603)。ここで、特徴情報記憶部117aで保持する特徴情報には、該特徴情報を生成した日付及び時間を示す「特徴情報生成日時」が付与されている。   When the feature information management unit 118a of the image forming apparatus 100a receives the remaining feature information request signal from the accounting server 300a on the first day of every month via the control unit 102a (step S601), the feature information management unit 118a stores the last month's amount held in the feature information storage unit 117a. If feature information exists (step S602), “printer name” that is the device name of the image forming apparatus 100a held in the storage unit (not shown) in the corresponding feature information, and “feature” indicating the date and time when the feature information was generated. The remaining feature information to which “information generation date and time” is assigned is generated, and the remaining feature information is transmitted to the accounting server 300a via the control unit 102a (step S603). Here, “feature information generation date and time” indicating the date and time when the feature information is generated is assigned to the feature information held in the feature information storage unit 117a.

一方、特徴情報管理部118aは、先月分の特徴情報が存在しない場合、特徴情報無信号を生成し、該信号に図示しない記憶部で保持する画像形成装置100aの装置名である「プリンタ名」を付与し、「プリンタ名」を付与した該信号を制御部102aを介して課金サーバ300aに送信する(ステップS604)。   On the other hand, if there is no feature information for the previous month, the feature information management unit 118a generates a feature information no signal, and “printer name” which is the device name of the image forming apparatus 100a held in the storage unit (not shown) in the signal. And the signal with “printer name” is transmitted to the accounting server 300a via the control unit 102a (step S604).

課金サーバ300aは、通信部301を介して画像形成装置100aから上記残存特徴情報を受けると、該残存特徴情報を一時記憶部303に記憶する。そして、制御部302aは、残存特徴情報を記憶すると、残存特徴情報解析部306に残存特徴情報の解析を指示する。   When the accounting server 300 a receives the remaining feature information from the image forming apparatus 100 a via the communication unit 301, the accounting server 300 a stores the remaining feature information in the temporary storage unit 303. After storing the remaining feature information, the control unit 302a instructs the remaining feature information analysis unit 306 to analyze the remaining feature information.

一方、制御部302aは、上記残存特徴情報要求信号の返答として画像形成装置100aから上記特徴情報無信号を受けると、課金サーバ300aの図示しない表示部に、画像形成装置100a残存する特徴情報が無い旨を通知するための通知画面を表示させる。課金サーバ300aを管理する管理者は、上記通知画面を参照して、画像形成装置100aに残存する特徴情報が存在しないことを把握する。   On the other hand, when the control unit 302a receives the feature information non-signal from the image forming apparatus 100a as a response to the remaining feature information request signal, there is no feature information remaining in the image forming apparatus 100a on a display unit (not shown) of the accounting server 300a. A notification screen for notifying the fact is displayed. The administrator who manages the accounting server 300a refers to the notification screen and grasps that there is no feature information remaining in the image forming apparatus 100a.

残存特徴情報解析部306は、残存特徴情報の解析の指示を受けると、先ず、一時記憶部303で保持する残存特徴情報から「プリンタ名」を取得する。   When the residual feature information analysis unit 306 receives an instruction to analyze the residual feature information, the residual feature information analysis unit 306 first acquires a “printer name” from the residual feature information held in the temporary storage unit 303.

そして、残存特徴情報解析部306は、上記「プリンタ名」を取得すると、一時記憶部303で保持する残存特徴情報から「コード化課金集計情報」を取得し、該「コード化課金集計情報」から各「ユーザ名」及び各ユーザ名の課金額を示す「コード化課金額」を取得する。   Then, when the “printer name” is acquired, the remaining feature information analysis unit 306 acquires “coded charge total information” from the remaining feature information held in the temporary storage unit 303, and from the “coded charge total information”. Each “user name” and “coded charge amount” indicating the charge amount of each user name are acquired.

また、残存特徴情報解析部306は、上記各「ユーザ名」及び「コード化課金額」を取得すると、一時記憶部303で保持する残存特徴情報から「特徴情報生成日時」を取得する。   Also, when the “user name” and “coded charge amount” are acquired, the remaining feature information analysis unit 306 acquires “feature information generation date / time” from the remaining feature information held in the temporary storage unit 303.

残存特徴情報解析部306が上記「プリンタ名」と、各「ユーザ名」及び「コード化課金額」と、「特徴情報生成日時」とを取得すると、制御部302aは、これらを一時記憶部303に記憶する。そして、制御部302aは、上記「プリンタ名」と、各「ユーザ名」及び「コード化課金額」と、「特徴情報生成日時」とを記憶すると、代替課金情報生成部307に代替課金情報の生成を指示する。   When the remaining feature information analysis unit 306 acquires the “printer name”, each “user name”, “encoded charge amount”, and “feature information generation date and time”, the control unit 302a stores them in the temporary storage unit 303. To remember. After storing the “printer name”, each “user name”, “encoded charge amount”, and “feature information generation date / time”, the control unit 302a stores the replacement charge information in the replacement charge information generation unit 307. Directs generation.

代替課金情報生成部307は、代替課金情報の生成の指示を受けると、一時記憶部303で保持する「ユーザ名」毎に、例えば図13に示すような代替課金情報“%S%T=07/05/10/Fri/17:30:17%P=PRI%U=taro%F=substitute.doc%C=625.5%E”を生成する。   When the alternative charging information generation unit 307 receives an instruction to generate the alternative charging information, the alternative charging information “% S% T = 07” as illustrated in FIG. 13, for example, for each “user name” held in the temporary storage unit 303. / 05/10 / Fri / 17: 30: 30% P = PRI% U = taro% F = substitute.doc% C = 625.5% E ″.

代替課金情報生成部307が「ユーザ名」毎に代替課金情報を生成すると、制御部302aは、該代替課金情報を一時記憶部303に記憶する。そして、制御部302aは、代替課金情報を記憶すると、集計課金情報管理部305aに代替課金情報の登録を指示する。   When the alternative charging information generation unit 307 generates alternative charging information for each “user name”, the control unit 302 a stores the alternative charging information in the temporary storage unit 303. Then, when the alternative charging information is stored, the control unit 302a instructs the total charging information management unit 305a to register the alternative charging information.

集計課金情報管理部305aは、代替課金情報の登録の指示を受けると、画像形成装置100aから取得した代替課金情報を「ユーザ名」毎に振り分けて集計課金情報記憶部304aに記憶する。ここで、集計課金情報管理部305aは、集計課金情報記憶部304aを更新すると共に、各画像形成装置毎の合計課金金額と、ユーザ名毎の合計課金金額とを再計算する。   Upon receiving an instruction to register alternative charging information, total charging information management unit 305a sorts alternative charging information acquired from image forming apparatus 100a for each "user name" and stores it in total charging information storage unit 304a. Here, the total charge information management unit 305a updates the total charge information storage unit 304a and recalculates the total charge amount for each image forming apparatus and the total charge amount for each user name.

集計課金情報管理部305aは、代替課金情報に基づいて集計課金情報記憶部304aを更新すると、代替課金情報に基づく集計課金情報の格納が完了したことを示す代替課金情報格納済信号を生成し、該信号を制御部302aを介して画像形成装置100aに送信する。   When the total charging information storage unit 304a is updated based on the alternative charging information, the total charging information management unit 305a generates an alternative charging information stored signal indicating that the storage of the total charging information based on the alternative charging information is completed, The signal is transmitted to the image forming apparatus 100a via the control unit 302a.

画像形成装置100aの制御部102aは、通信部上記残存特徴情報の送信の返答として課金サーバ300aから代替課金情報格納済信号を受けると、特徴情報管理部118aに特徴情報の削除を指示する。   When the control unit 102a of the image forming apparatus 100a receives the alternative billing information stored signal from the billing server 300a as a response to the transmission of the remaining feature information, the communication unit instructs the feature information management unit 118a to delete the feature information.

特徴情報管理部118aは、上記特徴情報の削除の指示を受けると、一時記憶部103で保持するコード解析部120で復号した「復号ID」に基づいて特徴情報記憶部117aを検索し、該特徴情報記憶部117aから該当する特徴情報を削除する(ステップS605)。そして、特徴情報管理部118aは、特徴情報を削除すると、特徴情報削除済信号を生成し、該信号を制御部102aに送信する。制御部102aは、上記特徴情報削除済信号を受けると、印刷ジョブ待ち状態に移行する。   When the feature information management unit 118a receives an instruction to delete the feature information, the feature information management unit 118a searches the feature information storage unit 117a based on the “decoding ID” decoded by the code analysis unit 120 held in the temporary storage unit 103, and the feature information The corresponding feature information is deleted from the information storage unit 117a (step S605). Then, when the feature information is deleted, the feature information management unit 118a generates a feature information deleted signal and transmits the signal to the control unit 102a. Upon receiving the feature information deleted signal, the control unit 102a shifts to a print job waiting state.

<実施例2の効果>
本実施例2の画像形成装置100aでは、特徴抽出部115aにコード化の対象である課金情報から「ユーザ名」毎の「コード化課金額」から成る「コード化課金集計情報」を抽出させ、該「コード化課金集計情報」を含む特徴情報を特徴情報記憶部117aに記憶させるので、課金コードが印刷された印刷媒体の歪みなどにより該課金コードが読み取れない、又は該印刷媒体の紛失などにより課金コードを復号して課金情報を生成することが出来ない場合でも、該特徴情報記憶部117aで保持する特徴情報を課金サーバ300aに送信することにより、正確な課金額を課金サーバ300aに通知することができる。
<Effect of Example 2>
In the image forming apparatus 100a of the second embodiment, the feature extraction unit 115a extracts “coded charge total information” composed of “coded charge amount” for each “user name” from the charge information to be encoded, Since the feature information including the “coded billing summary information” is stored in the feature information storage unit 117a, the billing code cannot be read due to distortion of the print medium on which the billing code is printed, or the print medium is lost. Even when the billing code cannot be decoded and the billing information cannot be generated, the billing server 300a is notified of the correct billing amount by transmitting the feature information held in the feature information storage unit 117a to the billing server 300a. be able to.

前記した実施例では、本発明の実施例の画像形成装置が課金コードとして1次元バーコード、又はQRコード等の2次元バーコードを印刷媒体上に印刷出力する、かつ1次元バーコード又は2次元バーコードを光学的に読み取ってコード解析を行う構成にしたが、これに限らず、多次元バーコードを印刷媒上に印刷出力する、かつ多次元バーコードを光学的に読み取ってコード解析を行う構成にも適応可能である。   In the above-described embodiment, the image forming apparatus according to the embodiment of the present invention prints and outputs a one-dimensional barcode or a two-dimensional barcode such as a QR code on a print medium as a billing code, and the one-dimensional barcode or two-dimensional The barcode is optically read and the code analysis is performed. However, the present invention is not limited to this, and the multidimensional barcode is printed on the printing medium, and the multidimensional barcode is optically read to perform the code analysis. It can be adapted to the configuration.

本発明に係る実施例1の画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus according to a first exemplary embodiment of the present invention. 本発明に係るMFPの場合における画像形成装置の外観図である。1 is an external view of an image forming apparatus in the case of an MFP according to the present invention. 本発明に係る課金額計算用情報DBの構成の一例を示す図である。It is a figure which shows an example of a structure of information DB for accounting amount calculation concerning this invention. 本発明に係る課金情報の構成の一例を示す図である。It is a figure which shows an example of a structure of the accounting information which concerns on this invention. 本発明に係る印刷媒体に印刷された課金コードの一例を示す図(その1)である。It is FIG. (1) which shows an example of the accounting code printed on the printing medium based on this invention. 本発明に係る印刷媒体に印刷された課金コードの一例を示す図(その2)である。It is FIG. (2) which shows an example of the accounting code printed on the printing medium based on this invention. 本発明に係る実施例1の特徴情報の構成の一例を示す図である。It is a figure which shows an example of a structure of the characteristic information of Example 1 which concerns on this invention. 本発明に係る実施例1の課金サーバが停止状態時の画像形成装置の動作のフローチャートである。5 is a flowchart of the operation of the image forming apparatus when the accounting server according to the first embodiment of the present invention is in a stopped state. 本発明に係る実施例1の課金サーバの復旧後の画像形成装置の動作のフローチャートである。6 is a flowchart of the operation of the image forming apparatus after the recovery of the accounting server according to the first embodiment of the present invention. 本発明に係る実施例1の画像形成装置の課金サーバからの課金情報の送信要求に対する動作のフローチャートである。6 is a flowchart of an operation in response to a charging information transmission request from a charging server of the image forming apparatus according to the first exemplary embodiment of the present invention. 本発明に係る実施例2の画像形成装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image forming apparatus of Example 2 which concerns on this invention. 本発明に係る実施例2の特徴情報の構成の一例を示す図である。It is a figure which shows an example of a structure of the characteristic information of Example 2 which concerns on this invention. 本発明に係る実施例2の代替課金情報の構成の一例を示す図である。It is a figure which shows an example of a structure of the alternative billing information of Example 2 which concerns on this invention. 本発明に係る実施例2の課金サーバが停止状態時の画像形成装置の動作のフローチャートである。10 is a flowchart of the operation of the image forming apparatus when the accounting server according to the second embodiment of the present invention is in a stopped state. 本発明に係る実施例2の課金サーバの復旧後の画像形成装置の動作のフローチャートである。10 is a flowchart of the operation of the image forming apparatus after the recovery of the accounting server according to the second embodiment of the present invention. 本発明に係る実施例1の画像形成装置の課金サーバからの特徴情報の送信要求に対する動作のフローチャートである。6 is a flowchart of an operation in response to a feature information transmission request from the accounting server of the image forming apparatus according to the first exemplary embodiment of the present invention.

符号の説明Explanation of symbols

100 画像形成装置
101 通信部
102 制御部
103 一時記憶部
104 印刷制御部
105 プリンタエンジン
106 課金額計算用情報DB(データベース)
107 課金情報生成部
108 課金情報データ量検出部
109 課金情報記憶部
110 課金情報管理部
111 使用可能容量検出部
112 容量比較判定部
113 変換用課金情報取得部
114 コード生成部
115 特徴抽出部
116 特徴情報生成部
117 特徴情報記憶部
118 特徴情報管理部
119 画像読取部
120 コード解析部
121 復号課金情報照合判定部
200 ホストコンピュータ
201 通信部
202 制御部
203 一時記憶部
204 表示部
205 入力部
206 アプリケーション格納部
207 プリンタドライバ
300 課金サーバ
301 通信部
302 制御部
303 一時記憶部
304 集計課金情報記憶部
305 集計課金情報管理部
306 残存特徴情報解析部
307 代替課金情報生成部
DESCRIPTION OF SYMBOLS 100 Image forming apparatus 101 Communication part 102 Control part 103 Temporary storage part 104 Print control part 105 Printer engine 106 Charge amount calculation information DB (database)
107 Accounting Information Generation Unit 108 Accounting Information Data Amount Detection Unit 109 Accounting Information Storage Unit 110 Accounting Information Management Unit 111 Usable Capacity Detection Unit 112 Capacity Comparison Determination Unit 113 Conversion Accounting Information Acquisition Unit 114 Code Generation Unit 115 Feature Extraction Unit 116 Features Information generation unit 117 Feature information storage unit 118 Feature information management unit 119 Image reading unit 120 Code analysis unit 121 Decrypted billing information collation determination unit 200 Host computer 201 Communication unit 202 Control unit 203 Temporary storage unit 204 Display unit 205 Input unit 206 Application storage Unit 207 printer driver 300 charging server 301 communication unit 302 control unit 303 temporary storage unit 304 total charging information storage unit 305 total charging information management unit 306 remaining feature information analysis unit 307 alternative charging information generation unit

Claims (4)

課金サーバとネットワーク接続するためのインタフェース部と、受け付けた印刷ジョブに基づいて印刷媒体上に画像を形成する印刷処理部とを備える画像形成装置において、
印刷処理が終了すると、少なくとも印刷処理に用いた印刷媒体のサイズ及び枚数に基づく印刷ジョブ毎の課金額を算出する算出部と、
前記算出した課金額を含む課金情報を生成する生成部と、
前記生成した課金情報に記憶させる格納制御部と、
前記課金サーバから課金情報送信要求を受けると、前記記憶部で保持する課金情報を該課金サーバに送信する送信部と、
前記課金サーバから前記送信した課金情報に対する取得完了の通知を受けると、前記記憶部から該当する課金情報を消去する消去部と、
前記生成した課金情報のデータ量を検出するデータ量検出部と、
前記記憶部の使用可能容量を検出する使用可能容量検出部と、
前記生成した課金情報のデータ量が前記記憶部の使用可能容量より大きいと、前記記憶部で保持する複数の課金情報を取得する取得部と、
前記取得した複数の課金情報を前記印刷処理部により印刷出力させる課金情報印刷制御部とを備え、
前記課金情報の印刷出力が終了すると、前記消去部は、前記取得した複数の課金情報を前記記憶部から消去し、
前記生成した課金情報のデータ量が前記記憶部の使用可能容量以下であると、前記格納制御部は、該課金情報を前記記憶部に格納することを特徴とする画像形成装置。
In an image forming apparatus comprising an interface unit for network connection with a billing server, and a print processing unit that forms an image on a print medium based on a received print job,
When the printing process is completed, a calculation unit that calculates a charge amount for each print job based on at least the size and number of print media used for the printing process;
A generating unit that generates charging information including the calculated charging amount;
A storage control unit for storing the generated billing information;
When a charging information transmission request is received from the charging server, a transmitting unit that transmits the charging information held in the storage unit to the charging server;
Upon receiving a notification of completion of acquisition for the transmitted charging information from the charging server, an erasing unit that deletes the corresponding charging information from the storage unit;
A data amount detection unit for detecting a data amount of the generated billing information;
An available capacity detection unit for detecting an available capacity of the storage unit;
An acquisition unit for acquiring a plurality of charging information held in the storage unit when a data amount of the generated charging information is larger than an available capacity of the storage unit;
A charging information print control unit that prints out the plurality of acquired charging information by the print processing unit;
When the printing of the billing information is finished, the erasing unit erases the acquired plurality of billing information from the storage unit,
The image forming apparatus, wherein the storage control unit stores the charging information in the storage unit when a data amount of the generated charging information is equal to or less than a usable capacity of the storage unit.
前記取得した複数の課金情報をコード化して課金コードを生成するコード生成部を備え、
前記課金情報印刷制御部は、前記生成した課金コードを前記印刷処理部により印刷出力させ、
かつ前記課金サーバが復旧した後に前記印刷出力した課金コードを光学的に読み取って得た課金情報を復号するコード解析部を備え、
前記格納制御部は、前記復号した課金情報を前記記憶部に格納することを特徴とする請求項1に記載の画像形成装置。
A code generation unit that generates a charging code by encoding the plurality of acquired charging information;
The billing information print control unit causes the print processing unit to print out the generated billing code,
And a code analyzing unit for decoding the charging information obtained by optically reading the charging code printed out after the charging server is restored,
The image forming apparatus according to claim 1, wherein the storage control unit stores the decrypted charging information in the storage unit.
前記取得した複数の課金情報をコード化して課金コードを生成するコード生成部を備え、
前記課金情報印刷制御部は、前記生成した課金コードを前記印刷処理部により印刷出力させ、
かつ前記課金コードの印刷出力が終了すると、前記複数の課金情報から特徴を抽出して特徴情報を生成する特徴情報生成部と、
前記生成した特徴情報を記憶するための特徴情報記憶部と、
前記課金サーバが復旧した後に前記印刷出力した課金コードを光学的に読み取って得た課金情報を復号するコード解析部とを備え、
前記課金情報を復号すると、前記特徴情報生成部は、該復号した課金情報から特徴を抽出して復号特徴情報を生成し、
更に、前記生成した復号特徴情報に基づいて前記特徴情報記憶部を検索し、該当する特徴情報が保持されているか否かを判定する判定部を備え、
該当する特徴情報が保持されていると、前記格納制御部は、前記復号した課金情報を前記記憶部に格納することを特徴とする請求項1に記載の画像形成装置。
A code generation unit that generates a charging code by encoding the plurality of acquired charging information;
The billing information print control unit causes the print processing unit to print out the generated billing code,
And when the printout of the billing code is finished, a feature information generating unit that extracts features from the plurality of billing information and generates feature information;
A feature information storage unit for storing the generated feature information;
A code analysis unit for decoding billing information obtained by optically reading the billing code printed out after the billing server is restored;
When the billing information is decoded, the feature information generation unit extracts features from the decoded billing information to generate decoded feature information,
Furthermore, a determination unit that searches the feature information storage unit based on the generated decoded feature information and determines whether or not the corresponding feature information is held,
The image forming apparatus according to claim 1, wherein the storage control unit stores the decrypted billing information in the storage unit when corresponding feature information is held.
前記取得した複数の課金情報をコード化して課金コードを生成するコード生成部を備え、
前記課金情報印刷制御部は、前記生成した課金コードを前記印刷処理部により印刷出力させ、
かつ前記課金コードの印刷出力が終了すると、前記複数の課金情報から課金額を含む特徴を抽出して特徴情報を生成する特徴情報生成部と、
前記生成した特徴情報を記憶するための特徴情報記憶部と、
前記課金サーバが復旧した後に前記印刷出力した課金コードを光学的に読み取って得た課金情報を復号するコード解析部とを備え、
前記課金情報を復号すると、前記特徴情報生成部は、該復号した課金情報から特徴を抽出して復号特徴情報を生成し、
更に、前記生成した復号特徴情報に基づいて前記特徴情報記憶部を検索し、該当する特徴情報が保持されているか否かを判定する判定部を備え、
該当する特徴情報が保持されていると、前記格納制御部は、前記復号した課金情報を前記記憶部に格納し、
前記課金サーバから特徴情報送信要求を受けると、前記送信部は、前記特徴情報記憶部で保持する特徴情報を該課金サーバに送信することを特徴とする請求項1に記載の画像形成装置。
A code generation unit that generates a charging code by encoding the plurality of acquired charging information;
The billing information print control unit causes the print processing unit to print out the generated billing code,
And when the printout of the billing code is finished, a feature information generating unit that extracts a feature including a billing amount from the plurality of billing information and generates feature information;
A feature information storage unit for storing the generated feature information;
A code analysis unit for decoding billing information obtained by optically reading the billing code printed out after the billing server is restored;
When the billing information is decoded, the feature information generation unit extracts features from the decoded billing information to generate decoded feature information,
Furthermore, a determination unit that searches the feature information storage unit based on the generated decoded feature information and determines whether or not the corresponding feature information is held,
When the corresponding feature information is held, the storage control unit stores the decrypted charging information in the storage unit,
2. The image forming apparatus according to claim 1, wherein upon receiving a feature information transmission request from the accounting server, the transmission unit transmits the feature information held in the feature information storage unit to the accounting server.
JP2007212358A 2007-08-16 2007-08-16 Image forming device Pending JP2009045782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007212358A JP2009045782A (en) 2007-08-16 2007-08-16 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007212358A JP2009045782A (en) 2007-08-16 2007-08-16 Image forming device

Publications (1)

Publication Number Publication Date
JP2009045782A true JP2009045782A (en) 2009-03-05

Family

ID=40498480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007212358A Pending JP2009045782A (en) 2007-08-16 2007-08-16 Image forming device

Country Status (1)

Country Link
JP (1) JP2009045782A (en)

Similar Documents

Publication Publication Date Title
JP6799268B2 (en) The present invention relates to a printing system, an image forming apparatus, a processing method thereof, and a program.
JP4217455B2 (en) Peripheral device, information processing method, and control program
JP4721754B2 (en) Information processing apparatus and information processing program
JP5339443B2 (en) Authentication information management system, image forming apparatus, authentication server, and processing method and program thereof
CN105511983A (en) Job processing apparatus, and method for controlling the same
US8767237B2 (en) Printing authentication system, printing device, device management apparatus and non-transitory computer readable recording medium
US11099792B2 (en) Information processing system, image processing apparatus, non-transitory computer readable medium for sorting billing information into billing destinations
JPH11196247A (en) File system and recording medium recording program used for the system
US20110235097A1 (en) Information processing device, printer, information processing method, and recording medium
CN102055866A (en) Printing managing apparatus, image forming apparatus, and printing managing method
JP2003316458A (en) Peripheral device management system, job transmission method
JP2009064234A (en) Device system, transmitter device, transmission method, computer program, and storage medium
US8498912B2 (en) Charge managing system, image forming apparatus, charge managing server, and image forming method
JP5509973B2 (en) Print job information management device, printing device, print job information management program
JP4777403B2 (en) Peripheral device, information processing method, and control program
JP2013140412A (en) Image forming system, control method thereof, and program
JP2009045782A (en) Image forming device
JP4881171B2 (en) Host output processing system, host output processing method, host output processing program, and recording medium
US20040162854A1 (en) Image processing apparatus facilitating information management
JP6094188B2 (en) Management server, image processing system, processing method thereof, and program
US8564820B2 (en) Information processing apparatus, image forming device, and system and method thereof
JP2020170465A (en) Information processing device, control method, and program
JP5617972B2 (en) Authentication information management system, image forming apparatus, authentication server, and processing method and program thereof
KR100503786B1 (en) How to Manage Printer Printout Information
JP6919179B2 (en) Systems, server devices and programs