[go: up one dir, main page]

JP4078388B2 - Image forming apparatus, information processing method, and control program - Google Patents

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

Info

Publication number
JP4078388B2
JP4078388B2 JP2007204350A JP2007204350A JP4078388B2 JP 4078388 B2 JP4078388 B2 JP 4078388B2 JP 2007204350 A JP2007204350 A JP 2007204350A JP 2007204350 A JP2007204350 A JP 2007204350A JP 4078388 B2 JP4078388 B2 JP 4078388B2
Authority
JP
Japan
Prior art keywords
application
counter
forming apparatus
image forming
usage
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 - Fee Related
Application number
JP2007204350A
Other languages
Japanese (ja)
Other versions
JP2007317227A (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 JP2007204350A priority Critical patent/JP4078388B2/en
Publication of JP2007317227A publication Critical patent/JP2007317227A/en
Application granted granted Critical
Publication of JP4078388B2 publication Critical patent/JP4078388B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、画像形成装置における処理を制御するプログラムが搭載された画像形成装置、該画像形成装置における方法、及び制御プログラムに関するものである。   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.

従来、画像形成装置の出力総数をカウントする機構としては、メカニカルな構造をもったハード・カウンタを用いることが一般的だった。ハード・カウンタは、一度、カウントアップするとカウント値を減じたりすることが難しくカウント値の改竄が難しいので、これを利用したサービスの課金体制に適した手段であった。その後、画像形成装置の機能が複雑になり様々なモード、例えば、スモール・サイズ/ラージ・サイズ、カラー/白黒、コピー/プリント/FAXによってサービス課金体系を分けたいとの要望が強くなっており、単純にその要望に応えるためハード・カウンタを増加していた。その後、省コスト、省スペースで多数のカウンタを実現可能なソフト・カウンタが提案された。ソフト・カウンタとは、カウント値を半導体メモリに蓄えるソフト・カウンタである。   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.

以前のソフト・カウンタはその構造上、メモリ内部の情報を失いやすく信頼性が低かったが、複数の記憶手段を用意し、お互いに同じ値を記憶させて、ある一つの記憶手段中の内部情報が失われた場合には、他の記憶手段中の情報を利用して情報を補償する方法などにより信頼性が向上している。従って、カウントしたい機能毎にソフト・カウンタを用意して、機能毎に正確なカウント情報を保持することが可能となった。以下、ソフト・カウンタを単にカウンタと呼ぶ。本願実施形態においては、カウンタとは、例えば、画像形成装置内のプログラムの実行回数、画像形成装置の動作回数、アプリケーションプログラムの使用時間など、各種使用量を計測・記憶することができる手段の総称として用いている。   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 embodiment of the present application, the counter is a general term for means capable of measuring and storing various usage amounts such as the number of times the program in the image forming apparatus is executed, the number of times the image forming apparatus is operated, and the usage time of the application program. It is used as.

画像形成装置に搭載された各種プログラム毎にカウンタを設け、アプリケーションの動作回数を管理する印刷装置が開発されつつある。また、印刷装置に搭載された各種プログラムを実行して、ユーザが様々なサービスを受けることが出来るように開発が進められている。例えば、特開平2001‐92779に記載されているように、画像形成装置に用いられるソフトウェア技術の向上の結果、画像形成装置が提供する処理を実現する各種ソフトウェアの追加・変更・削除などが容易になりつつある。また、アプリケーションごとに固定的にカウンタを設け、アプリケーションの実行回数をカウントするカウンタを備えた印刷装置が考えられつつある。   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.

しかし、搭載されるアプリケーション、制御プログラムなどの各種プログラム及びデータの追加・変更・削除が可能となったが、上述のように画像形成装置が提供する処理ごとにカウンタを固定的に予め割り当てておくのでは不具合がある。   However, various programs such as installed applications and control programs and data can be added / changed / deleted, but a counter is fixedly allocated in advance for each process provided by the image forming apparatus as described above. So there is a problem.

例えば、画像形成装置内の処理を提供するプログラムが変化する機会が増えているが、従来の静的なカウンタ管理を行うのでは、画像形成装置の提供する機能を適切に管理することができないという問題がある。さらに、複合的な機能を提供する印刷装置が登場しているが、これらの機能をどのように機能毎に使用量を管理するかが問題となる。   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.

そこで、本発明は、画像形成装置に搭載された各種プログラムが提供する機能の構成が変化しても、これに柔軟に対応可能な画像形成装置を提供することを目的とする。   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.

さらに、本願発明のさらに別の側面は、アプリケーションに直接カウンタを操作させるのではなく、所定のカウンタ管理アプリケーション・プログラミング・インタフェースを用いてカウンタを管理することで、画像形成装置内のカウンタを安全に管理するアーキテクチャを提供することである。   Further, another aspect of the present invention is that the counter in the image forming apparatus can be safely managed by managing the counter using a predetermined counter management application programming interface instead of causing the application to directly operate the counter. It is to provide an architecture to manage.

上述の目的の少なくとも一つを達成するため、本願発明は、以下の手段を提供する。   In order to achieve at least one of the above objects, the present invention provides the following means.

本願発明のひとつの側面は、画像形成装置が提供する処理を制御するプログラムが搭載された画像形成装置において、カウンタを用いて前記プログラムごとに使用量を管理する使用量管理手段と、前記画像形成装置に前記プログラムの識別情報が入力されるのに応答して、入力されたプログラムの識別情報に対応する、プログラムの使用量を管理することができるカウンタを認識する認識手段と、前記入力されたプログラムを前記認識手段が認識したカウンタに対応づけて前記カウンタを管理するカウンタ管理手段とを備え、前記カウンタ管理手段は、画像形成装置において使用されるアプリケーションの使用量を所定のカウンタ制御アプリケーション・プログラム・インタフェースを用いて前記カウンタを制御することを特徴とする。   One aspect of the present invention is 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 image forming apparatus. Recognizing means for recognizing a counter capable of managing the usage of the program corresponding to the input identification information of the program in response to the identification information of the program being input to the apparatus, and the input Counter management means for managing the counter by associating the program with the counter recognized by the recognition means, and the counter management means determines a usage amount of an application used in the image forming apparatus as a predetermined counter control application program The counter is controlled using an interface.

アプリケーションが直接カウンタを操作するのではなく、所定のカウンタ管理アプリケーション・プログラミング・インタフェースを用いてカウンタを管理することにより、画像形成装置内のカウンタを安全に管理するアーキテクチャを提供することができる。   By managing the counter using a predetermined counter management application programming interface, instead of directly operating the counter by the application, an architecture for securely managing the counter in the image forming apparatus can be provided.

以下、本発明の実施形態を実施例に沿って図面に基づいて説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described based on examples with reference to the drawings.

(第一の実施形態)
図1は、第一の実施形態に係るシステム全体を示す構成図である。図1において、画像形成装置の好適な一例である複合機100は、スキャナ、プリンタ、コピー、ファックス機能一体型の複合機であり、ネットワークを介して外部情報処理装置の好適な一例であるネットワークサーバ12、及び情報処理装置の好適な一例であるホストコンピュータ11に接続されている。さらに、複合機100は、公衆回線網を介して他の通信装置に接続されている。なお、複合機100は図示例に限らず、デジタル複写機、コピー機能付プリンタ等でもよく、ネットワークに接続された周辺機器の数は、図示例に限られない。また、画像形成装置は、複合機100に限らず、ファクシミリ、プリンタなどの印刷装置、スキャナ装置など、画像を形成可能な単機能の装置を含み、前記各装置に内蔵されるコントローラなどをも含む。また、カウンタは各種印刷装置のネットワークボード、例えばネットワークインタフェース部7等に取り付けられてもよい。
(First embodiment)
FIG. 1 is a configuration diagram showing the entire system according to the first embodiment. In FIG. 1, a multi-function machine 100, which is a preferred example of an image forming apparatus, is a multi-function machine integrated with a scanner, a printer, a copy, and a fax function, and a network server which is a preferred example of an external information processing apparatus via a network. 12 and a host computer 11 which is a suitable 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, a scanner apparatus, or the like, 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.

複合機100は、主にリーダ部1、プリンタ部2、及び画像入出力制御部3で構成されている。リーダ部1は、プリンタ部2及び画像入出力制御部3に接続され、原稿の画像読み取りを行うとともに読み取った画像データをプリンタ部2又は画像入出力制御部3に出力する。プリンタ部2は、リーダ部1及び画像入出力制御部3から出力された画像データを記録紙に印刷する。画像入出力制御部3は、外部のネットワークや公衆回線網と接続し、画像データの入出力を行うと共に、ユーザが複合機100を使用したときの使用量の蓄積等を行い、更にネットワークに接続されたホストコンピュータ11からのジョブ(印刷命令等)の解析及び制御を行う。   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. Analyzes and controls jobs (printing commands, etc.) from the host computer 11 that have been executed.

画像入出力制御部3は、ファクシミリ部4、ファイル部5、取得手段の一例であるネットワークインタフェース部7、PDLフォーマッタ部8、及びコア部10で構成される。ファクシミリ部4は、コア部10及び公衆回線網に接続され、公衆回線網から受信した圧縮された画像データの伸長を行い、伸長した画像データをコア部10へ送信する。また、コア部10から送信された画像データを圧縮し、公衆回線を介して圧縮した画像データを公衆回線網に送信する。ファイル部5は、コア部10及び記憶装置6に接続され、コア部10から送信された画像データの圧縮を行い、圧縮した画像データを検索するためのキーワードと共に記憶装置6に記憶させる。本実施形態では記憶手段の好適な一例である記憶装置6にはハードディスクドライブを用いているが、もちろんこれに限定されるものではない。更に、ファイル部5は、コア部10から送信されたキーワードに基づいて記憶装置6に記憶されている圧縮画像データを検索した後、その圧縮画像データを読み出して伸長を行い、コア部10へ送信する。   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.

ネットワークインタフェース部7は、外部のネットワークを介して接続されたホストコンピュータ11及びネットワークサーバ12とコア部10間のインタフェースである。ホストコンピュータ11からのジョブ制御データの受信、及び画像データ等のホストコンピュータ11への送信には、ネットワークインタフェース部7を介して行う。ジョブ制御データとして、PDLデータと共に送信されるジョブ制御命令を含み、例えば、PDLデータを展開して画像データとして印刷した後、ステイプルソートして排紙させるものが挙げられる。ネットワークインタフェース部7にはMIB(Management Information Base)と呼ばれるデーターベースが構築されており、SNMP(Simple Network Management Protocol)を介してネットワーク上のホストコンピュータ11と通信し、プリンタ部2の管理が可能となっている。また、ネットワークインタフェース部7は、画像形成装置上の各種機能を実現するアプリケーションのインストール要求・アンインストール要求・開始要求・停止要求等を受け付けるため、ネットワーク接続された他の機器が複合機100内のアプリケーションの制御を行うことが可能となっている。   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. The network interface unit 7 has a database called MIB (Management Information Base) built therein, and can communicate with the host computer 11 on the network via SNMP (Simple Network Management Protocol) to manage the printer unit 2. It has become. 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.

フォーマッタ部8は、コア部10に接続され、ホストコンピュータ11から送信されたPDLデータをプリンタ部2でプリントできる画像データに展開するものである。   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.

画像メモリ部9は、リーダ部1からの情報や、ネットワークインタフェース部を介しホストコンピュータ11等から送られてきた情報を一時的に蓄積しておくためのものである。   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.

記憶手段と解析手段を兼ねたユニットの好適な一例であるコア部10は、上述したリーダ部1、ファクシミリ部4、ファイル部5、ネットワークインタフェース部7、PDL(Page DescriptionLanguage:ページ記述言語)フォーマッタ部8のそれぞれの間を流れるデータ等の制御とともにジョブ制御データの解析を行い、ユーザの使用状況・コピー枚数・印刷枚数・スキャン枚数等の情報を蓄積する。   The core unit 10 which is a preferable 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 unit. The job control data is analyzed along with the control of data flowing between each of the eight, and information such as the usage status of the user, the number of copies, the number of prints, and the number of scans is accumulated.

ホストコンピュータ11(情報処理装置)は、パーソナルコンピュータ又はワークステーション(PC/WS)であり、ネットワークサーバ12は、ネットワーク全体を制御するサーバである。また、外部情報処理装置の一例である課金サーバ13は複合機100の課金情報を管理するためのサーバを含む。課金サーバ装置13は、そのディスプレイに、複写機100のカウンタによってカウントされる使用量を表示し、管理できる。なお、操作部14は、操作パネルを含み、例えばタッチパネルを用いて実行するアプリケーション、アプリケーションに使用させる複写機の機能を選択し、入力出来る。また、アプリケーションの実行命令は、複写機100の操作部13からでも入力出来るが、外部情報処理装置の一例であるネットワークサーバ12からでも実行命令を入力出来る。そして、実行されたアプリケーションの使用量は、複写機100の後に詳しく述べるカウンタでカウントされる。   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.

図2は、第一の実施形態における画像形成装置のソフトウェアモジュール階層の好適な一例を示した図である。ソフトウェアモジュールはオペレーティングシステム(OS)201を有している。OS201の上には、各種機器制御のためのコントローラモジュール202を有し、その上にプログラムを逐次実行するためのインタプリタモジュール203を有する。インタプリタモジュール203の上には、動的に着脱可能な複数のアプリケーション群を管理するためのアプリケーション管理モジュール204を有する。各種機能を実現するアプリケーション205は、このアプリケーション管理モジュール204の管理下で動作する。インタプリタモジュール203を介して複写機のサービスを提供するためのアプリケーションモジュールを動作させることができる。例えば、外部サーバ装置から取得したアプリケーションモジュールが画像形成装置内に組み込まれるのに応答して、アプリケーション管理モジュール204はアプリケーション205を管理対象として追加したり、画像形成装置内からアプリケーションプログラムが削除されるのに応答して、アプリケーション管理モジュール204はアプリケーション205を管理対象から外すことができる。   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.

また、アプリケーション205のインストールやアンインストールを行うためのアプリケーションインストーラ206も、このアプリケーション管理モジュール204の上で動作させることができる。アプリケーションはプログラムの好適な一例であるが、画像形成装置と協働して各種処理をユーザに提供する。例えば、画像の加工、圧縮を行うアプリケーション、印刷制限などの部門管理を行うアプリケーションプログラム、アプリケーションの一部として組み込まれるプラグインモジュール、複写機の遠隔管理を行プログラム、複写機のフィニッシャなどのユニットを制御して製本を行わせるアプリケーション、特定の文書データの変換・解析プログラム、或いはいわゆるワープロソフトのような文書作成プログラム、スケジュール管理プログラム、表計算プログラム、データベース管理プログラム、さらにはインターネットを介したプリントサービスを実現するためのサーバプログラムなどが考え得る。   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.

これらのソフトウェアはコア部10内にあるCPU(図示省略)上で実行される。上記実施形態においてはインタプリタやOSを複写機内に組み込んでいる。もちろん、アプリケーション205が画像形成装置上で動作し、アプリケーション管理モジュール204が適切に動作する限り、上述のモジュール構成に限定されるものではない。   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.

図3は複合機100にアプリケーションがインストールされる際の処理の流れを示すフローチャートを示す図である。次に、図3を利用して、ホストコンピュータ11から複合機100に新たなアプリケーションをインストールする場合のアプリケーションインストーラ206内の処理について説明する。ホストコンピュータ11の操作画面において、指示入力手段の好適な一例であるポインティングデバイス(図示省略)によって、アプリケーションをインストールする旨の指示を入力すると図3の処理が開始される。まず、ステップS301においてホストコンピュータ11からアプリケーション情報を受信する。アプリケーション情報は、例えば、プログラムの属性情報の好適な一例である、ベンダ名・アプリケーションID・アプリケーション名・使用メモリ・バージョン番号・最終更新日付を含む。このアプリケーション情報は、プログラムの好適な一例であるアプリケーションの使用量を管理するために用いられる。   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.

ステップS301において前述したプログラムの属性情報の好適な一例であるアプリケーションIDを含むアプリケーション情報を受け取ると、アプリケーションインストーラ206は、ステップS302の処理を行う。S302では、アプリケーションインストーラ206は、既に同じアプリケーションがインストールされていないかどうかを判断する。アプリケーションインストーラ206は、ステップS301で受信したアプリケーション情報を取得し、既にインストールされているアプリケーションのアプリケーション情報と比較することにより、既に同じアプリケーションがインストールされているか否かを判断する。もし、アプリケーションインストーラ206が、ステップS302において同じアプリケーションが存在すると判断した場合は処理を終了し、同じアプリケーションが存在しないと判定された場合はステップS303へ進む。ステップS303では、アプリケーションインストーラ206(判断手段)は、変数nに0を代入し、ステップS304へ進む。ステップS304では、アプリケーションインストーラ206は、n番目のアプリケーション用カウンタが使用中であるかどうか判断し、使用中でないならステップS305へ進む。ステップS305ではカウンタ番号−アプリケーションIDテーブルを更新してカウンタ番号nとアプリケーションIDとを対応付ける。本願においては、カウンタは、アプリケーションの使用量の一例である実行回数をカウントするカウンタを意味する。また、カウンタは、アプリケーションを立ち上げている時間の長さなどの使用時間をカウントして保持できる計測記憶手段も含む。   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.

図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へ戻り、そうでない場合は処理を終了する。   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.

このようにしてインストールされたアプリケーションはジョブ処理を指示するコマンド群を実行することにより、リーダ部・プリンタ部等を制御することができ、種々の機能を実現することが可能となっている。   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.

図5は、ジョブ処理を指示するコマンド群の一例である。ジョブ処理を指示するコマンド群は、ジョブ投入開始コマンド501、ジョブ属性設定コマンド502、ジョブデータ送信コマンド503、ジョブ投入完了コマンド504により構成される。ジョブ投入開始コマンド501は、コントローラにジョブ投入の開始を通知するコマンドであり、パラメータとしてモード511とモードに応じた付加情報512を含んでいる。コントローラは、ジョブ投入開始コマンド501の受け取りにより、ジョブ処理を行うための準備を開始する。ジョブ属性設定コマンド502は、ジョブの機能や状態を表す属性を設定するためのコマンドである。属性には、アプリケーションID・ジョブの名前・ジョブ種別・データ形式・用紙選択などといった情報があり、本コマンドでは複数の属性を連続して設定することができる。   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.

ジョブデータ送信コマンド503は、画像データなどジョブ処理の対象となるデータを送信するコマンドである。ただし、ジョブの内容によっては、処理対象となるデータを必要としない場合もあるので、その場合は本コマンドを省略してもよい。ジョブ投入完了コマンド504は、ジョブ処理を指示するコマンド群がすべて送付されたことを示すためのコマンドである。ジョブ投入開始コマンド501からジョブ投入完了コマンド504までの一連のコマンド群が1つのジョブ処理指示として解釈される。コントローラは、ジョブ処理の指示が行われると、リーダ部1・プリンタ部2・ファイル部5等を制御し、与えられた属性により適切な処理を行い、ジョブ種別に応じて適切なカウンタ更新要求を出す。なお、ジョブ開始コマンドには、それを実行したアプリケーションのアプリケーションIDの情報も含まれるため、コントローラやカウンタ更新手段は、現在のジョブがどのアプリケーションから実行されたものかを判別することが可能となっている。   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.

図6は、第一の実施形態においてカウンタの更新が行われる際のカウンタ更新手段における処理の流れを示すフローチャートを示す図である。図6のフローチャートを利用して、カウンタの更新が行われる際のカウンタ管理手段における処理の流れについて説明する。まず、ステップS601において、カウンタ更新要求を受け取り、ステップS602に進む。ステップS602では、更新要求元のアプリケーションIDを取得し、ステップS603に進む。ステップq003では変数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へ進み、総数カウント用カウンタだけを更新して処理を終了する。   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 q003, 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.

図7は、複合機100が有しているカウンタの例を示す図である。この例では、コピーカウンタ、プリントカウンタ、スキャンカウンタの3種類のカウンタがあり、そのそれぞれについてトータルカウント数を示す総数カウント用カウンタが1つとアプリケーション別カウンタがN個(カウンタ番号1からN)用意されていることを示している。コピージョブが処理される場合、1枚コピーする度にコピーカウンタがカウントアップされる。同様に、スキャンジョブでは1枚スキャンする度にスキャンカウンタがカウントアップされ、プリントジョブでは1枚プリントされる度にプリントカウンタがカウントアップされる。   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 counter for counting the total count and N counters for each application (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.

カウンタ番号−アプリケーションIDテーブルの内容が図4のようになっている場合、図7(い)のカウンタがアプリケーションID11番のアプリケーションに使用され、図7(ろ)のカウンタがアプリケーションID51番のアプリケーションによって使用される。例えば、アプリケーションID11番のアプリケーションがコピージョブを実行した場合、図7(は)のカウンタと総数カウント用カウンタがカウントアップされる。同様にプリントジョブを実行した場合は図7(に)のカウンタと総合カウンタが、スキャンジョブを実行した場合は図7(ほ)のカウンタと総合カウンタがカウントアップされる。また、リモートホストからプリントジョブ・スキャンジョブ・コピージョブなどが投入された場合、もしジョブの発行元のアプリケーションIDが既にテーブルに登録されていればアプリケーションIDに対応するカウンタと総数カウント用カウンタがカウントアップされる。ジョブ発行元のアプリケーションIDがテーブルに登録されていない場合にはそのジョブを拒否する。   When the contents of the counter number-application ID table are as shown in FIG. 4, the counter of FIG. 7 (i) is used for the application of application ID No. 11, and the counter of 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.

このように、画像形成装置が提供する各機能と、各機能を利用するアプリケーションの組合わせの数だけのカウント値を管理し、また、それぞれのカウント値をアプリケーション毎、各機能ごとに合計してカウントすることが出来る。これにより、アプリケーションごとの課金はもちろんであるが、アプリケーションで画像形成装置の特定の機能を利用した処理を所定動作と呼ぶと、この所定動作ごとに、使用量をカウントすることができる。例えば、特定の画像加工アプリケーションがカウンタ番号6に対応付けられているとすると、この画像加工アプリケーションを用いて所定の画像処理、例えば電子透かしを入れ込んだむなどして、コピーを行った場合はカウンタ番号6に対応するコピー用カウンタがカウントアップされる。これにより、画像加工アプリケーションを用いてコピーを行うという所定動作の使用量を管理することが出来る。もちろん、アプリケーションとしては、画像加工アプリケーションだけではなく、XML文書を加工したり、所定の文書ファイルを加工するためのアプリケーションであってもよい。さらに、画像形成装置が提供する機能は、コピー、プリント、スキャンだけでなく、フィニッシング、製本、パンチ穴あけなどのいわゆる製本処理であってもよい。   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.

次に、画像形成装置に既にインストールされてアプリケーションIDがあるカウンタに割り当てられているアプリケーションをアンインストールする際の処理について説明する。図8は複写機100に既にインストールされているアプリケーションをアンインストールする際の処理の流れを示すフローチャートを示す図である。   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.

まずステップS801において指定されたアプリケーションが動作中であるかどうかをチェックする。もし動作中であった場合は、何もせずにアンインストール処理を終了する。もし動作中でないならば安全にアンインストールすることができるので、ステップS802へ進む。ステップS802ではアンインストールするアプリケーションに関連付けられたカウンタの情報およびアプリケーション情報を課金サーバ13に送信し、ステップS803に進む。ステップS803では送信した情報を課金サーバ13が正しく受信できたかどうかチェックし、正しく受信されていた場合はステップS804へ進む。正しく受信されていなかった場合には実際にアンインストールを行わずに処理を終了する。ステップS804ではカウンタ番号−アプリケーションIDテーブルを更新し、アンインストールするアプリケーションのアプリケーションIDが割り当てられているカウンタを未使用の状態にする。ステップS805では、アプリケーションを記憶装置6の中から消去してアンインストールを行い、処理を終了する。   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.

以上説明したように、本実施例によれば、アプリケーションのインストール時に利用されていないカウンタを動的に割り当て、カウンタアップを行う際にその処理を引き起こしたアプリケーションに対応するカウンタをカウントアップすることにより、アプリケーション毎にコピー・プリント・スキャンのカウント数を管理することが可能となっている。   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.

また、アプリケーションのアンインストール時に、そのアプリケーション情報および利用していたカウンタの情報を課金サーバに保存することにより、カウント情報を損なうことなく、自由にアプリケーションのインストール・アンインストールを繰り返すことが可能となっている。   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.

なお、本実施形態では、インストール時に既に同じアプリケーションがインストールされている場合、処理を終了するようになっているが、バージョン情報を判定し新しいバージョンであれば自動的にインストールするようにしても良し、ユーザにインストール処理を継続するかどうか選択させるようにしても良い。   In this embodiment, the process is terminated when the same application is already installed at the time of installation. However, it is also possible to determine the version information and automatically install it if it is a new version. The user may be allowed to select whether to continue the installation process.

また、本実施形態では、アプリケーションインストーラ206は、アプリケーション管理モジュール204上で動作するアプリケーションの一種となっているが、コントローラ202に組み込まれたモジュールであってもよい。   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.

また、本実施形態では、コピーカウンタ・プリントカウンタ・スキャンカウンタの3種類のカウンタを用意しているが、これに限られるものではなくカウンタの種類はいくつあっても良いし、同じ機能においても用紙サイズ等によりカウンタをより細かく区分しても構わない。   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.

また、本実施形態では、カウンタ1セットにつき1つのアプリケーションを割り当てているが、グループID等を導入して、複数のアプリケーションで一つのカウンタセットを共用するようにしても良い。   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.

また、本実施形態では、総数カウント用カウンタ以外のすべてのカウンタを動的に割り当てているが、画像形成装置にあらかじめ搭載されているアプリケーションについては固定的にカウンタを割り当てておいても良い。   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.

また、本実施形態では、テーブルに登録されていないアプリケーションIDを持った外部からのジョブは拒否するようにしているが、総数カウント用カウンタのみをカウントアップするなどしてジョブを受け付けるようにしても良い。   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.

(第二の実施形態)
次に、本発明にかかる画像形成装置の第二の実施形態について説明する。
(Second embodiment)
Next, a second embodiment of the image forming apparatus according to the present invention will be described.

図1は、第二の実施形態における画像形成装置の構成も示している。この図については第一の実施形態において詳細を説明したためここでは説明を省く。ただし、第二の実施形態においてホストコンピュータ11はアプリケーションが蓄積されているファイルサーバとする。以下、第一の実施形態と特に異なる部分を示す。   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.

図9は、第二の実施形態における複写機100のソフトウェアモジュール階層の構成を示す図である。ソフトウェアモジュールはオペレーティングシステム(OS)901を有している。OS901の上には、各種機器制御のためのコントローラモジュール902を有し、その上にプログラムを逐次実行するためのインタプリタモジュール903と汎用カウンタ(後述)を制御するための汎用カウンタ制御アプリケーション・プログラム・インタフェース(以下、汎用カウンタ制御API)904を有する。インタプリタモジュール903と汎用カウンタ制御API904の上には動的に着脱可能なアプリケーション群を管理するためのアプリケーション管理モジュール905を有する。各種機能を実現するアプリケーション906は、このアプリケーション管理モジュール905(使用量管理手段)の管理下で動作する。アプリケーションをインストール・アンインストールするためのアプリケーションであるアプリケーションインストーラ907もアプリケーション管理モジュール905上で動作する。各アプリケーション906はアプリケーション管理モジュール905経由で汎用カウンタ制御API904を利用することが可能である。なお、これらのソフトウェアはコア部10内にあるCPU(図示省略)上で実行される。   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.

次に図10、並びに、図11を利用してホストコンピュータ11に蓄積されているアプリケーションを複合機100にインストールする場合の、アプリケーションインストーラ907の処理について説明する。ホストコンピュータにはWebサーバが搭載され、所定のURLが有しているものとする。例えば、本実施形態においては、「http://www.kaisha.com/appfile」なるURLにアプリケーションが配置されており、複写機の操作部14において、このURLを指定すると、ホストコンピュータ内の上記URLに対応する記憶領域から指定したアプリケーションをダウンロードし、自動的にインストールを開始する。もちろん、操作部14を用いる代わりに、外部のコンピュータ12の操作画面から入力されたURLをネットワークへ送出して、ネットワークインタフェースを介して画像形成装置が受信してコア部10に入力してもよい。   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 the present embodiment, an application is arranged at a URL “http://www.kaisha.com/appfile”. When this URL is designated in the operation unit 14 of the copier, The designated application is downloaded from the storage area corresponding to the URL, and installation is automatically started. 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. .

図10は、第二の実施形態におけるアプリケーションインストーラのインストール時の画面の例を示す図である。この画面は、アプリケーションインストーラ907のメイン画面(図示省略)においてインストールを指定した場合に、複合機100の操作部14上に表示される。具体的には、テキストフィールド1001にインストールしたいアプリケーション情報が保存されているホストコンピュータ11を示すURLを入力し、1002のOKボタンを押されるのに応答して、アプリケーションインストーラは、ホストコンピュータ11からアプリケーションのダウンロードを開始し、インストール処理を行う。図10の画面でキャンセルボタンを押すことでアプリケーションインストーラメイン画面(図示省略)に戻る。   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).

図11は、OKボタン1002が押されてからの処理の流れを示すフローチャートを示す図である。図12は、第二の実施形態におけるカウンタ番号−アプリケーションIDテーブルの例を示す図である。また、図13は、第二の実施形態におけるアプリケーションインストール時のカウント単位警告ダイアログ画面の例を示す図である。以下、図11乃至図13を用いて、図11に示すフローチャートを説明する。   FIG. 11 is a flowchart showing the flow of processing after the OK button 1002 is pressed. FIG. 12 is a diagram illustrating 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.

OKボタン1002が押下されると、まず、アプリケーションインストーラ907は、ステップS1101においてテキストフィールド1001で指定された場所にあるアプリケーションの情報を取得する。アプリケーション情報を構成する要素の例を図12に示す。   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.

図12には、それぞれのカウンタに付与されるカウンタ番号と、アプリケーションの識別子の好適な一例であるアプリケーションID(アプリID)との対応付けたテーブルが、モノクロプリンタ機能、カラープリンタ機能、カラーコピー機能、モノクロコピー機能、スキャナ機能ごとに用意されている様子を示している。なお、画像形成装置が提供する機能はこれらに限定されるものではなく、例えば、ステイプル機能、製本機能など、フィニッシングに関する機能も含み、画像形成装置が提供する機能であって、各機能の使用量(例えば、使用回数、使用時間)を認識できるものであればどのようなものであっても適用可能である。ここで、0xFFFFFFFFは、カウンタが使用されていない状態であることを示すコードである。   FIG. 12 shows a table in which counter numbers assigned to the respective counters are associated with application IDs (application IDs) which are preferable examples of application identifiers. The monochrome printer function, the color printer function, and the color copy function It shows a state where a monochrome 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 use time). Here, 0xFFFFFFFF is a code indicating that the counter is not used.

