JP2006085477A - Accounting management program and image formation apparatus - Google Patents

Accounting management program and image formation apparatus Download PDF

Info

Publication number
JP2006085477A
JP2006085477A JP2004270241A JP2004270241A JP2006085477A JP 2006085477 A JP2006085477 A JP 2006085477A JP 2004270241 A JP2004270241 A JP 2004270241A JP 2004270241 A JP2004270241 A JP 2004270241A JP 2006085477 A JP2006085477 A JP 2006085477A
Authority
JP
Japan
Prior art keywords
billing
class
charging
charge
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004270241A
Other languages
Japanese (ja)
Inventor
Satoru Ono
覚 大野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004270241A priority Critical patent/JP2006085477A/en
Publication of JP2006085477A publication Critical patent/JP2006085477A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently achieve an accounting process using a plurality of accounting devices. <P>SOLUTION: An accounting management program makes a computer execute an accounting execution process which corresponds to the accounting devices by one to one and instructs accounting execution thereto, and a counter value process which selects one or a plurality accounting execution processes to request the accounting execution to the selected execution processes. The program performs object modeling corresponding to an addition-type accounting device and a substraction-type accounting device by object oriented design and achieves the accounting process by cooperation relationships by objects in an accounting book class, a slip class, a charge table class, a counter value class, a transaction table class, an input amount class, a billing amount class and a billing destination class. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、利用者の要求に応じサービスを提供するサービス提供装置またはサービス提供装置と通信可能な課金管理装置に搭載され、利用者によりサービス提供装置に要求されたサービスのサービス料金を算出する課金管理プログラムおよび画像形成装置に関するものである。   The present invention is mounted on a service providing apparatus that provides a service in response to a user's request or a charging management apparatus that can communicate with the service providing apparatus, and calculates a service charge for a service requested by the user to the service providing apparatus. The present invention relates to a management program and an image forming apparatus.

従来、プリンタ、コピーおよびスキャナなどの複数の機能を一つの筐体内に収納した複合機が知られている。かかる複合機では、UNIX(R)などの汎用OS上に、プリンタアプリ、コピーアプリおよびスキャナアプリと呼ばれる複数のアプリケーションを搭載し、これらのアプリケーションの実行処理を切替えながら複数の機能を実現していた。   2. Description of the Related Art Conventionally, there has been known a multi-function machine in which a plurality of functions such as a printer, a copy, and a scanner are stored in a single casing. In such a multifunction device, a plurality of applications called a printer application, a copy application, and a scanner application are mounted on a general-purpose OS such as UNIX (R), and a plurality of functions are realized while switching execution processes of these applications. .

ところが、上記プリンタアプリ、コピーアプリおよびスキャナアプリは、それぞれエンジン制御、メモリ制御およびシステム制御などを別個におこなっているので、重複処理という無駄が生じていた。   However, since the printer application, the copy application, and the scanner application perform engine control, memory control, system control, and the like separately, wasteful duplication processing has occurred.

このため、特許文献1では、複合機に搭載される複数のアプリケーションがそれぞれ担っていたエンジン制御、メモリ制御およびシステム制御などの処理を共通処理部分(プラットホーム)として各アプリケーションから括り出すことにより、アプリケーションの開発効率の向上を図っている。   For this reason, in Patent Document 1, the applications such as engine control, memory control, and system control, which have been performed by a plurality of applications installed in the multifunction peripheral, are grouped from each application as a common processing part (platform). The development efficiency is improved.

また、特許文献2では、ファックス機能を使用した際に発生する通信回線使用料金をテーブルデータとして記憶し、ファックス機能の提供にともなって発生するプリンタ機能の提供料金と、かかる通信回線使用料金とを加算することで、ファックス機能を提供する際の課金をおこなうこととしている。   In Patent Document 2, a communication line usage fee that is generated when the fax function is used is stored as table data, and the printer function provision fee that accompanies the provision of the fax function and the communication line usage fee are as follows. By adding, the user is charged for providing the fax function.

特開2002−084383号公報JP 2002-084383 A 特開平10−023189号公報Japanese Patent Laid-Open No. 10-023189

しかしながら、この特許文献1で開示されている発明は、ハードウェアを制御する処理部分を共通化するものであり、各アプリケーションの内部処理全般を共通化するものではない。このため、複合機上のアプリケーションには、開発効率の向上を図るうえで改善の余地が残されている。   However, the invention disclosed in Patent Document 1 shares a processing part for controlling hardware, and does not share all internal processes of each application. For this reason, there is still room for improvement in the application on the multifunction peripheral in order to improve the development efficiency.

たとえば、オペレーションパネル制御ソフトウェアやネットワーク制御ソフトウェアを介して、コピーサービスなどの機能提供要求を受け付け、提供する機能に応じた課金をおこなう課金処理は、複写機上の各アプリケーションに共通して存在する処理であるが、ハードウェアを直接制御する処理ではないため各アプリケーションで別個に実現されており、共通化することが可能である。   For example, a billing process that accepts a function provision request such as a copy service via the operation panel control software or network control software and charges according to the provided function is a process that is common to each application on the copier However, since it is not a process for directly controlling the hardware, it is realized separately for each application and can be shared.

また、特許文献2で開示されている発明は、複合機上の複数の機能を組み合わせたサービスについての課金処理に関するものであり、複数の課金処理を並行しておこなうことを考慮したものではない。したがって、複合機が複数のサービス要求を受け付け、各サービス要求に対する課金処理をおこなう場合には、各課金処理を正確に管理することが困難となり、課金処理が正しくおこなわれず、二重課金や未課金といった課金ミスが発生する可能性が高くなるおそれがある。特に、コインラック装置やキーカード装置といった複数の課金装置の利用が可能な環境においては、かかる課金ミスが発生する可能性はさらに高くなる。   The invention disclosed in Patent Document 2 relates to billing processing for a service combining a plurality of functions on a multifunction peripheral, and does not consider performing a plurality of billing processes in parallel. Therefore, when the multi-function peripheral accepts multiple service requests and performs billing processing for each service request, it becomes difficult to accurately manage each billing process, and billing processing is not performed correctly. There is a possibility that a billing error such as this is likely to occur. In particular, in an environment where a plurality of billing devices such as a coin rack device and a key card device can be used, the possibility of such billing mistakes further increases.

これらのことから、複合機に搭載されるアプリケーションの課金処理をいかにして効率よく、かつ、高い信頼性をもって実現するかが大きな課題となっている。なお、かかる課題は複合機についてのみ生じるものではなく、たとえば、有料サービスに対する課金をおこなう課金管理装置を形成するような場合にも同様に生ずる課題である。   For these reasons, it has become a big issue how to efficiently and highly reliably charge the application installed in the multifunction peripheral. Note that such a problem does not occur only for the multi-function peripheral, but also occurs when, for example, a charging management apparatus that charges a fee-based service is formed.

本発明は、上述した従来技術による問題点を解消するためになされたものであり、課金処理を効率よく実現することができる課金管理プログラムおよび画像形成装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a charge management program and an image forming apparatus capable of efficiently realizing charge processing.

上述した課題を解決し、目的を達成するために、請求項1の発明にかかる課金管理プログラムは、利用者の要求に応じサービスを提供するサービス提供装置または前記サービス提供装置と通信可能な課金管理装置に搭載され、利用者により前記サービス提供装置に要求されたサービスのサービス料金を算出し、該サービス料金の課金実行を課金装置に指示する課金管理プログラムであって、課金装置と一対一に対応し、該課金装置に課金実行を指示する課金実行手段と、1または複数の前記課金実行手段を選択し、選択した課金実行手段に課金実行を依頼する対価手段としてコンピュータを機能させることを特徴とする。   In order to solve the above-described problems and achieve the object, a billing management program according to the first aspect of the present invention is a billing management program that provides a service in response to a user request or a billing management that can communicate with the service providing device. A billing management program that is installed in a device, calculates a service fee for a service requested by the user to the service providing device, and instructs the billing device to perform billing of the service fee, and corresponds to the billing device on a one-to-one basis And a billing execution means for instructing the billing apparatus to execute billing, and one or a plurality of the billing execution means are selected, and the computer functions as a counter means for requesting the billing execution to the selected billing execution means. To do.

また、請求項2の発明にかかる課金管理プログラムは、請求項1の発明において、前記課金実行手段は、減算式課金装置と一対一に対応する減算式課金手段と、加算式課金装置と一対一に対応する加算式課金手段とをさらに備えたことを特徴とする。   According to a second aspect of the present invention, there is provided a billing management program according to the first aspect of the present invention, wherein the billing execution means is one-to-one with a subtractive billing unit corresponding to the subtractive billing device and one-to-one billing device. And an addition-type charging unit corresponding to the above.

また、請求項3の発明にかかる課金管理プログラムは、請求項1または2の発明において、前記課金実行手段は、すべての前記加算式課金手段を管理する管理手段をさらに備え、該管理手段は、1つの加算式課金手段を選択して課金実行を指示し、選択した加算式課金手段が課金実行を継続できない場合には、他の加算式課金手段を選択して課金実行を継続させることを特徴とする。   According to a third aspect of the present invention, there is provided a charge management program according to the first or second aspect, wherein the charge execution means further comprises a management means for managing all the addition-type charge means, One addition-type charging means is selected and charging execution is instructed. If the selected addition-type charging means cannot continue the charging execution, another adding-type charging means is selected to continue the charging execution. And

また、請求項4の発明にかかる課金管理プログラムは、請求項3の発明において、前記管理手段は、合計額および限度額を保持し、課金要求を受け付けたならば該課金要求に含まれる課金額を合計額に加算し、所定の条件を満たした場合に前記加算式課金手段に対し課金実行を指示することを特徴とする。   According to a fourth aspect of the present invention, there is provided a billing management program according to the third aspect of the present invention, wherein the managing means holds the total amount and the limit amount, and if a billing request is received, the billing amount included in the billing request Is added to the total amount, and charging is instructed to the addition type charging means when a predetermined condition is satisfied.

また、請求項5の発明にかかる課金管理プログラムは、請求項3または4の発明において、前記対価手段は、前記減算式課金手段および前記管理手段を木構造の子として管理し、前記管理手段は、前記加算式課金手段を木構造の子として管理することを特徴とする。   According to a fifth aspect of the present invention, there is provided a charge management program according to the third or fourth aspect, wherein the consideration means manages the subtractable charge means and the management means as children of a tree structure, and the management means The addition type charging means is managed as a child of a tree structure.

また、請求項6の発明にかかる課金管理プログラムは、請求項5の発明において、利用可能な課金装置の一覧を保持する取引表手段をさらに備え、前記対価手段は、該取引表手段の検索結果に基づいて前記減算式課金手段または前記加算式課金手段を選択することを特徴とする。   According to a sixth aspect of the present invention, there is provided a billing management program according to the fifth aspect of the present invention, further comprising transaction table means for holding a list of available charging devices, wherein the consideration means is a search result of the transaction table means. The subtracting charging unit or the adding charging unit is selected based on the above.

また、請求項7の発明にかかる課金管理プログラムは、請求項5または6の発明において、前記減算式課金手段は、対応する減算式課金装置が課金不能状態となったならば、前記対価手段に対し課金先の変更を依頼することを特徴とする。   According to a seventh aspect of the present invention, there is provided a billing management program according to the fifth or sixth aspect, wherein the subtracting billing unit is configured to send the subtracting billing device to the consideration unit when the corresponding subtracting billing device becomes incapable of billing. It is characterized by requesting the change of the billing destination.

また、請求項8の発明にかかる課金管理プログラムは、請求項5、6または7の発明において、前記請求先手段は、対応する加算式課金装置が課金不能状態となったならば、前記請求金額手段に対し課金先の変更を依頼し、該請求金額手段は、前記対価手段に対し課金先の変更を依頼することを特徴とする。   The billing management program according to the invention of claim 8 is the billing management program according to the invention of claim 5, 6 or 7, wherein the billing means is configured to charge the billing amount when the corresponding addition-type billing apparatus becomes incapable of billing. The requesting means is requested to change the billing destination, and the billing amount means requests the billing means to change the billing destination.

また、請求項9の発明にかかる課金管理プログラムは、請求項5〜8の発明において、前記減算式課金手段は、前記対価手段から選択されたならば、自己が保持する減算式課金装置の残高に基づいて課金実行の可否を判定し、判定結果を該対価手段に応答することを特徴とする。   According to a ninth aspect of the present invention, there is provided a billing management program according to any one of the fifth to eighth aspects of the present invention, wherein if the subtracting billing means is selected from the consideration means, the balance of the subtracting billing device held by itself Based on the above, it is determined whether or not the billing can be executed, and the determination result is returned to the consideration means.

また、請求項10の発明にかかる課金管理プログラムは、請求項5〜9の発明において、前記サービス提供装置の制御プログラムからサービス要求内容を含むサービス要求通知を受信する帳簿手段と、該サービス要求通知ごとに該帳簿手段により生成される伝票手段とをさらに備え、前記伝票手段は、前記対価手段を生成して該対価手段に課金処理を依頼することを特徴とする。   A billing management program according to a tenth aspect of the present invention is the billing management program according to any of the fifth to ninth aspects of the present invention, a book means for receiving a service request notification including a service request content from the control program of the service providing apparatus, and the service request notification. A slip means generated by the book means, and the slip means generates the consideration means and requests the consideration means to perform charging processing.

また、請求項11の発明にかかる課金管理プログラムは、請求項10の発明において、提供するサービスの料金一覧を保持し、前記伝票手段の求めに応じ該当するサービス料金を検索して該料金を応答する料金表手段をさらに備えたことを特徴とする。   The billing management program according to the invention of claim 11 is the charge management program according to the invention of claim 10, which holds a list of charges for the service to be provided, searches for the corresponding service charge in response to the request of the slip means, and responds with the charge It is further characterized by further comprising a charge table means.

また、請求項12の発明にかかる課金管理プログラムは、請求項11の発明において、前記伝票手段は、前記サービス料金が無料である場合には、前記対価手段を生成しないことを特徴とする。   The billing management program according to a twelfth aspect of the invention is characterized in that, in the eleventh aspect of the invention, the slip means does not generate the consideration means when the service fee is free.

また、請求項13の発明にかかる画像形成装置は、利用者により要求されたサービスのサービス料金を算出し、該サービス料金の課金実行を課金装置に指示する画像形成装置であって、前記課金装置と一対一に対応し、該課金装置に課金実行を指示する課金実行手段と、1または複数の前記課金実行手段を選択し、選択した課金実行手段に課金実行を依頼する対価手段とを備えたことを特徴とする。   An image forming apparatus according to a thirteenth aspect of the present invention is an image forming apparatus that calculates a service fee of a service requested by a user and instructs the charging device to perform charging of the service fee, wherein the charging device And charging means for instructing the charging apparatus to execute charging, and consideration means for selecting one or a plurality of the charging execution means and requesting the selected charging execution means to execute charging It is characterized by that.

請求項1にかかる課金管理プログラムによれば、課金装置と一対一に対応し、課金装置に課金実行を指示する課金実行手段と、1または複数の課金実行手段を選択し、選択した課金実行手段に課金実行を依頼する対価手段としてコンピュータを機能させるよう構成したので、ソフトウェア開発者やソフトウェア保守要員が、課金部の構成と役割を容易に把握することがでるとともに、複数の課金装置を用いた場合や、サービス要求を並行処理する場合であっても課金状態を正確に管理できるので、課金処理を効率よく実現することができるという効果を奏する。   According to the billing management program of claim 1, the billing execution unit that has a one-to-one correspondence with the billing device, instructs the billing device to execute billing, and selects one or a plurality of billing execution units. Since the computer is made to function as a compensation means for requesting charging to a software developer, software developers and software maintenance personnel can easily grasp the configuration and role of the charging unit and use a plurality of charging devices. In this case, even if service requests are processed in parallel, the charging status can be managed accurately, so that the charging process can be efficiently realized.

また、請求項2にかかる課金管理プログラムによれば、課金実行手段は、減算式課金装置と一対一に対応する減算式課金手段と、加算式課金装置と一対一に対応する加算式課金手段とをさらに備えるよう構成したので、加算式課金装置および減算式課金装置に固有の機能の差異を吸収して効率的な課金処理をおこなうことができるという効果を奏する。   According to the charge management program of claim 2, the charge execution means includes a subtraction charge means corresponding to the subtraction charge apparatus on a one-to-one basis, and an addition charge means corresponding to the addition charge apparatus on a one-to-one basis. Therefore, the present invention has an effect that it is possible to perform efficient billing processing by absorbing the difference in functions inherent in the addition-type billing device and the subtraction-type billing device.

また、請求項3にかかる課金管理プログラムによれば、課金実行手段は、すべての加算式課金手段を管理する管理手段をさらに備え、管理手段は、1つの加算式課金手段を選択して課金実行を指示し、選択した加算式課金手段が課金実行を継続できない場合には、他の加算式課金手段を選択して課金実行を継続させるよう構成したので、課金装置を体系的に管理することができ、効率的な課金処理をおこなうことができるという効果を奏する。   According to the billing management program of claim 3, the billing execution unit further includes a management unit that manages all the addition-type billing units, and the management unit selects one billing-type billing unit and executes billing. When the selected addition type charging means cannot continue the charging execution, the other charging type charging means is selected to continue the charging execution, so that the charging apparatus can be systematically managed. It is possible to perform an effective charging process.

また、請求項4にかかる課金管理プログラムによれば、管理手段は、合計額および限度額を保持し、課金要求を受け付けたならば課金要求に含まれる課金額を合計額に加算し、所定の条件を満たした場合に加算式課金手段に対し課金実行を指示するよう構成したので、課金装置への課金指示の頻度を減少させ効率的な課金処理をおこなうことができるという効果を奏する。   According to the billing management program of claim 4, the management means holds the total amount and the limit amount, and when the billing request is received, the billing amount included in the billing request is added to the total amount, Since the billing execution instruction is instructed to the addition-type billing means when the condition is satisfied, there is an effect that the frequency of the billing instruction to the billing apparatus can be reduced and efficient billing processing can be performed.

また、請求項5にかかる課金管理プログラムによれば、対価手段は、減算式課金手段および管理手段を木構造の子として管理し、管理手段は、加算式課金手段を木構造の子として管理するよう構成したので、ソフトウェア開発者やソフトウェア保守要員が、課金部の構成と役割を容易に把握することがでるとともに、効率的な課金処理をおこなうことができるという効果を奏する。   According to the charging management program of claim 5, the consideration means manages the subtracting charging means and the management means as children of a tree structure, and the managing means manages the addition charging means as a child of the tree structure. With this configuration, the software developer and software maintenance personnel can easily grasp the configuration and role of the accounting unit and can perform an efficient accounting process.

