JP3944048B2 - Image forming apparatus, control method, and control program - Google Patents

Image forming apparatus, control method, and control program Download PDF

Info

Publication number
JP3944048B2
JP3944048B2 JP2002292430A JP2002292430A JP3944048B2 JP 3944048 B2 JP3944048 B2 JP 3944048B2 JP 2002292430 A JP2002292430 A JP 2002292430A JP 2002292430 A JP2002292430 A JP 2002292430A JP 3944048 B2 JP3944048 B2 JP 3944048B2
Authority
JP
Japan
Prior art keywords
counter
program
application
image forming
forming apparatus
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.)
Expired - Lifetime
Application number
JP2002292430A
Other languages
Japanese (ja)
Other versions
JP2004129047A (en
Inventor
友章 遠藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002292430A priority Critical patent/JP3944048B2/en
Priority to US10/339,318 priority patent/US7426048B2/en
Priority to EP03250272.6A priority patent/EP1335578B1/en
Publication of JP2004129047A publication Critical patent/JP2004129047A/en
Application granted granted Critical
Publication of JP3944048B2 publication Critical patent/JP3944048B2/en
Priority to US12/197,906 priority patent/US20090007130A1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像形成装置における処理を制御するプログラムが搭載された画像形成装置、該画像形成装置における方法、及び制御プログラムに関するものである。
【0002】
【従来の技術】
従来、画像形成装置の出力総数をカウントする機構としては、メカニカルな構造をもったハード・カウンタを用いることが一般的だった。ハード・カウンタは、一度、カウントアップするとカウント値を減じたりすることが難しくカウント値の改竄が難しいので、これを利用したサービスの課金体制に適した手段であった。その後、画像形成装置の機能が複雑になり様々なモード、例えば、スモール・サイズ/ラージ・サイズ、カラー/白黒、コピー/プリント/FAXによってサービス課金体系を分けたいとの要望が強くなっており、単純にその要望に応えるためハード・カウンタを増加していた。その後、省コスト、省スペースで多数のカウンタを実現可能なソフト・カウンタが提案された。ソフト・カウンタとは、カウント値を半導体メモリに蓄えるソフト・カウンタである。
【0003】
以前のソフト・カウンタはその構造上、メモリ内部の情報を失いやすく信頼性が低かったが、複数の記憶手段を用意し、お互いに同じ値を記憶させて、ある一つの記憶手段中の内部情報が失われた場合には、他の記憶手段中の情報を利用して情報を補償する方法などにより信頼性が向上している。従って、カウントしたい機能毎にソフト・カウンタを用意して、機能毎に正確なカウント情報を保持することが可能となった。以下、ソフト・カウンタを単にカウンタと呼ぶ。本願発明においては、カウンタとは、例えば、画像形成装置の好適な一例であるプリンタ、ファクシミリ、スキャナ、コピー、若しくはこれらの複合機内のプログラムの実行回数、画像形成装置の動作回数、アプリケーションプログラムの使用時間など、各種使用量を計測・記憶することができる手段の総称として用いている。
【0004】
【発明が解決しようとする課題】
画像形成装置に搭載された各種プログラム毎にカウンタを設け、アプリケーションの動作回数を管理する印刷装置が開発されつつある。また、印刷装置に搭載された各種プログラムを実行して、ユーザが様々なサービスを受けることが出来るように開発が進められている。例えば、特開平2001‐92779に記載されているように、画像形成装置に用いられるソフトウェア技術の向上の結果、画像形成装置が提供する処理を実現する各種ソフトウェアの追加・変更・削除などが容易になりつつある。また、アプリケーションごとに固定的にカウンタを設け、アプリケーションの実行回数をカウントするカウンタを備えた印刷装置が考えられつつある。
【0005】
しかし、搭載されるアプリケーション、制御プログラムなどの各種プログラム及びデータの追加・変更・削除が可能となったため、上述のように画像形成装置が提供する処理ごとにカウンタを固定的に予め割り当てておくのでは不具合がある。
【0006】
例えば、画像形成装置内の処理を提供するプログラムが変化する機会が増えているが、従来の静的なカウンタ管理を行うのでは、画像形成装置の提供する機能を適切に管理することができないという問題がある。さらに、複合的な機能を提供する印刷装置が登場しているが、これらの機能をどのように機能毎に使用量を管理するかが問題となる。
【0007】
そこで、本発明は、画像形成装置に搭載された各種プログラムが提供する機能の構成が変化しても、これに柔軟に対応可能な画像形成装置を提供することを目的とする。
【0008】
特に、本願の実施形態においては、画像形成装置内のプログラムが提供する処理の変化に応じて、プログラムの使用量を管理するカウンタを動的に管理できるようにし、画像形成装置の機能やプログラム構成が変化しても、各プログラムの利用状況を適切に把握できるような画像形成装置を提供することをさらに別の目的とする。
【0009】
また、本願の実施形態においては、画像形成装置が提供するそれぞれのプログラムが提供する各処理について、例えば、プログラムの使用量の上限値を設定可能にし、各プログラムの使用量を容易に管理できるような画像形成装置を提供することをさらに別の目的とする。
【0010】
また、本願の実施形態においては、アプリケーションの使用権を、アプリケーションの種類、又は/及び、使用する機器ごとに、予め利用者にライセンス情報の形で与えることが出来る仕組みを提供することをさらに別の目的とする。
【0011】
【課題を解決するための手段】
上述の目的の少なくとも一つを達成するため、本願発明は、以下の手段を提供する。
【0012】
本願の実施形態においては、例えば、画像形成装置が提供する処理を制御するプログラムが搭載された画像形成装置において、カウンタを用いて前記プログラムごとに使用量を管理する使用量管理手段と、前記プログラムの識別情報に対応する、プログラムの使用量を管理することができるカウンタを認識する認識手段と、前記プログラムを前記認識手段が認識したカウンタに対応づけて前記カウンタを管理するカウンタ管理手段と、前記使用量管理手段に対して前記プログラムごとに使用量の上限値を設定可能な設定手段と、前記プログラムの種別ごとに、前記設定手段により設定された使用量の上限値に基づき画像形成装置における処理を制御する制御手段とを備えることを特徴とする画像形成装置が開示される。
【0013】
そして、この画像形成装置にあるアプリケーションから所定に機能を利用するジョブを投入すると、画像形成装置に設定された上限値を超えていれば、処理を行い、超えていなければ、処理を制限する。
【0014】
【発明の実施の形態】
以下、本発明の実施形態を実施例に沿って図面に基づいて説明する。
【0015】
(第一の実施形態)
図1は、第一の実施形態に係るシステム全体を示す構成図である。図1において、画像形成装置の好適な一例である複合機100は、スキャナ、プリンタ、コピー、ファックス機能一体型の複合機であり、ネットワークを介して外部情報処理装置の好適な一例であるネットワークサーバ12、及び情報処理装置の好適な一例であるホストコンピュータ11に接続されている。さらに、複合機100は、公衆回線網を介して他の通信装置に接続されている。なお、複合機100は図示例に限らず、デジタル複写機、コピー機能付プリンタ等でもよく、ネットワークに接続された周辺機器の数は、図示例に限られない。また、画像形成装置は、複合機100に限らず、ファクシミリ、プリンタなどの印刷装置、スキャナ装置など、画像を形成可能な単機能の装置を含み、前記各装置に内蔵されるコントローラなどをも含む。また、カウンタは各種印刷装置のネットワークボード、例えばネットワークインタフェース部7等に取り付けられてもよい。
【0016】
複合機100は、主にリーダ部1、プリンタ部2、及び画像入出力制御部3で構成されている。リーダ部1は、プリンタ部2及び画像入出力制御部3に接続され、原稿の画像読み取りを行うとともに読み取った画像データをプリンタ部2又は画像入出力制御部3に出力する。プリンタ部2は、リーダ部1及び画像入出力制御部3から出力された画像データを記録紙に印刷する。画像入出力制御部3は、外部のネットワークや公衆回線網と接続し、画像データの入出力を行うと共に、ユーザが複合機100を使用したときの使用量の蓄積等を行い、更にネットワークに接続されたホストコンピュータ11からのジョブ(印刷命令等)の解析及び制御を行う。
【0017】
画像入出力制御部3は、ファクシミリ部4、ファイル部5、取得手段の一例であるネットワークインタフェース部7、PDLフォーマッタ部8、及びコア部10で構成される。ファクシミリ部4は、コア部10及び公衆回線網に接続され、公衆回線網から受信した圧縮された画像データの伸長を行い、伸長した画像データをコア部10へ送信する。また、コア部10から送信された画像データを圧縮し、公衆回線を介して圧縮した画像データを公衆回線網に送信する。ファイル部5は、コア部10及び記憶装置6に接続され、コア部10から送信された画像データの圧縮を行い、圧縮した画像データを検索するためのキーワードと共に記憶装置6に記憶させる。本実施形態では記憶手段の好適な一例である記憶装置6にはハードディスクドライブを用いているが、もちろんこれに限定されるものではない。更に、ファイル部5は、コア部10から送信されたキーワードに基づいて記憶装置6に記憶されている圧縮画像データを検索した後、その圧縮画像データを読み出して伸長を行い、コア部10へ送信する。
【0018】
ネットワークインタフェース部7は、外部のネットワークを介して接続されたホストコンピュータ11及びネットワークサーバ12とコア部10間のインタフェースである。ホストコンピュータ11からのジョブ制御データの受信、及び画像データ等のホストコンピュータ11への送信には、ネットワークインタフェース部7を介して行う。ジョブ制御データとして、PDLデータと共に送信されるジョブ制御命令を含み、例えば、PDLデータを展開して画像データとして印刷した後、ステイプルソートして排紙させるものが挙げられる。ネットワークインタフェース部7にはMIB(Management Information Base)と呼ばれるデータベースが構築されており、SNMP(Simple Network Management Protocol)を介してネットワーク上のホストコンピュータ11と通信し、プリンタ部2の管理が可能となっている。また、ネットワークインタフェース部7は、画像形成装置上の各種機能を実現するアプリケーションのインストール要求・アンインストール要求・開始要求・停止要求等を受け付けるため、ネットワーク接続された他の機器が複合機100内のアプリケーションの制御を行うことが可能となっている。
【0019】
フォーマッタ部8は、コア部10に接続され、ホストコンピュータ11から送信されたPDLデータをプリンタ部2でプリントできる画像データに展開するものである。
【0020】
画像メモリ部9は、リーダ部1からの情報や、ネットワークインタフェース部を介しホストコンピュータ11等から送られてきた情報を一時的に蓄積しておくためのものである。
【0021】
記憶手段と解析手段を兼ねたユニットの好適な一例であるコア部10は、上述したリーダ部1、ファクシミリ部4、ファイル部5、ネットワークインタフェース部7、PDL(Page Description Language:ページ記述言語)フォーマッタ部8のそれぞれの間を流れるデータ等の制御とともにジョブ制御データの解析を行い、ユーザの使用状況・コピー枚数・印刷枚数・スキャン枚数等の情報を蓄積する。
【0022】
ホストコンピュータ11(情報処理装置)は、パーソナルコンピュータ又はワークステーション(PC/WS)であり、ネットワークサーバ12は、ネットワーク全体を制御するサーバである。また、外部情報処理装置の一例である課金サーバ13は複合機100の課金情報を管理するためのサーバを含む。 課金サーバ装置13は、そのディスプレイに、複写機100のカウンタによってカウントされる使用量を表示し、管理できる。なお、操作部14は、操作パネルを含み、例えばタッチパネルを用いて実行するアプリケーション、アプリケーションに使用させる複写機の機能を選択し、入力出来る。また、アプリケーションの実行命令は、複写機100の操作部13からでも入力出来るが、外部情報処理装置の一例であるネットワークサーバ12からでも実行命令を入力出来る。そして、実行されたアプリケーションの使用量は、複写機100の後に詳しく述べるカウンタでカウントされる。
【0023】
図2は、第一の実施形態における画像形成装置のソフトウェアモジュール階層の好適な一例を示した図である。ソフトウェアモジュールはオペレーティングシステム(OS)201を有している。OS201の上には、各種機器制御のためのコントローラモジュール202を有し、その上にプログラムを逐次実行するためのインタプリタモジュール203を有する。インタプリタモジュール203の上には、動的に着脱可能な複数のアプリケーション群を管理するためのアプリケーション管理モジュール204を有する。各種機能を実現するアプリケーション205は、このアプリケーション管理モジュール204の管理下で動作する。インタプリタモジュール203を介して複写機のサービスを提供するためのアプリケーションモジュールを動作させることができる。例えば、外部サーバ装置から取得したアプリケーションモジュールが画像形成装置内に組み込まれるのに応答して、アプリケーション管理モジュール204はアプリケーション205を管理対象として追加したり、画像形成装置内からアプリケーションプログラムが削除されるのに応答して、アプリケーション管理モジュール204はアプリケーション205を管理対象から外すことができる。
【0024】
また、アプリケーション205のインストールやアンインストールを行うためのアプリケーションインストーラ206も、このアプリケーション管理モジュール204の上で動作させることができる。アプリケーションはプログラムの好適な一例であるが、画像形成装置と協働して各種処理をユーザに提供する。例えば、画像の加工、圧縮を行うアプリケーション、印刷制限などの部門管理を行うアプリケーションプログラム、アプリケーションの一部として組み込まれるプラグインモジュール、複写機の遠隔管理を行プログラム、複写機のフィニッシャなどのユニットを制御して製本を行わせるアプリケーション、特定の文書データの変換・解析プログラム、或いはいわゆるワープロソフトのような文書作成プログラム、スケジュール管理プログラム、表計算プログラム、データベース管理プログラム、さらにはインターネットを介したプリントサービスを実現するためのサーバプログラムなどが考え得る。
【0025】
これらのソフトウェアはコア部10内にあるCPU(図示省略)上で実行される。上記実施形態においてはインタプリタやOSを複写機内に組み込んでいる。もちろん、アプリケーション205が画像形成装置上で動作し、アプリケーション管理モジュール204が適切に動作する限り、上述のモジュール構成に限定されるものではない。
【0026】
図3は複合機100にアプリケーションがインストールされる際の処理の流れを示すフローチャートを示す図である。次に、図3を利用して、ホストコンピュータ11から複合機100に新たなアプリケーションをインストールする場合のアプリケーションインストーラ206内の処理について説明する。ホストコンピュータ11の操作画面において、指示入力手段の好適な一例であるポインティングデバイス(図示省略)によって、アプリケーションをインストールする旨の指示を入力すると図3の処理が開始される。まず、ステップS301においてホストコンピュータ11からアプリケーション情報を受信する。アプリケーション情報は、例えば、プログラムの属性情報の好適な一例である、ベンダ名・アプリケーションID・アプリケーション名・使用メモリ・バージョン番号・最終更新日付を含む。このアプリケーション情報は、プログラムの好適な一例であるアプリケーションの使用量を管理するために用いられる。
【0027】
ステップS301において前述したプログラムの属性情報の好適な一例であるアプリケーションIDを含むアプリケーション情報を受け取ると、アプリケーションインストーラ206は、ステップS302の処理を行う。S302では、アプリケーションインストーラ206は、既に同じアプリケーションがインストールされていないかどうかを判断する。アプリケーションインストーラ206は、ステップS301で受信したアプリケーション情報を取得し、既にインストールされているアプリケーションのアプリケーション情報と比較することにより、既に同じアプリケーションがインストールされているか否かを判断する。もし、アプリケーションインストーラ206が、ステップS302において同じアプリケーションが存在すると判断した場合は処理を終了し、同じアプリケーションが存在しないと判定された場合はステップS303へ進む。ステップS303では、アプリケーションインストーラ206(判断手段)は、変数nに0を代入し、ステップS304へ進む。ステップS304では、アプリケーションインストーラ206は、n番目のアプリケーション用カウンタが使用中であるかどうか判断し、使用中でないならステップS305へ進む。ステップS305ではカウンタ番号-アプリケーションIDテーブルを更新してカウンタ番号nとアプリケーションIDとを対応付ける。本願においては、カウンタは、アプリケーションの使用量の一例である実行回数をカウントするカウンタを意味する。また、カウンタは、アプリケーションを立ち上げている時間の長さなどの使用時間をカウントして保持できる計測記憶手段も含む。
【0028】
図4はカウンタ番号−アプリケーションIDテーブルの例を示す図である。カウンタ番号1番のカウンタがアプリケーションID11番のアプリケーションに対応し、カウンタ番号3番のカウンタがアプリケーションID51番のアプリケーションに対応し、その他のカウンタは未使用であることを示している。ステップS305においてテーブルの更新を行ったら次にステップS306へ進む。ステップS306では、ホストからアプリケーションプログラムのダウンロードを行って複合機100内の記憶装置6に格納し、アプリケーションを利用できる状態にして、処理を終了する。一方、ステップS304においてカウンタnが使用中と判定された場合は、ステップS307へ進む。ステップS307では変数nの値を1つ増加させ、ステップS308へ進む。ステップS308では、変数nの値が、複合機100に用意されているアプリケーション別カウンタの総数Nよりも小さいかどうかを判定する。変数nの値がアプリケーション別カウンタの総数Nよりも小さい場合はステップS304へ戻り、そうでない場合は処理を終了する。
【0029】
このようにしてインストールされたアプリケーションはジョブ処理を指示するコマンド群を実行することにより、リーダ部・プリンタ部等を制御することができ、種々の機能を実現することが可能となっている。
【0030】
図5は、ジョブ処理を指示するコマンド群の一例である。ジョブ処理を指示するコマンド群は、ジョブ投入開始コマンド501、ジョブ属性設定コマンド502、ジョブデータ送信コマンド503、ジョブ投入完了コマンド504により構成される。ジョブ投入開始コマンド501は、コントローラにジョブ投入の開始を通知するコマンドであり、パラメータとしてモード511とモードに応じた付加情報512を含んでいる。コントローラは、ジョブ投入開始コマンド501の受け取りにより、ジョブ処理を行うための準備を開始する。ジョブ属性設定コマンド502は、ジョブの機能や状態を表す属性を設定するためのコマンドである。属性には、アプリケーションID・ジョブの名前・ジョブ種別・データ形式・用紙選択などといった情報があり、本コマンドでは複数の属性を連続して設定することができる。
【0031】
ジョブデータ送信コマンド503は、画像データなどジョブ処理の対象となるデータを送信するコマンドである。ただし、ジョブの内容によっては、処理対象となるデータを必要としない場合もあるので、その場合は本コマンドを省略してもよい。ジョブ投入完了コマンド504は、ジョブ処理を指示するコマンド群がすべて送付されたことを示すためのコマンドである。ジョブ投入開始コマンド501からジョブ投入完了コマンド504までの一連のコマンド群が1つのジョブ処理指示として解釈される。コントローラは、ジョブ処理の指示が行われると、リーダ部1・プリンタ部2・ファイル部5等を制御し、与えられた属性により適切な処理を行い、ジョブ種別に応じて適切なカウンタ更新要求を出す。なお、ジョブ開始コマンドには、それを実行したアプリケーションのアプリケーションIDの情報も含まれるため、コントローラやカウンタ更新手段は、現在のジョブがどのアプリケーションから実行されたものかを判別することが可能となっている。
【0032】
図6は、第一の実施形態においてカウンタの更新が行われる際のカウンタ更新手段における処理の流れを示すフローチャートを示す図である。図6のフローチャートを利用して、カウンタの更新が行われる際のカウンタ管理手段における処理の流れについて説明する。まず、ステップS601において、カウンタ更新要求を受け取り、ステップS602に進む。ステップS602では、更新要求元のアプリケーションIDを取得し、ステップS603に進む。ステップS603では変数nに0を代入し、ステップS604に進む。ステップS604ではテーブルを参照しn番のカウンタがステップS602で取得したアプリケーションIDのアプリケーションに割り当てられているかどうかチェックする。もし、n番のカウンタがステップS602で取得したアプリケーションIDのアプリケーションに割り当てられていればステップS605へ進む。ステップS605では現在のジョブ種用のn番カウンタを更新し、ステップS606へ進む。ステップS606では総数カウント用のカウンタを更新し、処理を終了する。一方、ステップS604において、n番カウンタがステップS602で取得したアプリケーションIDのアプリケーションに割り当てられていないと判定された場合は、ステップS607に進む。ステップS607では変数nがアプリケーション用カウンタの総数Nよりも小であるかどうかを判定する。もし、n<NであるならステップS608でnの値を1つ増やしステップS604へ戻る。ステップS607においてn<Nを満たさなかった場合はステップS606へ進み、総数カウント用カウンタだけを更新して処理を終了する。
【0033】
図7は、複合機100が有しているカウンタの例を示す図である。この例では、コピーカウンタ、プリントカウンタ、スキャンカウンタの3種類のカウンタがあり、そのそれぞれについてトータルカウント数を示す総数カウント用カウンタが1つとアプリケーション別カウンタがN個(カウンタ番号1からN)用意されていることを示している。コピージョブが処理される場合、1枚コピーする度にコピーカウンタがカウントアップされる。同様に、スキャンジョブでは1枚スキャンする度にスキャンカウンタがカウントアップされ、プリントジョブでは1枚プリントされる度にプリントカウンタがカウントアップされる。
【0034】
カウンタ番号-アプリケーションIDテーブルの内容が図4のようになっている場合、図7(い)のカウンタがアプリケーションID11番のアプリケーションに使用され、図7(ろ)のカウンタがアプリケーションID51番のアプリケーションによって使用される。例えば、アプリケーションID11番のアプリケーションがコピージョブを実行した場合、図7(は)のカウンタと総数カウント用カウンタがカウントアップされる。同様にプリントジョブを実行した場合は図7(に)のカウンタと総合カウンタが、スキャンジョブを実行した場合は図7(ほ)のカウンタと総合カウンタがカウントアップされる。また、リモートホストからプリントジョブ・スキャンジョブ・コピージョブなどが投入された場合、もしジョブの発行元のアプリケーションIDが既にテーブルに登録されていればアプリケーションIDに対応するカウンタと総数カウント用カウンタがカウントアップされる。ジョブ発行元のアプリケーションIDがテーブルに登録されていない場合にはそのジョブを拒否する。
【0035】
このように、画像形成装置が提供する各機能と、各機能を利用するアプリケーションの組合わせの数だけのカウント値を管理し、また、それぞれのカウント値をアプリケーション毎、各機能ごとに合計してカウントすることが出来る。これにより、アプリケーションごとの課金はもちろんであるが、アプリケーションで画像形成装置の特定の機能を利用した処理を所定動作と呼ぶと、この所定動作ごとに、使用量をカウントすることができる。例えば、特定の画像加工アプリケーションがカウンタ番号6に対応付けられているとすると、この画像加工アプリケーションを用いて所定の画像処理、例えば電子透かしを入れ込んだむなどして、コピーを行った場合はカウンタ番号6に対応するコピー用カウンタがカウントアップされる。これにより、画像加工アプリケーションを用いてコピーを行うという所定動作の使用量を管理することが出来る。もちろん、アプリケーションとしては、画像加工アプリケーションだけではなく、XML文書を加工したり、所定の文書ファイルを加工するためのアプリケーションであってもよい。さらに、画像形成装置が提供する機能は、コピー、プリント、スキャンだけでなく、フィニッシング、製本、パンチ穴あけなどのいわゆる製本処理であってもよい。
【0036】
次に、画像形成装置に既にインストールされてアプリケーションIDがあるカウンタに割り当てられているアプリケーションをアンインストールする際の処理について説明する。図8は複写機100に既にインストールされているアプリケーションをアンインストールする際の処理の流れを示すフローチャートを示す図である。
【0037】
まずステップS801において指定されたアプリケーションが動作中であるかどうかをチェックする。もし動作中であった場合は、何もせずにアンインストール処理を終了する。もし動作中でないならば安全にアンインストールすることができるので、ステップS802へ進む。ステップS802ではアンインストールするアプリケーションに関連付けられたカウンタの情報およびアプリケーション情報を課金サーバ13に送信し、ステップS803に進む。ステップS803では送信した情報を課金サーバ13が正しく受信できたかどうかチェックし、正しく受信されていた場合はステップS804へ進む。正しく受信されていなかった場合には実際にアンインストールを行わずに処理を終了する。ステップS804ではカウンタ番号-アプリケーションIDテーブルを更新し、アンインストールするアプリケーションのアプリケーションIDが割り当てられているカウンタを未使用の状態にする。ステップS805では、アプリケーションを記憶装置6の中から消去してアンインストールを行い、処理を終了する。
【0038】
以上説明したように、本実施例によれば、アプリケーションのインストール時に利用されていないカウンタを動的に割り当て、カウンタアップを行う際にその処理を引き起こしたアプリケーションに対応するカウンタをカウントアップすることにより、アプリケーション毎にコピー・プリント・スキャンのカウント数を管理することが可能となっている。
【0039】
また、アプリケーションのアンインストール時に、そのアプリケーション情報および利用していたカウンタの情報を課金サーバに保存することにより、カウント情報を損なうことなく、自由にアプリケーションのインストール・アンインストールを繰り返すことが可能となっている。
【0040】
なお、本実施形態では、インストール時に既に同じアプリケーションがインストールされている場合、処理を終了するようになっているが、バージョン情報を判定し新しいバージョンであれば自動的にインストールするようにしても良いし、ユーザにインストール処理を継続するかどうか選択させるようにしても良い。
【0041】
また、本実施形態では、アプリケーションインストーラ206は、アプリケーション管理モジュール204上で動作するアプリケーションの一種となっているが、コントローラ202に組み込まれたモジュールであってもよい。
【0042】
また、本実施形態では、コピーカウンタ・プリントカウンタ・スキャンカウンタの3種類のカウンタを用意しているが、これに限られるものではなくカウンタの種類はいくつあっても良いし、同じ機能においても用紙サイズ等によりカウンタをより細かく区分しても構わない。
【0043】
また、本実施形態では、カウンタ1セットにつき1つのアプリケーションを割り当てているが、グループID等を導入して、複数のアプリケーションで一つのカウンタセットを共用するようにしても良い。
【0044】
また、本実施形態では、総数カウント用カウンタ以外のすべてのカウンタを動的に割り当てているが、画像形成装置にあらかじめ搭載されているアプリケーションについては固定的にカウンタを割り当てておいても良い。
【0045】
また、本実施形態では、テーブルに登録されていないアプリケーションIDを持った外部からのジョブは拒否するようにしているが、総数カウント用カウンタのみをカウントアップするなどしてジョブを受け付けるようにしても良い。
【0046】
(第二の実施形態)
次に、本発明にかかる画像形成装置の第二の実施形態について説明する。
【0047】
図1は、第二の実施形態における画像形成装置の構成も示している。この図については第一の実施形態において詳細を説明したためここでは説明を省く。ただし、第二の実施形態においてホストコンピュータ11はアプリケーションが蓄積されているファイルサーバとする。以下、第一の実施形態と特に異なる部分を示す。
【0048】
図9は、第二の実施形態における複写機100のソフトウェアモジュール階層の構成を示す図である。ソフトウェアモジュールはオペレーティングシステム(OS)901を有している。OS901の上には、各種機器制御のためのコントローラモジュール902を有し、その上にプログラムを逐次実行するためのインタプリタモジュール903と汎用カウンタ(後述)を制御するための汎用カウンタ制御アプリケーション・プログラム・インタフェース(以下、汎用カウンタ制御API)904を有する。インタプリタモジュール903と汎用カウンタ制御API904の上には動的に着脱可能なアプリケーション群を管理するためのアプリケーション管理モジュール905を有する。各種機能を実現するアプリケーション906は、このアプリケーション管理モジュール905(使用量管理手段)の管理下で動作する。アプリケーションをインストール・アンインストールするためのアプリケーションであるアプリケーションインストーラ907もアプリケーション管理モジュール905上で動作する。各アプリケーション906はアプリケーション管理モジュール905経由で汎用カウンタ制御API904を利用することが可能である。なお、これらのソフトウェアはコア部10内にあるCPU(図示省略)上で実行される。
【0049】
次に図10、並びに、図11を利用してホストコンピュータ11に蓄積されているアプリケーションを複合機100にインストールする場合の、アプリケーションインストーラ907の処理について説明する。ホストコンピュータにはWebサーバが搭載され、所定のURLが有しているものとする。例えば、本実施形態においては、
「http://www.kaisha.com/appfile」なるURLにアプリケーションが配置されており、複写機の操作部14において、このURLを指定すると、ホストコンピュータ内の上記URLに対応する記憶領域から指定したアプリケーションをダウンロードし、自動的にインストールを開始する。もちろん、操作部14を用いる代わりに、外部のコンピュータ12の操作画面から入力されたURLをネットワークへ送出して、ネットワークインタフェースを介して画像形成装置が受信してコア部10に入力してもよい。
【0050】
図10は、第二の実施形態におけるアプリケーションインストーラのインストール時の画面の例を示す図である。この画面は、アプリケーションインストーラ907のメイン画面(図示省略)においてインストールを指定した場合に、複合機100の操作部14上に表示される。具体的には、テキストフィールド1001にインストールしたいアプリケーション情報が保存されているホストコンピュータ11を示すURLを入力し、1002のOKボタンを押されるのに応答して、アプリケーションインストーラは、ホストコンピュータ11からアプリケーションのダウンロードを開始し、インストール処理を行う。図10の画面でキャンセルボタンを押すことでアプリケーションインストーラメイン画面(図示省略)に戻る。
【0051】
図11は、OKボタン1002が押されてからの処理の流れを示すフローチャートを示す図である。図12は、第二の実施形態におけるカウンタ番号-アプリケーションIDテーブルの例でを示す図である。また、図13は、第二の実施形態におけるアプリケーションインストール時のカウント単位警告ダイアログ画面の例を示す図である。以下、図11乃至図13を用いて、図11に示すフローチャートを説明する。
【0052】
OKボタン1002が押下されると、まず、アプリケーションインストーラ907は、ステップS1101においてテキストフィールド1001で指定された場所にあるアプリケーションの情報を取得する。アプリケーション情報を構成する要素の例を図14に示す。
【0053】
図14は第二の実施形態におけるアプリケーション情報の構成例を示す図である。ここではアプリケーション情報の一例として、ベンダ名、アプリケーションの識別子であるアプリケーションIDとアプリケーション名、バージョン、最終更新日付、使用カウンタ数、カウンタ種別、カウントアップ単位、使用メモリ、プログラムの入手先を示すアーカイブファイルURLが記載されている。
【0054】
図11に説明を戻す。ステップS1101において、アプリケーションインストーラ907は、プログラムの属性情報の好適な一例であるアプリケーション情報を取得することが出来れば、ステップS1102へ進む。もしアプリケーション情報を取得できなかったならば、処理を終了する。本願発明の認識手段の好適な一例であるアプリケーションインストーラ907は、ステップS1102では、アプリケーション情報を取得するのに応答して、アプリケーション情報で指定されている種別のカウンタで未使用のものを判断して認識する処理を行う。もし未使用のカウンタ番号、つまり、新たに追加された、例えば外部のホストコンピュータ11などから複写機100のネットワークインタフェース部(入力部)を介して入力されたプログラムの、使用量を管理することができるカウンタを認識できなければ処理を終了する。
【0055】
一方、S1102で、アプリケーション情報に記述されているすべての種別について未使用カウンタを認識できれば、ステップS1103へ進む。ステップS1103ではアプリケーション情報に基づいて、カウントアップ単位についての確認ダイアログ(図13)を操作部に表示する。例えば、アプリケーション名とこれを一度起動した場合にカウントアップされる使用料金などを表示する。次にステップS1104に進み、ダイアログ(図13)上でどちらのボタンが押されたかを判断する。もし、中止ボタン1301が押されたと判断されたら処理を終了し、続行ボタン1302が押されたと判断されたらステップS1105に進む。ステップS1105ではアプリケーション情報に記述されているアーカイブファイルURLの情報をもとに、プログラムの本体のダウンロードを試みる。ステップS1105においてダウンロードに失敗したら処理を必要に応じてエラー表示を行い処理を終了する。一方、ダウンロードが成功したらステップS1106に進む。ステップS1106では、アプリケーションインストーラ(カウンタ管理手段)は、ステップS1105でダウンロードしたプログラムを記憶装置6に格納し、プログラムを利用できる状態にして、ステップS1107に進む。ステップS1107では、アプリケーションインストーラは、S1102で認識したカウンタ番号とアプリケーション情報に含まれるアプリケーションIDのペアを、カウンタ番号-アプリケーションIDテーブルに追加記憶して更新し、アプリケーション管理モジュール204が必要に応じてアプリケーションインストーラを認識したカウンタの使用量などを初期化し、終了する。なお、未使用カウンタが認識できない、即ち、アプリケーションインストーラは、カウンタが足りない場合には、新規アプリケーションに対応させるためのカウンタを新たに作成し、初期化して用いてもよい。
【0056】
なお、図13において、アプリケーション表示部に追加するアプリケーション名を表示し、このアプリケーションが複写機100の提供する機能である、スキャン機能、コピー機能を利用した場合のカウントアップ情報(例えば、課金情報)をカウントアップ情報表示部1304に表示するので、ユーザは、このアプリケーションの実行に際して、機能を利用させるかに応じたカウントアップ情報を確認した上でアプリケーションをインストールすることが出来る。
【0057】
図12は第二の実施形態におけるカウンタ番号−アプリケーションIDテーブルの例であり、それぞれのカウンタに付与されるカウンタ番号と、アプリケーションの識別子の好適な一例であるアプリケーションID(アプリID)とを対応付けたテーブルが、モノクロプリンタ機能、カラープリンタ機能、モノクロコピー機能、カラーコピー機能、スキャナ機能毎に用意されている様子を示している。なお、画像形成装置が提供する機能はこれらに限定されるものではなく、例えば、ステイプル機能、製本機能など、フィニッシングに関する機能も含み、画像形成装置が提供する機能であって、各機能の使用量(例えば、使用回数、使用時間)を認識できるものであればどのようなものであってもの適用可能である。ここで、0xFFFFFFFFは、カウンタが使用されていない状態であることを示すコードである。この例では、図14のアプリケーション情報を持つアプリケーションが一つだけ画像形成装置にインストールされている状況を示しており、カウンタ番号1のスキャンカウンタとカウンタ番号1の汎用カウンタが、アプリケーションIDが11であるアプリケーションに割り当てられ、その他のカウンタは未使用であることを示している。このようなテーブルを持つことにより、特定のアプリケーションが画像形成装置の機能を利用して所定の動作(例えばスキャン機能の動作、コピー機能の動作、プリント機能の動作、フィニッシング機能の動作など)を引き起こした際に、上記テーブルによって定められたカウンタ番号を有するカウンタをカウントアップさせて、アプリケーション毎の使用量を管理することが出来る。
【0058】
このように、複写機100には、カウンタを用いて前記プログラムごとに使用量を管理するアプリケーション管理モジュール204が備えられている。そして、アプリケーションインストーラ206は、複写機100に前記アプリケーションの属性を示す情報が入力されるのに応答して、追加されるプログラムの識別情報の一例であるアプリケーションIDに対応するアプリケーションの使用量を管理することができるカウンタを認識する。
【0059】
そして、アプリケーション管理モジュールは、前記追加されたプログラムを、アプリケーションインストーラ206が認識したカウンタに対応づけて前記カウンタを管理する。
【0060】
ここで、プログラムを識別するための情報とは、そのプログラムを識別できるすべての情報を含む。例えば、アプリケーションプログラムであれば、アプリケーションID,アプリケーション名、が考えられるが、ファイルの形で提供されるアプリケーションプログラムのモジュールそれ自体は、アプリケーションが格納されたモジュール名・ファイル名などを含む。もちろん、これらのファイル名・モジュール名なども当然プログラムの識別情報の範疇に含まれる。従って、アプリケーション情報と一体となったプログラムモジュール自体を、先に画像形成装置内にネットワークインターフェースを介して入力し、画像形成装置内の記憶装置に記憶するのに応答して、当該プログラムモジュールにカウンタを対応付けるか否かを判断することも考え得る。
【0061】
インストールされたアプリケーションは、第一の実施形態と同様に、ジョブ処理を指示するコマンド群(図5)を実行することにより、リーダ部1・プリンタ部2、フィニッシャ部15等を制御することができ、種々の複写機の提供する機能を実現することが可能となっている。詳細は第一の実施形態において説明したため、ここでは省略する。
【0062】
図15は、第二の実施形態において、アプリケーション管理モジュールにおける、カウントアップが行われる際のカウンタ更新手段における処理の流れを示すフローチャートを示す図である。以下、図15のフローチャートを利用して各カウンタにカウントアップ要求がきた際の処理について説明する。まず、アプリケーション管理モジュールは、ステップS1501において、例えばコア部からカウントアップ要求を受け取り、ステップS1502に進む。ステップS1502では、更新要求元のアプリケーションIDを取得し、ステップS1503に進む。ステップS1503では変数nに0を代入し、ステップS1504に進む。ステップS1504ではテーブルを参照し、n番のカウンタがステップS1502で取得したアプリケーションIDのアプリケーションに割り当てられているかどうかをチェックする。もし、n番のカウンタがステップS1502で取得したアプリケーションIDのアプリケーションに割り当てられていればステップS1505へ進む。
【0063】
ステップS1505では、アプリケーション管理手段は、アプリケーション情報から現在のジョブ種別におけるカウントアップ単位を取得する。つぎにステップS1506に進み、n番のカウンタをステップS1505で取得した単位でカウントアップし、ステップS1509へ進む。ステップS1509では,アプリケーション管理手段は、総数カウント用のカウンタをアプリケーション情報で指定されている単位でカウントアップし、処理を終了する。一方、ステップS1504において、アプリケーション管理手段は、n番カウンタがステップS1502で取得したアプリケーションIDのアプリケーションに割り当てられていないと判定した場合は、ステップS1507に進む。ステップS1507では変数nがアプリケーション用カウンタの総数Nよりも小であるかどうかを判定する。もし、n<NであるならステップS1508でnの値を1つ増やしステップS1504へ戻る。ステップS1507においてn<Nを満たさなかった場合はステップS1509へ進み、総数カウント用カウンタだけをアプリケーション情報で指定されている単位でカウントアップして処理を終了する。
【0064】
図16は、第二の実施形態における複写機が有しているカウンタの例を示す図である。この例では、コピーカウンタ(モノクロ)、スキャンカウンタ、プリントカウンタ(モノクロ)、カラーコピーカウンタ、カラープリントカウンタ、汎用カウンタの6種類のカウンタがあり、そのそれぞれについてトータルカウント数を示す総数カウント用カウンタが1つとアプリケーション別カウンタがN個(カウンタ番号1からN)用意されている。モノクロコピージョブが処理される場合、1枚コピーする度にコピーカウンタがカウントアップされる。なおこの時のカウンタの増分はアプリケーション情報の中で定義された分だけ増やされる。同様に、スキャンカウンタ、プリントカウンタ、カラーコピーカウンタ、カラープリントカウンタは、それぞれスキャンジョブ、モノクロプリントジョブ、カラーコピージョブ、カラープリントジョブが実行されたときに所定動作毎にコントローラによって自動的にカウントアップされる。汎用カウンタについては、アプリケーションが汎用カウンタ制御APIを通じて指示を出すことにより、アプリケーションの都合の良いタイミングでカウントアップすることができる。
【0065】
例えば、図14の状況で、アプリケーションIDが11のアプリケーションによりスキャンジョブが実行された場合、1枚スキャンする毎に図16(い)のカウンタが10ずつ増加していく。また、アプリケーションIDが11のアプリケーションがジョブを発行するたびに汎用カウンタAPIをコールすれば、アプリケーションIDが11のアプリケーションがジョブを発行するたびに図16(ろ)のカウンタが1ずつ増加することになる。
【0066】
図17は、第二の実施形態において、複写機にインストールされているアプリケーションをアンインストールする際の処理の流れを示すフローチャートを示す図である。以下、画像形成装置にインストールされているアプリケーションをアンインストールする際の処理について図17のフローチャートを用いて説明する。アプリケーションインストーラ203は、まずステップS1701において指定されたアプリケーションが動作中であるかどうかをチェックする。もし動作中であった場合は、何もせずにアンインストール処理を終了する。もし動作中でないならば安全にアンインストールすることができるので、ステップS1702へ進む。アプリケーションインストーラ203(認識手段)は、ステップS1702ではアンインストールするアプリケーションに関連付けられたカウンタの情報およびアプリケーション情報を、カウンタ番号-アプリケーションIDテーブルを検索して認識し、画像形成装置内に備えられた不揮発メモリに保存し、ステップS1703に進む。
【0067】
ステップS1703では不揮発メモリに正しく保存されたかどうかをチェックし、正しく保存できていればステップS1704へ進む。正しく保存できなかった場合には、実際にアンインストールを行わずに処理を終了する。アプリケーション管理モジュール204(カウンタ管理手段)は、ステップS1704ではカウンタ番号-アプリケーションIDテーブルを更新し、アンインストールするアプリケーションのアプリケーションIDが割り当てられているカウンタを解放して、未使用の状態にする。次にステップS1705でアプリケーションを記憶装置6の中から消去してアンインストールを行い、処理を終了する。
【0068】
以上説明したように、本実施例によれば、アプリケーションインストール時にカウントアップ情報の警告ダイアログを出すことにより、ユーザは所定動作1回につきのカウントアップ単位を納得した上でアプリケーションをインストールすることが可能になる。また、汎用カウンタをアプリケーションから利用可能にすることによって、アプリケーション毎の使用回数や処理量などを管理することも可能になる。
【0069】
また、アプリケーションのアンインストール時に、そのアプリケーション情報および利用していたカウンタの情報を機器内のメモリに保存することにより、カウント情報を損なうことなく、自由にアプリケーションのインストール・アンインストールを繰り返すことが可能となる。
【0070】
アプリケーション毎、機能毎に設定されたカウンタの上限値により、アプリケーションの所定動作を制限する実施例を、図18と図19を使用して説明する。
【0071】
図18は、第一の実施形態においてカウンタの更新が行われる際のカウンタ更新手段とカウンタ上限管理手段における処理の流れを示すフローチャートを示す図である。尚、図18は図6で示したカウンタ更新手段に上限管理手段を追加したものとなっている。図18のフローチャートを利用して、カウンタの更新が行われる際のカウンタ管理手段とカウンタ上限値管理手段における処理の流れについて説明する。
【0072】
まず、ステップS1801において、図1のコア部10からカウンタ更新要求を受け取り、ステップS1802に進む。ステップS1802では、更新要求元のアプリケーションIDを取得し、ステップS1803に進む。ステップS1803では変数nに0を代入し、ステップS1804に進む。ステップS1804ではテーブルを参照しn番のカウンタがステップS1802で取得したアプリケーションIDのアプリケーションに割り当てられているかどうか検査する。もし、n番のカウンタがステップS1802で取得したアプリケーションIDのアプリケーションに割り当てられていればステップS1805へ進む。ステップS1805では現在のジョブ種用のn番カウンタを更新し、ステップS1809へ進む。一方、ステップS1804において、n番カウンタがステップS1802で取得したアプリケーションIDのアプリケーションに割り当てられていないと判定された場合は、ステップS1807に進む。ステップS1807では変数nがアプリケーション用カウンタの総数Nよりも小であるかどうかを判定する。もし、n<NであるならステップS1808でnの値を1つ増やしステップS1804へ戻る。ステップS1807においてn<Nを満たさなかった場合はステップS1806へ進み、ステップS1806において総数カウント用カウンタだけを更新して処理を終了する。
【0073】
ステップS1809では、図19で示されるカウンタ上限値表の現在のジョブ種用のn番上限値を参照し、ステップS1805で更新されたカウンタ値と比較する。比較した結果、カウンタ値が上限値を超えていない場合は、ステップS1806で総数カウンタを更新して処理を終了する。カウンタ値が上限値を超えている場合は、ステップS1810において図1のコア部10に対してジョブの強制終了を指示し、ステップS1810に進む。ステップS1811では、ステップS1802で取得したアプリケーションIDに対応するジョブを発行したアプリケーション(図2の205)に対して、ジョブが強制終了されたことを表すイベントを送付することにより通知し、ステップS1805において総数カウンタを更新して処理を終了する。
【0074】
本実施例ではステップS1810において、ジョブを強制終了しているが、他の実施例としてはジョブを強制終了することなく、単にステップジョブを発行したアプリケーションに対して、カウンタが上限値を超えたことを表すイベントを送付することにより通知するなど、アプリケーションが所定動作を引き起こすようにしても良い。所定動作として、通知を受けたアプリケーションは、それ以降の新規ジョブを発行しないか、あるいは、ユーザに対して、警告の報知、例えば、実行対象となったアプリケーションの使用権が不足している旨の表示、該アプリケーションについての新たにライセンスファイルのインストールを促すダイアログ画面を複合機100の操作部14に表示、またはこれらの内容をコンピュータに備えられたスピーカ(図示省略)の音声で通知するなどの処理を行うことができるし、同様にダイアログ画面を表示するための表示情報をホストコンピュータやネットワークサーバに送信して、ネットワークサーバ又はホストコンピュータの表示画面に表示するようにしてもよい。
【0075】
図19は、複合機100が有しているカウンタ上限値管理表の例を示す図である。この例では、コピーカウンタ、プリントカウンタ、スキャンカウンタの3種類のカウンタ上限値があり、そのそれぞれについてアプリケーション別カウンタがN個(カウンタ番号1からN)用意されていることを示している。
【0076】
カウンタ番号−アプリケーションIDテーブルの内容が図4のようになっている場合、図19(い)の上限値がアプリケーションID11番のアプリケーションに参照され、図19(ろ)の上限値がアプリケーションID51番のアプリケーションによって参照される。例えば、アプリケーションID11番のアプリケーションがコピージョブを実行した場合、図19(は)の上限値が参照される。同様にプリントジョブを実行した場合は図19(に)の上限値が、スキャンジョブを実行した場合は図7(ほ)の上限値が参照される。また、リモートホストからプリントジョブ・スキャンジョブ・コピージョブなどが投入された場合、もしジョブの発行元のアプリケーションIDが既にテーブルに登録されていればアプリケーションIDに対応する上限値が参照される。図7の説明で示したように、ジョブ発行元のアプリケーションIDがテーブルに登録されていない場合にはそのジョブを拒否されることになっているため、この場合の上限は登録する必要がない。例えば、画像から文字情報を認識し、抽出してASCIIコードなどコード化されたテキスト情報を含むデータを出力するOCRアプリケーションと、OCRアプリケーションと関連付けられたスキャナ機能の組を考えることが出来る。複合機の機能と、この機能に付加価値を付けることのできるアプリケーションの組合せに基づき、使用量の制限や把握、課金などができる。つまり、アプリケーション管理モジュール905は、OCRアプリケーションのプログラムと、複写機100のスキャナ機能との組合せにおいて複合機100を利用できないよう上限値が設定されている場合に、APIを介してコントローラを制御し、複合機100の機能を制限するのである。他に、アプリケーションプログラムと複合機100の機能の組合わせの例としては、高度な画像処理アプリケーションとプリンタ機能、画像処理アプリケーションとスキャナ機能、表計算や文書作成のためのオフィスアプリケーションとプリンタ、ファクシミリ、スキャナなどの組合せが考えられる。
【0077】
このように、画像形成装置が提供する各機能と、各機能を利用するアプリケーションの組合わせの数だけのカウント値および上限値を管理し、また、それぞれのカウント値をアプリケーション毎、各機能ごとに合計してカウントし同時に上限値を管理することが出来る。これにより、アプリケーションの所定動作ごとに、使用量をカウントおよび上限値を管理することができる。
【0078】
例えば、コピーアプリケーションがカウンタ番号6に対応付けられているとすると、このコピーアプリケーションの使用により、カウンタ番号6に対応するコピー用カウンタがカウントアップされ、カウンタ番号6に対応するコピー用上限値によって制限される。上限値の設定が、所定のライセンス管理機構により行われる場合、アプリケーションの使用可能回数をライセンスによって付与することが可能となり、アプリケーションの使用回数に応じた事前課金を行うことが可能となる。尚、画像形成装置が提供する機能は、コピー、プリント、スキャンだけでなく、ファックス送信・受信や、フィニッシング、製本、パンチ穴あけなどのいわゆる製本処理であってもよい。つまり、どのアプリケーションがどの機能を用いるかによって、つまり、所定のアプリケーションと、該アプリケーションによって操作される機能の組ごとに上限値を設けることができる。これにより、該アプリケーションによって所定の機能を制御することを制限したり、またアプリケーションがこれらの機能を制御することに基づいて発行されるジョブの出力を制限したり、強制的に消去したりすることが出来るのである。
【0079】
(他の実施形態)
本願図面及び明細書中に示した図3、図6、図8、図11、図15、図17、図18に示す処理が、外部からインストールされるプログラムによって、情報処理装置、画像形成装置によって遂行される。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を各情報処理装置、画像形成装置に供給される場合でも本発明は適用されるものである。
【0080】
以上のように、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0081】
この場合、記憶媒体から読み出されたプログラムコード自体が本実施形態の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本実施形態を構成することになる。プログラムコードを供給するための記憶媒体としては、たとえば、フロッピィーディスク、ハードディスク、光ディスク、光磁気ディスク、DVD、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM等を用いることができる。
【0082】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0083】
本願発明の各実施形態によれば、画像形成装置上に複数のカウンタを用意し、アプリケーションとカウンタとの対応付けをアプリケーションのインストール時に動的に行い、アプリケーションのインストール時に未使用カウンタを動的に割り当てることができる。そして、アンインストール時にカウンタを解放することにより、アプリケーションの追加・削除が行われるような状況下においてもアプリケーション毎のカウント情報を適切に管理することが可能となる。また、これにより、画像形成装置上アプリケーションを開発したアプリケーションベンダに対して、アプリケーションの使用量に応じた課金を適切に分配することも可能になる。
【0084】
また、画像形成装置が提供するそれぞれのプログラムが提供する各処理について、カウント情報を個別に管理できるようにし、各プログラムの使用量を容易に管理できるような画像形成装置を提供することができる。
【0085】
さらに、画像形成装置が提供するそれぞれのプログラムが削除されるのに応じて、カウンタを解放するようにカウンタを管理するので、不必要なカウンタの増加を防ぎ、現在画像形成装置において実際に使用されている各プログラムの使用量を容易に管理できるような画像形成装置を提供することができる。
【0086】
さらに、画像形成装置が提供するそれぞれのプログラムの属性情報が追加されるに応じて、カウンタを解放するようにカウンタを管理するので、プログラムを確実にカウンタに対応付け、テーブルとして管理するので、現在画像形成装置において現に使用されている各プログラムの使用量を確実に取得・表示して管理できるような画像形成装置を提供することができる。
【0087】
さらに、各プログラムが利用する画像形成装置の機能ごとに使用量を管理するので、アプリケーションと、アプリケーションが提供する処理と複写機が提供する機能のよって付加された価値に応じて課金、又は、使用量管理ができるようになる。
【0088】
インタプリンタによって解釈実行される、移植性・再利用性の高いカウンタ制御APIを提供したので、カウンタ制御プログラムの作成が容易になり、また、カウンタ制御プログラムの再利用・他の画像形成装置への移植が容易となる。
【0089】
【発明の効果】
画像形成装置が提供するそれぞれのプログラムが提供する機能に応じて、プログラムの使用量を管理する仕組みを提供するので、画像形成装置の機能やプログラム構成に基づいて、各プログラムの利用状況を適切に把握できる画像形成装置を提供することが出来る。
【図面の簡単な説明】
【図1】第一の実施形態に係るシステム全体を示す構成図である。
【図2】第一の実施形態における複写機のソフトウェアモジュール階層の好適な一例を示す図である。
【図3】第一の実施形態における図1に示す複合機にアプリケーションがインストールされる際の処理の流れを示すフローチャートを示す図である。
【図4】第一の実施形態におけるカウンタ番号−アプリケーションIDテーブルの例を示す図である。
【図5】ジョブ処理を指示するコマンド群の一例を示す図である。
【図6】第一の実施形態においてカウンタの更新が行われる際のカウンタ更新手段における処理の流れを示すフローチャートを示す図である。
【図7】第一の実施形態における複合機が有しているカウンタの例を示す図である。
【図8】第一の実施形態において、複写機に既にインストールされているアプリケーションをアンインストールする際の処理の流れを示すフローチャートを示す図である。
【図9】第二の実施形態における複写機のソフトウェアモジュール階層の構成を示した図である。
【図10】第二の実施形態におけるアプリケーションインストーラのインストール時の画面の例を示す図である。
【図11】第二の実施形態において、図10のOKボタンが押されてからの処理の流れを示す不フローチャートを示す図である。
【図12】第二の実施形態におけるカウンタ番号-アプリケーションIDテーブルの例を示す図である。
【図13】第二の実施形態におけるアプリケーションインストール時のカウント単位警告ダイアログ画面の一例を示す図である。
【図14】第二の実施形態におけるアプリケーション情報の構成例を示す図である。
【図15】第二の実施形態において、カウントアップが行われる際のカウンタ更新手段における処理の流れを示すフローチャートを示す図である。
【図16】第二の実施形態における複写機が有しているカウンタの例を示す図である。
【図17】第二の実施形態において、複写機にインストールされているアプリケーションをアンインストールする際の処理の流れを示すフローチャートを示す図である。
【図18】アプリケーションごとのカウンタ更新手段とアプリケーションカウンタ上限管理手段における処理を示す図である。
【図19】カウンタ上限値管理表を示す図である。
【符号の説明】
1 リーダ部
2 プリンタ部
3 画像入出力制御部
4 ファクシミリ部
5 ファイル部
6 記憶装置
7 ネットワークインタフェース部
8 フォーマッタ部
9 画像メモリ部
10 コア部
11 ホストコンピュータ
12 ネットワークサーバ
13 課金サーバ
14 操作部
15 フィニッシャ部
100 複合機
201 オペレーティングシステム
202 コントローラ
203 インタプリタ
204 アプリケーション管理
205 アプリケーションプログラム
206 アプリケーションインストーラ
501 ジョブ投入開始コマンド
502 ジョブ属性設定コマンド
503 ジョブデータ送信コマンド
504 ジョブ投入完了コマンド
511 モード
512 付加情報
901 オペレーティングシステム
902 コントローラ
903 インタプリタ
904 カウンタAPI
905 アプリケーション管理プログラム
906 アプリケーション
907 アプリケーションインストーラ
1001 URL入力部
1002 OKボタン
1301 中止ボタン
1302 続行ボタン
1303 アプリケーション名表示部
1304 カウントアップ情報表示部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image forming apparatus equipped with a program for controlling processing in the image forming apparatus, a method in the image forming apparatus, and a control program.
[0002]
[Prior art]
Conventionally, a hard counter having a mechanical structure is generally used as a mechanism for counting the total number of outputs of the image forming apparatus. Since the hard counter is difficult to reduce the count value once it is counted up, it is difficult to tamper with the count value. Since then, the functions of the image forming apparatus have become complicated, and there has been a strong demand for dividing the service billing system by various modes such as small size / large size, color / monochrome, copy / print / FAX, The hard counter was simply increased to meet the demand. After that, a soft counter was proposed that can realize a large number of counters at low cost and space. The soft counter is a soft counter that stores a count value in a semiconductor memory.
[0003]
Previous software counters were apt to lose information in the memory due to their structure, but the reliability was low. However, internal information in a single storage means was prepared by preparing multiple storage means and storing the same values for each other. If the information is lost, the reliability is improved by a method of compensating information by using information in other storage means. Accordingly, a software counter is prepared for each function to be counted, and accurate count information can be held for each function. Hereinafter, the soft counter is simply referred to as a counter. In the present invention, the counter is, for example, the number of executions of a program, the number of operations of the image forming apparatus, the use of an application program in a printer, a facsimile, a scanner, a copy, or a complex machine that is a suitable example of the image forming apparatus. It is used as a general term for means that can measure and store various usages such as time.
[0004]
[Problems to be solved by the invention]
Printing apparatuses are being developed that provide a counter for each of various programs installed in an image forming apparatus and manage the number of application operations. In addition, development is progressing so that a user can receive various services by executing various programs installed in the printing apparatus. For example, as described in Japanese Patent Application Laid-Open No. 2001-92779, as a result of improvement of software technology used in the image forming apparatus, it is easy to add / change / delete various software that realizes processing provided by the image forming apparatus It is becoming. In addition, a printing apparatus that is provided with a counter for each application and includes a counter that counts the number of times the application is executed is being considered.
[0005]
However, since it is possible to add, change, and delete various programs and data such as installed applications and control programs, a counter is fixedly allocated in advance for each process provided by the image forming apparatus as described above. There is a problem.
[0006]
For example, the program for providing processing in the image forming apparatus is increasingly changed, but the conventional static counter management cannot properly manage the functions provided by the image forming apparatus. There's a problem. Furthermore, printing apparatuses that provide multiple functions have appeared. However, how to use these functions for each function is a problem.
[0007]
SUMMARY An advantage of some aspects of the invention is that it provides an image forming apparatus that can flexibly cope with changes in the configuration of functions provided by various programs installed in the image forming apparatus.
[0008]
In particular, in the embodiment of the present application, it is possible to dynamically manage a counter for managing the usage amount of a program in accordance with a change in processing provided by a program in the image forming apparatus, and the functions and program configuration of the image forming apparatus It is still another object to provide an image forming apparatus that can appropriately grasp the usage status of each program even if the change occurs.
[0009]
In the embodiment of the present application, for each process provided by each program provided by the image forming apparatus, for example, an upper limit value of the usage amount of the program can be set so that the usage amount of each program can be easily managed. Another object of the present invention is to provide a simple image forming apparatus.
[0010]
In the embodiment of the present application, it is further provided to provide a mechanism in which the right to use the application can be given to the user in the form of license information in advance for each type of application and / or each device to be used. The purpose.
[0011]
[Means for Solving the Problems]
In order to achieve at least one of the above objects, the present invention provides the following means.
[0012]
In the embodiment of the present application, for example, in an image forming apparatus equipped with a program for controlling processing provided by the image forming apparatus, a usage amount managing unit that manages a usage amount for each program using a counter, and the program Recognizing means for recognizing a counter corresponding to the identification information capable of managing the usage amount of the program, counter managing means for managing the counter in association with the counter recognized by the recognizing means, A setting unit capable of setting an upper limit value of the usage amount for each program in the usage amount management unit, and a process in the image forming apparatus based on the upper limit value of the usage amount set by the setting unit for each type of the program And an image forming apparatus including a control unit for controlling the image forming apparatus.
[0013]
When a job that uses a predetermined function is input from an application in the image forming apparatus, the process is performed if the upper limit value set in the image forming apparatus is exceeded, and the process is limited if not exceeded.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described based on examples with reference to the drawings.
[0015]
(First embodiment)
FIG. 1 is a configuration diagram showing the entire system according to the first embodiment. In FIG. 1, a multifunction peripheral 100, which is a preferred example of an image forming apparatus, is a multifunction peripheral with an integrated scanner, printer, copy, and fax function, and a network server that is a preferred example of an external information processing apparatus via a network. 12 and a host computer 11 which is a preferred example of the information processing apparatus. Furthermore, the multifunction device 100 is connected to other communication devices via a public line network. The multifunction peripheral 100 is not limited to the illustrated example, and may be a digital copying machine, a printer with a copy function, or the like, and the number of peripheral devices connected to the network is not limited to the illustrated example. The image forming apparatus is not limited to the multifunction peripheral 100, and includes a single-function apparatus capable of forming an image, such as a printing apparatus such as a facsimile or a printer, or a scanner apparatus, and also includes a controller built in each of the apparatuses. . The counter may be attached to a network board of various printing apparatuses, for example, the network interface unit 7 or the like.
[0016]
The multi-function device 100 mainly includes a reader unit 1, a printer unit 2, and an image input / output control unit 3. The reader unit 1 is connected to the printer unit 2 and the image input / output control unit 3, reads an image of a document, and outputs the read image data to the printer unit 2 or the image input / output control unit 3. The printer unit 2 prints the image data output from the reader unit 1 and the image input / output control unit 3 on a recording sheet. The image input / output control unit 3 is connected to an external network or a public network, inputs / outputs image data, accumulates usage when the user uses the MFP 100, and further connects to the network. Analyzing and controlling a job (printing command or the like) from the host computer 11 that has been executed.
[0017]
The image input / output control unit 3 includes a facsimile unit 4, a file unit 5, a network interface unit 7 that is an example of an acquisition unit, a PDL formatter unit 8, and a core unit 10. The facsimile unit 4 is connected to the core unit 10 and the public line network, decompresses the compressed image data received from the public line network, and transmits the decompressed image data to the core unit 10. Also, the image data transmitted from the core unit 10 is compressed, and the compressed image data is transmitted to the public line network via the public line. The file unit 5 is connected to the core unit 10 and the storage device 6, compresses the image data transmitted from the core unit 10, and stores the compressed image data in the storage device 6 together with a keyword for searching the compressed image data. In the present embodiment, a hard disk drive is used for the storage device 6 which is a preferred example of the storage means, but it is of course not limited to this. Further, the file unit 5 searches the compressed image data stored in the storage device 6 based on the keyword transmitted from the core unit 10, reads out the compressed image data, decompresses it, and transmits it to the core unit 10. To do.
[0018]
The network interface unit 7 is an interface between the host computer 11 and the network server 12 and the core unit 10 connected via an external network. Reception of job control data from the host computer 11 and transmission of image data and the like to the host computer 11 are performed via the network interface unit 7. The job control data includes a job control command that is transmitted together with the PDL data. For example, the job control data is developed after the PDL data is expanded and printed as image data, and then stapled and discharged. A database called MIB (Management Information Base) is constructed in the network interface unit 7 and communicates with the host computer 11 on the network via SNMP (Simple Network Management Protocol), thereby enabling management of the printer unit 2. ing. Further, since the network interface unit 7 receives an installation request / uninstallation request / start request / stop request for an application that implements various functions on the image forming apparatus, other devices connected to the network are included in the MFP 100. It is possible to control the application.
[0019]
The formatter unit 8 is connected to the core unit 10 and develops PDL data transmitted from the host computer 11 into image data that can be printed by the printer unit 2.
[0020]
The image memory unit 9 is for temporarily storing information from the reader unit 1 and information sent from the host computer 11 or the like via the network interface unit.
[0021]
The core unit 10 which is a preferred example of a unit that also serves as a storage unit and an analysis unit includes a reader unit 1, a facsimile unit 4, a file unit 5, a network interface unit 7, and a PDL (Page Description Language) formatter. Job control data is analyzed along with control of data flowing between the sections 8, and information such as user usage status, number of copies, number of prints, number of scans, etc. is accumulated.
[0022]
The host computer 11 (information processing apparatus) is a personal computer or a workstation (PC / WS), and the network server 12 is a server that controls the entire network. The accounting server 13, which is an example of an external information processing apparatus, includes a server for managing accounting information of the multifunction peripheral 100. The accounting server device 13 can display and manage the usage amount counted by the counter of the copying machine 100 on the display. The operation unit 14 includes an operation panel, and can select and input an application to be executed using, for example, a touch panel and a copier function to be used for the application. An application execution command can be input from the operation unit 13 of the copying machine 100, but an execution command can also be input from the network server 12, which is an example of an external information processing apparatus. The usage amount of the executed application is counted by a counter described in detail after the copying machine 100.
[0023]
FIG. 2 is a diagram showing a preferred example of the software module hierarchy of the image forming apparatus according to the first embodiment. The software module has an operating system (OS) 201. A controller module 202 for controlling various devices is provided on the OS 201, and an interpreter module 203 for sequentially executing programs is provided thereon. On the interpreter module 203, there is an application management module 204 for managing a plurality of dynamically detachable application groups. An application 205 that realizes various functions operates under the management of the application management module 204. An application module for providing a copier service can be operated via the interpreter module 203. For example, in response to the application module acquired from the external server device being incorporated in the image forming apparatus, the application management module 204 adds the application 205 as a management target or deletes the application program from the image forming apparatus. In response, the application management module 204 can remove the application 205 from the management target.
[0024]
An application installer 206 for installing and uninstalling the application 205 can also be operated on the application management module 204. The application is a suitable example of a program, but provides various processes to the user in cooperation with the image forming apparatus. For example, an application that performs image processing and compression, an application program that performs department management such as printing restrictions, a plug-in module that is incorporated as part of the application, a remote management program for copiers, and a unit such as a copier finisher Controlled bookbinding application, specific document data conversion / analysis program, document creation program such as so-called word processing software, schedule management program, spreadsheet program, database management program, and print service via the Internet A server program for realizing the above can be considered.
[0025]
These softwares are executed on a CPU (not shown) in the core unit 10. In the above embodiment, an interpreter and OS are incorporated in the copying machine. Of course, as long as the application 205 operates on the image forming apparatus and the application management module 204 operates appropriately, the module configuration is not limited to the above.
[0026]
FIG. 3 is a flowchart illustrating a process flow when an application is installed in the multifunction peripheral 100. Next, processing in the application installer 206 when a new application is installed from the host computer 11 to the multifunction peripheral 100 will be described with reference to FIG. When an instruction to install an application is input on the operation screen of the host computer 11 by a pointing device (not shown) which is a preferred example of the instruction input means, the processing in FIG. 3 is started. First, in step S301, application information is received from the host computer 11. The application information includes, for example, a vendor name, an application ID, an application name, a used memory, a version number, and a last update date, which is a preferred example of program attribute information. This application information is used to manage the usage amount of an application which is a preferred example of a program.
[0027]
Upon receiving application information including an application ID, which is a preferred example of the above-described program attribute information, in step S301, the application installer 206 performs the process of step S302. In S302, the application installer 206 determines whether or not the same application has already been installed. The application installer 206 determines whether or not the same application is already installed by acquiring the application information received in step S301 and comparing it with the application information of the already installed application. If the application installer 206 determines in step S302 that the same application exists, the process ends. If it is determined that the same application does not exist, the process proceeds to step S303. In step S303, the application installer 206 (determination means) substitutes 0 for the variable n, and proceeds to step S304. In step S304, the application installer 206 determines whether or not the nth application counter is being used. If not, the process proceeds to step S305. In step S305, the counter number-application ID table is updated to associate the counter number n with the application ID. In the present application, the counter means a counter that counts the number of executions, which is an example of the usage amount of the application. The counter also includes measurement storage means that can count and hold a usage time such as the length of time for which the application is started.
[0028]
FIG. 4 is a diagram illustrating an example of a counter number-application ID table. The counter with the counter number 1 corresponds to the application with the application ID 11, the counter with the counter number 3 corresponds to the application with the application ID 51, and the other counters are unused. If the table is updated in step S305, the process proceeds to step S306. In step S306, the application program is downloaded from the host, stored in the storage device 6 in the multifunction peripheral 100, the application can be used, and the process ends. On the other hand, if it is determined in step S304 that the counter n is in use, the process proceeds to step S307. In step S307, the value of the variable n is incremented by 1, and the process proceeds to step S308. In step S <b> 308, it is determined whether the value of the variable n is smaller than the total number N of application-specific counters prepared in the multifunction peripheral 100. If the value of the variable n is smaller than the total number N of application-specific counters, the process returns to step S304, and if not, the process ends.
[0029]
The application installed in this manner can execute a command group for instructing job processing, thereby controlling the reader unit, the printer unit, and the like, thereby realizing various functions.
[0030]
FIG. 5 is an example of a command group for instructing job processing. A command group for instructing job processing includes a job submission start command 501, a job attribute setting command 502, a job data transmission command 503, and a job submission completion command 504. The job submission start command 501 is a command for notifying the controller of the start of job submission, and includes a mode 511 and additional information 512 corresponding to the mode as parameters. Upon receipt of the job submission start command 501, the controller starts preparation for performing job processing. A job attribute setting command 502 is a command for setting an attribute representing a job function or status. The attributes include information such as application ID, job name, job type, data format, paper selection, and the like. With this command, a plurality of attributes can be set continuously.
[0031]
The job data transmission command 503 is a command for transmitting data to be subjected to job processing such as image data. However, depending on the contents of the job, the data to be processed may not be required. In this case, this command may be omitted. The job submission completion command 504 is a command for indicating that all command groups instructing job processing have been sent. A series of commands from the job submission start command 501 to the job submission completion command 504 are interpreted as one job processing instruction. When a job processing instruction is issued, the controller controls the reader unit 1, printer unit 2, file unit 5, etc., performs appropriate processing according to the given attributes, and issues an appropriate counter update request according to the job type. put out. Note that since the job start command also includes information on the application ID of the application that executed it, the controller and counter updating means can determine from which application the current job was executed. ing.
[0032]
FIG. 6 is a flowchart illustrating a flow of processing in the counter updating unit when the counter is updated in the first embodiment. The flow of processing in the counter management means when the counter is updated will be described using the flowchart of FIG. First, in step S601, a counter update request is received, and the process proceeds to step S602. In step S602, the application ID of the update request source is acquired, and the process proceeds to step S603. In step S603, 0 is substituted into the variable n, and the process proceeds to step S604. In step S604, it is checked whether the n-th counter is assigned to the application with the application ID acquired in step S602 by referring to the table. If the n-th counter is assigned to the application with the application ID acquired in step S602, the process proceeds to step S605. In step S605, the n-th counter for the current job type is updated, and the process proceeds to step S606. In step S606, the counter for counting the total number is updated, and the process ends. On the other hand, if it is determined in step S604 that the n-th counter is not assigned to the application with the application ID acquired in step S602, the process proceeds to step S607. In step S607, it is determined whether the variable n is smaller than the total number N of application counters. If n <N, the value of n is incremented by 1 in step S608 and the process returns to step S604. If n <N is not satisfied in step S607, the process proceeds to step S606, where only the total count counter is updated and the process ends.
[0033]
FIG. 7 is a diagram illustrating an example of a counter that the multi-function device 100 has. In this example, there are three types of counters: a copy counter, a print counter, and a scan counter. For each of them, there is one total count counter indicating the total count number and N application-specific counters (counter numbers 1 to N). It shows that. When a copy job is processed, the copy counter is incremented every time one copy is made. Similarly, in the scan job, the scan counter is incremented every time one sheet is scanned, and in the print job, the print counter is incremented every time one sheet is printed.
[0034]
When the contents of the counter number-application ID table are as shown in FIG. 4, the counter shown in FIG. 7 (i) is used for the application ID No. 11 and the counter shown in FIG. used. For example, when the application with application ID 11 executes a copy job, the counter in FIG. 7 and the total count counter are counted up. Similarly, when a print job is executed, the counter and the general counter in FIG. 7 () are counted up, and when a scan job is executed, the counter and the general counter in FIG. Also, when a print job, scan job, copy job, etc. is submitted from a remote host, if the application ID of the job issuer has already been registered in the table, the counter corresponding to the application ID and the counter for counting the total number are counted. Is up. If the application ID of the job issuer is not registered in the table, the job is rejected.
[0035]
In this way, the count values corresponding to the number of combinations of the functions provided by the image forming apparatus and the applications that use the functions are managed, and the count values are summed for each application and for each function. You can count. Thus, as well as charging for each application, if a process that uses a specific function of the image forming apparatus in an application is called a predetermined operation, the usage amount can be counted for each predetermined operation. For example, if a specific image processing application is associated with the counter number 6, when copying is performed using this image processing application, for example, by inserting a digital watermark, for example, The copy counter corresponding to the counter number 6 is counted up. Thereby, it is possible to manage the usage amount of the predetermined operation of copying using the image processing application. Of course, the application is not limited to an image processing application, but may be an application for processing an XML document or a predetermined document file. Furthermore, the function provided by the image forming apparatus may be not only copying, printing, and scanning, but also so-called bookbinding processing such as finishing, bookbinding, and punch punching.
[0036]
Next, a process for uninstalling an application already installed in the image forming apparatus and assigned to a counter having an application ID will be described. FIG. 8 is a flowchart showing a flow of processing when an application already installed in the copying machine 100 is uninstalled.
[0037]
First, in step S801, it is checked whether the specified application is operating. If it is in operation, the uninstallation process is terminated without doing anything. If it is not in operation, it can be safely uninstalled, and the process advances to step S802. In step S802, counter information and application information associated with the application to be uninstalled are transmitted to the accounting server 13, and the process proceeds to step S803. In step S803, it is checked whether or not the transmitted information has been correctly received by the billing server 13. If the information has been correctly received, the process proceeds to step S804. If it has not been received correctly, the process is terminated without actually uninstalling. In step S804, the counter number-application ID table is updated, and the counter to which the application ID of the application to be uninstalled is assigned is unused. In step S805, the application is deleted from the storage device 6 and uninstalled, and the process ends.
[0038]
As described above, according to the present embodiment, by dynamically assigning a counter that is not used at the time of application installation, and counting up, the counter corresponding to the application that caused the processing is counted up. It is possible to manage the copy / print / scan count for each application.
[0039]
In addition, when the application is uninstalled, the application information and the counter information used are stored in the billing server, so that the application can be installed and uninstalled freely without losing the count information. ing.
[0040]
In this embodiment, the process is terminated when the same application is already installed at the time of installation. However, if the version information is determined and a new version is installed, the process may be automatically installed. Then, the user may be allowed to select whether to continue the installation process.
[0041]
In the present embodiment, the application installer 206 is a kind of application that runs on the application management module 204, but may be a module incorporated in the controller 202.
[0042]
In this embodiment, three types of counters are prepared: a copy counter, a print counter, and a scan counter. However, the present invention is not limited to this, and any number of counters may be used. The counter may be further divided according to size or the like.
[0043]
In the present embodiment, one application is assigned to one counter set. However, a group ID or the like may be introduced so that a plurality of applications can share one counter set.
[0044]
Further, in the present embodiment, all counters other than the total count counter are dynamically allocated, but a counter may be fixedly allocated for an application preinstalled in the image forming apparatus.
[0045]
In this embodiment, an external job having an application ID not registered in the table is rejected. However, the job may be accepted by counting up only the total count counter. good.
[0046]
(Second embodiment)
Next, a second embodiment of the image forming apparatus according to the present invention will be described.
[0047]
FIG. 1 also shows the configuration of the image forming apparatus in the second embodiment. Since this figure has been described in detail in the first embodiment, a description thereof will be omitted here. However, in the second embodiment, the host computer 11 is a file server in which applications are stored. Hereinafter, parts different from the first embodiment will be described.
[0048]
FIG. 9 is a diagram showing the configuration of the software module hierarchy of the copying machine 100 according to the second embodiment. The software module has an operating system (OS) 901. A controller module 902 for controlling various devices is provided on the OS 901, and an interpreter module 903 for sequentially executing programs on the OS 901 and a general-purpose counter control application program for controlling a general-purpose counter (described later). An interface (hereinafter referred to as general-purpose counter control API) 904 is included. On the interpreter module 903 and the general-purpose counter control API 904, an application management module 905 for managing a dynamically attachable / detachable application group is provided. An application 906 that implements various functions operates under the management of the application management module 905 (usage management means). An application installer 907 that is an application for installing / uninstalling an application also operates on the application management module 905. Each application 906 can use the general-purpose counter control API 904 via the application management module 905. These software are executed on a CPU (not shown) in the core unit 10.
[0049]
Next, the processing of the application installer 907 when the application stored in the host computer 11 is installed in the multifunction peripheral 100 will be described with reference to FIGS. 10 and 11. It is assumed that the host computer is equipped with a Web server and has a predetermined URL. For example, in this embodiment,
An application is placed at the URL “http://www.kaisha.com/appfile”. When this URL is specified on the operation unit 14 of the copier, the URL is specified from the storage area corresponding to the URL in the host computer. Download the downloaded application and start installation automatically. Of course, instead of using the operation unit 14, a URL input from the operation screen of the external computer 12 may be transmitted to the network, received by the image forming apparatus via the network interface, and input to the core unit 10. .
[0050]
FIG. 10 is a diagram illustrating an example of a screen when the application installer is installed in the second embodiment. This screen is displayed on the operation unit 14 of the multifunction peripheral 100 when installation is designated on the main screen (not shown) of the application installer 907. Specifically, a URL indicating the host computer 11 in which application information to be installed is stored in the text field 1001 is input, and in response to pressing the OK button 1002, the application installer executes an application from the host computer 11 Download and start the installation process. Pressing the cancel button on the screen of FIG. 10 returns to the application installer main screen (not shown).
[0051]
FIG. 11 is a flowchart showing the flow of processing after the OK button 1002 is pressed. FIG. 12 is a diagram showing an example of a counter number-application ID table in the second embodiment. FIG. 13 is a diagram illustrating an example of a count unit warning dialog screen when installing an application according to the second embodiment. Hereinafter, the flowchart shown in FIG. 11 will be described with reference to FIGS. 11 to 13.
[0052]
When the OK button 1002 is pressed, first, the application installer 907 acquires information on the application at the location specified in the text field 1001 in step S1101. An example of elements constituting the application information is shown in FIG.
[0053]
FIG. 14 is a diagram showing a configuration example of application information in the second embodiment. Here, as an example of application information, a vendor name, an application ID and application name that is an application identifier, a version, a last update date, a counter number used, a counter type, a count unit, a memory used, and an archive file indicating a program source URL is described.
[0054]
Returning to FIG. In step S1101, if the application installer 907 can acquire application information which is a preferable example of the attribute information of the program, the process proceeds to step S1102. If the application information cannot be acquired, the process ends. In step S1102, the application installer 907, which is a preferred example of the recognition means of the present invention, determines whether an unused counter is used in the type of counter specified in the application information in response to obtaining the application information. Perform recognition processing. If an unused counter number, that is, a newly added program, for example, input from the external host computer 11 or the like via the network interface unit (input unit) of the copier 100, the usage amount can be managed. If no possible counter is recognized, the process ends.
[0055]
On the other hand, if it is determined in S1102 that unused counters can be recognized for all types described in the application information, the process advances to step S1103. In step S1103, a confirmation dialog (FIG. 13) about the count-up unit is displayed on the operation unit based on the application information. For example, an application name and a usage fee that is counted up when the application name is activated once are displayed. In step S1104, it is determined which button is pressed on the dialog (FIG. 13). If it is determined that the cancel button 1301 has been pressed, the process ends. If it is determined that the continue button 1302 has been pressed, the process proceeds to step S1105. In step S1105, an attempt is made to download the main body of the program based on the archive file URL information described in the application information. If the download fails in step S1105, an error message is displayed as necessary, and the process is terminated. On the other hand, if the download is successful, the process proceeds to step S1106. In step S1106, the application installer (counter management unit) stores the program downloaded in step S1105 in the storage device 6, makes the program available, and proceeds to step S1107. In step S1107, the application installer additionally stores and updates the counter number recognized in S1102 and the application ID pair included in the application information in the counter number-application ID table, and the application management module 204 updates the application as necessary. The usage amount of the counter that recognized the installer is initialized, and the process ends. If the unused counter cannot be recognized, that is, if the counter is insufficient, the application installer may newly create a counter for initializing the application and use it.
[0056]
In FIG. 13, the application name to be added is displayed on the application display unit, and count-up information (for example, billing information) when this application uses the scan function and copy function, which are functions provided by the copying machine 100, is displayed. Is displayed on the count-up information display unit 1304, the user can install the application after confirming the count-up information according to whether to use the function when executing the application.
[0057]
FIG. 12 is an example of a counter number-application ID table in the second embodiment, in which counter numbers assigned to the respective counters are associated with application IDs (application IDs) which are a preferred example of application identifiers. The table shows that a monochrome table, a color printer function, a monochrome copy function, a color copy function, and a scanner function are prepared. Note that the functions provided by the image forming apparatus are not limited to these functions. For example, the functions provided by the image forming apparatus include functions related to finishing such as a stapling function and a bookbinding function. Anything can be applied as long as it can recognize (for example, the number of times of use and time of use). Here, 0xFFFFFFFF is a code indicating that the counter is not used. This example shows a situation in which only one application having the application information shown in FIG. 14 is installed in the image forming apparatus. The scan counter with counter number 1 and the general-purpose counter with counter number 1 have an application ID of 11. It is assigned to a certain application and other counters are unused. By having such a table, a specific application uses a function of the image forming apparatus to cause a predetermined operation (for example, scan function operation, copy function operation, print function operation, finishing function operation, etc.). In this case, the usage amount for each application can be managed by counting up the counter having the counter number determined by the table.
[0058]
As described above, the copying machine 100 includes the application management module 204 that manages the usage amount for each program using a counter. Then, the application installer 206 manages the usage amount of the application corresponding to the application ID which is an example of the identification information of the added program in response to the information indicating the attribute of the application being input to the copying machine 100. Recognize counters that can.
[0059]
Then, the application management module manages the counter by associating the added program with the counter recognized by the application installer 206.
[0060]
Here, the information for identifying the program includes all information that can identify the program. For example, in the case of an application program, an application ID and an application name can be considered, but the module of the application program provided in the form of a file itself includes a module name and a file name in which the application is stored. Of course, these file names and module names are naturally included in the category of program identification information. Accordingly, the program module itself integrated with the application information is input to the image forming apparatus via the network interface and stored in the storage device in the image forming apparatus. It is also possible to determine whether or not to associate them.
[0061]
As in the first embodiment, the installed application can control the reader unit 1, the printer unit 2, the finisher unit 15 and the like by executing a command group (FIG. 5) instructing job processing. The functions provided by various copiers can be realized. Details have been described in the first embodiment, and are omitted here.
[0062]
FIG. 15 is a flowchart illustrating a process flow in the counter updating unit when the count-up is performed in the application management module in the second embodiment. Hereinafter, processing when a count-up request is made to each counter will be described using the flowchart of FIG. First, in step S1501, the application management module receives a count-up request from the core unit, for example, and proceeds to step S1502. In step S1502, the update request source application ID is acquired, and the process advances to step S1503. In step S1503, 0 is substituted for variable n, and the flow advances to step S1504. In step S1504, the table is referenced to check whether the n-th counter is assigned to the application with the application ID acquired in step S1502. If the n-th counter is assigned to the application with the application ID acquired in step S1502, the process proceeds to step S1505.
[0063]
In step S1505, the application management unit acquires a count-up unit for the current job type from the application information. In step S1506, the n-th counter is counted up in the unit acquired in step S1505, and the process advances to step S1509. In step S1509, the application management unit counts up the counter for counting the total number in units specified by the application information, and ends the process. On the other hand, if the application management unit determines in step S1504 that the n-th counter is not assigned to the application with the application ID acquired in step S1502, the process proceeds to step S1507. In step S1507, it is determined whether the variable n is smaller than the total number N of application counters. If n <N, the value of n is incremented by 1 in step S1508, and the process returns to step S1504. If n <N is not satisfied in step S1507, the process proceeds to step S1509, where only the total count counter is counted up in the unit specified by the application information, and the process ends.
[0064]
FIG. 16 is a diagram illustrating an example of a counter included in the copying machine according to the second embodiment. In this example, there are six types of counters: a copy counter (monochrome), a scan counter, a print counter (monochrome), a color copy counter, a color print counter, and a general-purpose counter. There are one counter for each application and N (counter numbers 1 to N). When a monochrome copy job is processed, the copy counter is incremented every time one copy is made. At this time, the increment of the counter is increased by the amount defined in the application information. Similarly, the scan counter, print counter, color copy counter, and color print counter are automatically incremented by the controller for each predetermined operation when a scan job, monochrome print job, color copy job, and color print job are executed. Is done. The general-purpose counter can be counted up at a timing convenient for the application by giving an instruction through the general-purpose counter control API.
[0065]
For example, in the situation shown in FIG. 14, when a scan job is executed by an application with an application ID of 11, the counter shown in FIG. In addition, if the application with the application ID of 11 calls the general-purpose counter API each time a job is issued, the counter in FIG. 16 (ro) is incremented by 1 each time the application with the application ID of 11 issues a job. Become.
[0066]
FIG. 17 is a flowchart illustrating a process flow when an application installed in the copying machine is uninstalled in the second embodiment. Hereinafter, a process for uninstalling an application installed in the image forming apparatus will be described with reference to the flowchart of FIG. The application installer 203 first checks whether or not the application designated in step S1701 is operating. If it is in operation, the uninstallation process is terminated without doing anything. If it is not in operation, it can be safely uninstalled, and the process advances to step S1702. In step S1702, the application installer 203 (recognition means) recognizes counter information and application information associated with the application to be uninstalled by searching the counter number-application ID table, and stores the nonvolatile information provided in the image forming apparatus. Save in the memory and go to step S1703.
[0067]
In step S1703, it is checked whether or not the data is correctly stored in the nonvolatile memory. If the data is stored correctly, the process proceeds to step S1704. If the data cannot be saved correctly, the process is terminated without actually uninstalling. In step S1704, the application management module 204 (counter management means) updates the counter number-application ID table, releases the counter to which the application ID of the application to be uninstalled is allocated, and puts it into an unused state. In step S1705, the application is deleted from the storage device 6 and uninstalled, and the process ends.
[0068]
As described above, according to the present embodiment, by displaying a count-up information warning dialog when installing an application, the user can install the application after being convinced of the count-up unit per predetermined operation. become. In addition, by making the general-purpose counter available from an application, it is possible to manage the number of uses and the amount of processing for each application.
[0069]
In addition, when the application is uninstalled, the application information and the counter information that was used can be saved in the memory of the device, so that the installation and uninstallation of the application can be freely repeated without compromising the count information. It becomes.
[0070]
An embodiment in which the predetermined operation of the application is limited by the upper limit value of the counter set for each application and for each function will be described with reference to FIGS.
[0071]
FIG. 18 is a diagram showing a flowchart showing the flow of processing in the counter update means and the counter upper limit management means when the counter is updated in the first embodiment. 18 is obtained by adding an upper limit management means to the counter updating means shown in FIG. The flow of processing in the counter management means and the counter upper limit value management means when the counter is updated will be described using the flowchart of FIG.
[0072]
First, in step S1801, a counter update request is received from the core unit 10 of FIG. 1, and the process proceeds to step S1802. In step S1802, the update request source application ID is acquired, and the process advances to step S1803. In step S1803, 0 is substituted for variable n, and the flow advances to step S1804. In step S1804, it is checked whether the n-th counter is assigned to the application having the application ID acquired in step S1802 with reference to the table. If the n-th counter is assigned to the application with the application ID acquired in step S1802, the process proceeds to step S1805. In step S1805, the n-th counter for the current job type is updated, and the process advances to step S1809. On the other hand, if it is determined in step S1804 that the n-th counter is not assigned to the application with the application ID acquired in step S1802, the process proceeds to step S1807. In step S1807, it is determined whether the variable n is smaller than the total number N of application counters. If n <N, the value of n is incremented by 1 in step S1808, and the process returns to step S1804. If n <N is not satisfied in step S1807, the process proceeds to step S1806, and only the total count counter is updated in step S1806, and the process is terminated.
[0073]
In step S1809, the nth upper limit value for the current job type in the counter upper limit value table shown in FIG. 19 is referred to and compared with the counter value updated in step S1805. As a result of the comparison, if the counter value does not exceed the upper limit value, the total counter is updated in step S1806, and the process is terminated. If the counter value exceeds the upper limit, in step S1810, the core unit 10 in FIG. 1 is instructed to forcibly terminate the job, and the process proceeds to step S1810. In step S1811, the application (205 in FIG. 2) that issued the job corresponding to the application ID acquired in step S1802 is notified by sending an event indicating that the job has been forcibly terminated, and in step S1805. The total counter is updated and the process is terminated.
[0074]
In this embodiment, the job is forcibly terminated in step S1810. However, in another embodiment, the counter exceeds the upper limit for the application that simply issued the step job without forcibly terminating the job. The application may cause a predetermined operation, such as notification by sending an event representing As a predetermined operation, the notified application does not issue a new job after that, or notifies the user that the right to use the application to be executed is insufficient. Display, a dialog screen for prompting the installation of a new license file for the application is displayed on the operation unit 14 of the multi-function device 100, or the contents thereof are notified by the sound of a speaker (not shown) provided in the computer. Similarly, display information for displaying the dialog screen may be transmitted to the host computer or network server and displayed on the display screen of the network server or host computer.
[0075]
FIG. 19 is a diagram illustrating an example of a counter upper limit management table that the multi-function device 100 has. In this example, there are three types of counter upper limit values of a copy counter, a print counter, and a scan counter, and N counters for each application (counter numbers 1 to N) are prepared for each of them.
[0076]
When the contents of the counter number-application ID table are as shown in FIG. 4, the upper limit value in FIG. 19 (i) is referred to by the application ID No. 11 and the upper limit value in FIG. Referenced by application. For example, when the application with application ID 11 executes a copy job, the upper limit value in FIG. Similarly, when a print job is executed, the upper limit value shown in FIG. 19 () is referred to. When a scan job is executed, the upper limit value shown in FIG. Also, when a print job, scan job, copy job, or the like is submitted from a remote host, if the application ID of the job issuer has already been registered in the table, the upper limit value corresponding to the application ID is referred to. As shown in the explanation of FIG. 7, when the application ID of the job issuer is not registered in the table, the job is rejected. Therefore, it is not necessary to register the upper limit in this case. For example, a set of an OCR application that recognizes character information from an image, extracts and outputs data including encoded text information such as an ASCII code, and a scanner function associated with the OCR application can be considered. Based on the combination of the functions of the MFP and the applications that can add value to this function, the usage amount can be limited, grasped, billed, etc. That is, the application management module 905 controls the controller via the API when the upper limit value is set so that the multifunction peripheral 100 cannot be used in the combination of the OCR application program and the scanner function of the copier 100. The function of the multifunction device 100 is limited. Other examples of combinations of functions of the application program and the MFP 100 include advanced image processing applications and printer functions, image processing applications and scanner functions, office applications and printers for spreadsheets and document creation, facsimiles, Combinations such as scanners are possible.
[0077]
In this way, the count values and upper limit values for the number of combinations of the functions provided by the image forming apparatus and the applications that use the functions are managed, and the count values are managed for each application and for each function. The total can be counted and the upper limit can be managed at the same time. Thus, the usage amount can be counted and the upper limit value can be managed for each predetermined operation of the application.
[0078]
For example, if the copy application is associated with the counter number 6, the copy counter corresponding to the counter number 6 is counted up by use of this copy application, and is limited by the upper limit value for copying corresponding to the counter number 6. Is done. When the upper limit value is set by a predetermined license management mechanism, the number of times that the application can be used can be given by the license, and it is possible to make a pre-charge according to the number of times the application is used. The function provided by the image forming apparatus may be not only copying, printing, and scanning, but also so-called bookbinding processing such as fax transmission / reception, finishing, bookbinding, punch punching, and the like. That is, an upper limit value can be set for each application using which function, that is, for each set of a predetermined application and a function operated by the application. This restricts the application from controlling certain functions, restricts the output of jobs issued based on the application controlling these functions, or forcibly erases Is possible.
[0079]
(Other embodiments)
3, 6, 8, 11, 15, 17, and 18 shown in the drawings of the present application and the specification are executed by an information processing apparatus and an image forming apparatus by an externally installed program. Carried out. In this case, even when a group of information including a program is supplied to each information processing apparatus and image forming apparatus from a storage medium such as a CD-ROM, flash memory, or FD, or from an external storage medium via a network. The present invention is applicable.
[0080]
As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the program code.
[0081]
In this case, the program code itself read from the storage medium realizes the new function of the present embodiment, and the storage medium storing the program code constitutes the present embodiment. As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a DVD, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, an EEPROM, or the like can be used.
[0082]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included. Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0083]
According to each embodiment of the present invention, a plurality of counters are prepared on the image forming apparatus, the association between the application and the counter is dynamically performed when the application is installed, and the unused counter is dynamically set when the application is installed. Can be assigned. Further, by releasing the counter at the time of uninstallation, it becomes possible to appropriately manage the count information for each application even in a situation where an application is added / deleted. This also makes it possible to appropriately distribute the billing corresponding to the usage amount of the application to the application vendor who has developed the application on the image forming apparatus.
[0084]
In addition, the count information can be individually managed for each process provided by each program provided by the image forming apparatus, and an image forming apparatus that can easily manage the usage amount of each program can be provided.
[0085]
Furthermore, since the counter is managed so as to release the counter as each program provided by the image forming apparatus is deleted, an unnecessary increase in the counter is prevented, and it is actually used in the current image forming apparatus. It is possible to provide an image forming apparatus that can easily manage the usage of each program.
[0086]
Further, as the attribute information of each program provided by the image forming apparatus is added, the counter is managed so as to release the counter, so the program is reliably associated with the counter and managed as a table. It is possible to provide an image forming apparatus that can reliably acquire, display, and manage the usage amount of each program currently used in the image forming apparatus.
[0087]
Further, since the usage is managed for each function of the image forming apparatus used by each program, charging or use is made according to the value added by the application, the processing provided by the application, and the function provided by the copier. Volume control can be performed.
[0088]
Since the counter control API having high portability and reusability, which is interpreted and executed by the interpreter, is provided, it is easy to create a counter control program, and the counter control program can be reused and applied to other image forming apparatuses. Easy to transplant.
[0089]
【The invention's effect】
Since a mechanism for managing the usage of the program is provided according to the function provided by each program provided by the image forming apparatus, the usage status of each program is appropriately determined based on the function and program configuration of the image forming apparatus. An image forming apparatus that can be grasped can be provided.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing an entire system according to a first embodiment.
FIG. 2 is a view showing a preferred example of a software module hierarchy of the copying machine according to the first embodiment.
FIG. 3 is a flowchart illustrating a processing flow when an application is installed in the multifunction peripheral illustrated in FIG. 1 according to the first embodiment.
FIG. 4 is a diagram showing an example of a counter number-application ID table in the first embodiment.
FIG. 5 is a diagram illustrating an example of a command group for instructing job processing.
FIG. 6 is a flowchart illustrating a processing flow in a counter updating unit when a counter is updated in the first embodiment.
FIG. 7 is a diagram illustrating an example of a counter included in the multifunction machine according to the first embodiment.
FIG. 8 is a flowchart illustrating a process flow when an application already installed in the copying machine is uninstalled in the first embodiment.
FIG. 9 is a diagram illustrating a configuration of a software module hierarchy of a copying machine according to a second embodiment.
FIG. 10 is a diagram showing an example of a screen when an application installer is installed in the second embodiment.
FIG. 11 is a non-flowchart showing a flow of processing after the OK button of FIG. 10 is pressed in the second embodiment.
FIG. 12 is a diagram showing an example of a counter number-application ID table in the second embodiment.
FIG. 13 is a diagram showing an example of a count unit warning dialog screen when installing an application according to the second embodiment.
FIG. 14 is a diagram showing a configuration example of application information in the second embodiment.
FIG. 15 is a flowchart illustrating a processing flow in a counter updating unit when counting up is performed in the second embodiment.
FIG. 16 is a diagram illustrating an example of a counter included in the copying machine according to the second embodiment.
FIG. 17 is a flowchart illustrating a processing flow when an application installed in a copier is uninstalled in the second embodiment.
FIG. 18 is a diagram showing processing in a counter updating unit and an application counter upper limit managing unit for each application.
FIG. 19 is a diagram showing a counter upper limit value management table.
[Explanation of symbols]
1 Reader section
2 Printer section
3 Image input / output controller
4 Facsimile Department
5 File part
6 Storage device
7 Network interface section
8 Formatter section
9 Image memory
10 Core part
11 Host computer
12 Network server
13 Billing server
14 Operation unit
15 Finisher
100 MFP
201 operating system
202 controller
203 Interpreter
204 Application management
205 Application program
206 Application Installer
501 Job submission start command
502 Job attribute setting command
503 Job data transmission command
504 Job submission completion command
511 mode
512 Additional information
901 operating system
902 controller
903 interpreter
904 Counter API
905 Application management program
906 application
907 Application installer
1001 URL input part
1002 OK button
1301 Cancel button
1302 Continue button
1303 Application name display area
1304 Count-up information display section