図11に説明を戻す。ステップS1101において、アプリケーションインストーラ907は、プログラムの属性情報の好適な一例であるアプリケーション情報を取得することが出来れば、ステップS1102へ進む。もしアプリケーション情報を取得できなかったならば、処理を終了する。本願発明の認識手段の好適な一例であるアプリケーションインストーラ907は、ステップS1102では、アプリケーション情報を取得するのに応答して、アプリケーション情報で指定されている種別のカウンタで未使用のものを判断して認識する処理を行う。もし未使用のカウンタ番号、つまり、新たに追加された、例えば外部のホストコンピュータ11などから複写機100のネットワークインタフェース部(入力部)を介して入力されたプログラムの、使用量を管理することができるカウンタを認識できなければ処理を終了する。   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.

一方、S1102で、アプリケーション情報に記述されているすべての種別について未使用カウンタを認識できれば、ステップS1103へ進む。ステップS1103ではアプリケーション情報に基づいて、カウントアップ単位についての確認ダイアログ(図13)を操作部に表示する。例えば、アプリケーション名とこれを一度起動した場合にカウントアップされる使用料金などを表示する。次にステップS1104に進み、ダイアログ(図13)上でどちらのボタンが押されたかを判断する。もし、中止ボタン1301が押されたと判断されたら処理を終了し、続行ボタン1302が押されたと判断されたらステップS1105に進む。ステップS1105ではアプリケーション情報に記述されているアーカイブファイルURLの情報をもとに、プログラムの本体のダウンロードを試みる。ステップS1105においてダウンロードに失敗したら処理を必要に応じてエラー表示を行い処理を終了する。一方、ダウンロードが成功したらステップS1106に進む。ステップS1106では、アプリケーションインストーラ(カウンタ管理手段)は、ステップS1105でダウンロードしたプログラムを記憶装置6に格納し、プログラムを利用できる状態にして、ステップS1107に進む。ステップS1107では、アプリケーションインストーラは、S1102で認識したカウンタ番号とアプリケーション情報に含まれるアプリケーションIDのペアを、カウンタ番号−アプリケーションIDテーブルに追加記憶して更新し、アプリケーション管理モジュール204が必要に応じてアプリケーションインストーラを認識したカウンタの使用量などを初期化し、終了する。なお、未使用カウンタが認識できない、即ち、アプリケーションインストーラは、カウンタが足りない場合には、新規アプリケーションに対応させるためのカウンタを新たに作成し、初期化して用いてもよい。   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 adds and stores the counter number recognized in S1102 and the application ID pair included in the application information in the counter number-application ID table, and updates the application management module 204 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.