また、請求項6にかかる課金管理プログラムによれば、利用可能な課金装置の一覧を保持する取引表手段をさらに備え、対価手段は、取引表手段の検索結果に基づいて減算式課金手段または加算式課金手段を選択するよう構成したので、ソフトウェア開発者やソフトウェア保守要員が、課金部の構成と役割を容易に把握することがでるとともに、課金装置の追加や取外しを容易におこなうことができるという効果を奏する。   The billing management program according to claim 6 further comprises transaction table means for holding a list of available billing devices, and the consideration means is based on a search result of the transaction table means. Since it is configured to select the type billing means, software developers and software maintenance personnel can easily grasp the configuration and role of the billing unit, and can easily add or remove the billing device There is an effect.

また、請求項7にかかる課金管理プログラムによれば、減算式課金手段は、対応する減算式課金装置が課金不能状態となったならば、対価手段に対し課金先の変更を依頼するよう構成したので、課金装置の状態に応じて課金装置を切替えることにより効率的な課金処理をおこなうことができるという効果を奏する。   According to the billing management program of claim 7, the subtractive billing means is configured to request the charge means to change the billing destination when the corresponding subtractable billing apparatus becomes incapable of billing. Therefore, it is possible to perform an efficient charging process by switching the charging device according to the state of the charging device.

また、請求項8にかかる課金管理プログラムによれば、請求先手段は、対応する加算式課金装置が課金不能状態となったならば、請求金額手段に対し課金先の変更を依頼し、請求金額手段は、対価手段に対し課金先の変更を依頼するよう構成したので、体系的に管理する課金装置の状態に応じて課金装置を切替えることにより、効率的な課金処理をおこなうことができるという効果を奏する。   According to the billing management program of claim 8, the billing means requests the billing amount means to change the billing destination when the corresponding addition type charging device becomes incapable of charging, and the billing amount Since the means is configured to request the charge means to change the billing destination, the billing device can be switched according to the state of the billing device systematically managed so that efficient billing processing can be performed. Play.

また、請求項9にかかる課金管理プログラムによれば、減算式課金手段は、対価手段から選択されたならば、自己が保持する減算式課金装置の残高に基づいて課金実行の可否を判定し、判定結果を対価手段に応答するよう構成したので、課金処理を確実におこなうことができるという効果を奏する。   Further, according to the billing management program according to claim 9, if the subtracting billing means is selected from the consideration means, it determines whether or not billing can be executed based on the balance of the subtracting billing device held by itself. Since the determination result is configured to respond to the consideration means, there is an effect that the accounting process can be surely performed.

また、請求項10にかかる課金管理プログラムによれば、サービス提供装置の制御プログラムからサービス要求内容を含むサービス要求通知を受信する帳簿手段と、サービス要求通知ごとに帳簿手段により生成される伝票手段とをさらに備え、伝票手段は、対価手段を生成して対価手段に課金処理を依頼するよう構成したので、複数の課金処理を並行しておこなうことができるという効果を奏する。   According to the billing management program of claim 10, book means for receiving a service request notification including service request contents from the control program of the service providing apparatus, and slip means generated by the book means for each service request notification; The slip means generates the consideration means and requests the consideration means to perform the billing process, so that it is possible to perform a plurality of billing processes in parallel.

また、請求項11にかかる課金管理プログラムによれば、提供するサービスの料金一覧を保持し、伝票手段の求めに応じ該当するサービス料金を検索して料金を応答する料金表手段をさらに備えるよう構成したので、提供するサービスの種別にかかわらずサービス料金の算出をおこなうことができるという効果を奏する。   The billing management program according to the eleventh aspect further comprises a billing table means for holding a list of charges for the service to be provided, searching for a corresponding service charge in response to a request from the slip means, and responding to the charge. As a result, the service fee can be calculated regardless of the type of service to be provided.

また、請求項12にかかる課金管理プログラムによれば、伝票手段は、サービス料金が無料である場合には、対価手段を生成しないよう構成したので、サービス料金が無料である場合であっても効率的な処理をおこなうことができるという効果を奏する。   According to the billing management program of claim 12, the slip means is configured not to generate the consideration means when the service fee is free, so that the efficiency is improved even when the service fee is free. The effect that it can perform typical processing is produced.

また、請求項13にかかる画像形成装置によれば、課金装置と一対一に対応し、課金装置に課金実行を指示する課金実行手段と、1または複数の前記課金実行手段を選択し、選択した課金実行手段に課金実行を依頼する対価手段とを備えるよう構成したので、ソフトウェア開発者やソフトウェア保守要員が、課金部の構成と役割を容易に把握することがでるとともに、複数の課金装置を用いた場合や、サービス要求を並行処理する場合であっても課金状態を正確に管理できるので、課金処理を効率よく実現することができるという効果を奏する。   According to the image forming apparatus of the thirteenth aspect, the charging execution unit that has a one-to-one correspondence with the charging apparatus and instructs the charging apparatus to execute charging, and the one or more charging execution units are selected and selected. Since the billing execution means is provided with a billing means for requesting billing execution, the software developer and software maintenance personnel can easily grasp the structure and role of the billing unit and use a plurality of billing devices. Even when the service request is processed in parallel or when the service request is processed in parallel, the charging status can be managed accurately, so that the charging process can be efficiently realized.

以下に添付図面を参照して、この発明にかかる課金管理プログラム、およびこのプログラムを実行させるためのコンピュータを含んだ画像形成装置の最良な実施の形態を詳細に説明する。なお、本実施の形態では、この発明を画像形成装置に適用した場合について説明するが、本発明はこれに限らず、課金管理をおこなう各種装置に適用することができる。   Exemplary embodiments of an accounting management program according to the present invention and an image forming apparatus including a computer for executing the program will be described below in detail with reference to the accompanying drawings. In this embodiment, the case where the present invention is applied to an image forming apparatus will be described. However, the present invention is not limited to this and can be applied to various apparatuses that perform billing management.

まず、本実施の形態に係る画像形成装置(以下「複合機」と言う)1の概要について図1、図2、図3、図19および図20を用いて説明する。図1は、本実施の形態に係る複合機1を取り巻くネットワーク環境を説明するためのネットワーク図であり、図2は、図1に示した複合機1のハードウェア構成を示すブロック図であり、図3は、図1に示した複合機1のソフトウェアとハードウェアの関係を説明するための説明図であり、図19は、複合機1に搭載されるソフトウェア構成の変遷を説明するための説明図であり、図20は、従来の複合機のソフトウェアとハードウェアの関係を説明するための説明図である。   First, an outline of an image forming apparatus (hereinafter referred to as “multifunction machine”) 1 according to the present embodiment will be described with reference to FIGS. 1, 2, 3, 19, and 20. FIG. 1 is a network diagram for explaining a network environment surrounding the MFP 1 according to the present embodiment, and FIG. 2 is a block diagram showing a hardware configuration of the MFP 1 shown in FIG. FIG. 3 is an explanatory diagram for explaining the relationship between software and hardware of the multifunction device 1 shown in FIG. 1, and FIG. 19 is an explanation for explaining the transition of the software configuration installed in the multifunction device 1. FIG. 20 is an explanatory diagram for explaining the relationship between software and hardware of a conventional multifunction machine.

図1に示すように、近年のネットワーク化の進展により、オフィスなどに設けられたパーソナルコンピュータ(PC)などの機器は、LAN(Local Area Network)などのネットワークに接続され、相互に通信することが通常となった。たとえば、同図に示したように、かかるネットワークには、クライアントPC、SMTP(Simple Mail Transfer Protocol)サーバ、FTP(File Transfer Protocol)サーバ、課金サーバ2、サーバPCなどが接続され、電子メールの送受信やファイル転送をすることができ、モデム接続された配信サーバは、オフィス外のファックス装置と通信することができる。   As shown in FIG. 1, with the recent progress of networking, devices such as personal computers (PCs) provided in offices are connected to a network such as a LAN (Local Area Network) and can communicate with each other. It became normal. For example, as shown in the figure, a client PC, an SMTP (Simple Mail Transfer Protocol) server, an FTP (File Transfer Protocol) server, an accounting server 2, a server PC, and the like are connected to such a network to send and receive electronic mail. And file transfer, and a modem-connected distribution server can communicate with a fax machine outside the office.

このようなネットワーク化の進展に伴い、複合機1もかかるネットワークに接続され、PC等の機器と相互に通信することが可能となり、ハードディスク等の記憶装置を内蔵することで、いわゆるネットワーク複合機へと進化し、ユーザの様々なニーズに応えることができるようになった。   With the progress of such networking, the multifunction device 1 is also connected to such a network and can communicate with a device such as a PC. By incorporating a storage device such as a hard disk, a so-called network multifunction device can be obtained. It has evolved to meet various user needs.

たとえば、複合機1は、通常のコピー機能に加えて、クライアントPCからの印刷要求により文書データ等を印刷するプリンタ機能、クライアントPCからのファックス要求により文書データ等をサーバPCに接続されたモデムを経由して他のオフィスのファックス機器に送信するファックス機能、受信したファックス文書やコピー文書を内蔵したハードディスクに蓄積する蓄積機能などを有するようになった。   For example, in addition to the normal copy function, the multi function device 1 has a printer function for printing document data or the like in response to a print request from the client PC, and a modem connected to the server PC for document data or the like in response to a fax request from the client PC. It has a fax function that sends it to fax machines in other offices via the Internet, and a storage function that stores received fax documents and copy documents on a built-in hard disk.

また、複合機1は、課金装置1aなどの複合機1本体に直接接続される装置を用いて課金処理をおこなうことに加えて、ネットワークを介して接続される課金サーバ2を用いて課金処理をおこなうことができるようになった。ここで、課金装置1aは、料金徴収用のコインラック装置や、事後的な料金徴収のためにコピー等の使用量を記録するプリセットキーカード装置や、クレジットカード装置といった装置であり、課金サーバ2は、事後的な料金徴収をおこなうために、課金データを管理する装置である。   Further, the multifunction device 1 performs billing processing using a billing server 2 connected via a network, in addition to performing billing processing using a device directly connected to the main body of the multifunction device 1 such as the billing device 1a. I was able to do it. Here, the charging device 1a is a device such as a coin rack device for collecting a fee, a preset key card device that records a usage amount of a copy or the like for a subsequent fee collection, and a credit card device. Is a device that manages billing data in order to collect charges later.

こうして複合化とネットワーク化の進展により必要となった多くの機能を実現するため、複合機1に搭載されるソフトウェアは、規模が大きく、複雑なものとなっている。そして、それにともなって、それらのソフトウェアの開発と維持管理のための工数も大幅に増大している。   In this way, in order to realize many functions required by the progress of compounding and networking, the software installed in the compound machine 1 is large and complicated. Along with this, the man-hours for developing and maintaining such software have also increased significantly.

図2は、かかる複合機1のハードウェア構成を示すブロック図である。同図に示すように、この複合機1は、コントローラ10とエンジン部(Engine)60とをPCI(Peripheral Component Interconnect)バスで接続した構成となる。コントローラ10は、複合機1全体の制御と描画、通信、図示しない操作部からの入力を制御するコントローラである。エンジン部60は、PCIバスに接続可能なプリンタエンジンなどであり、たとえば白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、スキャナまたはファックスユニットなどである。なお、このエンジン部60には、プロッタなどのいわゆるエンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分が含まれる。   FIG. 2 is a block diagram illustrating a hardware configuration of the multifunction machine 1. As shown in the figure, the multifunction machine 1 has a configuration in which a controller 10 and an engine unit (Engine) 60 are connected by a PCI (Peripheral Component Interconnect) bus. The controller 10 is a controller that controls the entire multifunction device 1 and controls drawing, communication, and input from an operation unit (not shown). The engine unit 60 is a printer engine that can be connected to a PCI bus, and is, for example, a monochrome plotter, a one-drum color plotter, a four-drum color plotter, a scanner, or a fax unit. The engine unit 60 includes an image processing part such as error diffusion and gamma conversion in addition to a so-called engine part such as a plotter.

コントローラ10は、CPU11と、ノースブリッジ(NB)13と、システムメモリ(MEM−P)12と、サウスブリッジ(SB)14と、ローカルメモリ(MEM−C)17と、ASIC(Application Specific Integrated Circuit)16と、ハードディスクドライブ(HDD)18とを有し、ノースブリッジ(NB)13とASIC16との間をAGP(Accelerated Graphics Port)バス15で接続した構成となる。また、MEM−P12は、ROM(Read Only Memory)12aと、RAM(Random Access Memory)12bとをさらに有する。   The controller 10 includes a CPU 11, a north bridge (NB) 13, a system memory (MEM-P) 12, a south bridge (SB) 14, a local memory (MEM-C) 17, and an ASIC (Application Specific Integrated Circuit). 16 and a hard disk drive (HDD) 18, and the north bridge (NB) 13 and the ASIC 16 are connected by an AGP (Accelerated Graphics Port) bus 15. The MEM-P 12 further includes a ROM (Read Only Memory) 12a and a RAM (Random Access Memory) 12b.

CPU11は、複合機1の全体制御をおこなうものであり、NB13、MEM−P12およびSB14からなるチップセットを有し、このチップセットを介して他の機器と接続される。   The CPU 11 performs overall control of the multifunction machine 1 and includes a chip set including the NB 13, the MEM-P 12, and the SB 14, and is connected to other devices via the chip set.

NB13は、CPU11とMEM−P12、SB14、AGP15とを接続するためのブリッジであり、MEM−P12に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを有する。   The NB 13 is a bridge for connecting the CPU 11 to the MEM-P 12, SB 14, and AGP 15, and includes a memory controller that controls reading and writing to the MEM-P 12, a PCI master, and an AGP target.

MEM−P12は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM12aとRAM12bとからなる。ROM12aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM12bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。   The MEM-P 12 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a memory for drawing a printer, and the like, and includes a ROM 12a and a RAM 12b. The ROM 12a is a read-only memory used as a program / data storage memory, and the RAM 12b is a writable / readable memory used as a program / data development memory, a printer drawing memory, or the like.

SB14は、NB13とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB14は、PCIバスを介してNB13と接続されており、このPCIバスには、ネットワークインターフェース(I/F)部なども接続される。   The SB 14 is a bridge for connecting the NB 13 to a PCI device and peripheral devices. The SB 14 is connected to the NB 13 via a PCI bus, and a network interface (I / F) unit and the like are also connected to the PCI bus.

ASIC16は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGP15、PCIバス、HDD18およびMEM−C17をそれぞれ接続するブリッジの役割を有する。このASIC16は、PCIターゲットおよびAGPマスタと、ASIC16の中核をなすアービタ(ARB)と、MEM−C17を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などをおこなう複数のDMAC(Direct Memory Access Controller)と、エンジン部60との間でPCIバスを介したデータ転送をおこなうPCIユニットとからなる。このASIC16には、PCIバスを介してFCU(Fax Control Unit)30、USB(Universal Serial Bus)40、IEEE1394(the Institute of Electrical and Electronics Engineers 1394)インターフェース50が接続される。   The ASIC 16 is an IC (Integrated Circuit) for image processing applications having hardware elements for image processing, and has a role of a bridge for connecting the AGP 15, PCI bus, HDD 18 and MEM-C 17. The ASIC 16 includes a PCI target and an AGP master, an arbiter (ARB) that is the core of the ASIC 16, a memory controller that controls the MEM-C 17, and a plurality of DMACs (Direct Memory) that perform rotation of image data by hardware logic. Access Controller) and a PCI unit that performs data transfer between the engine unit 60 via the PCI bus. An FCU (Fax Control Unit) 30, a USB (Universal Serial Bus) 40, and an IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394) interface 50 are connected to the ASIC 16 via a PCI bus.

MEM−C17は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD(Hard Disk Drive)18は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。   The MEM-C 17 is a local memory used as an image buffer for copying and a code buffer, and an HDD (Hard Disk Drive) 18 is a storage for storing image data, programs, font data, and forms. It is.

AGP15は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、MEM−P12に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。   The AGP 15 is a bus interface for a graphics accelerator card proposed for speeding up graphics processing. The AGP 15 speeds up the graphics accelerator card by directly accessing the MEM-P 12 with high throughput. .

図3は、かかる複合機1のハードウェアおよびソフトウェアの構成を示した概念図であり、具体的には、後述する本実施の形態の特徴部分である課金部112aを含む統合アプリケーション110と、ソフトウェア100およびハードウェア200の階層関係を示している。同図に示すように、ハードウェア200は、ハードウェアリソース201を有し、このハードウェアリソース201は、スキャナ201a、プロッタ201b、HDD(Hard Disk Drive)201c、ネットワーク201dおよびその他のリソース201eを有する。なお、その他のリソース201eは、201a〜201d以外のハードウェアリソース201のことであり、たとえば、操作パネルなどの入出力デバイスを示す。   FIG. 3 is a conceptual diagram showing the hardware and software configurations of the multi-function device 1, and specifically, an integrated application 110 including a charging unit 112a, which is a characteristic part of the present embodiment to be described later, and software 100 shows a hierarchical relationship between 100 and hardware 200. As shown in the figure, the hardware 200 includes a hardware resource 201. The hardware resource 201 includes a scanner 201a, a plotter 201b, an HDD (Hard Disk Drive) 201c, a network 201d, and other resources 201e. . The other resource 201e is a hardware resource 201 other than 201a to 201d, and indicates an input / output device such as an operation panel, for example.

また、かかるハードウェア200に搭載されるソフトウェア100は階層化されており、オペレーティングシステム103の上層にはサービス層102が構築され、このサービス層102の上層にはアプリケーション層103が構築されている。そして、サービス層102は、各ハードウェアリソース(201a〜201e)を制御するドライバーに相当する、スキャナ制御102部a、プロッタ制御部102b、蓄積制御部102c、配信/メール送受信制御部102d、FAX送受信制御部102e、ネットワーク通信制御部102fおよびその他の制御部102gを有する。   The software 100 installed in the hardware 200 is hierarchized, and a service layer 102 is constructed above the operating system 103, and an application layer 103 is constructed above the service layer 102. The service layer 102 corresponds to a driver that controls each hardware resource (201a to 201e). The scanner control unit 102a, plotter control unit 102b, storage control unit 102c, distribution / mail transmission / reception control unit 102d, FAX transmission / reception It has a control unit 102e, a network communication control unit 102f, and another control unit 102g.

ここで、図3に示したソフトウェア100が、かかる階層構造をとるに至った経緯について、図19および図20を用いて説明する。図19は、複合機1に搭載されるソフトウェア構成の変遷を示す説明図である。図19のサービス層分離前アプリケーション501に示すように、多機能化した複合機1に搭載されるソフトウェアは、コピーアプリケーション、FAXアプリケーション、スキャナアプリケーションなどの機能別に独立したアプリケーションとして作成され、図3に示したオペレーティングシステム103上で動作していた。   Here, how the software 100 shown in FIG. 3 has taken such a hierarchical structure will be described with reference to FIGS. 19 and 20. FIG. 19 is an explanatory diagram showing changes in the software configuration installed in the multifunction machine 1. As shown in the pre-service layer separation application 501 in FIG. 19, the software installed in the multifunctional multifunction device 1 is created as an independent application for each function such as a copy application, a FAX application, and a scanner application. It was operating on the operating system 103 shown.