Claims (15)

画像形成装置が提供する処理を制御するプログラムが搭載された画像形成装置において、
プログラムとジョブの種別に対応する、プログラムの使用量を管理することができるカウンタを特定する特定手段と、
前記プログラムを前記特定手段が特定したカウンタに対応づけて前記カウンタを管理するカウンタ管理手段と、
前記カウンタに対して前記プログラム及びジョブの種別ごとに使用量の上限値を設定可能な設定手段と、
発生したジョブの種別を判別し、当該ジョブにより実行されたアプリケーションの種別を判別する判別手段と、
前記判別手段により判別されたジョブの種別と判別されたアプリケーションの種別の両方に基づいて、前記設定手段により設定された使用量の上限値に基づき画像形成装置における処理を制御する制御手段とを備えることを特徴とする画像形成装置。
In an image forming apparatus equipped with a program for controlling processing provided by the image forming apparatus,
A specifying means for specifying a counter capable of managing the usage of the program corresponding to the type of the program and the job ;
Counter management means for managing the counter by associating the program with the counter specified by the specifying means;
Setting means capable of setting an upper limit value of the usage amount for each type of the program and job with respect to the counter ;
A discriminating means for discriminating the type of the job that has occurred and discriminating the type of the application executed by the job;
Control means for controlling processing in the image forming apparatus based on both the job type determined by the determining means and the determined application type based on the upper limit value of the usage amount set by the setting means. An image forming apparatus.
前記カウンタは、前記プログラムを実行した回数、又は、前記プログラムを使用した時間、又は、前記プログラムが引き起こした画像形成装置の所定動作の回数により、前記プログラムの使用量を管理し、前記判別手段が判別したジョブの種別に対応するカウンタが未登録の場合に新たにカウンタを作成する作成手段を有することを特徴とする請求項1に記載の画像形成装置。The counter number of executing the program, or the time using the program, or by the number of predetermined operations of the image forming apparatus in which the program is caused to manage the usage of the program, the determination means The image forming apparatus according to claim 1, further comprising a creating unit that creates a new counter when a counter corresponding to the determined job type is not registered . 画像形成装置はオペレーティングシステムにより制御され、前カウンタは、該オペレーティングシステム上に設けられるインタプリタの上で動作するAPIであるカウンタ制御アプリケーション・プログラム・インタフェースを用いて前記カウンタを制御し、前記プログラムの使用量を管理することを特徴とする請求項1又は2に記載の画像形成装置。 The image forming apparatus is controlled by the operating system, before Symbol counter controls the counter with a counter control application program interface is an API for operating on the interpreter provided on the operating system, of said program The image forming apparatus according to claim 1, wherein the amount of use is managed. 前記カウンタが管理するプログラムに基づきジョブを発行する発行手段をさらに備え、
前記設定手段は、前記カウンタの上限値を設定するものであり、前記カウンタのカウント量が、前記設定手段によってプログラム毎に設定された使用量の上限値を超えた場合に、前記制御手段は、前記発行手段が発行したジョブを強制的に終了するよう画像形成装置を制御することを特徴とする請求項1乃至3のいずれかに記載の画像形成装置。
Further comprising issuing means for issuing a job based on a program managed by the counter ;
The setting means sets the upper limit value of the counter, and when the count amount of the counter exceeds the upper limit value of the usage amount set for each program by the setting means, the control means The image forming apparatus according to claim 1, wherein the image forming apparatus is controlled to forcibly end the job issued by the issuing unit.
前記上限値管理手段は、前記カウンタが前記カウンタ上限値を超えた場合に前記プログラムに対してイベントを発行し、前記プログラムに所定の動作をせしめることを特徴とする請求項1乃至4のいずれかに記載の画像形成装置。  5. The upper limit management unit issues an event to the program when the counter exceeds the counter upper limit value, and causes the program to perform a predetermined operation. The image forming apparatus described in 1. 前前記画像形成装置内に記憶されたプログラムの削除、又は、追加に応答して、記特定手段が特定した前記削除又は追加対象になったプログラムに対応するカウンタは、解放、又は、初期化されることを特徴とする請求項1乃至5のいずれかに記載の画像形成装置。In response to the deletion or addition of the program previously stored in the image forming apparatus, the counter corresponding to the program targeted for deletion or addition specified by the specifying means is released or initialized. The image forming apparatus according to claim 1, wherein the image forming apparatus is an image forming apparatus. 前記制御手段は、前記プログラムと、スキャナ、ファクシミリ、プリンタのうち少なくとも一つを含む前記画像形成装置の機能との組合せにおいて前期画像形成装置を利用できないよう前記設定手段によって上限値が設定されている場合に、前記画像形成装置の機能を制限することを特徴とする請求項1乃至6のいずれかに記載の画像形成装置。  The control means sets an upper limit value by the setting means so that the image forming apparatus cannot be used in a combination of the program and the function of the image forming apparatus including at least one of a scanner, a facsimile, and a printer. The image forming apparatus according to claim 1, wherein a function of the image forming apparatus is limited. 像形成装置が提供する処理を制御するプログラムが搭載された画像形成装置の制御方法において、
プログラムとジョブの種別に対応する、プログラムの使用量を管理することができるカウンタを特定する特定工程と、
前記プログラムを前記特定工程が特定したカウンタに対応づけて前記カウンタを管理するカウンタ管理工程と、
前記カウンタに対して前記プログラム及びジョブの種別ごとに使用量の上限値を設定可能な設定工程と、
発生したジョブの種別を判別し、当該ジョブにより実行されたアプリケーションの種別を判別する判別工程と、
前記判別工程により判別されたジョブの種別と判別されたアプリケーションの種別の両方に基づいて、前記設定工程により設定された使用量の上限値に基づき画像形成装置における処理を制御する制御工程とを備えることを特徴とする画像形成装置の制御方法。
A control method of an image forming apparatus in which the program is installed which images forming device controls the process of providing,
A specific process for identifying a counter that can manage the usage of the program corresponding to the type of program and job;
A counter management step for managing the counter by associating the program with the counter specified by the specific step;
A setting step capable of setting an upper limit value of the usage amount for each type of the program and job with respect to the counter;
A determination step of determining the type of the job that has occurred and determining the type of application executed by the job;
A control step of controlling processing in the image forming apparatus based on both the job type determined in the determination step and the determined application type based on the upper limit value of the usage amount set in the setting step. A control method for an image forming apparatus.
前記カウンタは、前記プログラムを実行した回数、又は、前記プログラムを使用した時間、又は、前記プログラムが引き起こした画像形成装置の所定動作の回数により、前記プログラムの使用量を管理し、前記判別工程が判別したジョブの種別に対応するカウンタが未登録の場合に新たにカウンタを作成する作成工程を有することを特徴とする請求項8に記載の画像形成装置。The counter manages the usage amount of the program according to the number of times the program is executed, the time when the program is used, or the predetermined number of operations of the image forming apparatus caused by the program. 9. The image forming apparatus according to claim 8, further comprising a creation step of creating a new counter when a counter corresponding to the determined job type is not registered. 画像形成装置はオペレーティングシステムにより制御され、前記カウンタは、該オペレーティングシステム上に設けられるインタプリタの上で動作するAPIであるカウンタカウンタ制御アプリケーション・プログラム・インタフェースを用いて前記カウンタを制御し、前記プログラムの使用量を管理することを特徴とする請求項8又は9に記載の制御方法。The image forming apparatus is controlled by an operating system, and the counter controls the counter using a counter counter control application program interface that is an API that operates on an interpreter provided on the operating system. The control method according to claim 8 or 9, wherein the usage amount is managed. 前記カウンタが管理するプログラムに基づきジョブを発行する発行工程をさらに備え、An issue step of issuing a job based on a program managed by the counter;
前記設定工程は、前記カウンタの上限値を設定するものであり、前記カウンタのカウント量が、前記設定工程によってプログラム毎に設定された使用量の上限値を超えた場合に、前記制御工程は、前記発行工程が発行したジョブを強制的に終了するよう画像形成装置を制御することを特徴とする請求項8乃至10のいずれかに記載の制御方法。The setting step is to set an upper limit value of the counter, and when the count amount of the counter exceeds the upper limit value of the usage amount set for each program by the setting step, the control step includes: The control method according to claim 8, wherein the image forming apparatus is controlled to forcibly end the job issued in the issuing step.
前記上限値管理工程は、前記カウンタが前記カウンタ上限値を超えた場合に前記プログラムに対してイベントを発行し、前記プログラムに所定の動作をせしめることを特徴とする請求項8乃至11のいずれかに記載の制御方法。12. The upper limit value managing step, when the counter exceeds the counter upper limit value, issues an event to the program and causes the program to perform a predetermined operation. The control method described in 1. 前前記画像形成装置内に記憶されたプログラムの削除、又は、追加に応答して、記特定工程が特定した前記削除又は追加対象になったプログラムに対応するカウンタは、解放、又は、初期化されることを特徴とする請求項8乃至12のいずれかに記載の制御方法。In response to the deletion or addition of the program previously stored in the image forming apparatus, the counter corresponding to the program to be deleted or added specified by the specifying step is released or initialized. The control method according to any one of claims 8 to 12, wherein: 前記制御工程は、前記プログラムと、スキャナ、ファクシミリ、プリンタのうち少なくとも一つを含む前記画像形成装置の機能との組合せにおいて前期画像形成装置を利用できないよう前記設定工程によって上限値が設定されている場合に、前記画像形成装置の機能を制限することを特徴とする請求項8乃至13のいずれかに記載の制御方法。In the control step, an upper limit is set by the setting step so that the previous image forming apparatus cannot be used in a combination of the program and the function of the image forming apparatus including at least one of a scanner, a facsimile, and a printer. The control method according to claim 8, wherein the function of the image forming apparatus is limited. 請求項8乃至14のいずれか1項に記載の方法をコンピュータに実行させる制御プログラム。The control program which makes a computer perform the method of any one of Claims 8 thru | or 14.
JP2002292430A 2002-01-21 2002-10-04 Image forming apparatus, control method, and control program Expired - Lifetime JP3944048B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2002292430A JP3944048B2 (en) 2002-10-04 2002-10-04 Image forming apparatus, control method, and control program
US10/339,318 US7426048B2 (en) 2002-01-21 2003-01-10 Image forming apparatus, controlling method, and control program
EP03250272.6A EP1335578B1 (en) 2002-01-21 2003-01-16 Image forming apparatus, controlling method, and control program
US12/197,906 US20090007130A1 (en) 2002-01-21 2008-08-25 Image forming apparatus, controlling method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002292430A JP3944048B2 (en) 2002-10-04 2002-10-04 Image forming apparatus, control method, and control program