なお、図13において、アプリケーション表示部に追加するアプリケーション名を表示し、このアプリケーションが複写機100の提供する機能である、スキャン機能、コピー機能を利用した場合のカウントアップ情報(例えば、課金情報)をカウントアップ情報表示部1304に表示するので、ユーザは、このアプリケーションの実行に際して、機能を利用させるかに応じたカウントアップ情報を確認した上でアプリケーションをインストールすることが出来る。   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.

図14は第二の実施形態におけるアプリケーション情報の構成例を示す図である。テーブルはカウンタ種別毎に用意されており、カウンタ番号とアプリケーションIDの対応を保持している。この例では、1番のスキャンカウンタと汎用カウンタがアプリケーションID11番のアプリケーションに割り当てられ、その他のカウンタは未使用であることを示している。ここには、アプリケーション情報の一例として、ベンダ名、アプリケーションの識別子であるアプリケーションIDとアプリケーション名、バージョン、最終更新日付、使用カウンタ数、カウンタ種別、カウントアップ単位、使用メモリ、プログラムの入手先を示すアーカイブファイルURLが記載されている。まずプログラムを取得してから、カウンタ管理の処理を考える場合には、入手先URLは、アプリケーションモジュールそれ自体であってもよい。つまり、アプリケーション管理手段によって、特定のプログラムが、図1に示す画像形成装置の機能を利用して、所定の動作、例えばスキャン機能の動作、コピー機能の動作、プリント機能の動作、フィニッシングの動作などを引き起こした回数により、テーブル上記によって定められたカウンタ番号を有するカウンタをカウントアップさせて使用量を管理することができる。   FIG. 14 is a diagram showing a configuration example of application information in the second embodiment. A table is prepared for each counter type, and holds the correspondence between counter numbers and application IDs. In this example, the first scan counter and the general counter are assigned to the application with the application ID No. 11, and the other counters are unused. Here, as an example of application information, a vendor name, an application ID and an application name that are application identifiers, a version, a last update date, a used counter number, a counter type, a count-up unit, a used memory, and a program source are shown. An archive file URL is described. When considering the process of counter management after acquiring the program first, the acquisition URL may be the application module itself. In other words, the application management means allows a specific program to use a function of the image forming apparatus shown in FIG. 1, for example, a predetermined operation such as a scan function operation, a copy function operation, a print function operation, a finishing operation, or the like. Based on the number of times the occurrence of the counter, the counter having the counter number determined by the table above can be counted up to manage the usage amount.