しかしながら、これらのアプリケーションは、ハードウェアリソースを制御するドライバー(サービス層102)を含んでいたため、各アプリケーションには重複した処理が存在していた。その結果、各アプリケーションの規模は大きなものとなっていた。   However, since these applications include a driver (service layer 102) that controls hardware resources, duplicate processing exists in each application. As a result, the scale of each application has become large.

そこで、図19のサービス層分離後アプリケーション502に示すように、サービス層分離前アプリケーション501のサービス層102相当部分を括りだしサービス層102とするとともに、各アプリケーションは、このサービス層102の上層であるアプリケーション層101に構築する構成とした。かかる階層化構成をとることにより、各アプリケーションはスリム化され開発労力も軽減された。   Therefore, as shown in an application 502 after service layer separation in FIG. 19, a portion corresponding to the service layer 102 of the application 501 before service layer separation is bundled into a service layer 102, and each application is an upper layer of the service layer 102. The application layer 101 is constructed. By adopting such a hierarchical structure, each application has been streamlined and development effort has been reduced.

しかしながら、複合機1のネットワーク化、多機能化がさらに進展するに従って、各アプリケーションに共通処理部分が存在することが問題となってきた。具体的には、アプリケーション層101の各アプリケーション、たとえば、コピーアプリケーションやスキャナアプリケーションなどは、それぞれ、スキャナ制御部102aや蓄積制御部102cといったドライバーと通信をおこなう処理や、各種機能が提供するサービスの課金管理などの同様な処理を内部に有していた。このように、同様な処理を各アプリケーションが有していると、各アプリケーションの開発規模が大きくなるとともに、サービス層の仕様変更に対する各アプリケーションの改修規模が大きくなることが問題となってきた。   However, as the networking and multi-functionalization of the multifunction machine 1 further advance, it has become a problem that a common processing part exists in each application. Specifically, each application of the application layer 101, for example, a copy application or a scanner application, performs processing for communicating with a driver such as the scanner control unit 102a or the accumulation control unit 102c, or charges for services provided by various functions. It had similar processing such as management inside. As described above, when each application has the same processing, the development scale of each application is increased, and the improvement scale of each application with respect to the specification change of the service layer is increased.

この問題を解決するため、図19の共通ルーチン分離アプリケーション503に示すように、かかる同様な処理(共通処理部分)を共通ルーチンとして括りだすことも考えられた。しかしながら、かかる共通ルーチンは、各アプリケーションにおいて微妙に異なる処理を共通化しようとするものであるため、共通ルーチン内部の処理は複雑なものとなってしまう。また、たとえば、プリンタアプリケーションなどの新規アプリケーションを追加する場合においては、かかる新規アプリケーションに適応するために、共通ルーチンの改修が必要となる。   In order to solve this problem, as shown in the common routine separation application 503 in FIG. 19, it has been considered that such similar processing (common processing portion) is bundled as a common routine. However, since such a common routine is intended to share slightly different processing in each application, the processing inside the common routine becomes complicated. For example, when adding a new application such as a printer application, it is necessary to modify the common routine in order to adapt to the new application.

しかし、共通ルーチンの内部処理は複雑であるため、改修要員が処理を把握することが困難となり、改修規模の増大や、改修ミスによる他のアプリケーションへの影響が懸念された。   However, since the internal processing of the common routine is complicated, it became difficult for repair personnel to grasp the processing, and there were concerns about the increase in the scale of repair and the impact on other applications due to repair mistakes.

そこで、図19のオブジェクト指向アプリケーション504に示すように、オブジェクト指向による設計手法(オブジェクトモデリング)により、かかる複数のアプリケーションを、統合アプリケーション110に統合することとした。具体的には、各アプリケーションの共通処理部分をオブジェクトモデルとして抽出し、このオブジェクトモデルの集合体から、統合アプリケーション110を構成する。そして、従来のコピー機能やスキャナ機能といった機能は、かかるオブジェクトモデルの協調関係によって実現する。   Therefore, as shown in an object-oriented application 504 in FIG. 19, such a plurality of applications are integrated into the integrated application 110 by an object-oriented design method (object modeling). Specifically, a common processing part of each application is extracted as an object model, and the integrated application 110 is configured from the collection of object models. The functions such as the conventional copy function and scanner function are realized by the cooperative relationship of the object model.

このような構成をとることにより、たとえばプリンタ機能のような新規機能の追加は、かかるオブジェクトモデルに属するクラスのサブクラス化などにより対処できる。このため、改修部分が明確となり、改修による他の機能への影響を小さくすることができる。また、オブジェクトモデリングによるプログラムは、従来の手続き型プログラムに比べて、処理の把握が容易であるため、改修要員が処理を把握することも容易となり、改修規模の削減や、改修ミスによる他のアプリケーションへの影響を小さくすることができる。   By adopting such a configuration, for example, addition of a new function such as a printer function can be dealt with by subclassing a class belonging to the object model. For this reason, a repair part becomes clear and the influence on other functions by repair can be made small. In addition, the object modeling program is easier to grasp the process than the conventional procedural program, so it is easier for the repair staff to grasp the process, reducing the scale of the repair, and other applications due to mistakes in the repair. The influence on can be reduced.

図20は、図19に示したサービス層分離後アプリケーション502の段階における従来のアプリケーションの構成と、かかるアプリケーションとサービス層102の各ドライバーの関係を示した説明図である。同図に示すように、アプリケーション層101は、コピーアプリケーション120、スキャナアプリケーション130、ファックスアプリケーション140およびプリンタアプリケーション150を有する。   FIG. 20 is an explanatory diagram showing the configuration of a conventional application at the stage of the service layer separated application 502 shown in FIG. 19 and the relationship between the application and each driver of the service layer 102. As shown in the figure, the application layer 101 includes a copy application 120, a scanner application 130, a fax application 140, and a printer application 150.

たとえば、コピーアプリケーション120は、コピー機能を実現するために、スキャナ制御部102a、プロッタ制御部102b、蓄積制御部102cおよびその他の制御部102gとデータの送受信をおこなう。また、ファックスアプリケーション140は、ファックス機能を実現するために、プロッタ制御部102b、蓄積制御部102c、FAX送受信制御部102e、ネットワーク通信制御部102fおよびその他の制御部102gとデータの送受信をおこなう。このように、アプリケーション層101の各アプリケーションとサービス層102の各ドライバー間の通信は、複雑なものとなっていた。   For example, the copy application 120 transmits / receives data to / from the scanner control unit 102a, the plotter control unit 102b, the accumulation control unit 102c, and the other control unit 102g in order to realize the copy function. In addition, the fax application 140 performs data transmission / reception with the plotter control unit 102b, the accumulation control unit 102c, the FAX transmission / reception control unit 102e, the network communication control unit 102f, and the other control unit 102g in order to realize the fax function. As described above, communication between each application in the application layer 101 and each driver in the service layer 102 is complicated.

図3の説明に戻ると、上述したオブジェクトモデリングにより、アプリケーション層101に存在した複数のアプリケーションは、統合アプリケーション110に統合されている。そして、各アプリケーションが重複しておこなっていた各ドライバーとの通信処理は、統合アプリケーション110を構成する所定のオブジェクトモデルにおこなわせるように構成したことにより、アプリケーション層101のアプリケーションと、サービス層102の各ドライバー間の通信は、図20と比較して単純になっている。   Returning to the description of FIG. 3, a plurality of applications existing in the application layer 101 are integrated into the integrated application 110 by the object modeling described above. The communication processing with each driver, which has been performed by each application overlappingly, is configured to be performed by a predetermined object model that configures the integrated application 110, so that the application of the application layer 101 and the service layer 102 of Communication between the drivers is simpler than that shown in FIG.

次に、統合アプリケーション110の内部構成について説明する。図4は、統合アプリケーション110の内部構成を示すブロック図である。同図に示すように、統合アプリケーション110は、操作系サブシステム111と、管理系サブシステム112と、実行系サブシステム113とを有する。   Next, the internal configuration of the integrated application 110 will be described. FIG. 4 is a block diagram showing the internal configuration of the integrated application 110. As shown in the figure, the integrated application 110 includes an operation system subsystem 111, a management system subsystem 112, and an execution system subsystem 113.

操作系サブシステム111は、マンマシンインタフェースを担当するソフトウェア群である。具体的には、この操作系サブシステム111は、ユーザの要求を受け付ける処理と、この要求の実行を指示する処理と、この要求の実行状況と実行結果についての情報をユーザに提供する処理をおこなう。   The operation system subsystem 111 is a software group in charge of man-machine interface. Specifically, the operation subsystem 111 performs a process for accepting a user request, a process for instructing execution of the request, and a process for providing the user with information about the execution status and execution result of the request. .

管理系サブシステム112は、画像形成装置1の資源を管理するソフトウェア群である。具体的には、この管理系サブシステム112は、ハードウェアリソース201およびこのハードウェアリソース201が保持するデータ状態を管理するサービスをおこなう。   The management subsystem 112 is a software group that manages the resources of the image forming apparatus 1. Specifically, the management subsystem 112 performs a service for managing the hardware resource 201 and the data state held by the hardware resource 201.

実行系サブシステム113は、ユーザからの要求の実行を担当するソフトウェア群である。具体的には、この実行系サブシステム113は、コピー要求がなされた場合には、原稿の読み取りから成果物の出力までの処理をおこなう。   The execution subsystem 113 is a software group in charge of executing a request from a user. Specifically, the execution subsystem 113 performs processing from reading a document to outputting a product when a copy request is made.

操作系サブシステム111、管理系サブシステム112および実行系サブシステム113は、必要に応じて相互に処理を依頼してその結果を送り合う。このようにそれぞれのサブシステムが協調し合って、統合アプリケーション110全体として複合機1に必要とされるサービスの提供をおこなう。   The operation system subsystem 111, the management system subsystem 112, and the execution system subsystem 113 mutually request processing as necessary and send the results. In this way, the subsystems cooperate to provide services required for the multifunction device 1 as the integrated application 110 as a whole.

そして、管理系サブシステム112は、本実施の形態の特徴部分である課金部112aを有する。この課金部112aは、課金処理の受付け、課金額の算出、課金処理実行の指示などの課金管理処理をおこなう。   The management subsystem 112 includes a charging unit 112a that is a characteristic part of the present embodiment. The billing unit 112a performs billing management processing such as acceptance of billing processing, calculation of a billing amount, and a billing processing execution instruction.

図5は、図4に示した各サブシステムを、UML(Unified Modeling Language)のクラス図(UMLクラス図)に置き換えた図である。ここで、UMLとは、OMG(Object Management Group)が仕様を策定しているシステムモデリング言語であり、モデリングの成果を記述する記法を定義したものである。このUMLは、オブジェクト指向によるソフトウェアの設計において広く用いられている。   FIG. 5 is a diagram in which each subsystem shown in FIG. 4 is replaced with a UML (Unified Modeling Language) class diagram (UML class diagram). Here, UML is a system modeling language for which specifications are formulated by OMG (Object Management Group), and defines a notation for describing the results of modeling. This UML is widely used in the design of object-oriented software.

図5に示すように、統合アプリケーション110は複数のパッケージを有し、また、この統合アプリケーション110自体もひとつのパッケージとなっている。ここで、パッケージとはUMLモデルの各構成要素(シンボル)をグループ化したものであり、左上にタブのついたフォルダの形をしたシンボルで表現される。また、各パッケージを相互に結ぶ直線は、各パッケージ間に処理依頼などの関連があることを示している。   As shown in FIG. 5, the integrated application 110 has a plurality of packages, and the integrated application 110 itself is one package. Here, the package is a group of components (symbols) of the UML model, and is expressed by a symbol in the form of a folder with a tab on the upper left. A straight line connecting the packages indicates that there is a relationship such as a processing request between the packages.

図5に示したように、統合アプリケーション110は、操作系サブシステム111、管理系サブシステム112および実行系サブシステム113の3つのパッケージを内部に有するパッケージである。さらに、管理系サブシステム112は、課金部112aを内部に有するパッケージである。そして、操作系サブシステム111、管理系サブシステム112および実行系サブシステム113を相互に結ぶ直線は、各パッケージ間に処理依頼(たとえば、メッセージ送受信)などの関連があることを示している。なお、操作系サブシステム111、管理系サブシステム112および実行系サブシステム113のタブの右端に記された記号は、かかるパッケージがサブシステムであることを示すUMLのシンボルである。   As shown in FIG. 5, the integrated application 110 is a package having three packages of an operation subsystem 111, a management subsystem 112, and an execution subsystem 113 inside. Further, the management subsystem 112 is a package having an accounting unit 112a inside. A straight line connecting the operation subsystem 111, the management subsystem 112, and the execution subsystem 113 indicates that there is a relationship such as a processing request (for example, message transmission / reception) between the packages. A symbol written at the right end of the tabs of the operation subsystem 111, the management subsystem 112, and the execution subsystem 113 is a UML symbol indicating that the package is a subsystem.

次に、本実施の形態の特徴部分である課金部112aについて詳細に説明する。なお、課金部112aは、オブジェクト指向に基づいて設計するにあたって、既存の処理を単純にオブジェクト化せず、機能追加や改修をより一層容易におこなうことができるようにオブジェクトモデルを構成した。かかるオブジェクトモデルの構成について図6〜図8を用いて説明しておく。   Next, accounting unit 112a, which is a characteristic part of the present embodiment, will be described in detail. Note that the charging unit 112a does not simply convert existing processing into objects when designing based on object orientation, and configures an object model so that functions can be added or modified more easily. The configuration of the object model will be described with reference to FIGS.

図6は、複合機1の操作パネル400の一例を示した図である。同図に示すように、かかる操作パネル400は、初期設定キー401、コピーキー402、コピーサーバーキー403、プリンタキー404、送信キー405、テンキー406、クリア/ストップキー407、スタートキー408、予熱キー409、リセットキー410および液晶タッチパネル420を有する。   FIG. 6 is a diagram illustrating an example of the operation panel 400 of the multifunction machine 1. As shown in the figure, the operation panel 400 includes an initial setting key 401, a copy key 402, a copy server key 403, a printer key 404, a transmission key 405, a ten key 406, a clear / stop key 407, a start key 408, a preheating key. 409, a reset key 410, and a liquid crystal touch panel 420.

初期設定キー401をタッチすると、液晶タッチパネル420に初期設定用のメニューが表示され、かかるメニューにおいては、収納される用紙サイズなどを設定することができる。また、コピーをしたい場合にはコピーキー402を、コピー結果を複合機1に蓄積したい場合にはコピーサーバーキー403を、プリンタに係る操作をおこないたい場合には、プリンタキー404を、ファックスや蓄積画像などの送信をしたい場合には送信キー405を、それぞれタッチすると、液晶タッチパネル420に対応したメニューが表示される。   When the initial setting key 401 is touched, a menu for initial setting is displayed on the liquid crystal touch panel 420, and in this menu, a paper size to be stored can be set. Further, when the user wants to make a copy, the copy key 402 is stored. When the copy result is stored in the multifunction device 1, the copy server key 403 is displayed. When the operation related to the printer is performed, the printer key 404 is displayed. When the user wants to transmit an image or the like, touch the transmission key 405 to display a menu corresponding to the liquid crystal touch panel 420.

図7は液晶タッチパネル420に表示されるメニューの一例である。このメニューは、図6に示したコピーキー402をタッチすることにより表示される。図7に示すように、この液晶タッチパネル420には、自動濃度ボタン421、自動用紙選択ボタン422、等倍ボタン423などが表示される。利用者は、これらのボタンを選択することによりコピー機能の詳細な内容を指示し、この指示を受け取った複合機1は、指示された内容に従ってコピー処理を実行することになる。   FIG. 7 shows an example of a menu displayed on the liquid crystal touch panel 420. This menu is displayed by touching the copy key 402 shown in FIG. As shown in FIG. 7, on this liquid crystal touch panel 420, an automatic density button 421, an automatic paper selection button 422, an equal magnification button 423, and the like are displayed. The user designates the detailed contents of the copy function by selecting these buttons, and the multi-function device 1 that has received this instruction executes a copy process according to the instructed contents.

そして、かかるコピー処理に対する課金は、コピーの種別(たとえば、モノクロコピーやカラーコピー)、記録紙の種別(たとえば、A4やA3)、コピーの枚数などに基づいておこなわれる。たとえば、A4のモノクロコピーの料金が一枚あたり10円である場合において、利用者が課金装置1aに100円硬貨を一枚投入し、かかるコピーを8枚指示した場合には、課金される料金は80円となり80円が徴収され、20円が返却される。   Billing for such copy processing is performed based on the type of copy (for example, monochrome copy or color copy), the type of recording paper (for example, A4 or A3), the number of copies, and the like. For example, when the charge for A4 monochrome copying is 10 yen per sheet, if the user inserts a 100-yen coin into the charging apparatus 1a and designates 8 such copies, the fee charged Becomes 80 yen, 80 yen is collected, and 20 yen is returned.

また、ネットワークを利用した複数の利用者が、複合機1に対して電子データの印刷を指示したり、電子データのファックスを指示したりする場合には、課金サーバ2には、これらの処理に応じた課金履歴が蓄積されることになる。そして、蓄積された課金履歴に基づいて課金がおこなわれる。   In addition, when a plurality of users using the network instructs the multifunction device 1 to print electronic data or instructs the facsimile of the electronic data, the charging server 2 performs these processes. The corresponding billing history is accumulated. Then, billing is performed based on the accumulated billing history.

このように、ネットワークの進展により、ネットワークを利用した複数の利用者や、複合機1を操作する利用者が同時にサービス提供を要求する場合が多くなるので、サービス料金(対価)の課金処理を確実におこなう必要がある。また、複合機1に直接接続される課金装置1aのみならず、ネットワーク接続され複合機1と通信可能な課金管理装置(たとえば、課金サーバ2)も課金を実行する装置となりうるので、課金を実行する装置は多数存在する。したがって、課金を実行する装置の選択および切替えを確実におこなって、二重課金や未課金などの課金ミスがないようにする必要がある。   As described above, due to the development of the network, a plurality of users who use the network and users who operate the multifunction device 1 often request service provision at the same time. It is necessary to go to. In addition to the billing device 1a directly connected to the multifunction device 1, a billing management device (for example, billing server 2) connected to the network and communicable with the multifunction device 1 can be a device that performs billing. There are many devices that do this. Therefore, it is necessary to reliably select and switch a device that performs charging so that there are no charging errors such as double charging or non-charging.

ここで、課金装置の種類について説明しておく。課金装置には、加算式課金装置と減算式課金装置とがあり、加算式課金装置としては、たとえば、加算式キーカード装置、クレジットカード装置および課金サーバ2などがある。また、減算式課金装置としては、たとえば、減算式キーカード装置、コインラック装置およびプリペイドカード装置などがある。このように、課金装置の種類は多様であり、複数の課金装置が接続され課金先を切替えて課金実行をおこなう場合も多い。   Here, the types of charging apparatuses will be described. The charging device includes an addition type charging device and a subtraction type charging device. Examples of the addition type charging device include an addition type key card device, a credit card device, and a charging server 2. Examples of the subtracting type charging device include a subtracting type key card device, a coin rack device, and a prepaid card device. As described above, there are various types of billing apparatuses, and there are many cases where a plurality of billing apparatuses are connected to perform billing by switching billing destinations.