Publications (2)

Publication Number Publication Date
JP2004129047A JP2004129047A (en) 2004-04-22
JP3944048B2 true JP3944048B2 (en) 2007-07-11

Family

ID=32283678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002292430A Expired - Lifetime JP3944048B2 (en) 2002-01-21 2002-10-04 Image forming apparatus, control method, and control program

Country Status (1)

Country Link
JP (1) JP3944048B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4612863B2 (en) 2005-05-18 2011-01-12 キヤノン株式会社 Image processing apparatus and control method and program thereof
JP4405939B2 (en) 2005-05-18 2010-01-27 キヤノン株式会社 Image processing apparatus, control method therefor, and image processing system
JP4375423B2 (en) * 2007-04-03 2009-12-02 コニカミノルタビジネステクノロジーズ株式会社 Image processing device
JP2008301484A (en) * 2008-05-19 2008-12-11 Canon Inc Structure of syndication data
JP5175646B2 (en) 2008-07-14 2013-04-03 京セラドキュメントソリューションズ株式会社 Image forming system and image forming apparatus
JP4653243B2 (en) * 2010-03-19 2011-03-16 キヤノン株式会社 Image processing apparatus and control method and program thereof
JP5751809B2 (en) * 2010-11-18 2015-07-22 キヤノン株式会社 Image forming apparatus, management method, and program
JP2013163272A (en) * 2012-02-09 2013-08-22 Seiko Epson Corp Printer with sheet consumption amount output function and printing system
KR102147489B1 (en) * 2014-05-07 2020-08-25 전대연 The efficient method for limitation of App's use
JP6573077B2 (en) * 2016-05-30 2019-09-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus and management application