このように、複写機100には、カウンタを用いて前記プログラムごとに使用量を管理するアプリケーション管理モジュール204が備えられている。そして、アプリケーションインストーラ206は、複写機100に前記アプリケーションの属性を示す情報が入力されるのに応答して、追加されるプログラムの識別情報の一例であるアプリケーションIDに対応するアプリケーションの使用量を管理することができるカウンタを認識する。   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.

そして、アプリケーション管理モジュールは、前記追加されたプログラムを、アプリケーションインストーラ206が認識したカウンタに対応づけて前記カウンタを管理する。   Then, the application management module manages the counter by associating the added program with the counter recognized by the application installer 206.

ここで、プログラムを識別するための情報とは、そのプログラムを識別できるすべての情報を含む。例えば、アプリケーションプログラムであれば、アプリケーションID,アプリケーション名、が考えられるが、ファイルの形で提供されるアプリケーションプログラムのモジュールそれ自体は、アプリケーションが格納されたモジュール名・ファイル名などを含む。もちろん、これらのファイル名・モジュール名なども当然プログラムの識別情報の範疇に含まれる。従って、アプリケーション情報と一体となったプログラムモジュール自体を、先に画像形成装置内にネットワークインターフェースを介して入力し、画像形成装置内の記憶装置に記憶するのに応答して、当該プログラムモジュールにカウンタを対応付けるか否かを判断することも考え得る。   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.