図8は、サービス対価の課金処理の概要を説明するための説明図である。同図に示すように、利用者が複合機1を操作して有料コピーサービスなどのサービス要求をおこなった場合、かかる課金処理においては、まず、提供するサービスの対価を算出し、つづいて課金装置(1aおよび2)の中から課金の実行が可能な課金装置を選択し、サービスを提供した後に、選択した課金装置において対価の徴収をおこなうことになる。   FIG. 8 is an explanatory diagram for explaining the outline of the billing process for service consideration. As shown in the figure, when a user makes a service request for a paid copy service or the like by operating the multi-function device 1, in this billing process, first, the price of the service to be provided is calculated, and then the billing device After selecting a billing apparatus capable of performing billing from (1a and 2) and providing the service, the selected billing apparatus collects the fee.

なお、利用可能な課金装置が多数ある場合には、複数の課金装置を順次切替えて課金実行をおこなうこととすることもできる。たとえば、課金実行中の加算式課金装置のカウント値が最大値に達したならば、課金実行先を他の加算式課金装置に切替えて課金を実行することとすれば、サービス提供を中止することなくサービス対価の徴収が可能となる(課金装置の組合せ)。   If there are a large number of charging devices that can be used, it is also possible to perform charging by sequentially switching a plurality of charging devices. For example, if the count value of an addition-type billing device that is executing billing reaches the maximum value, the service provision is stopped if the billing execution destination is switched to another addition-type billing device and billing is executed. Service charges can be collected (combination of billing devices).

このように、複数の課金装置を用いる場合には、課金装置の切替え、課金装置の追加および課金装置の取外しに柔軟に対応できる課金管理の仕組みが必要となる。また、加算式課金装置や減算式課金装置といった課金装置固有の特性に基づいてオブジェクトモデリングをおこなう必要がある。   As described above, when a plurality of charging apparatuses are used, a charging management mechanism that can flexibly cope with switching of charging apparatuses, addition of charging apparatuses, and removal of charging apparatuses is required. In addition, it is necessary to perform object modeling based on characteristics unique to a charging device such as an addition charging device or a subtracting charging device.

そこで、本実施の形態の特徴部分である課金部112aは、加算式課金装置および減算式課金装置に対応するクラスと、各課金装置の切替えを管理するクラスを中心に各クラスを設計した。図9は、課金部112aのクラス構成を示すUMLクラス図である。同図に示すように、課金部112aは、利用者のサービス要求を受け付ける帳簿クラス310、各サービス要求を「伝票」として管理する伝票クラス320、サービスの単価一覧を保持する料金表クラス330、サービスの対価を算出して対価の徴収を指示する対価クラス340、課金実行先の一覧を保持する取引表クラス350、減算式課金装置に対応する投入金額クラス360、加算式課金装置を取りまとめる請求金額クラス370および加算式課金装置に対応する請求先クラス380を有する。   In view of this, the charging unit 112a, which is a characteristic part of the present embodiment, has designed each class with a focus on classes corresponding to the addition type charging device and the subtraction type charging device and a class for managing switching of each charging device. FIG. 9 is a UML class diagram showing the class structure of the accounting unit 112a. As shown in the figure, the charging unit 112a includes a book class 310 that accepts user service requests, a slip class 320 that manages each service request as a “slip”, a charge table class 330 that holds a unit price list of services, a service Price class 340 for calculating the price of payment and instructing collection of the price, transaction table class 350 for holding a list of billing execution destinations, input amount class 360 corresponding to the subtraction type charging device, and billing amount class for collecting the addition type charging device 370 and a billing destination class 380 corresponding to the addition type charging device.

ここで、「伝票」の単位について説明しておく。伝票の単位は、一つの「伝票」あたり1つの「ジョブ」とすることを基本とするが、かかる伝票の単位をこれと異なるものとすることもできる。なお、「ジョブ」とは、成果物(たとえば、コピーした記録紙)の作成が完了するまでの処理の実行単位をいい、複合機全体として入力の始まりから出力の終了までを示す。   Here, the unit of “slip” will be described. The unit of the slip is basically one “job” per “slip”, but the unit of the slip may be different from this. Note that “job” refers to a process execution unit until creation of a product (for example, a copied recording sheet) is completed, and indicates from the start of input to the end of output as the entire multifunction peripheral.

たとえば、利用者がモノクロコピー10枚を依頼した場合、「モノクロコピー10枚」を一つの「ジョブ」とすれば、一つの伝票は「モノクロコピー10枚」の依頼を含むことになる。しかし、「モノクロコピー1枚」を一つの「ジョブ」とすれば、「モノクロコピー1枚」を一つの伝票とすることもできる。また、「カラーコピー5枚」と「モノクロコピー5枚」とを依頼した場合、これらの依頼のそれぞれを一つの伝票とすることが基本となるが、これらの依頼をまとめて一つの伝票とすることもできる。   For example, when the user requests 10 monochrome copies, if “10 monochrome copies” is defined as one “job”, one slip includes a request for “10 monochrome copies”. However, if “one monochrome copy” is defined as one “job”, “one monochrome copy” can be defined as one slip. In addition, when “5 color copies” and “5 monochrome copies” are requested, each of these requests is basically one voucher. However, these requests are combined into one voucher. You can also.

次に、クラスとUMLクラス図におけるクラスの記述方法について説明しておく。クラスとは、オブジェクト指向システムを構成するオブジェクトの設計図に相当する概念であり、オブジェクト内部に有する属性と処理や、他のオブジェクトとの関係を定義するものである。   Next, a class description method in the class and UML class diagram will be described. A class is a concept corresponding to a design drawing of an object constituting an object-oriented system, and defines attributes and processes in an object and a relationship with other objects.

UMLクラス図におけるクラスは、3段の区画を有する矩形として記述される。それぞれの区画は、上から、クラス名を示す名前区画、クラスが有するデータ(属性)を示す属性区画およびクラスが有する処理(操作)を示す操作区画と呼ばれる。たとえば、帳簿クラス310を示す矩形の名前区画は、かかるクラスのクラス名が「帳簿」であることを示し、属性区画は、かかるクラスが有する属性が、「状態」であることを示し、操作区画は、かかるクラスが有する操作が、「記入する()」および「取消す()」であることを示している。   The class in the UML class diagram is described as a rectangle having three sections. From the top, each section is called a name section indicating a class name, an attribute section indicating data (attribute) included in the class, and an operation section indicating processing (operation) included in the class. For example, a rectangular name section indicating the book class 310 indicates that the class name of the class is “book”, and an attribute section indicates that the attribute of the class is “state”, and the operation section Indicates that the operations possessed by the class are “fill ()” and “cancel ()”.

このように、各クラスは、データ(属性)を所持するための属性区画と、かかる属性の書き込みおよび読み出しをおこなう処理(操作)を所持するための操作区画とを有している。これらのクラスは、プログラム(統合アプリケーション110)の一部として含まれるので、あらかじめROM12aに格納されたこのプログラムが実行されると、各クラスはRAM12bの所定領域に実体化され、属性区画に含まれる各データ(属性)がRAM12b上に展開される。したがって、クラスを実体化したオブジェクトは、RAM12b上の各データ(属性)の書き込みおよび読み出しをすることが可能となる。   Thus, each class has an attribute section for possessing data (attribute) and an operation section for possessing processing (operation) for writing and reading such an attribute. Since these classes are included as a part of the program (integrated application 110), when this program stored in the ROM 12a in advance is executed, each class is materialized in a predetermined area of the RAM 12b and included in the attribute section. Each data (attribute) is expanded on the RAM 12b. Therefore, the object in which the class is materialized can write and read each data (attribute) on the RAM 12b.

なお、属性や操作といったクラスの要素の左側に「−」記号を付した場合は、かかる要素は外部のクラスには非公開であることを示し、「+」記号を付した場合は、かかる要素は外部のクラスに公開されていることを示す。また、操作については「記入する()」のように「()」記号を付することが通例であり、「(引数1,引数2)」のように、かかる操作に引き渡す引数を記述する場合もある。   In addition, if a "-" symbol is attached to the left side of a class element such as attribute or operation, this indicates that the element is private to external classes, and if a "+" symbol is attached, this element Indicates that it is open to external classes. Also, for operations, it is customary to add a “()” symbol, such as “Enter ()”, and to describe an argument to be passed to the operation, such as “(Argument 1, Argument 2)” There is also.

次に、本実施の形態の特徴部分である課金部112aのクラスの概要について説明する。上述したように、課金部112aは、帳簿クラス310、伝票クラス320、料金表クラス330、対価クラス340、取引表クラス350、投入金額クラス360、請求金額クラス370および請求先クラス380を有する。以下では、まず、これらのクラスの概要について説明する。   Next, an outline of the class of charging unit 112a, which is a characteristic part of the present embodiment, will be described. As described above, the billing unit 112a includes the book class 310, the slip class 320, the fee table class 330, the consideration class 340, the transaction table class 350, the input amount class 360, the invoice amount class 370, and the invoice destination class 380. Below, the outline | summary of these classes is demonstrated first.

帳簿クラス310は、課金対象となる機能(たとえば、コピー機能やファックス機能)の詳細な内容(たとえば、用紙サイズやカラーモード)を受け付けるクラスであり、伝票クラス320は、受け付けた詳細な内容を保持するとともに課金状況を保持しておくクラスである。また、料金表クラス330は、課金対象となる機能の単価一覧を保持するととともに該当する料金を検索するクラスであり、対価クラス340は、対価の徴収可否を把握し課金先となる課金装置を決定するクラスであり、取引表クラス350は、提供する機能ごとの課金装置の利用制限一覧を保持するとともに、利用可能な課金装置を検索するクラスである。   The book class 310 is a class that accepts detailed contents (for example, paper size and color mode) of a chargeable function (for example, copy function and fax function), and the slip class 320 holds the received detailed contents. It is a class that keeps the billing status. The charge table class 330 is a class that holds a unit price list of functions to be charged and searches for the corresponding charge. The charge class 340 determines whether the charge is collected or not and determines a charging device as a charge destination. The transaction table class 350 is a class for holding a charging device usage restriction list for each provided function and searching for available charging devices.

また、投入金額クラス360は、コインラック装置などの減算式課金装置の状態を管理するとともに、管理する減算式課金装置に課金実行を指示するクラスである。さらに、請求金額クラス370は、加算式課金装置を束ね、加算するタイミングと加算する料金の合計値を管理するクラスであり、請求先クラス380は、加算式キーカード装置などの加算式課金装置の状態を管理し、管理する加算式課金装置に課金実行を指示するクラスである。   The input amount class 360 is a class for managing the state of a subtracting type charging apparatus such as a coin rack apparatus and instructing the subtracting type charging apparatus to execute charging. Further, the billing amount class 370 is a class for bundling an addition type charging device and managing the timing of addition and the total value of the fee to be added. The billing destination class 380 is an addition type charging device such as an addition type key card device. This is a class that manages the status and instructs the addition-type charging apparatus that manages the status to execute charging.

次に、各クラスの内容についてさらに詳細に説明する。帳簿クラス310は、課金対象となる機能(たとえば、コピー機能やファックス機能)の詳細な内容(たとえば、用紙サイズやカラーモード)を受け付けるクラスである。具体的には、この帳簿クラス310は、属性として、状態310aを有し、操作として、記入する()310bおよび取消す()310cを有する。なお、かかる帳簿クラス310を実体化したオブジェクトが生成されると、状態310aはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。   Next, the contents of each class will be described in more detail. The book class 310 is a class that accepts detailed contents (for example, paper size and color mode) of functions (for example, a copy function and a fax function) to be charged. Specifically, this book class 310 has a state 310a as an attribute, and has an entry () 310b and a cancel () 310c as operations. When an object that materializes the book class 310 is generated, the state 310a is expanded on the RAM 12b, so that this data (attribute) can be written and read.

状態310aは、現在の帳簿の処理状態をあらわし、この状態には、閉状態および開状態の2つがある。閉状態とは、処理対象となる伝票が存在しないので帳簿を閉じている状態をあらわし、開状態とは、帳簿を開いて伝票を処理している状態をあらわす。   The state 310a represents the current processing state of the book, and there are two states, a closed state and an open state. The closed state represents a state in which the book is closed because there is no slip to be processed, and the open state represents a state in which the book is opened and the slip is being processed.

記入する()310bは、操作系サブシステム111を経由して利用者の注文を受け付け、新しい注文であれば伝票クラス320のオブジェクトを生成し、その注文内容をこのオブジェクトに引き渡す。また、注文の変更を受け付けた場合には、該当する伝票クラス320のオブジェクトを探し、かかるオブジェクトが保持する注文内容を書き換える。   Fill in () 310b accepts the user's order via the operation subsystem 111, and if it is a new order, generates an object of the slip class 320 and delivers the contents of the order to this object. When an order change is received, the object of the corresponding slip class 320 is searched, and the order contents held by the object are rewritten.

ここで、「注文」とは、コピー機能やファックス機能を利用者が利用する際の利用単位のことをあらわす。たとえば、利用者が「A4モノクロコピー」を10枚指示した場合には、「A4モノクロコピー10枚」を一つの「注文」とする。この場合、「A4モノクロコピー1枚」を一つの「注文」とし、かかる「注文」が10個あることとしてもよい。また、利用者が、「A4モノクロコピー10枚」と「A4カラーコピー10枚」を同時に指示した場合には、「A4モノクロコピー10枚」を一つの「注文」とし、「A4カラーコピー10枚」を一つの「注文」とするが、「A4モノクロコピー10枚」および「A4カラーコピー10枚」を一つの「注文」とすることもできる。なお、「注文内容」とは、用紙サイズやカラーモードといった上記「詳細な内容」のことをあらわす。   Here, the “order” represents a unit of use when the user uses the copy function or the fax function. For example, when the user designates 10 copies of “A4 monochrome copy”, “10 copies of A4 monochrome copy” is set as one “order”. In this case, “one A4 monochrome copy” may be one “order”, and there may be ten such “orders”. If the user instructs “10 A4 monochrome copies” and “10 A4 color copies” at the same time, “10 A4 monochrome copies” is set as one “order” and “10 A4 color copies”. ”Is one“ order ”, but“ 10 A4 monochrome copies ”and“ 10 A4 color copies ”can also be one“ order ”. The “order content” represents the “detailed content” such as the paper size and the color mode.

また、取消す()310cは、受け付けた注文の取り消し処理をおこなう。具体的には、この取消す()310cは、注文取り消しの対象となる伝票クラス320のオブジェクトを削除する。   Further, cancel () 310 c performs a cancel process for the received order. Specifically, this cancel () 310 c deletes the object of the slip class 320 that is the target of order cancellation.

伝票クラス320は、受け付けた詳細な内容を保持するとともに課金状況を保持しておくクラスである。具体的には、この伝票クラス320は、属性として、状態320a、番号320b、サービス内容320cおよび料金320dを有し、操作として、記入する()320e、処理する()320f、および完結する()320gを有する。なお、かかる伝票クラス320を実体化したオブジェクトが生成されると、状態320a、番号320b、サービス内容320cおよび料金320dはRAM12b上に展開されるので、これらのデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。   The slip class 320 is a class that holds the received detailed contents and holds the charging status. More specifically, the slip class 320 has a status 320a, a number 320b, a service content 320c, and a charge 320d as attributes, and is filled in () 320e, processed () 320f, and completed (). 320 g. When an object that materializes the slip class 320 is generated, the state 320a, the number 320b, the service content 320c, and the charge 320d are expanded on the RAM 12b, so that these data (attributes) are written and read. It becomes possible.

状態320aは、現在の伝票クラス320の処理状態をあらわし、この状態には、記入中、処理中および処理済の3つがある。記入中状態とは、受け付けた詳細な内容の変更が可能な状態をあらわし、処理中状態とは、課金処理が継続中である状態をあらわし、処理済状態とは、課金処理が終了している状態をあらわす。ここで、図10を用いてこれらの状態と各状態間の状態遷移について説明しておく。図10は、伝票クラス320の状態遷移(状態320aが保持する状態の状態遷移)を示すUMLステートチャート図である。   The state 320a represents the processing state of the current slip class 320, and there are three states: being filled in, being processed, and processed. The filled-in state indicates a state in which the received detailed contents can be changed, the processing state indicates a state where the charging process is continuing, and the processed state indicates that the charging process has been completed. Shows the state. Here, the state transition between these states and each state will be described with reference to FIG. FIG. 10 is a UML state chart diagram showing the state transition of the slip class 320 (the state transition of the state held by the state 320a).

同図に示すように、現在の状態が「記入中」であれば、「処理中」状態への状態遷移が可能である。具体的には、「記入中」状態において記入する()320eが呼び出されると(ステップS101)、状態は「記入中」のままである。また、処理する()320fが呼び出されると(ステップS102)、「処理中」状態に状態遷移する。   As shown in the figure, if the current state is “filling in”, the state transition to the “processing” state is possible. Specifically, when () 320e to be filled in is called in the “filling” state (step S101), the state remains “filling”. When () 320f to be processed is called (step S102), the state transitions to the “processing” state.

また、同図に示したように、現在の状態が「処理中」であれば、「記入中」および「処理済」状態への状態遷移が可能である。具体的には、「処理中」状態において処理する()320fが呼び出されると(ステップS103)、状態は「処理中」状態のままである。また、記入する()320eが呼び出されると(ステップS104)、「記入中」状態に状態遷移し、完結する()320gが呼び出されると(ステップS105)、「処理済」状態に状態遷移する。   Also, as shown in the figure, if the current state is “processing”, state transition to the “filling” and “processed” states is possible. Specifically, when () 320 f to be processed in the “processing” state is called (step S 103), the state remains in the “processing” state. When the entry () 320e is called (step S104), the state transitions to the “filling” state, and when the completion () 320g is called (step S105), the state transitions to the “processed” state.

このように、状態320aの各状態に応じて実行可能な操作が限定されており、実行された操作による遷移先の状態も限定されている。このような「状態」および「状態遷移」の概念を用いることにより、伝票クラス320は、「伝票」の処理状態を的確に把握することができる。   As described above, the operations that can be executed are limited according to the respective states of the state 320a, and the transition destination states due to the executed operations are also limited. By using such concepts of “state” and “state transition”, the slip class 320 can accurately grasp the processing state of “slip”.

図9に戻って、番号320bについて説明する。番号320bは、伝票クラス320の各オブジェクトを識別するための値を保持する。この番号320bは、他のクラスのオブジェクトが、処理対象となる伝票クラス320のオブジェクトを特定して処理をおこなう際に参照される。   Returning to FIG. 9, the number 320b will be described. The number 320b holds a value for identifying each object of the slip class 320. This number 320b is referred to when an object of another class specifies the object of the slip class 320 to be processed and performs processing.