Also Published As

Publication number Publication date
JP2004129047A (en) 2004-04-22

Similar Documents

Publication Publication Date Title
EP1335578B1 (en) Image forming apparatus, controlling method, and control program
JP4018498B2 (en) Management device, management method, control program
JP4217455B2 (en) Peripheral device, information processing method, and control program
JP4033857B2 (en) Print system, print management server, print method, print management method, and program
JP4317162B2 (en) PRINT SERVER, PRINT MANAGEMENT SERVER, PRINTING DEVICE, PRINT SYSTEM, PRINT DATA STORAGE METHOD, PRINT MANAGEMENT METHOD, PRINT METHOD, AND PROGRAM
JP4387553B2 (en) Printing control apparatus and method and information processing apparatus and method
JP4847168B2 (en) Application management system, application management method and program
JP4185920B2 (en) Print control method, print setting management system, and software distribution server
US20100162407A1 (en) Apparatus, method, and recording medium
US8773699B2 (en) Information processing apparatus, printing system, and method for controlling the same
JP3944048B2 (en) Image forming apparatus, control method, and control program
JP3679760B2 (en) Image forming apparatus, information processing method, and control program
JP2005161674A (en) Imaging device, imaging system, dues accounting method and program
JP4078388B2 (en) Image forming apparatus, information processing method, and control program
JP3840035B2 (en) Printing control apparatus and method, and printing system
JP4777403B2 (en) Peripheral device, information processing method, and control program
EP1853993A1 (en) Information processing apparatus for processing print data, method thereof and media in storage of control program of executing such method
JP3984774B2 (en) Printing control apparatus and method, and printing system
US20060197978A1 (en) Image processing apparatus and image processing method
JP2009009600A (en) Print system, print management server, printing method, print management method, and program
JP4480037B2 (en) Print management server, printing apparatus, print management method, printing method, program, and recording medium
JP2003330656A (en) Server device and information terminal equipment and image processing system and data processing method and computer readable storage medium and its program
JP4227614B2 (en) Automatic authentication method and system in printing process
JP2005209213A (en) Image forming apparatus, information processing method, and control program
JP4298132B2 (en) Printing control apparatus and method, and printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070403

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070406

R150 Certificate of patent or registration of utility model

Ref document number: 3944048

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140413

Year of fee payment: 7