インストールされたアプリケーションは、第一の実施形態と同様に、ジョブ処理を指示するコマンド群(図5)を実行することにより、リーダ部1・プリンタ部2、フィニッシャ部15等を制御することができ、種々の複写機の提供する機能を実現することが可能となっている。詳細は第一の実施形態において説明したため、ここでは省略する。   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.

図15は、第二の実施形態において、アプリケーション管理モジュールにおける、カウントアップが行われる際のカウンタ更新手段における処理の流れを示すフローチャートを示す図である。以下、図15のフローチャートを利用して各カウンタにカウントアップ要求がきた際の処理について説明する。まず、アプリケーション管理モジュールは、ステップS1501において、例えばコア部からカウントアップ要求を受け取り、ステップS1502に進む。ステップS1502では、更新要求元のアプリケーションIDを取得し、ステップS1503に進む。ステップS1503では変数nに0を代入し、ステップS1504に進む。ステップS1504ではテーブルを参照し、n番のカウンタがステップS1502で取得したアプリケーションIDのアプリケーションに割り当てられているかどうかをチェックする。もし、n番のカウンタがステップS1502で取得したアプリケーションIDのアプリケーションに割り当てられていればステップS1505へ進む。   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.

ステップS1505では、アプリケーション管理手段は、アプリケーション情報から現在のジョブ種別におけるカウントアップ単位を取得する。つぎにステップS1506に進み、n番のカウンタをステップS1505で取得した単位でカウントアップし、ステップS1509へ進む。ステップS1509では,アプリケーション管理手段は、総数カウント用のカウンタをアプリケーション情報で指定されている単位でカウントアップし、処理を終了する。一方、ステップS1504において、アプリケーション管理手段は、n番カウンタがステップS1502で取得したアプリケーションIDのアプリケーションに割り当てられていないと判定した場合は、ステップS1507に進む。ステップS1507では変数nがアプリケーション用カウンタの総数Nよりも小であるかどうかを判定する。もし、n<NであるならステップS1508でnの値を1つ増やしステップS1504へ戻る。ステップS1507においてn<Nを満たさなかった場合はステップS1509へ進み、総数カウント用カウンタだけをアプリケーション情報で指定されている単位でカウントアップして処理を終了する。   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.