サービス内容320cは、コピーやファックスといった各機能の詳細な内容を保持する。この詳細な内容とは、たとえば、「A4モノクロコピーを10枚」や「A3カラー両面コピーを100枚」といった、利用者が要求した機能の詳細な内容のことを指す。また、料金320dは、サービス内容320cに対応するサービス料金を保持する。   The service content 320c holds detailed content of each function such as copy and fax. This detailed content refers to the detailed content of the function requested by the user, such as “10 sheets of A4 monochrome copy” and “100 sheets of A3 color duplex copy”. The fee 320d holds a service fee corresponding to the service content 320c.

記入する()320eは、帳簿クラス310から通知された詳細な内容を、サービス内容320cに保持させる処理をおこなうとともに、対価クラス340に対し、料金320dに保持した金額の徴収が可能か否かの確認および課金方法の決定を依頼する処理をおこなう。また、処理する()320fは、料金320dに保持した金額の徴収を対価クラス340に依頼する処理をおこなう。さらに、完結する()320gは、伝票クラス320の終了処理をおこなう。   The entry () 320e performs a process of holding the detailed contents notified from the book class 310 in the service contents 320c and whether or not the charge class 340 can collect the amount held in the charge 320d. Processing to request confirmation and determination of billing method. Further, the processing () 320 f performs processing for requesting the consideration class 340 to collect the amount held in the fee 320 d. Further, the completed () 320 g performs the termination process of the slip class 320.

料金表クラス330は、課金対象となる機能の単価一覧を保持するととともに該当する料金を検索するクラスである。具体的には、この料金表クラス330は、属性として、単価一覧330aを有し、操作として、検索する()330bを有する。なお、かかる料金表クラス330を実体化したオブジェクトが生成されると、単価一覧330aはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。   The charge table class 330 is a class that holds a unit price list of functions to be charged and searches for a corresponding charge. Specifically, the charge schedule class 330 has a unit price list 330a as an attribute and a search () 330b as an operation. Note that when an object that materializes the charge table class 330 is generated, the unit price list 330a is expanded on the RAM 12b, so that this data (attribute) can be written and read.

単価一覧330aは、コピー機能やファックス機能といった機能ごとの単価を保持する。また、検索する()330bは、伝票クラス320から呼び出され、指定された機能の単価を単価一覧340aの検索により取得し、取得した単価を呼び出し元に通知する。   The unit price list 330a holds unit prices for each function such as a copy function and a fax function. Search () 330b is called from the slip class 320, acquires the unit price of the designated function by searching the unit price list 340a, and notifies the caller of the acquired unit price.

対価クラス340は、対価の徴収可否を把握し課金先となる課金装置を決定するクラスである。具体的には、この対価クラス340は、属性として、状態340aを有し、操作として、交換する()340b、領収可否を確認する()340cおよび付替要求()340dを有する。なお、かかる対価クラス340を実体化したオブジェクトが生成されると、状態340aはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。   The consideration class 340 is a class for determining whether or not a fee is collected and determining a billing device as a billing destination. Specifically, the consideration class 340 has a state 340a as an attribute, and has an exchange () 340 b, a receipt confirmation () 340 c and a replacement request () 340 d as operations. When an object in which the consideration class 340 is materialized is generated, the state 340a is expanded on the RAM 12b, so that this data (attribute) can be written and read.

状態340aは、現在の対価クラス340の処理状態をあらわし、この状態には、交換不可、交換可能および付替中の3つがある。交換不可状態とは、提供機能に対する料金の交換ができない状態、言い換えると、料金の徴収ができないので機能を提供してはいけない状態をあらわす。また、交換可能状態とは、料金の徴収ができるので機能を提供してよい状態をあらわし、付替中状態とは、料金徴収を実行する課金装置の変更処理をおこなっている状態をあらわす。ここで、図11を用いてこれらの状態と各状態間の状態遷移について説明しておく。図11は、対価クラス340の状態遷移(状態340aが保持する状態の状態遷移)を示すUMLステートチャート図である。   The state 340a represents the processing state of the current consideration class 340, and there are three states: non-exchangeable, exchangeable, and replacement. The non-exchangeable state represents a state in which charges cannot be exchanged for a provided function, in other words, a state in which functions cannot be provided because charges cannot be collected. Further, the exchangeable state represents a state where functions can be provided because charges can be collected, and the in-replacement state represents a state in which a charging device for performing charge collection is being changed. Here, the state transition between these states and each state will be described with reference to FIG. FIG. 11 is a UML state chart diagram showing the state transition of the consideration class 340 (the state transition of the state held by the state 340a).

同図に示すように、現在の状態が「交換不可」であれば、「交換可能」および「付替中」状態への状態遷移が可能である。具体的には、「交換不可」状態において領収可否を確認する()340cが呼び出され、その戻り値が「NG」であれば(ステップS201)、状態は「交換不可」のままであり、かかる戻り値が「OK」であれば(ステップS202)、「交換不可」状態に状態遷移する。また、付替要求()340dが呼び出されると(ステップS203)、「付替中」状態に状態遷移する。   As shown in the figure, if the current state is “non-replaceable”, the state transition to the “replaceable” and “being replaced” states is possible. Specifically, in the “non-exchangeable” state, the confirmation of receipt / non-reception () 340c is called, and if the return value is “NG” (step S201), the state remains “non-exchangeable”. If the return value is “OK” (step S202), the state transitions to the “non-exchangeable” state. Further, when the replacement request () 340d is called (step S203), the state transitions to the “currently changing” state.

また、同図に示したように、現在の状態が「交換可能」であれば、「交換不可」および「付替中」状態への状態遷移が可能である。具体的には、「交換可能」状態において交換する()340bが呼び出されると(ステップS204)、状態は「交換可能」のままである。また、領収可否を確認する()340cが呼び出され、その戻り値が「OK」である場合にも(ステップS204)、状態は「交換可能」のままである。また、領収可否を確認する()340cが呼び出され、その戻り値が「NG」であれば(ステップS205)、「交換不可」状態に状態遷移し、付替要求()340dが呼び出されると(ステップS206)、「付替中」状態に状態遷移する。   Further, as shown in the figure, if the current state is “replaceable”, the state transition to the “non-replaceable” and “being replaced” states is possible. Specifically, when () 340b to be exchanged is called in the “exchangeable” state (step S204), the state remains “exchangeable”. Even when () 340 c for confirming receipt / rejection is called and the return value is “OK” (step S 204), the state remains “exchangeable”. Further, () 340c for confirming receipt / non-receipt is called, and if the return value is “NG” (step S205), the state transitions to the “non-exchangeable” state, and when the replacement request () 340d is called ( Step S206), the state transitions to the “being replaced” state.

また、現在の状態が「付替中」であれば、「交換不可」および「交換可能」状態への状態遷移が可能である。具体的には、「付替中」状態において領収可否を確認する()340cが呼び出され、その戻り値が「NG」であれば(ステップS207)、「交換不可」状態に状態遷移し、かかる戻り値が「OK」であれば(ステップS208)、「交換可能」状態に状態遷移する。   Further, if the current state is “being replaced”, it is possible to change the state to the “not replaceable” and “replaceable” states. Specifically, if the receipt is confirmed () 340c is called in the “currently being exchanged” state and the return value is “NG” (step S207), the state transitions to the “non-exchangeable” state, and this is required. If the return value is “OK” (step S208), the state transitions to the “exchangeable” state.

このように、状態340aの各状態に応じて実行可能な操作が限定されており、実行された操作による遷移先の状態も限定されている。このような「状態」および「状態遷移」の概念を用いることにより、対価クラス340は、対価の交換可否状態を的確に把握することができる。   As described above, the operations that can be executed are limited according to the respective states of the state 340a, and the transition destination states by the executed operations are also limited. By using such concepts of “state” and “state transition”, the consideration class 340 can accurately grasp the exchangeability state of the consideration.

図9に戻り、交換する()340bについて説明する。交換する()340bは、領収可否を確認する()340cの実行により決定した課金方法により課金をおこなう。たとえば、決定した課金方法が減算式課金装置であれば投入金額クラス360に、加算式課金装置であれば請求金額クラス370に、課金処理をおこなわせる。   Returning to FIG. 9, the exchange () 340b will be described. The exchange () 340b to be exchanged performs the accounting by the accounting method determined by executing the () 340c for confirming the receipt / non-acceptance. For example, if the determined charging method is a subtractive charging apparatus, the charging amount class 360 is charged, and if it is an adding charging apparatus, the charging amount class 370 is charged.

領収可否を確認する()340cは、課金方法を決定するとともに、料金の回収が可能であるか否かを確認する処理をおこなう。たとえば、伝票クラス320の料金320dに保持されている金額が1000円であり、この金額を徴収可能な課金装置が見つかったならば、この領収可否を確認する()340cは「OK」を返す。一方、1000円を徴収可能な課金装置が見つからない場合には、「NG」を返す。また、付替要求()340dは、かかる課金方法を変更する処理をおこなう。   The receipt confirmation () 340 c determines the billing method and performs a process of confirming whether the fee can be collected. For example, if the amount held in the charge 320d of the slip class 320 is 1000 yen, and a billing device that can collect this amount is found, this receipt confirmation () 340 c returns “OK”. On the other hand, if a charging device that can collect 1000 yen is not found, “NG” is returned. In addition, the replacement request () 340d performs processing for changing the charging method.

取引表クラス350は、提供する機能ごとの課金装置の利用制限一覧を保持するとともに利用可能な課金装置を検索するクラスである。具体的には、この取引表クラス350は、属性として、制限一覧350aを有し、操作として、検索する()350bおよび更新する()350cを有する。なお、かかる取引表クラス350を実体化したオブジェクトが生成されると、制限一覧350aはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。   The transaction table class 350 is a class that holds a usage restriction list of charging devices for each provided function and searches for available charging devices. Specifically, the transaction table class 350 has a restriction list 350a as an attribute, and has a search () 350b and an update () 350c as operations. When an object in which the transaction table class 350 is materialized is generated, the restriction list 350a is expanded on the RAM 12b, so that this data (attribute) can be written and read.

制限一覧350aは、コピー機能などの課金対象となる機能ごとに、利用可能な課金方法一覧を保持する。たとえば、ファックス機能では、コインラック装置を課金方法として選択できないのであれば、ファックス機能で利用可能な課金方法一覧には、コインラック装置は含まれないことになる。なお、利用料が無料である機能の場合には、かかる機能の課金方法はない旨の情報を保持する。また、かかる課金方法一覧には、各課金装置の優先順位を含めることとしてもよい。検索する()350bは、制限一覧350aから該当する利用可能な課金方法を取出し、呼び出し元に通知する処理をおこなう。また、更新する()350cは、制限一覧350aを更新する処理をおこなう。   The restriction list 350a holds a list of available charging methods for each function to be charged such as a copy function. For example, if the coin rack device cannot be selected as a billing method in the fax function, the list of billing methods that can be used in the fax function does not include the coin rack device. In the case of a function for which the usage fee is free, information indicating that there is no charging method for the function is stored. The charging method list may include the priority order of each charging device. The search () 350b retrieves the corresponding available charging method from the restriction list 350a and performs processing to notify the caller. The update () 350c performs a process of updating the restriction list 350a.

投入金額クラス360は、コインラック装置などの減算式課金装置の状態を管理するとともに、管理する減算式課金装置に課金実行を指示するクラスである。具体的には、この投入金額クラス360は、属性として、状態360a、名称360bおよび残高360cを有し、操作として、事前確認する()360d、減算する()360e、追加する()360fおよび返却する()360gを有する。なお、かかる投入金額クラス360を実体化したオブジェクトが生成されると、状態360a、名称360bおよび残高360cはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。   The investment amount class 360 is a class for managing the state of a subtracting charging device such as a coin rack device and instructing the subtracting charging device to perform charging. Specifically, the input money amount class 360 has a state 360a, a name 360b, and a balance 360c as attributes, and confirms () 360d, subtracts () 360e, adds () 360f, and returns as operations. To have 360g. When an object that materializes the input amount class 360 is generated, the state 360a, name 360b, and balance 360c are expanded on the RAM 12b, so that this data (attribute) can be written and read. Become.

状態360aは、現在の投入金額クラス360の処理状態をあらわし、この状態には、残高不足および残高十分の2つがある。残高不足状態とは、対応する減算式課金装置の残高が、伝票クラス320の料金320dに保持されている金額よりも小さい状態をあらわし、残高十分状態とは、かかる残高が料金320dに保持されている金額以上である状態をあらわす。ここで、図12を用いてこれらの状態と各状態間の状態遷移について説明しておく。図12は、投入金額クラス360の状態遷移(状態360aが保持する状態の状態遷移)を示すUMLステートチャート図である。   The state 360a represents the processing state of the current investment amount class 360, and there are two states, insufficient balance and sufficient balance. The insufficient balance state means that the balance of the corresponding subtracting charging device is smaller than the amount held in the charge 320d of the slip class 320. The sufficient balance state means that the balance is held in the charge 320d. It shows the state that is more than the amount of money. Here, the state transition between these states and each state will be described with reference to FIG. FIG. 12 is a UML state chart diagram showing the state transition of the investment amount class 360 (the state transition of the state held by the state 360a).

同図に示すように、現在の状態が「残高不足」であれば、「残高十分」状態への状態遷移が可能である。具体的には、「残高不足」状態において追加する()360fまたは返却する()360gが呼び出されても(ステップS301)、状態は「残高不足」のままである。しかしながら、事前確認をする()360dが呼び出され、その戻り値が「OK」であれば(ステップS302)、「残高十分」状態に状態遷移する。   As shown in the figure, if the current state is “insufficient balance”, the state transition to the “balance sufficient” state is possible. More specifically, even when add () 360 f or return () 360 g is called in the “insufficient balance” state (step S 301), the state remains “insufficient balance”. However, if advance check () 360d is called and the return value is “OK” (step S302), the state transitions to the “Balance sufficient” state.

また、同図に示したように、現在の状態が「残高十分」であれば、「残高不足」状態への状態遷移が可能である。具体的には、「残高十分」状態において追加する()360fまたは減算する()360eが呼び出されても(ステップS303)、状態は「残高十分」のままである。しかしながら、事前確認をする()360dが呼び出され、その戻り値が「NG」であれば(ステップS304)、「残高不足」状態に状態遷移する。   Further, as shown in the figure, if the current state is “sufficient balance”, the state transition to the “insufficient balance” state is possible. Specifically, even when add () 360 f or subtract () 360 e is called in the “balance enough” state (step S 303), the state remains “balance enough”. However, if advance check () 360d is called and the return value is “NG” (step S304), the state transitions to the “insufficient balance” state.

「残高不足」状態および「残高十分」状態間の状態遷移は、事前確認をする()360dが呼び出された場合にのみおこなわれ、減算する()360e、追加する()360fおよび返却する()360dが呼び出された場合には、かかる状態遷移はおこなわれない。このように、状態360aの各状態に応じて実行可能な操作が限定されており、実行された操作による遷移先の状態も限定されている。このような「状態」および「状態遷移」の概念を用いることにより、投入金額クラス360は、減算式課金装置の残高状態を的確に把握することができる。   The state transition between the “insufficient balance” state and the “balance sufficient” state is performed only when the advance confirmation () 360d is called, and is subtracted () 360e, added () 360f, and returned () When 360d is called, this state transition is not performed. As described above, the operations that can be executed are limited according to the respective states of the state 360a, and the transition destination states due to the executed operations are also limited. By using such concepts of “state” and “state transition”, the investment amount class 360 can accurately grasp the balance state of the subtracting accounting apparatus.

図9に戻って、名称360bについて説明する。名称360bは、コインラック装置や減算式キーカード装置といった減算式課金装置の名称(略号などを含む)を保持し、残高360cは、投入された貨幣の残金や、カウント値といった残高を保持する。   Returning to FIG. 9, the name 360b will be described. The name 360b holds the name (including abbreviations) of a subtracting charging device such as a coin rack device or a subtracting key card device, and the balance 360c holds a balance such as the balance of the inserted money and a count value.

事前確認する()360dは、伝票クラス320の料金320dに保持されている金額(料金)と残高360cに保持されている金額(残高)とを比較して、かかる料金の徴収が可能であるか否かを確認する処理をおこなう。なお、この事前確認する()360dは、徴収が可能であれば「OK」を、徴収が不可能であれば「NG」を呼び出し元に返す。   The prior confirmation () 360d compares the amount (charge) held in the charge 320d of the slip class 320 with the amount (balance) held in the balance 360c, and is it possible to collect such charge? A process to confirm whether or not is performed. The prior confirmation () 360d returns “OK” to the caller if collection is possible, and “NG” if collection is impossible.

減算する()360eは、対応する減算式課金装置に対して課金を実行させる処理をおこない、追加する()360fは、減算式課金装置に追加された金額を残高360cに足しこむ処理をおこなう。また、返却する()360gは、減算式課金装置の残金が0となった場合や、利用者が減算式課金装置の返却ボタンを押下して残金が返却された場合に、残金360cの値を0にする処理をおこなう。   Subtracting () 360e performs processing for causing the corresponding subtracting charging apparatus to perform charging, and adding () 360f performs processing for adding the amount added to the subtracting charging apparatus to the balance 360c. Also, (360g) to be returned is the value of the balance 360c when the balance of the subtractive charging device becomes 0 or when the user presses the return button of the subtractive billing device and the balance is returned. Perform the process of setting it to zero.

請求金額クラス370は、加算式キーカード装置などの加算式課金装置を束ね、加算するタイミングと加算する料金の合計値を管理するクラスである。具体的には、この請求金額クラス370は、属性として、状態370a、合計額370b、限度額370cおよび精算日370dを有し、操作として、査定する()370e、加算する()370f、精算する()370gおよび付替要求()370hを有する。なお、かかる請求金額クラス370を実体化したオブジェクトが生成されると、状態370a、合計額370b、限度額370cおよび精算日370dはRAM12b上に展開されるので、これらのデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。   The charge amount class 370 is a class that bundles an addition type charging device such as an addition type key card device and manages the timing of addition and the total value of the charges to be added. Specifically, the billing amount class 370 has, as attributes, a state 370a, a total amount 370b, a limit amount 370c, and a settlement date 370d, and evaluates () 370e, adds () 370f, and settles as operations. () 370 g and replacement request () 370 h. When an object that materializes the billing amount class 370 is generated, the state 370a, the total amount 370b, the limit amount 370c, and the settlement date 370d are expanded on the RAM 12b, so that these data (attributes) are written and Reading can be performed.

状態370aは、現在の請求金額クラス370の処理状態をあらわし、この状態には、付替可能、加算可能、加算不可および精算中の4つがある。付替可能状態とは、請求先となる加算式課金装置の切替えが可能な状態をあらわし、加算可能状態とは、いずれかの加算式課金装置への料金徴収が可能な状態をあらわし、加算不可状態とは、いずれの加算式課金装置を用いても料金徴収が不可能な状態をあらわす。また、精算中状態とは、料金徴収(精算)が処理中であることを指す。ここで、図13を用いてこれらの状態と各状態間の状態遷移について説明しておく。図13は、請求金額クラス370の状態遷移(状態370aが保持する状態の状態遷移)を示すUMLステートチャート図である。   The state 370a represents the processing state of the current billing amount class 370, and there are four states: replaceable, addable, non-addable and being settled. The replaceable state indicates a state in which the chargeable billing device as a billing destination can be switched, and the addable state indicates a state in which charges can be collected to any of the chargeable billing devices. The state represents a state in which no charge collection is possible using any of the addition type charging devices. Further, the state of being settled indicates that fee collection (settlement) is being processed. Here, the state transition between these states and each state will be described with reference to FIG. FIG. 13 is a UML state chart diagram showing the state transition of the charge amount class 370 (the state transition of the state held by the state 370a).

同図に示すように、現在の状態が「付替可能」であれば、「加算可能」状態への状態遷移が可能である。具体的には、「付替可能」状態において付替要求()370hが呼び出されても(ステップS401)、状態は「付替可能」のままである。また、加算する()370fが呼び出されると(ステップS402)、「加算可能」状態に状態遷移する。   As shown in the figure, if the current state is “replaceable”, the state transition to the “addable” state is possible. Specifically, even if the replacement request () 370 h is called in the “replaceable” state (step S 401), the state remains “replaceable”. When () 370 f to be added is called (step S 402), the state transitions to the “addable” state.

また、同図に示したように、現在の状態が「加算可能」であれば、「精算中」および「加算不可」状態への状態遷移が可能である。具体的には、「加算可能」状態において加算する()370fが呼び出されても(ステップS403)、状態は「加算可能」のままである。また、精算日370dを指定して精算する()370gが呼び出されると(ステップS404)、「精算中」状態に状態遷移し、加算する()370fが呼び出され加算処理がおこなわれた結果、限度額370cに達すると(ステップS405)、「加算不可」状態に状態遷移する。   Also, as shown in the figure, if the current state is “addable”, state transition to the “settlement” and “addition impossible” states is possible. Specifically, even if () 370 f is called in the “addable” state (step S 403), the state remains “addable”. Further, when () 370 g is called up by specifying the check-out date 370 d (step S 404), the state transitions to the “settlement” state, and the addition is performed () 370 f is called and the addition process is performed. When the forehead 370c is reached (step S405), the state transitions to an “addition impossible” state.

また、現在の状態が「加算不可」であれば、「精算中」状態への状態遷移が可能である。具体的には、「加算不可」状態において「直ちに」の条件で精算する()370gが呼び出されると(ステップS406)、「精算中」状態に状態遷移する。さらに、現在の状態が「精算中」であれば、「付替可能」状態への状態遷移が可能である。具体的には、「精算中」状態において精算が完了した場合には、「付替可能」状態に状態遷移する(ステップS407)。   Further, if the current state is “cannot be added”, the state transition to the “settlement” state is possible. Specifically, when () 370 g that is settled under the condition of “immediately” in the “not addable” state is called (step S 406), the state transitions to the “under settlement” state. Furthermore, if the current state is “settlement”, the state transition to the “replaceable” state is possible. Specifically, when the settlement is completed in the “settlement” state, the state transitions to the “replaceable” state (step S407).

このように、状態370aの各状態に応じて実行可能な操作が限定されており、実行された操作による遷移先の状態も限定されている。このような「状態」および「状態遷移」の概念を用いることにより、請求金額クラス370は、加算式課金装置を束ねて管理し、必要に応じてかかる加算式課金装置の切替えをおこなうことができる。   As described above, the operations that can be executed are limited according to the respective states of the state 370a, and the transition destination states due to the executed operations are also limited. By using such concepts of “state” and “state transition”, the billing amount class 370 can manage the bundled charging device in a bundle, and can switch the charging device as necessary. .

図9に戻って、合計額370bについて説明する。合計額370bは、提供した機能の料金を保持する。この合計額370bは、機能提供中に随時加算されていき、精算する()370gが呼び出された際に、まとめて料金の徴収(カウント値の加算など)がおこなわれる。また、限度額370cは、加算可能な料金の上限値を保持し、精算日370dは、精算処理を事後的におこなう場合の精算日時などを保持する。   Returning to FIG. 9, the total amount 370b will be described. The total amount 370b holds the fee for the provided function. The total amount 370b is added at any time during the provision of the function, and when the settlement () 370g is called, charges are collected (addition of count value, etc.). Further, the limit amount 370c holds the upper limit value of the charge that can be added, and the payment date 370d holds the date and time of payment when the adjustment processing is performed later.

査定する()370eは、管理下にある請求先クラス380に対して合計額370bに保持されている金額(料金)の徴収が可能であるか否かを確認する処理をおこない、加算する()370fは、合計額370bに提供したサービスの料金を加算する処理をおこなう。また、精算する()370gは、課金先として選択された請求先クラス380に対して課金を指示する処理をおこない、付替要求()370hは、課金先となる請求先クラス380の切替え(付替)処理をおこなう。   The assessing () 370 e performs processing for confirming whether or not the amount (charge) held in the total amount 370 b can be collected for the billing destination class 380 under management, and adds () 370f performs a process of adding the service charge provided to the total amount 370b. Further, the settlement () 370 g performs a process of instructing the billing destination class 380 selected as the billing destination, and the replacement request () 370 h is a switching (attachment) of the billing destination class 380 serving as the billing destination. (Replacement) is performed.

請求先クラス380は、加算式キーカード装置などの加算式課金装置の状態を管理し、管理する加算式課金装置に課金実行を指示するクラスである。具体的には、この請求先クラス380は、属性として、状態380aおよび名称380bを有し、操作として、請求する()380c、有効にする()380dおよび無効にする()380eを有する。なお、かかる請求先クラス380を実体化したオブジェクトが生成されると、状態380aおよび名称380bはRAM12b上に展開されるので、これらのデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。   The billing destination class 380 is a class that manages the state of an addition-type charging device such as an addition-type key card device, and instructs the addition-type charging device that manages the charging execution. Specifically, this billing destination class 380 has a state 380a and a name 380b as attributes, and has a request () 380c, a valid () 380d, and a invalid () 380e as operations. When an object that materializes the billing destination class 380 is generated, the state 380a and the name 380b are expanded on the RAM 12b, so that these data (attributes) can be written and read.

状態380aは、現在の請求先クラス380の処理状態をあらわし、この状態には、無効状態および有効状態の2つがある。無効状態とは、対応する加算式課金装置の使用が許可されていない状態をあらわし、有効状態とは、対応する加算式課金装置の使用が許可されている状態をあらわす。また、名称380bは、加算式キーカード装置やクレジットカード装置といった加算式課金装置の名称(略号などを含む)を保持する。   The state 380a represents the current processing state of the billing destination class 380, and there are two states, an invalid state and a valid state. The invalid state represents a state in which use of the corresponding addition type charging apparatus is not permitted, and the valid state represents a state in which use of the corresponding addition type charging apparatus is permitted. The name 380b holds the name (including abbreviations) of an addition type charging device such as an addition type key card device or a credit card device.

請求する()380cは、対応する加算式課金装置に対し課金実行を指示する処理をおこない、有効にする()380dは、対応する加算式課金装置に対し使用許可を与える処理をおこない、無効にする()380eは、対応する加算式課金装置に対し使用許可を取消す処理をおこなう。   The request () 380 c performs processing for instructing the corresponding addition-type charging device to execute charging, and the setting is enabled () 380 d performs processing for giving use permission to the corresponding addition-type charging device and disables it. Execute () 380 e performs processing for canceling the use permission for the corresponding addition type charging apparatus.

次に、図9に示した各クラス間の関係について説明する。同図に示したように、UMLクラス図においては、クラス間に何らかの関係がある場合には、それらのクラスを表す矩形の間が直線で結ばれる。この直線の両端付近の文字はクラスのロールを表し、数字はクラスの多重度を表す。ここで、ロールとは、直線で結ばれた他方のクラスに対する当該クラスの役割のことであり、多重度とは、直線で結ばれた他方のクラスのオブジェクトと関連付けられて生成されるオブジェクトの数のことである。   Next, the relationship between the classes shown in FIG. 9 will be described. As shown in the figure, in the UML class diagram, when there is some relationship between classes, rectangles representing those classes are connected by a straight line. The characters near both ends of this line represent the class role, and the numbers represent the multiplicity of the class. Here, the role is the role of the class with respect to the other class connected by a straight line, and the multiplicity is the number of objects generated in association with the object of the other class connected by a straight line. That is.

たとえば、帳簿クラス310からみた伝票クラス320の役割は「綴じるもの」であり、伝票クラス320からみた帳簿クラス310の役割は「綴じ先」である。また、帳簿クラス310の多重度は「1」であり、伝票クラス320の多重度は「0..n」である。ここで、「0..n」は、かかる伝票クラス320の多重度が、0からnの範囲であることを示している。また、たとえば、「1..3」の記載をした場合には、かかるクラスの多重度が、1〜3の範囲であることを示す。   For example, the role of the slip class 320 as viewed from the book class 310 is “binding”, and the role of the book class 310 as viewed from the slip class 320 is “binding destination”. The multiplicity of the book class 310 is “1”, and the multiplicity of the slip class 320 is “0..n”. Here, “0..n” indicates that the multiplicity of the slip class 320 is in the range of 0 to n. For example, when “1..3” is described, the multiplicity of the class is in the range of 1 to 3.

まず、帳簿クラス310と伝票クラス320とのクラス関係について説明する。帳簿クラス310のオブジェクトは、課金部112a内に1個のみ存在し、伝票クラス320のオブジェクトは、利用者の機能要求ごとに、帳簿クラス310のオブジェクトにより生成される。すなわち、複数の機能(コピー機能やプリンタ機能など)が同時に提供されている場合には、同時に提供している機能数分の伝票クラス320のオブジェクトが生成される。したがって、帳簿クラス310のオブジェクトに対して0個以上n個以下の範囲で存在する。ここで、オブジェクト数が0個とは、提供中の機能がなく伝票クラス320のオブジェクトが存在しない場合を示しており、かかるオブジェクト数の上限数はn個としているものの、当然に、ハードウェア仕様などによる制限を受けるものとする。   First, the class relationship between the book class 310 and the slip class 320 will be described. There is only one object of the book class 310 in the charging unit 112a, and the object of the slip class 320 is generated by the object of the book class 310 for each function request of the user. That is, when a plurality of functions (such as a copy function and a printer function) are provided at the same time, slip class 320 objects corresponding to the number of functions provided at the same time are generated. Therefore, the number of objects in the book class 310 is in the range of 0 to n. Here, the number of objects of 0 indicates a case where there is no function being provided and there are no objects of the slip class 320, and although the upper limit of the number of such objects is n, naturally, the hardware specification Shall be restricted by the above.

また、帳簿クラス310は、伝票クラス320から見ると「綴じ先(管理者)」としての役割を有しており、一方、伝票クラス320は、帳簿クラス310から見ると「綴じるもの(管理対象)」としての役割を有している。   The book class 310 has a role of “binding destination (administrator)” when viewed from the slip class 320, while the slip class 320 is “bound (managed)” when viewed from the book class 310. It has a role as "

次に、伝票クラス320と料金表クラス330との関係について説明する。伝票クラス320のオブジェクトは提供する機能ごとに生成され、かかるオブジェクトごとに料金が発生するので、伝票クラス320は料金表クラス330に料金の単価の検索を依頼し、これに基づいて料金を算出する必要がある。したがって、伝票クラス320と料金表クラス330とは、「検索者」と「単価」という関係をなしている。また、料金表クラス330のオブジェクトは、課金部112a内に1個のみ存在する。上述したように、伝票クラス320のオブジェクトは、同時に提供している機能数分だけ存在するので、料金表クラス330のオブジェクトに対して0個以上n個以下の範囲で存在する。   Next, the relationship between the slip class 320 and the fee schedule class 330 will be described. An object of the slip class 320 is generated for each function to be provided, and a fee is generated for each such object. Therefore, the slip class 320 requests the fee table class 330 to search for the unit price of the fee, and calculates the fee based on this There is a need. Therefore, the slip class 320 and the fee table class 330 have a relationship of “searcher” and “unit price”. Further, there is only one object of the fee schedule class 330 in the charging unit 112a. As described above, there are as many objects of the slip class 320 as there are functions provided at the same time, and therefore, there exist in the range of 0 to n with respect to the objects of the fee table class 330.

次に、伝票クラス320と対価クラス340との関係について説明する。伝票クラス320のオブジェクトは提供する機能ごとに生成され、かかるオブジェクトごとに料金(提供した機能の対価)が発生する。したがって、伝票クラス320と対価クラス340は、「請求者」と「対価」の関係をなしている。また、一つの伝票クラス320のオブジェクトに対して、一つの対価クラス330のオブジェクトが存在するので、それぞれのオブジェクトは1対1の関係をなす。なお、料金の徴収が不要な場合は、伝票クラス320のオブジェクトに対応する対価クラス340のオブジェクトは存在しないので、対価クラス340のオブジェクトは、伝票クラス320のオブジェクトに対して0個以上1個以下の範囲で存在する。   Next, the relationship between the slip class 320 and the consideration class 340 will be described. An object of the slip class 320 is generated for each function to be provided, and a charge (a price for the provided function) is generated for each such object. Therefore, the slip class 320 and the consideration class 340 have a relationship between “biller” and “consideration”. Further, since one object of the consideration class 330 exists for one object of the slip class 320, each object has a one-to-one relationship. If no fee collection is required, there is no object of the consideration class 340 corresponding to the object of the slip class 320. Therefore, the object of the consideration class 340 is 0 or more and 1 or less with respect to the object of the slip class 320. It exists in the range.

次に、対価クラス340と取引表クラス350との関係について説明する。対価クラス340は、対価の交換(料金の徴収)に先立って、利用可能な(利用が制限されていない)課金装置を取得する必要がある。したがって、対価クラス340と取引表クラス350は、「検索者」と「制限」の関係をなしている。なお、両クラスの多重度の関係は、上述した伝票クラス320と料金クラス330の関係と同様である。   Next, the relationship between the consideration class 340 and the transaction table class 350 will be described. The consideration class 340 needs to acquire an available (unrestricted use) billing device prior to the exchange (collection of charges) of the consideration. Therefore, the consideration class 340 and the transaction table class 350 have a relationship of “searcher” and “restriction”. The relationship between the multiplicity of both classes is the same as the relationship between the slip class 320 and the charge class 330 described above.

次に、対価クラス340と投入金額クラス360との関係について説明する。対価クラス340は、対価の交換先(料金の徴収先)として減算式課金装置を選択した場合、減算式課金装置と対応するクラスである投入金額クラス360に課金の実行を指示する。したがって、対価クラス340と投入金額クラス360は、「対価」と「課金実行者」の関係をなしている。なお、選択可能な減算式課金装置は存在しない場合もあり、複数存在する場合もあるので、投入金額クラス360のオブジェクトは、対価クラス340のオブジェクトに対して0個以上n個以下の範囲で存在する。   Next, the relationship between the consideration class 340 and the investment amount class 360 will be described. The consideration class 340 instructs the input amount class 360, which is a class corresponding to the subtraction-type charging apparatus, to execute charging when the subtraction-type charging apparatus is selected as a price exchange destination (charge collection destination). Therefore, the consideration class 340 and the input amount class 360 have a relationship between “consideration” and “billing executor”. Note that there may be no subtractable accounting device that can be selected, and there may be a plurality of subtracting accounting devices. Therefore, there are 0 to n objects for the input amount class 360 for the object of the consideration class 340. To do.

次に、対価クラス340と請求金額クラス370との関係について説明する。対価クラス340は、対価の交換(料金の徴収)先として加算式課金装置を選択した場合、加算式課金装置を管理するクラスである請求金額クラス370に課金の実行を指示する。したがって、対価クラス34と請求金額クラス370は、「対価」と「課金実行者」の関係をなしている。また、加算式課金装置を束ねて管理する請求金額クラス370のオブジェクトと、対価クラス340のオブジェクトとは1対1の関係をなすが、加算式課金装置が存在しない場合には、かかる装置を管理する請求金額クラス370のオブジェクトも存在しないので、請求金額クラス370のオブジェクトは、対価クラス340のオブジェクトに対して0個以上1個以下の範囲で存在する。   Next, the relationship between the consideration class 340 and the charge amount class 370 will be described. The consideration class 340 instructs the billing amount class 370, which is a class that manages the addition-type charging apparatus, to execute charging when the addition-type charging apparatus is selected as a destination for price exchange (charge collection). Therefore, the consideration class 34 and the billing amount class 370 have a relationship of “consideration” and “charger”. In addition, there is a one-to-one relationship between the charge amount class 370 object that manages bundled accounting devices in a bundle, and the consideration class 340 object. Since there is no charge amount class 370 object, the charge amount class 370 object exists in the range of 0 to 1 with respect to the object of the consideration class 340.

最後に、請求金額クラス370と請求先クラス380との関係について説明する。請求金額クラス370のオブジェクトは、各加算式課金装置と対応する請求先クラス380のオブジェクトの中から、課金実行先となるオブジェクトを1個選択するとともに、他のオブジェクトを課金実行先の代替候補として管理する。したがって、請求金額クラス370と請求先クラス380は、「選択者」と「課金代行者」の関係をなすとともに、「選択者」と「予備代行者」の関係をなしている。なお、「課金代行者」となるオブジェクトは1個であり、「予備代行者」となるオブジェクトは1個以上n個以下の範囲で存在する。   Finally, the relationship between the billing amount class 370 and the billing destination class 380 will be described. The charge amount class 370 object selects one object as a charge execution destination from among the objects of the charge destination class 380 corresponding to each addition type charging device, and other objects as alternative candidates for the charge execution destination to manage. Accordingly, the billing amount class 370 and the billing destination class 380 have a relationship of “selector” and “charging agent”, and also have a relationship of “selector” and “preliminary agent”. Note that there is one object that is a “billing agent”, and there are one or more objects that are “standby agents” in the range of 1 to n.

このように、帳簿クラス310、伝票クラス320、料金表クラス330、対価クラス340、取引表クラス350、投入金額クラス360、請求金額クラス370および請求先クラス380の各オブジェクトは、相互に関連し合い、協調して、課金部112aに必要な機能を実現している。   In this way, the book class 310, slip class 320, fee table class 330, consideration class 340, transaction table class 350, input amount class 360, invoice amount class 370, and invoice destination class 380 are mutually related. In cooperation with each other, functions necessary for the charging unit 112a are realized.

次に、図9に示した各クラスの操作の実行手順について例をあげて説明する。図14は、機能提供要求を受け付けた際の操作の実行手順を示すUMLシーケンス図である。   Next, an example of the execution procedure of each class operation shown in FIG. 9 will be described. FIG. 14 is a UML sequence diagram illustrating an operation execution procedure when a function provision request is received.

ここで、UMLシーケンス図について説明しておく。図14の上部に並んだ矩形は、それぞれがクラスのオブジェクトを示している。各オブジェクトから下方に伸びた線は、各オブジェクトが生存していることを示す線(ライフライン)であり、上方から下方に向かって時間が流れているものとみなされる。この線上に存在する細長い矩形は、当該のオブジェクトが実際に活動している期間(活性期間)を示す。   Here, the UML sequence diagram will be described. Each rectangle arranged in the upper part of FIG. 14 indicates a class object. A line extending downward from each object is a line (lifeline) indicating that each object is alive, and time is considered to flow from the top to the bottom. An elongated rectangle present on this line indicates a period during which the object is actually active (active period).

各ライフラインの間を結ぶ横向きの矢印は、オブジェクトに含まれるの操作の実行を示す。具体的には、この矢印は、矢印の元のオブジェクトが、矢印の先のオブジェクトに含まれる操作を呼び出すことを示す。また、矢印が自分自身のオブジェクトを指している場合は、オブジェクトが自分に含まれる操作を自身で呼び出すことを意味する。   A horizontal arrow connecting the lifelines indicates execution of an operation included in the object. Specifically, this arrow indicates that the original object of the arrow calls an operation included in the object at the end of the arrow. Further, when the arrow points to its own object, it means that the object calls the operation included in itself.

図14に示すように、利用者が、複合機1の操作パネル400を操作し、提供してほしい機能の機能内容を設定すると、かかる設定内容(機能内容)は操作系サブシステム111に通知される。そして、操作系サブシステム111は、帳簿オブジェクト310Aの記入する()310bを呼び出し(ステップS501)、かかる機能内容を帳簿オブジェクト310Aに通知する。つづいて、帳簿オブジェクト310Aは、伝票オブジェクト320Aを生成するとともに、生成した伝票オブジェクト320Aの記入する()を呼び出し(ステップS502)、かかる機能内容を伝票オブジェクト320Aに通知する。このようにして、利用者が設定した「機能内容」を反映した伝票オブジェクト320Aが生成される。   As shown in FIG. 14, when the user operates the operation panel 400 of the multifunction device 1 and sets the function contents of the function that the user wants to provide, the setting contents (function contents) are notified to the operation subsystem 111. The Then, the operational subsystem 111 calls () 310b to be entered in the book object 310A (step S501) and notifies the book object 310A of the function content. Subsequently, the book object 310A generates a slip object 320A, calls () to fill in the generated slip object 320A (step S502), and notifies the slip object 320A of the function content. In this way, the slip object 320A reflecting the “function content” set by the user is generated.

なお、操作系サブシステム111が、複数の機能の提供要求を受け付けた場合には、帳簿オブジェクト310Aは、受け付けた機能に応じた数の伝票オブジェクト320Aを生成し、生成した各伝票オブジェクト320Aに機能内容を通知する。また、操作系サブシステムが、変更依頼を受け付けた場合には、帳簿オブジェクト310Aは、伝票オブジェクト320Aを生成せず、該当する伝票オブジェクト320Aに変更内容を通知する。   When the operation subsystem 111 receives a request for providing a plurality of functions, the book object 310A generates a number of slip objects 320A corresponding to the received functions, and functions to each generated slip object 320A. Notify the contents. When the operation subsystem receives a change request, the book object 310A does not generate the slip object 320A but notifies the corresponding slip object 320A of the change contents.

つづいて、伝票オブジェクト320Aは、料金表オブジェクト330Aの検索する()330bを呼び出し(ステップS503)、かかる機能内容の料金の検索を依頼する。検索を依頼された料金表オブジェクト330Aは、該当する「料金」を検索結果として伝票オブジェクト320Aに返す(ステップS504)。検索結果を受け取った伝票オブジェクト320Aは、料金320dに、かかる検索結果を書き込む。   Subsequently, the slip object 320A calls () 330b to search for the charge table object 330A (step S503), and requests the search for the charge of the function content. The charge table object 330A requested to search returns the corresponding “charge” to the slip object 320A as a search result (step S504). The slip object 320A that has received the search result writes the search result in the fee 320d.

そして、伝票オブジェクト320Aは、対価オブジェクト340Aの領収可否を確認する()340cを呼び出し(ステップS505)、対価オブジェクト340Aに、「料金」の領収が可能な課金装置の決定を依頼する。依頼を受けた対価オブジェクト340Aは、取引表オブジェクト350Aの検索する()350bを呼び出し(ステップS506)、「料金」の領収が可能な課金装置の検索を依頼する。検索を依頼された取引表オブジェクト350Aは、該当する課金装置(課金対象)を検索結果として対価オブジェクト340Aに返す(ステップS507)。   The slip object 320A confirms whether or not the consideration object 340A can be received () 340c (step S505), and requests the consideration object 340A to determine a charging apparatus that can receive the “fee”. Upon receiving the request, the consideration object 340A calls () 350b to search for the transaction table object 350A (step S506), and requests a search for a charging device capable of receiving the “fee”. The transaction table object 350A requested to search returns the corresponding charging device (charging target) to the consideration object 340A as a search result (step S507).

たとえば、検索結果として通知された課金対象が減算式課金装置である場合には(ステップS508)、対価オブジェクト340Aは、料金320dから読み出した「料金」を引数として、投入金額オブジェクト360Aの事前確認する()360dを呼び出し(ステップS509)、該当する減算式課金装置の残金が十分であるか否かの確認を依頼する。なお、検索結果として通知された課金対象が加算式課金装置である場合には、対価オブジェクト340Aは、請求金額オブジェクト370Aの査定する()370eを呼び出すことになる。このようにして、サービス料金の領収可否が判明したならば、かかる領収可否を液晶タッチパネル420に表示するなどして、機能提供要求をおこなった利用者に通知する。   For example, when the billing object notified as the search result is a subtractive billing apparatus (step S508), the consideration object 340A confirms the input amount object 360A in advance using the “charge” read from the charge 320d as an argument. () 360d is called (step S509), and a request is made to confirm whether or not the remaining balance of the subtracting accounting apparatus is sufficient. If the charge object notified as the search result is an addition-type charge device, the consideration object 340A calls () 370e to be assessed by the charge amount object 370A. In this way, when it is determined whether or not the service fee can be received, the user who made the function provision request is notified by displaying the receipt or not on the liquid crystal touch panel 420.

次に、利用者が要求したサービスを提供する際に、サービス料金(提供したサービスの対価)を徴収する処理手順について図15および図16を用いて説明する。図15は、減算式課金装置を選択して課金をおこなう場合の操作の実行手順を示すUMLシーケンス図であり、図16は、加算式課金装置を選択して課金をおこなう場合の操作の実行手順を示すUMLシーケンス図である。   Next, a processing procedure for collecting a service fee (a consideration for the provided service) when providing the service requested by the user will be described with reference to FIGS. 15 and 16. FIG. 15 is a UML sequence diagram showing an operation execution procedure when charging is performed by selecting a subtracting charging apparatus, and FIG. 16 is an operation execution procedure when charging is performed by selecting an addition charging apparatus. It is a UML sequence diagram which shows.

まず、減算式課金装置が選択された場合の課金処理の手順について説明する。図15に示すように、利用者への機能提供が完了したならば、実行系サブシステム113は、該当する伝票オブジェクト320Aに、機能提供が完了したことを通知する。かかる通知は、伝票オブジェクト320Aの処理する()320fを呼び出すことによりおこなわれる(ステップS601)。機能提供の完了を通知された伝票オブジェクト320Aは、自己の属性区画に保持されている料金320dの値を読み出し、この値(サービス料金)の徴収を、対応する対価オブジェクト340Aに依頼する。具体的には、かかる伝票オブジェクト320Aは、読み出した料金320dの値を引数に設定したうえで対応する対価オブジェクト340Aの交換する()340bを呼び出す(ステップS602)。   First, the procedure of the charging process when the subtractive charging device is selected will be described. As shown in FIG. 15, when the function provision to the user is completed, the execution subsystem 113 notifies the corresponding slip object 320A that the function provision has been completed. This notification is performed by calling () 320f processed by the slip object 320A (step S601). The slip object 320A notified of the completion of the function provision reads the value of the charge 320d held in its own attribute section, and requests the corresponding consideration object 340A to collect this value (service charge). Specifically, the slip object 320A sets the value of the read charge 320d as an argument and then calls the exchanged object 340A () 340b for the corresponding consideration object 340A (step S602).

そして、料金の徴収を依頼された対価オブジェクト340Aは、コインラック装置などの減算式課金装置と対応する投入金額オブジェクト360Aに対し、かかる料金の引き落としの実行依頼を、投入金額オブジェクト360Aの減算する()360eを呼び出すことによりおこなう(ステップS603)。   Then, the consideration object 340A requested to collect the fee subtracts the charge amount execution request from the input amount object 360A from the input amount object 360A corresponding to the subtracting charging device such as a coin rack device ( ) 360e is called (step S603).

次に、加算式課金装置が選択された場合の課金処理の手順について説明する。図16に示すステップS701およびS702は、図15に示したS601およびS602と同様の手順であるため説明を省略する。料金の徴収を依頼された対価オブジェクト340Aは、加算式キーカード装置などの加算式課金装置を束ねて管理する請求金額オブジェクト370Aに対し、かかる料金の加算の実行を依頼する。具体的には、かかる対価オブジェクト340Aは、請求金額オブジェクト370Aの加算する370fを呼び出す(ステップS703)。   Next, a charging process procedure when the addition type charging apparatus is selected will be described. Steps S701 and S702 shown in FIG. 16 are the same procedures as S601 and S602 shown in FIG. The consideration object 340A requested to collect the fee requests the billing amount object 370A, which manages the addition type charging device such as the addition type key card device, to execute the addition of the fee. Specifically, the consideration object 340A calls 370f to which the charge amount object 370A is added (step S703).

呼び出された請求金額オブジェクト370Aは、通知された料金を自己の属性区画に保持されている合計額370bに足しこむ。そして、精算を実行する所定の条件を満たしたならば、かかる請求金額オブジェクト370Aは、自己の精算する()370gを呼び出す(ステップS704)。自己の精算する()370gを呼び出した請求金額オブジェクト370Aは、かかる合計額370bの値を引数に設定したうえで、加算式課金装置に対応する請求先オブジェクト380Aの請求する()380cを呼び出し(ステップS705)、課金実行を依頼する。   The called billing amount object 370A adds the notified fee to the total amount 370b held in its own attribute section. Then, if a predetermined condition for executing the settlement is satisfied, the billing amount object 370A calls () 370g to settle itself (step S704). The billing amount object 370A that calls () 370g to be settled by itself sets the value of the total amount 370b as an argument, and then calls () 380c that is billed by the billing destination object 380A corresponding to the addition type charging device ( In step S705, a request for charging is made.

次に、利用中の課金装置が無効状態(たとえば、コインラック装置の残金を返却した状態やキーカード装置のカードを抜取った状態)となった場合における課金装置の付替手順について図17および図18を用いて説明する。図17は、選択した減算式課金装置から付替要求をおこなう際の操作の実行手順を示すUMLシーケンス図であり、図18は、選択した加算式課金装置から付替要求をおこなう際の操作の実行手順を示すUMLシーケンス図である。   Next, FIG. 17 shows the charging device replacement procedure when the charging device in use is in an invalid state (for example, a state in which the balance of the coin rack device is returned or a state in which the card of the key card device is removed). This will be described with reference to FIG. FIG. 17 is a UML sequence diagram showing an execution procedure of an operation when a replacement request is made from the selected subtracting charging apparatus. FIG. 18 is a flowchart of an operation when a replacement request is made from the selected addition charging apparatus. It is a UML sequence diagram which shows an execution procedure.

まず、利用中の課金装置が減算式課金装置である場合の付替手順について説明する。図17に示すように、利用中の減算式課金装置が無効状態となったことを通知された管理系サブシステム112は、該当する投入金額オブジェクト360Aの返却する()360gを呼び出す(ステップS801)。呼び出された投入金額オブジェクト360Aは、対価オブジェクト340Aの付替要求()340dを呼び出し(ステップS802)、課金装置の付替を依頼する。そして、かかる付替依頼を受け付けた対価オブジェクト340Aは、課金装置を再選択して課金装置の付替処理をおこなう。   First, the replacement procedure when the charging device in use is a subtractive charging device will be described. As shown in FIG. 17, the management subsystem 112 that has been notified that the subtractive charging device being used has become invalid calls the return () 360g of the corresponding input amount object 360A (step S801). . The called-in money object 360A that has been called calls up a replacement request () 340d of the consideration object 340A (step S802) and requests replacement of the accounting device. Then, the consideration object 340A that has received the replacement request reselects the charging device and performs the charging device replacement process.

次に、利用中の課金装置が加算式課金装置である場合の付替手順について説明する。図18に示すように、利用中の加算式課金装置が無効状態となったことを通知された管理系サブシステム112は、該当する請求先オブジェクト380Aの無効にする()380eを呼び出し(ステップS901)、対応する課金装置が無効状態となったことを通知する。呼び出された請求先オブジェクト380Aは、請求金額オブジェクト370Aの付替要求()370hを呼び出し(ステップS902)、課金装置の付替を依頼する。呼び出された請求金額オブジェクト370Aは、さらに、対価オブジェクト340Aの付替要求()340dを呼び出し(ステップS903)、課金装置の付替を依頼する。そして、かかる付替依頼を受け付けた対価オブジェクト340Aは、課金装置を再選択して課金装置の付替処理をおこなう。   Next, a replacement procedure in the case where the charging device in use is an addition-type charging device will be described. As shown in FIG. 18, the management subsystem 112 that has been notified that the add-on billing device being used has become invalid calls the invalid billing destination object 380A () 380e (step S901). ), The corresponding billing apparatus is in an invalid state. The called billing destination object 380A calls a replacement request () 370h of the billing amount object 370A (step S902), and requests replacement of the charging device. The called billing amount object 370A further calls a replacement request () 340d of the consideration object 340A (step S903) and requests replacement of the accounting device. Then, the consideration object 340A that has received the replacement request reselects the charging device and performs the charging device replacement process.

上述してきたように、本実施の形態では、オブジェクト指向設計により課金部の仕組みを構築し、さらに、加算式課金装置および減算式課金装置に対応したオブジェクトモデリングをおこない、帳簿クラス、伝票クラス、料金表クラス、対価クラス、取引表クラス、投入金額クラス、請求金額クラスおよび請求先クラスを用いることにより、かかる課金部を実現したので、ソフトウェア開発者やソフトウェア保守要員が、課金部の構成と役割を容易に把握することができる。また、課金装置を体系的に管理し、かかる課金装置の状態に応じて課金装置を切替えることとしたので課金装置の追加や取外しを容易におこなうことができる。さらに、各課金装置間の機能の差異を課金部が吸収するようオブジェクトモデリングをおこなったので、効率的な課金処理をおこなうことができる。   As described above, in the present embodiment, the mechanism of the charging unit is constructed by object-oriented design, and object modeling corresponding to the addition type charging device and the subtraction type charging device is performed, and the book class, slip class, fee By using the table class, consideration class, transaction table class, input amount class, invoice amount class, and invoice destination class, this accounting unit has been realized, so the software developer and software maintenance personnel have the configuration and role of the accounting unit. It can be easily grasped. In addition, since the charging apparatus is systematically managed and the charging apparatus is switched according to the state of the charging apparatus, the charging apparatus can be easily added or removed. Furthermore, the object modeling is performed so that the billing unit absorbs the difference in function between the billing apparatuses, so that efficient billing processing can be performed.

なお、本実施の形態では、加算式課金装置に対応する請求先クラスを束ねるクラスとして請求金額クラスを設けるとともに、減算式課金装置に対応する投入金額クラスを束ねるクラスを設けない構成とした。しかしながら、加算式課金装置の場合のように、課金装置に対応するクラスと、かかるクラスを束ねるクラスとの2段階のクラス構成とすることもできる。   In this embodiment, a billing amount class is provided as a class for bundling billing destination classes corresponding to the addition type charging device, and a class for bundling the input amount class corresponding to the subtraction type charging device is not provided. However, as in the case of an addition-type charging device, a two-stage class configuration of a class corresponding to the charging device and a class that bundles such classes can be used.

また、本実施の形態の画像形成装置で実行される課金管理プログラムは、インストール可能な形式または実行可能な形式のファイルでCD−ROM(Compact Disc Read Only Memory)、フレキシブルディスク(FD)、CD−R(CD Recordable)、DVD(Digital Versatile Disk)などのコンピュータで読み取り可能な記録媒体に記録して提供するよう構成してもよい。この場合、CPU11が上記記憶媒体から、課金管理プログラムを読み出してMEM−P12上にロードすることで、画像形成装置に、上述した各ステップ、各手段または各部を実現させる。   The charge management program executed in the image forming apparatus according to the present embodiment is a file in an installable format or an executable format, and is a CD-ROM (Compact Disc Read Only Memory), a flexible disc (FD), a CD- You may comprise so that it may record and provide on computer-readable recording media, such as R (CD Recordable) and DVD (Digital Versatile Disk). In this case, the CPU 11 reads out the charge management program from the storage medium and loads it on the MEM-P 12, thereby causing the image forming apparatus to realize each step, each unit, or each unit described above.

また、課金管理プログラムを、インターネットなどのネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するよう構成してもよい。さらに、かかる課金管理プログラムをインターネットなどのネットワーク経由で提供または配布するようにしてもよい。   Further, the billing management program may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, such a charge management program may be provided or distributed via a network such as the Internet.

以上のように、本発明にかかる課金管理プログラムおよび画像形成装置は、提供するサービスの対価として課金をおこなう各種装置の課金に有用であり、特に、画像形成装置の課金に適している。   As described above, the charging management program and the image forming apparatus according to the present invention are useful for charging various apparatuses that charge for the services provided, and are particularly suitable for charging the image forming apparatus.

複合機をとりまくネットワーク環境を示すネットワーク図である。1 is a network diagram showing a network environment surrounding a multifunction peripheral. 複合機のハードウェアを説明するための説明図である。FIG. 3 is an explanatory diagram for explaining hardware of a multifunction peripheral. 複合機におけるハードウェアおよびソフトウェアの階層構造を説明するための説明図である。FIG. 3 is an explanatory diagram for explaining a hierarchical structure of hardware and software in a multifunction peripheral. 統合アプリケーションの構成を説明するための説明図である。It is explanatory drawing for demonstrating the structure of an integrated application. 統合アプリケーションの構成を表したUMLクラス図である。It is a UML class diagram showing the configuration of an integrated application. 複合機の操作パネルを説明するための説明図である。FIG. 6 is an explanatory diagram for explaining an operation panel of the multifunction machine. 液晶タッチパネルに表示されるメニュー例を説明するための説明図である。It is explanatory drawing for demonstrating the example of a menu displayed on a liquid crystal touch panel. 課金部のオブジェクトモデリングの概要を説明するための説明図である。It is explanatory drawing for demonstrating the outline | summary of the object modeling of a charging part. 課金部のクラス構成を示すUMLクラス図である。It is a UML class diagram which shows the class structure of an accounting part. 伝票クラスの状態遷移を示すUMLステートチャート図である。It is a UML state chart figure which shows the state transition of a slip class. 対価クラスの状態遷移を示すUMLステートチャート図である。It is a UML state chart figure which shows the state transition of a consideration class. 投入金額クラスの状態遷移を示すUMLステートチャート図である。It is a UML state chart figure which shows the state transition of an investment amount class. 請求金額クラスの状態遷移を示すUMLステートチャート図である。It is a UML state chart figure which shows the state transition of a charge amount class. 機能提供要求を受け付けた際の操作の実行手順を示すUMLシーケンス図である。It is a UML sequence diagram which shows the execution procedure of operation at the time of receiving a function provision request | requirement. 減算式課金装置を選択して課金をおこなう際の操作の実行手順を示すUMLシーケンス図である。It is a UML sequence diagram which shows the execution procedure of operation at the time of selecting and charging a subtraction type charging apparatus. 加算式課金装置を選択して課金をおこなう際の操作の実行手順を示すUMLシーケンス図である。It is a UML sequence diagram which shows the execution procedure of operation at the time of selecting and charging an addition type charging apparatus. 選択した減算式課金装置から付替要求をおこなう際の操作の実行手順を示すUMLシーケンス図である。It is a UML sequence diagram which shows the execution procedure of operation at the time of making a replacement request from the selected subtractive charging apparatus. 選択した加算式課金装置から付替要求をおこなう際の操作の実行手順を示すUMLシーケンス図である。It is a UML sequence diagram which shows the execution procedure of operation at the time of making a replacement request from the selected addition type charging apparatus. 複合機に搭載されるソフトウェア構成の変遷を示す説明図である。FIG. 6 is an explanatory diagram illustrating a transition of a software configuration installed in a multifunction machine. 従来の複合機におけるハードウェアおよびソフトウェアの階層構造を説明するための説明図である。It is explanatory drawing for demonstrating the hierarchical structure of the hardware and software in the conventional multifunction machine.

符号の説明Explanation of symbols

1 画像形成装置(複合機)
1a 課金装置
2 課金サーバ
10 コントローラ
11 CPU
12 MEM−P
12a ROM
12b RAM
13 NB
14 SB
15 AGP
16 ASIC
17 MEM−C
18 HDD
20 キーボード(オペレーションパネル)
30 FCU
40 USB
50 IEEE1394
60 エンジン部(Engine)
100 ソフトウェア
101 アプリケーション層
102 サービス層
102a スキャナ制御部
102b プロッタ制御部
102c 蓄積制御部
102d 配信/メール送受信制御部
102e FAX送受信制御部
102f ネットワーク通信制御部
102g その他の制御部
103 オペレーティングシステム
110 統合アプリケーション
111 操作系サブシステム
112 管理系サブシステム
112a 課金部
113 実行系サブシステム
120 コピーアプリケーション
130 スキャナアプリケーション
140 ファックスアプリケーション
150 プリンタアプリケーション
200 ハードウェア
201 ハードウェアリソース
201a スキャナ
201b プロッタ
201c HDD
201d ネットワーク
201e その他のリソース
310 帳簿クラス(帳簿手段の一例)
310A 帳簿オブジェクト(帳簿手段の一例)
310a 状態()
310b 記入する()
310c 取消す()
320 伝票クラス(伝票手段の一例)
320A 伝票オブジェクト(伝票手段の一例)
320a 状態
320b 番号
320c サービス内容
320d 料金
320e 記入する()
320f 処理する()
320g 完結する()
330 料金表クラス(料金表手段の一例)
330A 料金表オブジェクト(料金表手段の一例)
330a 単価一覧
330b 検索する()
340 対価クラス(対価手段の一例)
340A 対価オブジェクト(対価手段の一例)
340a 状態
340b 交換する()
340c 領収可否を確認する()
340d 付替要求()
350 取引表クラス(取引表手段の一例)
350A 取引表オブジェクト(取引表手段の一例)
350a 制限一覧
350b 検索する()
350c 更新する()
360 投入金額クラス(減算式課金手段の一例)
360A 投入金額オブジェクト(減算式課金手段の一例)
360a 状態
360b 名称
360c 残高
360d 事前確認する()
360e 減算する()
360f 追加する()
360g 返却する()
370 請求金額クラス(管理手段の一例)
370A 請求金額オブジェクト(管理手段の一例)
370a 状態
370b 合計額
370c 限度額
370d 精算日
370e 査定する()
370f 加算する()
370g 精算する()
370h 付替要求()
380 請求先クラス(加算式課金手段の一例)
380A 請求先オブジェクト(加算式課金手段の一例)
380a 状態
380b 名称
380c 請求する()
380d 有効にする()
380e 無効にする()
400 操作パネル
401 初期設定キー
402 コピーキー
403 コピーサーバーキー
404 プリンタキー
405 送信キー
406 テンキー
407 クリア/ストップキー
408 スタートキー
409 予熱キー
410 リセットキー
420 液晶タッチパネル
421 自動濃度ボタン
422 自動用紙選択ボタン
423 等倍ボタン
501 サービス層分離前アプリケーション
502 サービス層分離後アプリケーション
503 共通ルーチン分離アプリケーション
504 オブジェクト指向アプリケーション
1 Image forming device (multifunction machine)
1a billing device 2 billing server 10 controller 11 CPU
12 MEM-P
12a ROM
12b RAM
13 NB
14 SB
15 AGP
16 ASIC
17 MEM-C
18 HDD
20 Keyboard (Operation panel)
30 FCU
40 USB
50 IEEE1394
60 Engine
DESCRIPTION OF SYMBOLS 100 Software 101 Application layer 102 Service layer 102a Scanner control part 102b Plotter control part 102c Accumulation control part 102d Delivery / mail transmission / reception control part 102e FAX transmission / reception control part 102f Network communication control part 102g Other control part 103 Operating system 110 Integrated application 111 Operation System subsystem 112 management system subsystem 112a charging unit 113 execution system subsystem 120 copy application 130 scanner application 140 fax application 150 printer application 200 hardware 201 hardware resource 201a scanner 201b plotter 201c HDD
201d network 201e other resources 310 book class (an example of book means)
310A Book object (an example of book means)
310a state ()
310b fill in ()
310c Cancel ()
320 slip class (an example of slip means)
320A slip object (an example of slip means)
320a state 320b number 320c service content 320d charge 320e fill in ()
320f process ()
320g complete ()
330 Tariff class (an example of tariff means)
330A fee table object (an example of fee table means)
330a Price list 330b Search ()
340 Consideration class (an example of consideration means)
340A Consideration object (an example of compensation means)
340a state 340b exchange ()
340c Confirm receipt ()
340d Replacement request ()
350 Transaction table class (an example of transaction table means)
350A Transaction table object (an example of transaction table means)
350a Restriction list 350b Search ()
350c Update ()
360 Input amount class (an example of a subtractive charging means)
360A Input amount object (an example of a subtractive charging means)
360a Status 360b Name 360c Balance 360d Confirm in advance ()
360e subtract ()
Add 360f ()
360g to return ()
370 Charge amount class (an example of management means)
370A Charge amount object (an example of management means)
370a State 370b Total amount 370c Limit amount 370d Settlement date 370e Assess ()
370f Add ()
370g Settlement ()
370h Replacement request ()
380 Billing class (an example of an addition-type billing means)
380A Billing destination object (an example of an addition type charging means)
380a state 380b name 380c request ()
380d Enable ()
380e Disable ()
400 Operation Panel 401 Initial Setting Key 402 Copy Key 403 Copy Server Key 404 Printer Key 405 Transmission Key 406 Ten Key 407 Clear / Stop Key 408 Start Key 409 Preheating Key 410 Reset Key 420 Liquid Crystal Touch Panel 421 Automatic Density Button 422 Automatic Paper Selection Button 423 etc. Double button 501 Application before service layer separation 502 Application after service layer separation 503 Common routine separation application 504 Object-oriented application

Claims (13)

利用者の要求に応じサービスを提供するサービス提供装置または前記サービス提供装置と通信可能な課金管理装置に搭載され、利用者により前記サービス提供装置に要求されたサービスのサービス料金を算出し、該サービス料金の課金実行を課金装置に指示する課金管理プログラムであって、
課金装置と一対一に対応し、該課金装置に課金実行を指示する課金実行手段と、
1または複数の前記課金実行手段を選択し、選択した課金実行手段に課金実行を依頼する対価手段と
してコンピュータを機能させることを特徴とする課金管理プログラム。
It is mounted on a service providing apparatus that provides a service in response to a user's request or a billing management apparatus that can communicate with the service providing apparatus, calculates a service fee for a service requested by the user to the service providing apparatus A billing management program for instructing a billing apparatus to execute billing of a fee,
Billing execution means that has a one-to-one correspondence with the billing device and instructs the billing device to perform billing;
A billing management program for selecting one or a plurality of billing execution means and causing the computer to function as a compensation means for requesting the billing execution means to perform billing execution.
前記課金実行手段は、減算式課金装置と一対一に対応する減算式課金手段と、加算式課金装置と一対一に対応する加算式課金手段とをさらに備えたことを特徴とする請求項1に記載の課金管理プログラム。   2. The charging execution means further comprises: a subtraction type charging unit that corresponds to the subtraction type charging device on a one-to-one basis; and an addition type charging unit that corresponds to the addition type charging device on a one-to-one basis. The billing management program described. 前記課金実行手段は、すべての前記加算式課金手段を管理する管理手段をさらに備え、該管理手段は、1つの加算式課金手段を選択して課金実行を指示し、選択した加算式課金手段が課金実行を継続できない場合には、他の加算式課金手段を選択して課金実行を継続させることを特徴とする請求項1または2に記載の課金管理プログラム。   The charging execution unit further includes a management unit that manages all the addition-type charging units. The management unit selects one addition-type charging unit and instructs the execution of charging. 3. The billing management program according to claim 1, wherein when the billing execution cannot be continued, another billing means is selected to continue the billing execution. 前記管理手段は、合計額および限度額を保持し、課金要求を受け付けたならば該課金要求に含まれる課金額を合計額に加算し、所定の条件を満たした場合に前記加算式課金手段に対し課金実行を指示することを特徴とする請求項3に記載の課金管理プログラム。   The management means holds the total amount and the limit amount, and if a billing request is accepted, the billing amount included in the billing request is added to the total amount, and if the predetermined condition is satisfied, the management type means 4. The charge management program according to claim 3, wherein the charge management program instructs charge execution. 前記対価手段は、前記減算式課金手段および前記管理手段を木構造の子として管理し、前記管理手段は、前記加算式課金手段を木構造の子として管理することを特徴とする請求項3または4に記載の課金管理プログラム。   4. The compensation unit manages the subtraction type charging unit and the management unit as children of a tree structure, and the management unit manages the addition type charging unit as a child of a tree structure. 4. The charge management program according to 4. 利用可能な課金装置の一覧を保持する取引表手段をさらに備え、前記対価手段は、該取引表手段の検索結果に基づいて前記減算式課金手段または前記加算式課金手段を選択することを特徴とする請求項5に記載の課金管理プログラム。   Transaction table means for holding a list of available charging devices is further provided, wherein the consideration means selects the subtraction type charging means or the addition type charging means based on a search result of the transaction table means. The charge management program according to claim 5. 前記減算式課金手段は、対応する減算式課金装置が課金不能状態となったならば、前記対価手段に対し課金先の変更を依頼することを特徴とする請求項5または6に記載の課金管理プログラム。   7. The accounting management according to claim 5, wherein the subtracting accounting unit requests the consideration unit to change the accounting destination when the corresponding subtracting accounting apparatus becomes incapable of accounting. program. 前記請求先手段は、対応する加算式課金装置が課金不能状態となったならば、前記請求金額手段に対し課金先の変更を依頼し、該請求金額手段は、前記対価手段に対し課金先の変更を依頼することを特徴とする請求項5、6または7に記載の課金管理プログラム。   The billing means requests the billing amount means to change the billing destination when the corresponding addition type charging apparatus becomes incapable of charging, and the billing amount means The charge management program according to claim 5, 6 or 7, wherein a change is requested. 前記減算式課金手段は、前記対価手段から選択されたならば、自己が保持する減算式課金装置の残高に基づいて課金実行の可否を判定し、判定結果を該対価手段に応答することを特徴とする請求項5〜8のいずれか一つに記載の課金管理プログラム。   The subtracting charging means, when selected from the consideration means, determines whether or not charging can be executed based on the balance of the subtracting charging apparatus held by itself and returns a determination result to the consideration means. The charge management program according to any one of claims 5 to 8. 前記サービス提供装置の制御プログラムからサービス要求内容を含むサービス要求通知を受信する帳簿手段と、該サービス要求通知ごとに該帳簿手段により生成される伝票手段とをさらに備え、
前記伝票手段は、前記対価手段を生成して該対価手段に課金処理を依頼することを特徴とする請求項5〜9のいずれか一つに記載の課金管理プログラム。
Bookkeeping means for receiving a service request notification including service request contents from the control program of the service providing apparatus; and slip means generated by the bookkeeping means for each service request notice;
The billing management program according to any one of claims 5 to 9, wherein the slip means generates the consideration means and requests the consideration means to perform billing processing.
提供するサービスの料金一覧を保持し、前記伝票手段の求めに応じ該当するサービス料金を検索して該料金を応答する料金表手段をさらに備えたことを特徴とする請求項10に記載の課金管理プログラム。   The charge management according to claim 10, further comprising charge table means for holding a charge list of services to be provided, searching for a corresponding service charge in response to a request from the slip means, and responding to the charge. program. 前記伝票手段は、前記サービス料金が無料である場合には、前記対価手段を生成しないことを特徴とする請求項11に記載の課金管理プログラム。   12. The billing management program according to claim 11, wherein the slip means does not generate the consideration means when the service fee is free. 利用者により要求されたサービスのサービス料金を算出し、該サービス料金の課金実行を課金装置に指示する画像形成装置であって、
前記課金装置と一対一に対応し、該課金装置に課金実行を指示する課金実行手段と、
1または複数の前記課金実行手段を選択し、選択した課金実行手段に課金実行を依頼する対価手段と
を備えたことを特徴とする画像形成装置。
An image forming apparatus that calculates a service charge of a service requested by a user and instructs the charging apparatus to perform charging of the service charge,
Billing execution means that has a one-to-one correspondence with the billing device and instructs the billing device to perform billing;
An image forming apparatus comprising: a charging unit that selects one or a plurality of the charging execution units and requests the selected charging execution unit to execute charging.
JP2004270241A 2004-09-16 2004-09-16 Accounting management program and image formation apparatus Pending JP2006085477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004270241A JP2006085477A (en) 2004-09-16 2004-09-16 Accounting management program and image formation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004270241A JP2006085477A (en) 2004-09-16 2004-09-16 Accounting management program and image formation apparatus

Publications (1)

Publication Number Publication Date
JP2006085477A true JP2006085477A (en) 2006-03-30

Family

ID=36163933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004270241A Pending JP2006085477A (en) 2004-09-16 2004-09-16 Accounting management program and image formation apparatus

Country Status (1)

Country Link
JP (1) JP2006085477A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008305186A (en) * 2007-06-07 2008-12-18 Ricoh Co Ltd Charging system and charging management method
JP2009070377A (en) * 2007-09-12 2009-04-02 Xerox Corp Integrated adaptable accounting system for print job
WO2010032368A1 (en) * 2008-09-19 2010-03-25 コニカミノルタビジネステクノロジーズ株式会社 Image formation apparatus and charging destination setting method in image formation apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001036674A (en) * 1999-07-21 2001-02-09 Nippon Telegr & Teleph Corp <Ntt> Public telephone system
JP2002175195A (en) * 2000-09-27 2002-06-21 Ricoh Co Ltd Accounting management system
JP2002330253A (en) * 2001-05-07 2002-11-15 Fuji Xerox Co Ltd Device and method for processing information, device and method for processing charging
JP2003085454A (en) * 2001-09-10 2003-03-20 Ricoh Co Ltd Copy system and charging method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001036674A (en) * 1999-07-21 2001-02-09 Nippon Telegr & Teleph Corp <Ntt> Public telephone system
JP2002175195A (en) * 2000-09-27 2002-06-21 Ricoh Co Ltd Accounting management system
JP2002330253A (en) * 2001-05-07 2002-11-15 Fuji Xerox Co Ltd Device and method for processing information, device and method for processing charging
JP2003085454A (en) * 2001-09-10 2003-03-20 Ricoh Co Ltd Copy system and charging method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008305186A (en) * 2007-06-07 2008-12-18 Ricoh Co Ltd Charging system and charging management method
JP2009070377A (en) * 2007-09-12 2009-04-02 Xerox Corp Integrated adaptable accounting system for print job
WO2010032368A1 (en) * 2008-09-19 2010-03-25 コニカミノルタビジネステクノロジーズ株式会社 Image formation apparatus and charging destination setting method in image formation apparatus
JP2010074622A (en) * 2008-09-19 2010-04-02 Konica Minolta Business Technologies Inc Image forming apparatus and method of setting charging destination in the image forming apparatus
JP4475347B2 (en) * 2008-09-19 2010-06-09 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus and billing destination setting method in the image forming apparatus
US9128453B2 (en) 2008-09-19 2015-09-08 Konica Minolta, Inc. Image forming apparatus, and billing destination setting method in the image forming apparatus

Similar Documents

Publication Publication Date Title
JP5509754B2 (en) Software management apparatus, software distribution system, installation method and program
JP4488101B2 (en) Image processing apparatus, billing management system, billing management method, and recording medium
US7663778B2 (en) Document processor, image forming apparatus, document processing method, and computer program
JP4622779B2 (en) Image forming apparatus, image forming method, and computer program
JP4042321B2 (en) Information output system and information output control method
JP4042326B2 (en) Job processing apparatus and job processing method
US8040543B2 (en) Instruction file execution device, instruction file execution method and job flow system
JP2007080209A (en) Charging management apparatus, charging management method and charging management program
JP2006085477A (en) Accounting management program and image formation apparatus
JP2022032145A (en) Information processing system, processing execution system, processing execution method, and program
JP7075364B2 (en) Information processing equipment and information processing system
JP4405351B2 (en) Billing management program and image forming apparatus
US9117148B2 (en) Computer-readable non-transitory storage medium with communication program stored thereon, information processing apparatus, image forming system, and image forming apparatus
JP2005267492A (en) Service cooperation processing device and service cooperation processing method
JP5862090B2 (en) Billing management system
JP4450699B2 (en) Request management apparatus, image forming apparatus, job processing instruction method, and job processing instruction program
JPH11232055A (en) Print system
JP2007240614A (en) Charging and image processing system, charging and image processing method, and image processor
JP2002149549A (en) System and device for distributing data, and device and method for managing data distribution
JP2002116902A (en) Image formation server, image formation device and image formation method
JP2006093899A (en) Job-executing device
JP5292115B2 (en) Billing management system
JP2007207267A (en) Request management device, image forming device, job processing instruction method, and job processing instruction program
JP4656897B2 (en) Stream control program and image forming apparatus
JP2007080222A (en) Application selection device, image formation device, application selection method and application selection program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070827

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100302

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100323