JP2006085477A - Accounting management program and image formation apparatus - Google Patents
Accounting management program and image formation apparatus Download PDFInfo
- 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
Links
- 230000015572 biosynthetic process Effects 0.000 title 1
- 238000012545 processing Methods 0.000 claims description 71
- 230000008859 change Effects 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 8
- 238000000034 method Methods 0.000 abstract description 80
- 230000008569 process Effects 0.000 abstract description 49
- 238000013461 design Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 87
- 230000007704 transition Effects 0.000 description 54
- 238000010586 diagram Methods 0.000 description 40
- 238000007726 management method Methods 0.000 description 31
- 230000002093 peripheral effect Effects 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 238000012790 confirmation Methods 0.000 description 8
- 239000004973 liquid crystal related substance Substances 0.000 description 8
- 230000008439 repair process Effects 0.000 description 8
- 238000000926 separation method Methods 0.000 description 7
- 238000011161 development Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000009825 accumulation Methods 0.000 description 4
- 239000003795 chemical substances by application Substances 0.000 description 4
- 230000006855 networking Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012508 change request Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013329 compounding Methods 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 210000001061 forehead Anatomy 0.000 description 1
- 238000007306 functionalization reaction Methods 0.000 description 1
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
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
また、特許文献2では、ファックス機能を使用した際に発生する通信回線使用料金をテーブルデータとして記憶し、ファックス機能の提供にともなって発生するプリンタ機能の提供料金と、かかる通信回線使用料金とを加算することで、ファックス機能を提供する際の課金をおこなうこととしている。
In
しかしながら、この特許文献1で開示されている発明は、ハードウェアを制御する処理部分を共通化するものであり、各アプリケーションの内部処理全般を共通化するものではない。このため、複合機上のアプリケーションには、開発効率の向上を図るうえで改善の余地が残されている。
However, the invention disclosed in
たとえば、オペレーションパネル制御ソフトウェアやネットワーク制御ソフトウェアを介して、コピーサービスなどの機能提供要求を受け付け、提供する機能に応じた課金をおこなう課金処理は、複写機上の各アプリケーションに共通して存在する処理であるが、ハードウェアを直接制御する処理ではないため各アプリケーションで別個に実現されており、共通化することが可能である。 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
これらのことから、複合機に搭載されるアプリケーションの課金処理をいかにして効率よく、かつ、高い信頼性をもって実現するかが大きな課題となっている。なお、かかる課題は複合機についてのみ生じるものではなく、たとえば、有料サービスに対する課金をおこなう課金管理装置を形成するような場合にも同様に生ずる課題である。 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
また、請求項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
また、請求項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
また、請求項2にかかる課金管理プログラムによれば、課金実行手段は、減算式課金装置と一対一に対応する減算式課金手段と、加算式課金装置と一対一に対応する加算式課金手段とをさらに備えるよう構成したので、加算式課金装置および減算式課金装置に固有の機能の差異を吸収して効率的な課金処理をおこなうことができるという効果を奏する。
According to the charge management program of
また、請求項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
また、請求項5にかかる課金管理プログラムによれば、対価手段は、減算式課金手段および管理手段を木構造の子として管理し、管理手段は、加算式課金手段を木構造の子として管理するよう構成したので、ソフトウェア開発者やソフトウェア保守要員が、課金部の構成と役割を容易に把握することがでるとともに、効率的な課金処理をおこなうことができるという効果を奏する。
According to the charging management program of
また、請求項6にかかる課金管理プログラムによれば、利用可能な課金装置の一覧を保持する取引表手段をさらに備え、対価手段は、取引表手段の検索結果に基づいて減算式課金手段または加算式課金手段を選択するよう構成したので、ソフトウェア開発者やソフトウェア保守要員が、課金部の構成と役割を容易に把握することがでるとともに、課金装置の追加や取外しを容易におこなうことができるという効果を奏する。
The billing management program according to
また、請求項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
また、請求項9にかかる課金管理プログラムによれば、減算式課金手段は、対価手段から選択されたならば、自己が保持する減算式課金装置の残高に基づいて課金実行の可否を判定し、判定結果を対価手段に応答するよう構成したので、課金処理を確実におこなうことができるという効果を奏する。
Further, according to the billing management program according to
また、請求項10にかかる課金管理プログラムによれば、サービス提供装置の制御プログラムからサービス要求内容を含むサービス要求通知を受信する帳簿手段と、サービス要求通知ごとに帳簿手段により生成される伝票手段とをさらに備え、伝票手段は、対価手段を生成して対価手段に課金処理を依頼するよう構成したので、複数の課金処理を並行しておこなうことができるという効果を奏する。
According to the billing management program of
また、請求項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
また、請求項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
図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
このようなネットワーク化の進展に伴い、複合機1もかかるネットワークに接続され、PC等の機器と相互に通信することが可能となり、ハードディスク等の記憶装置を内蔵することで、いわゆるネットワーク複合機へと進化し、ユーザの様々なニーズに応えることができるようになった。
With the progress of such networking, the
たとえば、複合機1は、通常のコピー機能に加えて、クライアントPCからの印刷要求により文書データ等を印刷するプリンタ機能、クライアントPCからのファックス要求により文書データ等をサーバPCに接続されたモデムを経由して他のオフィスのファックス機器に送信するファックス機能、受信したファックス文書やコピー文書を内蔵したハードディスクに蓄積する蓄積機能などを有するようになった。
For example, in addition to the normal copy function, the
また、複合機1は、課金装置1aなどの複合機1本体に直接接続される装置を用いて課金処理をおこなうことに加えて、ネットワークを介して接続される課金サーバ2を用いて課金処理をおこなうことができるようになった。ここで、課金装置1aは、料金徴収用のコインラック装置や、事後的な料金徴収のためにコピー等の使用量を記録するプリセットキーカード装置や、クレジットカード装置といった装置であり、課金サーバ2は、事後的な料金徴収をおこなうために、課金データを管理する装置である。
Further, the
こうして複合化とネットワーク化の進展により必要となった多くの機能を実現するため、複合機1に搭載されるソフトウェアは、規模が大きく、複雑なものとなっている。そして、それにともなって、それらのソフトウェアの開発と維持管理のための工数も大幅に増大している。
In this way, in order to realize many functions required by the progress of compounding and networking, the software installed in the
図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
コントローラ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
CPU11は、複合機1の全体制御をおこなうものであり、NB13、MEM−P12およびSB14からなるチップセットを有し、このチップセットを介して他の機器と接続される。
The
NB13は、CPU11とMEM−P12、SB14、AGP15とを接続するためのブリッジであり、MEM−P12に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを有する。
The
MEM−P12は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM12aとRAM12bとからなる。ROM12aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM12bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。
The MEM-
SB14は、NB13とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB14は、PCIバスを介してNB13と接続されており、このPCIバスには、ネットワークインターフェース(I/F)部なども接続される。
The
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
MEM−C17は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD(Hard Disk Drive)18は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。
The MEM-
AGP15は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、MEM−P12に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。
The
図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
また、かかるハードウェア200に搭載されるソフトウェア100は階層化されており、オペレーティングシステム103の上層にはサービス層102が構築され、このサービス層102の上層にはアプリケーション層103が構築されている。そして、サービス層102は、各ハードウェアリソース(201a〜201e)を制御するドライバーに相当する、スキャナ制御102部a、プロッタ制御部102b、蓄積制御部102c、配信/メール送受信制御部102d、FAX送受信制御部102e、ネットワーク通信制御部102fおよびその他の制御部102gを有する。
The
ここで、図3に示したソフトウェア100が、かかる階層構造をとるに至った経緯について、図19および図20を用いて説明する。図19は、複合機1に搭載されるソフトウェア構成の変遷を示す説明図である。図19のサービス層分離前アプリケーション501に示すように、多機能化した複合機1に搭載されるソフトウェアは、コピーアプリケーション、FAXアプリケーション、スキャナアプリケーションなどの機能別に独立したアプリケーションとして作成され、図3に示したオペレーティングシステム103上で動作していた。
Here, how the
しかしながら、これらのアプリケーションは、ハードウェアリソースを制御するドライバー(サービス層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
しかしながら、複合機1のネットワーク化、多機能化がさらに進展するに従って、各アプリケーションに共通処理部分が存在することが問題となってきた。具体的には、アプリケーション層101の各アプリケーション、たとえば、コピーアプリケーションやスキャナアプリケーションなどは、それぞれ、スキャナ制御部102aや蓄積制御部102cといったドライバーと通信をおこなう処理や、各種機能が提供するサービスの課金管理などの同様な処理を内部に有していた。このように、同様な処理を各アプリケーションが有していると、各アプリケーションの開発規模が大きくなるとともに、サービス層の仕様変更に対する各アプリケーションの改修規模が大きくなることが問題となってきた。
However, as the networking and multi-functionalization of the
この問題を解決するため、図19の共通ルーチン分離アプリケーション503に示すように、かかる同様な処理(共通処理部分)を共通ルーチンとして括りだすことも考えられた。しかしながら、かかる共通ルーチンは、各アプリケーションにおいて微妙に異なる処理を共通化しようとするものであるため、共通ルーチン内部の処理は複雑なものとなってしまう。また、たとえば、プリンタアプリケーションなどの新規アプリケーションを追加する場合においては、かかる新規アプリケーションに適応するために、共通ルーチンの改修が必要となる。
In order to solve this problem, as shown in the common
しかし、共通ルーチンの内部処理は複雑であるため、改修要員が処理を把握することが困難となり、改修規模の増大や、改修ミスによる他のアプリケーションへの影響が懸念された。 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
このような構成をとることにより、たとえばプリンタ機能のような新規機能の追加は、かかるオブジェクトモデルに属するクラスのサブクラス化などにより対処できる。このため、改修部分が明確となり、改修による他の機能への影響を小さくすることができる。また、オブジェクトモデリングによるプログラムは、従来の手続き型プログラムに比べて、処理の把握が容易であるため、改修要員が処理を把握することも容易となり、改修規模の削減や、改修ミスによる他のアプリケーションへの影響を小さくすることができる。 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
たとえば、コピーアプリケーション120は、コピー機能を実現するために、スキャナ制御部102a、プロッタ制御部102b、蓄積制御部102cおよびその他の制御部102gとデータの送受信をおこなう。また、ファックスアプリケーション140は、ファックス機能を実現するために、プロッタ制御部102b、蓄積制御部102c、FAX送受信制御部102e、ネットワーク通信制御部102fおよびその他の制御部102gとデータの送受信をおこなう。このように、アプリケーション層101の各アプリケーションとサービス層102の各ドライバー間の通信は、複雑なものとなっていた。
For example, the
図3の説明に戻ると、上述したオブジェクトモデリングにより、アプリケーション層101に存在した複数のアプリケーションは、統合アプリケーション110に統合されている。そして、各アプリケーションが重複しておこなっていた各ドライバーとの通信処理は、統合アプリケーション110を構成する所定のオブジェクトモデルにおこなわせるように構成したことにより、アプリケーション層101のアプリケーションと、サービス層102の各ドライバー間の通信は、図20と比較して単純になっている。
Returning to the description of FIG. 3, a plurality of applications existing in the
次に、統合アプリケーション110の内部構成について説明する。図4は、統合アプリケーション110の内部構成を示すブロック図である。同図に示すように、統合アプリケーション110は、操作系サブシステム111と、管理系サブシステム112と、実行系サブシステム113とを有する。
Next, the internal configuration of the
操作系サブシステム111は、マンマシンインタフェースを担当するソフトウェア群である。具体的には、この操作系サブシステム111は、ユーザの要求を受け付ける処理と、この要求の実行を指示する処理と、この要求の実行状況と実行結果についての情報をユーザに提供する処理をおこなう。
The
管理系サブシステム112は、画像形成装置1の資源を管理するソフトウェア群である。具体的には、この管理系サブシステム112は、ハードウェアリソース201およびこのハードウェアリソース201が保持するデータ状態を管理するサービスをおこなう。
The
実行系サブシステム113は、ユーザからの要求の実行を担当するソフトウェア群である。具体的には、この実行系サブシステム113は、コピー要求がなされた場合には、原稿の読み取りから成果物の出力までの処理をおこなう。
The
操作系サブシステム111、管理系サブシステム112および実行系サブシステム113は、必要に応じて相互に処理を依頼してその結果を送り合う。このようにそれぞれのサブシステムが協調し合って、統合アプリケーション110全体として複合機1に必要とされるサービスの提供をおこなう。
The
そして、管理系サブシステム112は、本実施の形態の特徴部分である課金部112aを有する。この課金部112aは、課金処理の受付け、課金額の算出、課金処理実行の指示などの課金管理処理をおこなう。
The
図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
図5に示したように、統合アプリケーション110は、操作系サブシステム111、管理系サブシステム112および実行系サブシステム113の3つのパッケージを内部に有するパッケージである。さらに、管理系サブシステム112は、課金部112aを内部に有するパッケージである。そして、操作系サブシステム111、管理系サブシステム112および実行系サブシステム113を相互に結ぶ直線は、各パッケージ間に処理依頼(たとえば、メッセージ送受信)などの関連があることを示している。なお、操作系サブシステム111、管理系サブシステム112および実行系サブシステム113のタブの右端に記された記号は、かかるパッケージがサブシステムであることを示すUMLのシンボルである。
As shown in FIG. 5, the
次に、本実施の形態の特徴部分である課金部112aについて詳細に説明する。なお、課金部112aは、オブジェクト指向に基づいて設計するにあたって、既存の処理を単純にオブジェクト化せず、機能追加や改修をより一層容易におこなうことができるようにオブジェクトモデルを構成した。かかるオブジェクトモデルの構成について図6〜図8を用いて説明しておく。
Next,
図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
初期設定キー401をタッチすると、液晶タッチパネル420に初期設定用のメニューが表示され、かかるメニューにおいては、収納される用紙サイズなどを設定することができる。また、コピーをしたい場合にはコピーキー402を、コピー結果を複合機1に蓄積したい場合にはコピーサーバーキー403を、プリンタに係る操作をおこないたい場合には、プリンタキー404を、ファックスや蓄積画像などの送信をしたい場合には送信キー405を、それぞれタッチすると、液晶タッチパネル420に対応したメニューが表示される。
When the
図7は液晶タッチパネル420に表示されるメニューの一例である。このメニューは、図6に示したコピーキー402をタッチすることにより表示される。図7に示すように、この液晶タッチパネル420には、自動濃度ボタン421、自動用紙選択ボタン422、等倍ボタン423などが表示される。利用者は、これらのボタンを選択することによりコピー機能の詳細な内容を指示し、この指示を受け取った複合機1は、指示された内容に従ってコピー処理を実行することになる。
FIG. 7 shows an example of a menu displayed on the liquid
そして、かかるコピー処理に対する課金は、コピーの種別(たとえば、モノクロコピーやカラーコピー)、記録紙の種別(たとえば、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
また、ネットワークを利用した複数の利用者が、複合機1に対して電子データの印刷を指示したり、電子データのファックスを指示したりする場合には、課金サーバ2には、これらの処理に応じた課金履歴が蓄積されることになる。そして、蓄積された課金履歴に基づいて課金がおこなわれる。
In addition, when a plurality of users using the network instructs the
このように、ネットワークの進展により、ネットワークを利用した複数の利用者や、複合機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
ここで、課金装置の種類について説明しておく。課金装置には、加算式課金装置と減算式課金装置とがあり、加算式課金装置としては、たとえば、加算式キーカード装置、クレジットカード装置および課金サーバ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
図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
なお、利用可能な課金装置が多数ある場合には、複数の課金装置を順次切替えて課金実行をおこなうこととすることもできる。たとえば、課金実行中の加算式課金装置のカウント値が最大値に達したならば、課金実行先を他の加算式課金装置に切替えて課金を実行することとすれば、サービス提供を中止することなくサービス対価の徴収が可能となる(課金装置の組合せ)。 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
ここで、「伝票」の単位について説明しておく。伝票の単位は、一つの「伝票」あたり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
このように、各クラスは、データ(属性)を所持するための属性区画と、かかる属性の書き込みおよび読み出しをおこなう処理(操作)を所持するための操作区画とを有している。これらのクラスは、プログラム(統合アプリケーション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
なお、属性や操作といったクラスの要素の左側に「−」記号を付した場合は、かかる要素は外部のクラスには非公開であることを示し、「+」記号を付した場合は、かかる要素は外部のクラスに公開されていることを示す。また、操作については「記入する()」のように「()」記号を付することが通例であり、「(引数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 “(
次に、本実施の形態の特徴部分である課金部112aのクラスの概要について説明する。上述したように、課金部112aは、帳簿クラス310、伝票クラス320、料金表クラス330、対価クラス340、取引表クラス350、投入金額クラス360、請求金額クラス370および請求先クラス380を有する。以下では、まず、これらのクラスの概要について説明する。
Next, an outline of the class of charging
帳簿クラス310は、課金対象となる機能(たとえば、コピー機能やファックス機能)の詳細な内容(たとえば、用紙サイズやカラーモード)を受け付けるクラスであり、伝票クラス320は、受け付けた詳細な内容を保持するとともに課金状況を保持しておくクラスである。また、料金表クラス330は、課金対象となる機能の単価一覧を保持するととともに該当する料金を検索するクラスであり、対価クラス340は、対価の徴収可否を把握し課金先となる課金装置を決定するクラスであり、取引表クラス350は、提供する機能ごとの課金装置の利用制限一覧を保持するとともに、利用可能な課金装置を検索するクラスである。
The
また、投入金額クラス360は、コインラック装置などの減算式課金装置の状態を管理するとともに、管理する減算式課金装置に課金実行を指示するクラスである。さらに、請求金額クラス370は、加算式課金装置を束ね、加算するタイミングと加算する料金の合計値を管理するクラスであり、請求先クラス380は、加算式キーカード装置などの加算式課金装置の状態を管理し、管理する加算式課金装置に課金実行を指示するクラスである。
The
次に、各クラスの内容についてさらに詳細に説明する。帳簿クラス310は、課金対象となる機能(たとえば、コピー機能やファックス機能)の詳細な内容(たとえば、用紙サイズやカラーモード)を受け付けるクラスである。具体的には、この帳簿クラス310は、属性として、状態310aを有し、操作として、記入する()310bおよび取消す()310cを有する。なお、かかる帳簿クラス310を実体化したオブジェクトが生成されると、状態310aはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。
Next, the contents of each class will be described in more detail. The
状態310aは、現在の帳簿の処理状態をあらわし、この状態には、閉状態および開状態の2つがある。閉状態とは、処理対象となる伝票が存在しないので帳簿を閉じている状態をあらわし、開状態とは、帳簿を開いて伝票を処理している状態をあらわす。
The
記入する()310bは、操作系サブシステム111を経由して利用者の注文を受け付け、新しい注文であれば伝票クラス320のオブジェクトを生成し、その注文内容をこのオブジェクトに引き渡す。また、注文の変更を受け付けた場合には、該当する伝票クラス320のオブジェクトを探し、かかるオブジェクトが保持する注文内容を書き換える。
Fill in () 310b accepts the user's order via the
ここで、「注文」とは、コピー機能やファックス機能を利用者が利用する際の利用単位のことをあらわす。たとえば、利用者が「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
伝票クラス320は、受け付けた詳細な内容を保持するとともに課金状況を保持しておくクラスである。具体的には、この伝票クラス320は、属性として、状態320a、番号320b、サービス内容320cおよび料金320dを有し、操作として、記入する()320e、処理する()320f、および完結する()320gを有する。なお、かかる伝票クラス320を実体化したオブジェクトが生成されると、状態320a、番号320b、サービス内容320cおよび料金320dはRAM12b上に展開されるので、これらのデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。
The
状態320aは、現在の伝票クラス320の処理状態をあらわし、この状態には、記入中、処理中および処理済の3つがある。記入中状態とは、受け付けた詳細な内容の変更が可能な状態をあらわし、処理中状態とは、課金処理が継続中である状態をあらわし、処理済状態とは、課金処理が終了している状態をあらわす。ここで、図10を用いてこれらの状態と各状態間の状態遷移について説明しておく。図10は、伝票クラス320の状態遷移(状態320aが保持する状態の状態遷移)を示すUMLステートチャート図である。
The
同図に示すように、現在の状態が「記入中」であれば、「処理中」状態への状態遷移が可能である。具体的には、「記入中」状態において記入する()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
図9に戻って、番号320bについて説明する。番号320bは、伝票クラス320の各オブジェクトを識別するための値を保持する。この番号320bは、他のクラスのオブジェクトが、処理対象となる伝票クラス320のオブジェクトを特定して処理をおこなう際に参照される。
Returning to FIG. 9, the
サービス内容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
記入する()320eは、帳簿クラス310から通知された詳細な内容を、サービス内容320cに保持させる処理をおこなうとともに、対価クラス340に対し、料金320dに保持した金額の徴収が可能か否かの確認および課金方法の決定を依頼する処理をおこなう。また、処理する()320fは、料金320dに保持した金額の徴収を対価クラス340に依頼する処理をおこなう。さらに、完結する()320gは、伝票クラス320の終了処理をおこなう。
The entry () 320e performs a process of holding the detailed contents notified from the
料金表クラス330は、課金対象となる機能の単価一覧を保持するととともに該当する料金を検索するクラスである。具体的には、この料金表クラス330は、属性として、単価一覧330aを有し、操作として、検索する()330bを有する。なお、かかる料金表クラス330を実体化したオブジェクトが生成されると、単価一覧330aはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。
The
単価一覧330aは、コピー機能やファックス機能といった機能ごとの単価を保持する。また、検索する()330bは、伝票クラス320から呼び出され、指定された機能の単価を単価一覧340aの検索により取得し、取得した単価を呼び出し元に通知する。
The
対価クラス340は、対価の徴収可否を把握し課金先となる課金装置を決定するクラスである。具体的には、この対価クラス340は、属性として、状態340aを有し、操作として、交換する()340b、領収可否を確認する()340cおよび付替要求()340dを有する。なお、かかる対価クラス340を実体化したオブジェクトが生成されると、状態340aはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。
The
状態340aは、現在の対価クラス340の処理状態をあらわし、この状態には、交換不可、交換可能および付替中の3つがある。交換不可状態とは、提供機能に対する料金の交換ができない状態、言い換えると、料金の徴収ができないので機能を提供してはいけない状態をあらわす。また、交換可能状態とは、料金の徴収ができるので機能を提供してよい状態をあらわし、付替中状態とは、料金徴収を実行する課金装置の変更処理をおこなっている状態をあらわす。ここで、図11を用いてこれらの状態と各状態間の状態遷移について説明しておく。図11は、対価クラス340の状態遷移(状態340aが保持する状態の状態遷移)を示すUMLステートチャート図である。
The state 340a represents the processing state of the
同図に示すように、現在の状態が「交換不可」であれば、「交換可能」および「付替中」状態への状態遷移が可能である。具体的には、「交換不可」状態において領収可否を確認する()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
図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
領収可否を確認する()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
取引表クラス350は、提供する機能ごとの課金装置の利用制限一覧を保持するとともに利用可能な課金装置を検索するクラスである。具体的には、この取引表クラス350は、属性として、制限一覧350aを有し、操作として、検索する()350bおよび更新する()350cを有する。なお、かかる取引表クラス350を実体化したオブジェクトが生成されると、制限一覧350aはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。
The
制限一覧350aは、コピー機能などの課金対象となる機能ごとに、利用可能な課金方法一覧を保持する。たとえば、ファックス機能では、コインラック装置を課金方法として選択できないのであれば、ファックス機能で利用可能な課金方法一覧には、コインラック装置は含まれないことになる。なお、利用料が無料である機能の場合には、かかる機能の課金方法はない旨の情報を保持する。また、かかる課金方法一覧には、各課金装置の優先順位を含めることとしてもよい。検索する()350bは、制限一覧350aから該当する利用可能な課金方法を取出し、呼び出し元に通知する処理をおこなう。また、更新する()350cは、制限一覧350aを更新する処理をおこなう。
The
投入金額クラス360は、コインラック装置などの減算式課金装置の状態を管理するとともに、管理する減算式課金装置に課金実行を指示するクラスである。具体的には、この投入金額クラス360は、属性として、状態360a、名称360bおよび残高360cを有し、操作として、事前確認する()360d、減算する()360e、追加する()360fおよび返却する()360gを有する。なお、かかる投入金額クラス360を実体化したオブジェクトが生成されると、状態360a、名称360bおよび残高360cはRAM12b上に展開されるので、このデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。
The
状態360aは、現在の投入金額クラス360の処理状態をあらわし、この状態には、残高不足および残高十分の2つがある。残高不足状態とは、対応する減算式課金装置の残高が、伝票クラス320の料金320dに保持されている金額よりも小さい状態をあらわし、残高十分状態とは、かかる残高が料金320dに保持されている金額以上である状態をあらわす。ここで、図12を用いてこれらの状態と各状態間の状態遷移について説明しておく。図12は、投入金額クラス360の状態遷移(状態360aが保持する状態の状態遷移)を示すUMLステートチャート図である。
The state 360a represents the processing state of the current
同図に示すように、現在の状態が「残高不足」であれば、「残高十分」状態への状態遷移が可能である。具体的には、「残高不足」状態において追加する()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
図9に戻って、名称360bについて説明する。名称360bは、コインラック装置や減算式キーカード装置といった減算式課金装置の名称(略号などを含む)を保持し、残高360cは、投入された貨幣の残金や、カウント値といった残高を保持する。
Returning to FIG. 9, the
事前確認する()360dは、伝票クラス320の料金320dに保持されている金額(料金)と残高360cに保持されている金額(残高)とを比較して、かかる料金の徴収が可能であるか否かを確認する処理をおこなう。なお、この事前確認する()360dは、徴収が可能であれば「OK」を、徴収が不可能であれば「NG」を呼び出し元に返す。
The prior confirmation () 360d compares the amount (charge) held in the
減算する()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
請求金額クラス370は、加算式キーカード装置などの加算式課金装置を束ね、加算するタイミングと加算する料金の合計値を管理するクラスである。具体的には、この請求金額クラス370は、属性として、状態370a、合計額370b、限度額370cおよび精算日370dを有し、操作として、査定する()370e、加算する()370f、精算する()370gおよび付替要求()370hを有する。なお、かかる請求金額クラス370を実体化したオブジェクトが生成されると、状態370a、合計額370b、限度額370cおよび精算日370dはRAM12b上に展開されるので、これらのデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。
The
状態370aは、現在の請求金額クラス370の処理状態をあらわし、この状態には、付替可能、加算可能、加算不可および精算中の4つがある。付替可能状態とは、請求先となる加算式課金装置の切替えが可能な状態をあらわし、加算可能状態とは、いずれかの加算式課金装置への料金徴収が可能な状態をあらわし、加算不可状態とは、いずれの加算式課金装置を用いても料金徴収が不可能な状態をあらわす。また、精算中状態とは、料金徴収(精算)が処理中であることを指す。ここで、図13を用いてこれらの状態と各状態間の状態遷移について説明しておく。図13は、請求金額クラス370の状態遷移(状態370aが保持する状態の状態遷移)を示すUMLステートチャート図である。
The
同図に示すように、現在の状態が「付替可能」であれば、「加算可能」状態への状態遷移が可能である。具体的には、「付替可能」状態において付替要求()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-
また、現在の状態が「加算不可」であれば、「精算中」状態への状態遷移が可能である。具体的には、「加算不可」状態において「直ちに」の条件で精算する()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
図9に戻って、合計額370bについて説明する。合計額370bは、提供した機能の料金を保持する。この合計額370bは、機能提供中に随時加算されていき、精算する()370gが呼び出された際に、まとめて料金の徴収(カウント値の加算など)がおこなわれる。また、限度額370cは、加算可能な料金の上限値を保持し、精算日370dは、精算処理を事後的におこなう場合の精算日時などを保持する。
Returning to FIG. 9, the
査定する()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
請求先クラス380は、加算式キーカード装置などの加算式課金装置の状態を管理し、管理する加算式課金装置に課金実行を指示するクラスである。具体的には、この請求先クラス380は、属性として、状態380aおよび名称380bを有し、操作として、請求する()380c、有効にする()380dおよび無効にする()380eを有する。なお、かかる請求先クラス380を実体化したオブジェクトが生成されると、状態380aおよび名称380bはRAM12b上に展開されるので、これらのデータ(属性)の書き込みおよび読み出しをおこなうことが可能となる。
The
状態380aは、現在の請求先クラス380の処理状態をあらわし、この状態には、無効状態および有効状態の2つがある。無効状態とは、対応する加算式課金装置の使用が許可されていない状態をあらわし、有効状態とは、対応する加算式課金装置の使用が許可されている状態をあらわす。また、名称380bは、加算式キーカード装置やクレジットカード装置といった加算式課金装置の名称(略号などを含む)を保持する。
The state 380a represents the current processing state of the
請求する()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
まず、帳簿クラス310と伝票クラス320とのクラス関係について説明する。帳簿クラス310のオブジェクトは、課金部112a内に1個のみ存在し、伝票クラス320のオブジェクトは、利用者の機能要求ごとに、帳簿クラス310のオブジェクトにより生成される。すなわち、複数の機能(コピー機能やプリンタ機能など)が同時に提供されている場合には、同時に提供している機能数分の伝票クラス320のオブジェクトが生成される。したがって、帳簿クラス310のオブジェクトに対して0個以上n個以下の範囲で存在する。ここで、オブジェクト数が0個とは、提供中の機能がなく伝票クラス320のオブジェクトが存在しない場合を示しており、かかるオブジェクト数の上限数はn個としているものの、当然に、ハードウェア仕様などによる制限を受けるものとする。
First, the class relationship between the
また、帳簿クラス310は、伝票クラス320から見ると「綴じ先(管理者)」としての役割を有しており、一方、伝票クラス320は、帳簿クラス310から見ると「綴じるもの(管理対象)」としての役割を有している。
The
次に、伝票クラス320と料金表クラス330との関係について説明する。伝票クラス320のオブジェクトは提供する機能ごとに生成され、かかるオブジェクトごとに料金が発生するので、伝票クラス320は料金表クラス330に料金の単価の検索を依頼し、これに基づいて料金を算出する必要がある。したがって、伝票クラス320と料金表クラス330とは、「検索者」と「単価」という関係をなしている。また、料金表クラス330のオブジェクトは、課金部112a内に1個のみ存在する。上述したように、伝票クラス320のオブジェクトは、同時に提供している機能数分だけ存在するので、料金表クラス330のオブジェクトに対して0個以上n個以下の範囲で存在する。
Next, the relationship between the
次に、伝票クラス320と対価クラス340との関係について説明する。伝票クラス320のオブジェクトは提供する機能ごとに生成され、かかるオブジェクトごとに料金(提供した機能の対価)が発生する。したがって、伝票クラス320と対価クラス340は、「請求者」と「対価」の関係をなしている。また、一つの伝票クラス320のオブジェクトに対して、一つの対価クラス330のオブジェクトが存在するので、それぞれのオブジェクトは1対1の関係をなす。なお、料金の徴収が不要な場合は、伝票クラス320のオブジェクトに対応する対価クラス340のオブジェクトは存在しないので、対価クラス340のオブジェクトは、伝票クラス320のオブジェクトに対して0個以上1個以下の範囲で存在する。
Next, the relationship between the
次に、対価クラス340と取引表クラス350との関係について説明する。対価クラス340は、対価の交換(料金の徴収)に先立って、利用可能な(利用が制限されていない)課金装置を取得する必要がある。したがって、対価クラス340と取引表クラス350は、「検索者」と「制限」の関係をなしている。なお、両クラスの多重度の関係は、上述した伝票クラス320と料金クラス330の関係と同様である。
Next, the relationship between the
次に、対価クラス340と投入金額クラス360との関係について説明する。対価クラス340は、対価の交換先(料金の徴収先)として減算式課金装置を選択した場合、減算式課金装置と対応するクラスである投入金額クラス360に課金の実行を指示する。したがって、対価クラス340と投入金額クラス360は、「対価」と「課金実行者」の関係をなしている。なお、選択可能な減算式課金装置は存在しない場合もあり、複数存在する場合もあるので、投入金額クラス360のオブジェクトは、対価クラス340のオブジェクトに対して0個以上n個以下の範囲で存在する。
Next, the relationship between the
次に、対価クラス340と請求金額クラス370との関係について説明する。対価クラス340は、対価の交換(料金の徴収)先として加算式課金装置を選択した場合、加算式課金装置を管理するクラスである請求金額クラス370に課金の実行を指示する。したがって、対価クラス34と請求金額クラス370は、「対価」と「課金実行者」の関係をなしている。また、加算式課金装置を束ねて管理する請求金額クラス370のオブジェクトと、対価クラス340のオブジェクトとは1対1の関係をなすが、加算式課金装置が存在しない場合には、かかる装置を管理する請求金額クラス370のオブジェクトも存在しないので、請求金額クラス370のオブジェクトは、対価クラス340のオブジェクトに対して0個以上1個以下の範囲で存在する。
Next, the relationship between the
最後に、請求金額クラス370と請求先クラス380との関係について説明する。請求金額クラス370のオブジェクトは、各加算式課金装置と対応する請求先クラス380のオブジェクトの中から、課金実行先となるオブジェクトを1個選択するとともに、他のオブジェクトを課金実行先の代替候補として管理する。したがって、請求金額クラス370と請求先クラス380は、「選択者」と「課金代行者」の関係をなすとともに、「選択者」と「予備代行者」の関係をなしている。なお、「課金代行者」となるオブジェクトは1個であり、「予備代行者」となるオブジェクトは1個以上n個以下の範囲で存在する。
Finally, the relationship between the
このように、帳簿クラス310、伝票クラス320、料金表クラス330、対価クラス340、取引表クラス350、投入金額クラス360、請求金額クラス370および請求先クラス380の各オブジェクトは、相互に関連し合い、協調して、課金部112aに必要な機能を実現している。
In this way, the
次に、図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
なお、操作系サブシステム111が、複数の機能の提供要求を受け付けた場合には、帳簿オブジェクト310Aは、受け付けた機能に応じた数の伝票オブジェクト320Aを生成し、生成した各伝票オブジェクト320Aに機能内容を通知する。また、操作系サブシステムが、変更依頼を受け付けた場合には、帳簿オブジェクト310Aは、伝票オブジェクト320Aを生成せず、該当する伝票オブジェクト320Aに変更内容を通知する。
When the
つづいて、伝票オブジェクト320Aは、料金表オブジェクト330Aの検索する()330bを呼び出し(ステップS503)、かかる機能内容の料金の検索を依頼する。検索を依頼された料金表オブジェクト330Aは、該当する「料金」を検索結果として伝票オブジェクト320Aに返す(ステップS504)。検索結果を受け取った伝票オブジェクト320Aは、料金320dに、かかる検索結果を書き込む。
Subsequently, the
そして、伝票オブジェクト320Aは、対価オブジェクト340Aの領収可否を確認する()340cを呼び出し(ステップS505)、対価オブジェクト340Aに、「料金」の領収が可能な課金装置の決定を依頼する。依頼を受けた対価オブジェクト340Aは、取引表オブジェクト350Aの検索する()350bを呼び出し(ステップS506)、「料金」の領収が可能な課金装置の検索を依頼する。検索を依頼された取引表オブジェクト350Aは、該当する課金装置(課金対象)を検索結果として対価オブジェクト340Aに返す(ステップS507)。
The slip object 320A confirms whether or not the
たとえば、検索結果として通知された課金対象が減算式課金装置である場合には(ステップ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
次に、利用者が要求したサービスを提供する際に、サービス料金(提供したサービスの対価)を徴収する処理手順について図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
そして、料金の徴収を依頼された対価オブジェクト340Aは、コインラック装置などの減算式課金装置と対応する投入金額オブジェクト360Aに対し、かかる料金の引き落としの実行依頼を、投入金額オブジェクト360Aの減算する()360eを呼び出すことによりおこなう(ステップS603)。
Then, the consideration object 340A requested to collect the fee subtracts the charge amount execution request from the
次に、加算式課金装置が選択された場合の課金処理の手順について説明する。図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
呼び出された請求金額オブジェクト370Aは、通知された料金を自己の属性区画に保持されている合計額370bに足しこむ。そして、精算を実行する所定の条件を満たしたならば、かかる請求金額オブジェクト370Aは、自己の精算する()370gを呼び出す(ステップS704)。自己の精算する()370gを呼び出した請求金額オブジェクト370Aは、かかる合計額370bの値を引数に設定したうえで、加算式課金装置に対応する請求先オブジェクト380Aの請求する()380cを呼び出し(ステップS705)、課金実行を依頼する。
The called billing amount object 370A adds the notified fee to the
次に、利用中の課金装置が無効状態(たとえば、コインラック装置の残金を返却した状態やキーカード装置のカードを抜取った状態)となった場合における課金装置の付替手順について図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
次に、利用中の課金装置が加算式課金装置である場合の付替手順について説明する。図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
上述してきたように、本実施の形態では、オブジェクト指向設計により課金部の仕組みを構築し、さらに、加算式課金装置および減算式課金装置に対応したオブジェクトモデリングをおこない、帳簿クラス、伝票クラス、料金表クラス、対価クラス、取引表クラス、投入金額クラス、請求金額クラスおよび請求先クラスを用いることにより、かかる課金部を実現したので、ソフトウェア開発者やソフトウェア保守要員が、課金部の構成と役割を容易に把握することができる。また、課金装置を体系的に管理し、かかる課金装置の状態に応じて課金装置を切替えることとしたので課金装置の追加や取外しを容易におこなうことができる。さらに、各課金装置間の機能の差異を課金部が吸収するようオブジェクトモデリングをおこなったので、効率的な課金処理をおこなうことができる。 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
また、課金管理プログラムを、インターネットなどのネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するよう構成してもよい。さらに、かかる課金管理プログラムをインターネットなどのネットワーク経由で提供または配布するようにしてもよい。 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 画像形成装置(複合機)
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)
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
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)
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)
350c Update ()
360 Input amount class (an example of a subtractive charging means)
360A Input amount object (an example of a subtractive charging means)
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)
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)
380d Enable ()
380e Disable ()
400
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.
前記伝票手段は、前記対価手段を生成して該対価手段に課金処理を依頼することを特徴とする請求項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.
前記課金装置と一対一に対応し、該課金装置に課金実行を指示する課金実行手段と、
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.
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)
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)
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 |
-
2004
- 2004-09-16 JP JP2004270241A patent/JP2006085477A/en active Pending
Patent Citations (4)
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)
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 |