図16は、第二の実施形態における複写機が有しているカウンタの例を示す図である。この例では、コピーカウンタ(モノクロ)、スキャンカウンタ、プリントカウンタ(モノクロ)、カラーコピーカウンタ、カラープリントカウンタ、汎用カウンタの6種類のカウンタがあり、そのそれぞれについてトータルカウント数を示す総数カウント用カウンタが1つとアプリケーション別カウンタがN個(カウンタ番号1からN)用意されている。モノクロコピージョブが処理される場合、1枚コピーする度にコピーカウンタがカウントアップされる。なおこの時のカウンタの増分はアプリケーション情報の中で定義された分だけ増やされる。同様に、スキャンカウンタ、プリントカウンタ、カラーコピーカウンタ、カラープリントカウンタは、それぞれスキャンジョブ、モノクロプリントジョブ、カラーコピージョブ、カラープリントジョブが実行されたときに所定動作毎にコントローラによって自動的にカウントアップされる。汎用カウンタについては、アプリケーションが汎用カウンタ制御APIを通じて指示を出すことにより、アプリケーションの都合の良いタイミングでカウントアップすることができる。   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. One counter and application-specific counters (counter numbers 1 to N) are prepared. 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.

例えば、図14の状況で、アプリケーションIDが11のアプリケーションによりスキャンジョブが実行された場合、1枚スキャンする毎に図16(い)のカウンタが10ずつ増加していく。また、アプリケーションIDが11のアプリケーションがジョブを発行するたびに汎用カウンタAPIをコールすれば、アプリケーションIDが11のアプリケーションがジョブを発行するたびに図16(ろ)のカウンタが1ずつ増加することになる。   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.

図17は、第二の実施形態において、複写機にインストールされているアプリケーションをアンインストールする際の処理の流れを示すフローチャートを示す図である。以下、画像形成装置にインストールされているアプリケーションをアンインストールする際の処理について図17のフローチャートを用いて説明する。アプリケーションインストーラ203は、まずステップS1701において指定されたアプリケーションが動作中であるかどうかをチェックする。もし動作中であった場合は、何もせずにアンインストール処理を終了する。もし動作中でないならば安全にアンインストールすることができるので、ステップS1702へ進む。アプリケーションインストーラ203(認識手段)は、ステップS1702ではアンインストールするアプリケーションに関連付けられたカウンタの情報およびアプリケーション情報を、カウンタ番号−アプリケーションIDテーブルを検索して認識し、画像形成装置内に備えられた不揮発メモリに保存し、ステップS1703に進む。   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 (recognizing means) searches the counter number-application ID table to recognize counter information and application information associated with the application to be uninstalled, and recognizes the information and the nonvolatile information provided in the image forming apparatus. Save in the memory and go to step S1703.

ステップS1703では不揮発メモリに正しく保存されたかどうかをチェックし、正しく保存できていればステップS1704へ進む。正しく保存できなかった場合には、実際にアンインストールを行わずに処理を終了する。アプリケーション管理モジュール204(カウンタ管理手段)は、ステップS1704ではカウンタ番号−アプリケーションIDテーブルを更新し、アンインストールするアプリケーションのアプリケーションIDが割り当てられているカウンタを解放して、未使用の状態にする。次にステップS1705でアプリケーションを記憶装置6の中から消去してアンインストールを行い、処理を終了する。   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 S 1705, the application is deleted from the storage device 6 and uninstalled, and the process ends.

以上説明したように、本実施例によれば、アプリケーションインストール時にカウントアップ情報の警告ダイアログを出すことにより、ユーザは所定動作1回につきのカウントアップ単位を納得した上でアプリケーションをインストールすることが可能になる。また、汎用カウンタをアプリケーションから利用可能にすることによって、アプリケーション毎の使用回数や処理量などを管理することも可能になる。   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.

また、アプリケーションのアンインストール時に、そのアプリケーション情報および利用していたカウンタの情報を機器内のメモリに保存することにより、カウント情報を損なうことなく、自由にアプリケーションのインストール・アンインストールを繰り返すことが可能となる。   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.

なお、上記実施形態は、いずれも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその主要な特徴から逸脱することなく、さまざまな形で実施することが出来る。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the main features.

(他の実施形態)
本願図面及び明細書中に示した各処理が、外部からインストールされるプログラムによって、情報処理装置、画像形成装置によって遂行される。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を各情報処理装置、画像形成装置に供給される場合でも本発明は適用されるものである。
(Other embodiments)
Each processing shown in the drawings and specification of the present application is performed by the information processing apparatus and the image forming apparatus by a program installed from the outside. 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.

以上のように、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   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.

この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、たとえば、フロッピィーディスク、ハードディスク、光ディスク、光磁気ディスク、DVD、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM等を用いることができる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, DVD, CD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   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.

本願発明の各実施形態によれば、画像形成装置上に複数のカウンタを用意し、アプリケーションとカウンタとの対応付けをアプリケーションのインストール時に動的に行い、アプリケーションのインストール時に未使用カウンタを動的に割り当てることができる。そして、アンインストール時にカウンタを解放することにより、アプリケーションの追加・削除が行われるような状況下においてもアプリケーション毎のカウント情報を適切に管理することが可能となる。また、これにより、画像形成装置上アプリケーションを開発したアプリケーションベンダに対して、アプリケーションの使用量に応じた課金を適切に分配することも可能になる。   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.

また、画像形成装置が提供するそれぞれのプログラムが提供する各処理について、カウント情報を個別に管理できるようにし、各プログラムの使用量を容易に管理できるような画像形成装置を提供することができる。   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.

さらに、画像形成装置が提供するそれぞれのプログラムが削除されるのに応じて、カウンタを解放するようにカウンタを管理するので、不必要なカウンタの増加を防ぎ、現在画像形成装置において実際に使用されている各プログラムの使用量を容易に管理できるような画像形成装置を提供することができる。   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 amount of each program.

さらに、画像形成装置が提供するそれぞれのプログラムの属性情報が追加されるのに応じて、カウンタを解放するようにカウンタを管理するので、プログラムを確実にカウンタに対応付け、テーブルとして管理するので、現在画像形成装置において現に使用されている各プログラムの使用量を確実に取得・表示して管理できるような画像形成装置を提供することができる。   Furthermore, 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.

さらに、各プログラムが利用する画像形成装置の機能ごとに使用量を管理するので、アプリケーションと、アプリケーションが提供する処理と複写機が提供する機能のよって付加された価値に応じて課金、又は、使用量管理ができるようになる。   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.

インタプリンタによって解釈実行される、移植性・再利用性の高いカウンタ制御APIを提供したので、カウンタ制御プログラムの作成が容易になり、また、カウンタ制御プログラムの再利用・他の画像形成装置への移植が容易となる。   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.

第一の実施形態に係るシステム全体を示す構成図である。It is a lineblock diagram showing the whole system concerning a first embodiment. 第一の実施形態における複写機のソフトウェアモジュール階層の好適な一例を示す図である。It is a figure which shows a suitable example of the software module hierarchy of the copying machine in 1st embodiment. 第一の実施形態における図1に示す複合機にアプリケーションがインストールされる際の処理の流れを示すフローチャートを示す図である。It is a figure which shows the flowchart which shows the flow of a process when an application is installed in the multifunctional machine shown in FIG. 1 in 1st embodiment. 第一の実施形態におけるカウンタ番号−アプリケーションIDテーブルの例を示す図である。It is a figure which shows the example of the counter number-application ID table in 1st embodiment. ジョブ処理を指示するコマンド群の一例を示す図である。It is a figure which shows an example of the command group which instruct | indicates job processing. 第一の実施形態においてカウンタの更新が行われる際のカウンタ更新手段における処理の流れを示すフローチャートを示す図である。It is a figure which shows the flowchart which shows the flow of a process in the counter update means at the time of counter update in 1st embodiment. 第一の実施形態における複合機が有しているカウンタの例を示す図である。It is a figure which shows the example of the counter which the multifunctional machine in 1st embodiment has. 第一の実施形態において、複写機に既にインストールされているアプリケーションをアンインストールする際の処理の流れを示すフローチャートを示す図である。FIG. 6 is a flowchart illustrating a processing flow when an application already installed in the copier is uninstalled in the first embodiment. 第二の実施形態における複写機のソフトウェアモジュール階層の構成を示した図である。FIG. 6 is a diagram illustrating a configuration of a software module hierarchy of a copying machine according to a second embodiment. 第二の実施形態におけるアプリケーションインストーラのインストール時の画面の例を示す図である。It is a figure which shows the example of the screen at the time of installation of the application installer in 2nd embodiment. 第二の実施形態において、図10のOKボタンが押されてからの処理の流れを示すフローチャーを示す図である。In 2nd embodiment, it is a figure which shows the flowchart which shows the flow of a process after the OK button of FIG. 10 is pushed. 第二の実施形態におけるカウンタ番号−アプリケーションIDテーブルの例を示す図である。It is a figure which shows the example of the counter number-application ID table in 2nd embodiment. 第二の実施形態におけるアプリケーションインストール時のカウント単位警告ダイアログ画面の一例を示す図である。It is a figure which shows an example of the count unit warning dialog screen at the time of application installation in 2nd embodiment. 第二の実施形態におけるアプリケーション情報の構成例を示す図である。It is a figure which shows the structural example of the application information in 2nd embodiment. 第二の実施形態において、カウントアップが行われる際のカウンタ更新手段における処理の流れを示すフローチャートを示す図である。In 2nd embodiment, it is a figure which shows the flowchart which shows the flow of a process in the counter update means at the time of count-up being performed. 第二の実施形態における複写機が有しているカウンタの例を示す図である。It is a figure which shows the example of the counter which the copying machine in 2nd embodiment has. 第二の実施形態において、複写機にインストールされているアプリケーションをアンインストールする際の処理の流れを示すフローチャートを示す図である。FIG. 10 is a flowchart illustrating a processing flow when an application installed in a copier is uninstalled in the second embodiment.

符号の説明Explanation of symbols

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 カウントアップ情報表示部
DESCRIPTION OF SYMBOLS 1 Reader part 2 Printer part 3 Image input / output control part 4 Fax part 5 File part 6 Storage device 7 Network interface part 8 Formatter part 9 Image memory part 10 Core part 11 Host computer 12 Network server 13 Charge server 14 Operation part 15 Finisher part DESCRIPTION OF SYMBOLS 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 PI
905 Application management program 906 Application 907 Application installer 1001 URL input unit 1002 OK button 1301 Cancel button 1302 Continue button 1303 Application name display unit 1304 Count-up information display unit

Claims (10)

オペレーティングシステムにより制御される画像形成装置であって該画像形成装置が提供する機能を制御するアプリケーションを搭載可能な画像形成装置において、
アプリケーションごとに使用量を管理するカウンタと、
前記オペレーティングシステム上で動作するインタプリタと同じ階層に設けられた所定のカウンタ制御アプリケーション・プログラム・インタフェースを用いて前記カウンタを用いたアプリケーションの使用量を管理する使用量管理手段と、
インストールされるアプリケーションを対応付けることが出来るカウンタを特定する特定手段と、
前記特定手段が、前記アプリケーションを対応付けることができるカウンタを特定できなかった場合には、前記使用量管理手段は、新しくカウンタを作成して前記入力されたアプリケーションを対応付けることを特徴とする画像形成装置。
In an image forming apparatus controlled by an operating system and capable of mounting an application for controlling a function provided by the image forming apparatus,
A counter that manages usage for each application,
Usage management means for managing the usage of the application using the counter using a predetermined counter control application program interface provided in the same hierarchy as the interpreter operating on the operating system;
A specific means for identifying a counter that can associate an installed application;
When the specifying unit cannot specify a counter that can associate the application, the usage amount managing unit creates a new counter and associates the input application with the image forming apparatus. .
オペレーティングシステムにより制御される画像形成装置であって該画像形成装置が提供する機能を制御するアプリケーションを搭載可能な画像形成装置において、
アプリケーションごとに使用量を管理するカウンタと、
前記オペレーティングシステム上で動作するインタプリタと同じ階層に設けられた所定のカウンタ制御アプリケーション・プログラム・インタフェースを用いて前記カウンタを用いたアプリケーションの使用量を管理する使用量管理手段と、
前記使用量管理手段は、前記アプリケーションに対応する識別子と前記カウンタに対応する識別子とを対応づけるテーブルを用いて、前記カウンタを管理することを特徴とする画像形成装置。
In an image forming apparatus controlled by an operating system and capable of mounting an application for controlling a function provided by the image forming apparatus,
A counter that manages usage for each application,
Usage management means for managing the usage of the application using the counter using a predetermined counter control application program interface provided in the same hierarchy as the interpreter operating on the operating system;
The image forming apparatus, wherein the usage amount managing unit manages the counter using a table that associates an identifier corresponding to the application with an identifier corresponding to the counter.
前記使用量管理手段は、前記特定手段が特定したカウンタを初期化することを特徴とする請求項1に記載の画像形成装置。 The image forming apparatus according to claim 1 , wherein the usage amount management unit initializes the counter specified by the specifying unit. 前記使用量管理手段は、前記アプリケーションを実行した回数により、前記アプリケーションの使用量を管理することを特徴とする請求項1乃至3のいずれか1項に画像形成装置。   The image forming apparatus according to claim 1, wherein the usage amount management unit manages the usage amount of the application based on the number of times the application is executed. 前記使用量管理手段は、前記アプリケーションを使用した時間により、前記アプリケーションの使用量を管理することを特徴とする請求項1乃至4のいずれか1項に画像形成装置。   5. The image forming apparatus according to claim 1, wherein the usage amount management unit manages the usage amount of the application according to a time when the application is used. 前記使用量管理手段は、前記アプリケーションが引き起こした画像形成装置の所定動作の回数により、前記アプリケーションの使用量を管理することを特徴とする請求項1乃至5のいずれか1項に画像形成装置。   The image forming apparatus according to claim 1, wherein the usage amount managing unit manages the usage amount of the application based on a predetermined number of operations of the image forming apparatus caused by the application. 前記使用量管理手段は、前記画像形成装置が提供する機能と、前記画像形成装置が提供する機能を利用する前記アプリケーションとの組合せにより使用量を管理することを特徴とする請求項1乃至6のいずれか1項に画像形成装置。   7. The usage amount management unit manages the usage amount by a combination of a function provided by the image forming apparatus and the application using the function provided by the image forming apparatus. The image forming apparatus according to any one of the items. オペレーティングシステムにより制御される画像形成装置であって該画像形成装置が提供する機能を制御するアプリケーションを搭載可能な画像形成装置が実行する情報処理方法において、
アプリケーションごとにカウンタを用いてアプリケーションの使用量を画像形成装置が管理し、前記オペレーティングシステム上で動作するインタプリタと同じ階層に設けられた所定のカウンタ制御アプリケーション・プログラム・インタフェースを用いて前記カウンタを用いたアプリケーションの使用量を管理する使用量管理工程と、
インストールされるアプリケーションを対応付けることが出来るカウンタを特定する特定工程と、
前記特定工程が、前記アプリケーションを対応付けることができるカウンタを特定できなかった場合には、前記使用量管理工程では、新しくカウンタを作成して前記入力されたアプリケーションを対応付けることを特徴とする方法を画像形成装置が実行する情報処理方法。
In an information processing method executed by an image forming apparatus controlled by an operating system and capable of mounting an application that controls a function provided by the image forming apparatus,
The image forming apparatus manages the usage of the application using a counter for each application, and uses the counter using a predetermined counter control application program interface provided at the same level as the interpreter operating on the operating system. Usage management process to manage the usage of the application
A specific process for identifying a counter that can associate an installed application;
If the identifying step fails to identify a counter that can associate the application, the usage management step creates a new counter and associates the input application with the image. An information processing method executed by a forming apparatus.
オペレーティングシステムにより制御される画像形成装置であって該画像形成装置が提供する機能を制御するアプリケーションを搭載可能な画像形成装置が実行する情報処理方法において、
アプリケーションごとにカウンタを用いてアプリケーションの使用量を画像形成装置が管理し、前記オペレーティングシステム上で動作するインタプリタと同じ階層に設けられた所定のカウンタ制御アプリケーション・プログラム・インタフェースを用いて前記カウンタを用いたアプリケーションの使用量を管理する使用量管理工程とを備え、
前記使用量管理工程では、前記アプリケーションに対応する識別子と前記カウンタに対応する識別子とを対応づけるテーブルを用いて、前記カウンタを管理することを特徴とする方法を画像形成装置が実行する情報処理方法。
In an information processing method executed by an image forming apparatus controlled by an operating system and capable of mounting an application that controls a function provided by the image forming apparatus,
The image forming apparatus manages the usage of the application using a counter for each application, and uses the counter using a predetermined counter control application program interface provided at the same level as the interpreter operating on the operating system. And a usage management process that manages the usage of the existing applications,
In the usage amount management step, the image forming apparatus executes a method of managing the counter using a table that associates an identifier corresponding to the application and an identifier corresponding to the counter. .
請求項8又は9に記載の方法を画像形成装置に実行させる制御プログラム。A control program for causing an image forming apparatus to execute the method according to claim 8.
JP2007204350A 2007-08-06 2007-08-06 Image forming apparatus, information processing method, and control program Expired - Fee Related JP4078388B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007204350A JP4078388B2 (en) 2007-08-06 2007-08-06 Image forming apparatus, information processing method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007204350A JP4078388B2 (en) 2007-08-06 2007-08-06 Image forming apparatus, information processing method, and control program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005023505A Division JP2005209213A (en) 2005-01-31 2005-01-31 Image forming apparatus, information processing method, and control program

Publications (2)

Publication Number Publication Date
JP2007317227A JP2007317227A (en) 2007-12-06
JP4078388B2 true JP4078388B2 (en) 2008-04-23

Family

ID=38850965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007204350A Expired - Fee Related JP4078388B2 (en) 2007-08-06 2007-08-06 Image forming apparatus, information processing method, and control program

Country Status (1)

Country Link
JP (1) JP4078388B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5262495B2 (en) * 2008-09-17 2013-08-14 株式会社リコー Electronic device, remote management system, control method, program, and recording medium
JP5381483B2 (en) * 2009-08-11 2014-01-08 株式会社リコー Image forming apparatus, counter management method, and counter management program
JP5633608B2 (en) * 2013-08-09 2014-12-03 株式会社リコー Image forming apparatus, counter management method, and counter management program
KR102147489B1 (en) * 2014-05-07 2020-08-25 전대연 The efficient method for limitation of App's use

Also Published As

Publication number Publication date
JP2007317227A (en) 2007-12-06

Similar Documents

Publication Publication Date Title
EP1335578B1 (en) Image forming apparatus, controlling method, and control program
JP4033857B2 (en) Print system, print management server, print method, print management method, and program
US8064078B2 (en) Image forming apparatus, user restriction method and use history generation method
EP1739953B1 (en) Application management system application management method program and storage medium
US8621040B2 (en) Image forming apparatus for determining the availability of application program interfaces
US7158248B2 (en) Control of software via bundling
EP1132810A2 (en) Information processing apparatus and information display method for displaying job information relating to an output job
EP1865409A2 (en) Information processing apparatus, print controlling method, and computer-readable storage medium
US20040117784A1 (en) Management apparatus, management method, and control program therefor
JP4317162B2 (en) PRINT SERVER, PRINT MANAGEMENT SERVER, PRINTING DEVICE, PRINT SYSTEM, PRINT DATA STORAGE METHOD, PRINT MANAGEMENT METHOD, PRINT METHOD, AND PROGRAM
JP4673260B2 (en) Information processing apparatus and job ticket generation method
JP2004139149A (en) Peripheral equipment, information processing method and control program
US20120030329A1 (en) Information processing apparatus, linked scenario preparation method for information processing apparatus, program, and storage medium
US20100162407A1 (en) Apparatus, method, and recording medium
EP2045713A2 (en) Virtual device management method and management apparatus
EP2299685A2 (en) System, method and computer-readable recording medium for executing printing with image forming apparatus
JP3944048B2 (en) Image forming apparatus, control method, and control program
JP3679760B2 (en) Image forming apparatus, information processing method, and control program
JP4078388B2 (en) Image forming apparatus, information processing method, and control program
JP2005161674A (en) Imaging device, imaging system, dues accounting method and program
EP1853993A1 (en) Information processing apparatus for processing print data, method thereof and media in storage of control program of executing such method
JP4777403B2 (en) Peripheral device, information processing method, and control program
US20090249346A1 (en) Image forming apparatus, information processing apparatus and information processing method
JP4748261B2 (en) Image forming system, server apparatus, image forming program, and image forming method
JP4697713B2 (en) Print system, print management server, print method, print management method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071228

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: 20080129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080204

R150 Certificate of patent or registration of utility model

Ref document number: 4078388

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140208

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees