JP2007179383A - Method and program for calculating bill - Google Patents

Method and program for calculating bill Download PDF

Info

Publication number
JP2007179383A
JP2007179383A JP2005378227A JP2005378227A JP2007179383A JP 2007179383 A JP2007179383 A JP 2007179383A JP 2005378227 A JP2005378227 A JP 2005378227A JP 2005378227 A JP2005378227 A JP 2005378227A JP 2007179383 A JP2007179383 A JP 2007179383A
Authority
JP
Japan
Prior art keywords
amount
unit price
charge
usage
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005378227A
Other languages
Japanese (ja)
Inventor
Kazuya Minezaki
一也 峰崎
Yuichi Hirai
雄一 平井
Takahiro Nagatomo
貴宏 長友
Akira Shimonosono
亮 下之薗
Yoshinori Mimatsu
義則 三松
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.)
Fujitsu Broad Solution and Consulting Inc
Original Assignee
Fujitsu Broad Solution and Consulting Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Broad Solution and Consulting Inc filed Critical Fujitsu Broad Solution and Consulting Inc
Priority to JP2005378227A priority Critical patent/JP2007179383A/en
Publication of JP2007179383A publication Critical patent/JP2007179383A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and a program for calculating a bill in such a manner that when a price plan is changed or when services are added, a system can easily be made to reflect them without being greatly modified. <P>SOLUTION: A bill creating apparatus 10 manages use logs along with several elements for determining unit prices, and manages unit prices for calculating the charge of each use log, together with the several elements for determining the unit prices. After the unit price for which the combination of the elements matches each use log is specified (step S101-S114), the charge of each use log is calculated on the basis of the unit price specified and the amount of unit use related to the use log (step S115, S116). <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、利用ログと単価とに基づいて課金額を算出するための課金額算出方法,及び、そのような課金額算出方法を実現するための装置としてコンピュータを動作させる課金額算出プログラムに、関する。   The present invention relates to a billing amount calculation method for calculating a billing amount based on a usage log and a unit price, and a billing amount calculation program for operating a computer as a device for realizing such a billing amount calculation method. Related.

周知のように、サービス提供者は、各利用者の利用ログを蓄積しておき、各利用者に利用料金を請求するため、蓄積しておいた利用ログのそれぞれについて、その利用ログと事前に定めておいた単価とから課金額を算出して、一定期間の利用に係る課金額の総額を集計する処理を、定期的に行っている。そして、多くのサービス提供者は、前述したような課金額を算出する処理が自動的に行われるようにするためのシステムを、構築して運用している。   As is well known, the service provider stores each user's usage log and charges each user for a usage fee. A process of calculating a charge amount from a predetermined unit price and totaling the total charge amount for a certain period of use is periodically performed. Many service providers construct and operate a system for automatically performing the process of calculating the billing amount as described above.

特許第3570233号Japanese Patent No. 3570233

前述したシステムは、そのサービス提供者が利用者に提供する料金プランに基づいて定められたアルゴリズムに従って、課金額を算出するものとなっている。従って、サービス提供者は、料金プランを変更したり新しいサービスを追加したりする際には、システムの改修をしたり新たなシステムを別途構築したりする必要があった。   The above-described system calculates a charge amount according to an algorithm determined based on a charge plan provided to the user by the service provider. Therefore, the service provider has to modify the system or construct a new system separately when changing the rate plan or adding a new service.

しかしながら、料金プランの変更やサービスの追加を行う都度に、システムを改修したり新規構築していたのでは、時間や費用が掛かってしまうという問題があった。   However, every time a price plan is changed or a service is added, if the system is modified or newly constructed, there is a problem that it takes time and costs.

本発明は、前述したような従来技術の有する問題点に鑑みてなされたものであり、その課題は、料金プランの変更やサービスの追加を行う場合でも、システムに大幅な修正を施すことなく、それらを簡単に反映できるようにすることにある。   The present invention has been made in view of the problems of the prior art as described above, and the problem is that even when changing a price plan or adding a service, the system is not significantly modified. It is to make it easy to reflect them.

上記の課題を解決するために案出された課金額算出方法は、コンピュータが、所定のサービスの一回の利用についての単価を決定するために必要な要素の内容が互いに異なる全ての組み合わせのそれぞれについて、その組み合わせとそれに対応する単位量当たりの単価とを対応付けた対応情報を記憶装置に記憶する単価定義手順,所定のサービスの毎回の利用のそれぞれについて、その回の利用量と、その利用量に乗ずるべき単価を決定するために必要な幾つかの要素の内容とを対応付けて利用ログ情報として記憶装置に記憶するログ蓄積手順,前記ログ蓄積手順において記憶装置に記録されている利用ログ情報のそれぞれについて、その利用ログ情報と要素の内容の組み合わせが一致する対応情報を、前記記憶装置から読み出す単価読出手順,前記単価読出手順において対応情報が読み出されると、その利用ログ情報に含まれる利用量を単位量で除して得られる商に当該対応情報内の単価を乗じて、その利用ログ情報により示される一回の利用についての課金額を算出する課金額算出手順,及び、前記課金額算出手順において課金額が算出されると、その課金額を、利用ログ情報に対応付けて記憶装置に記憶する課金額保存手順を実行することを、特徴としている。   The billing amount calculation method devised to solve the above problem is that each of all combinations in which the contents of elements necessary for a computer to determine a unit price for one use of a predetermined service are different from each other. Unit price definition procedure for storing correspondence information in which the combination and the unit price per unit quantity corresponding thereto are stored in the storage device, the usage amount of each time, and the usage for each use of a predetermined service A log accumulation procedure for storing in the storage device as usage log information in association with the contents of some elements necessary to determine the unit price to be multiplied by the amount, and a usage log recorded in the storage device in the log accumulation procedure For each piece of information, a unit price reading unit that reads correspondence information whose usage log information matches the combination of element contents from the storage device. When the correspondence information is read in the unit price reading procedure, the quotient obtained by dividing the usage amount included in the usage log information by the unit amount is multiplied by the unit price in the correspondence information, and indicated by the usage log information. A charge amount calculation procedure for calculating a charge amount for one use, and a section for storing the charge amount in the storage device in association with the use log information when the charge amount is calculated in the charge amount calculation procedure. It is characterized by executing the money saving procedure.

このように構成されると、単価を決定するために必要な要素を別途追加又は削除することによって料金プランを変更する場合、記憶装置に記憶される対応情報を、追加される要素を加え或いは削除される要素を除いてその変更に適合させた対応情報へと、更新するとともに、利用ログ情報に対してその要素を加え或いは除くようにすれば、システムに大幅な修正を施さずとも、簡単に、変更後の料金プランで課金額を算出することができるようになる。   When configured in this way, when changing a rate plan by separately adding or deleting elements necessary for determining the unit price, the corresponding information stored in the storage device is added or deleted. It is easy to update the corresponding information that is adapted to the change except for the elements to be added, and to add or remove the elements from the usage log information without making any major modifications to the system. The charge amount can be calculated with the changed price plan.

また、上記の課題を解決するために案出された課金額算出プログラムは、コンピュータを、所定のサービスの一回の利用についての単価を決定するために必要な要素の内容が互いに異なる全ての組み合わせのそれぞれについて、その組み合わせとそれに対応する単位量当たりの単価とを対応付けた対応情報を記憶装置に記憶する単価定義手段,所定のサービスの毎回の利用のそれぞれについて、その回の利用量と、その利用量に乗ずるべき単価を決定するために必要な幾つかの要素の内容とを対応付けて利用ログ情報として記憶装置に記憶するログ蓄積手段,前記ログ蓄積手段が記憶装置に記録している利用ログ情報のそれぞれについて、その利用ログ情報と要素の内容の組み合わせが一致する対応情報を、前記記憶装置から読み出す単価読出手段,前記単価読出手段が対応情報を読み出すと、その利用ログ情報に含まれる利用量を単位量で除して得られる商に、当該対応情報内の単価を乗じて、その利用ログ情報により示される一回の利用についての課金額を算出する課金額算出手段,及び、前記課金額算出手段が課金額を算出すると、その課金額を、利用ログ情報に対応付けて記憶装置に記憶する課金額保存手段として機能させることを、特徴としている。   In addition, the billing amount calculation program devised to solve the above-mentioned problem is a combination of all the combinations of different elements necessary for determining the unit price for one use of a predetermined service. For each of the above, unit price definition means for storing correspondence information in which the combination and the unit price per unit amount corresponding thereto are stored in the storage device, for each use of a predetermined service, Log storage means for storing in the storage device as usage log information in association with the contents of some elements necessary for determining the unit price to be multiplied by the usage amount, which is recorded in the storage device For each piece of usage log information, the unit price reading that reads from the storage device correspondence information that matches the combination of the usage log information and the element contents. When the unit price reading unit reads the correspondence information, the quotient obtained by dividing the usage amount included in the usage log information by the unit amount is multiplied by the unit price in the correspondence information and indicated by the usage log information. A charge amount calculating means for calculating a charge amount for a single use, and a charge amount stored in the storage device in association with the usage log information when the charge amount calculating means calculates the charge amount. It is characterized by functioning as a storage means.

従って、この課金額算出プログラムによれば、前述した本発明による課金額算出方法を実現する装置としてコンピュータを動作させることができることになる。   Therefore, according to this billing amount calculation program, a computer can be operated as an apparatus for realizing the above-described billing amount calculation method according to the present invention.

以上に説明したように、本発明によれば、料金プランの変更やサービスの追加を行う場合でも、システムに大幅な修正を施すことなく、それらを簡単に反映できるようになる。   As described above, according to the present invention, even when a charge plan is changed or a service is added, they can be easily reflected without making a major correction to the system.

以下に、本発明を実施するための五つの最良の形態について、添付図面を参照しながら、詳細に説明する。   Hereinafter, five best modes for carrying out the present invention will be described in detail with reference to the accompanying drawings.

実施形態1Embodiment 1

図1は、第1の実施形態の請求書作成装置10の構成図である。   FIG. 1 is a configuration diagram of a bill creation apparatus 10 according to the first embodiment.

第1の実施形態の請求書作成装置10は、所定のサービスの利用について利用者に送付される請求書の作成機能を実現するために、後述の請求書作成ソフトウエア15がインストールされたパーソナルコンピュータである。   The bill creation apparatus 10 according to the first embodiment is a personal computer in which bill creation software 15 described later is installed in order to realize a bill creation function sent to a user for use of a predetermined service. It is.

この請求書作成装置10を構成するパーソナルコンピュータは、液晶ディスプレイ等の表示装置10a,キーボードやマウス等の入力装置10b,ローカルプリンタやネットワークプリンタ等の印刷装置10c,及び、本体からなり、このうち、本体は、CPU[Central Processing Unit]10d,DRAM[Dynamic Random Access Memory]10e,MDD[Multi Disk Drive]10f,及び、HDD[Hard Disk Drive]10g等の周知なハードウエアを、内蔵している。   A personal computer constituting the bill creation apparatus 10 includes a display device 10a such as a liquid crystal display, an input device 10b such as a keyboard and a mouse, a printing device 10c such as a local printer and a network printer, and a main body. The main body includes known hardware such as a CPU [Central Processing Unit] 10d, a DRAM [Dynamic Random Access Memory] 10e, an MDD [Multi Disk Drive] 10f, and an HDD [Hard Disk Drive] 10g.

そして、HDD10gは、基本ソフトウエア11を記憶している。この基本ソフトウエア11は、表示装置10aや入力装置10bにおける入出力の制御,印刷装置10cでの出力の制御,及び、DRAM10eやMDD10fやHDD10gの記憶領域(記憶素子,CD[Compact Disk],DVD[Digital Versatile Disk],HD[Hard Disk]の記憶領域)に対する読み書きの制御といった基本的な機能を多くのアプリケーションソフトウエアに提供するソフトウエアである。   The HDD 10g stores basic software 11. The basic software 11 controls input / output in the display device 10a and the input device 10b, controls output in the printing device 10c, and storage areas (storage elements, CD [Compact Disk], DVD) of the DRAM 10e, MDD 10f, and HDD 10g. This is software that provides basic functions such as read / write control to the [Digital Versatile Disk] and HD [Hard Disk] storage areas) to many application software.

さらに、このHDD10gには、利用ログテーブル12,課金定義テーブル13,料金定義テーブル14,及び、請求書作成ソフトウエア15が、インストールされている。なお、課金定義テーブル13と料金定義テーブル14は、当該サービスの提供者が各利用者に用意している各種の料金プランごとに、用意されており、一つの料金プランを、一つの課金定義テーブル13と一つの料金定義テーブル14とで、定義している。   Further, a usage log table 12, a charge definition table 13, a charge definition table 14, and an invoice creation software 15 are installed in the HDD 10g. The charge definition table 13 and the charge definition table 14 are prepared for each of various charge plans prepared by the service provider for each user, and one charge plan is assigned to one charge definition table. 13 and one fee definition table 14.

利用ログテーブル12は、当該サービスの利用履歴を記録しておくためのテーブルである。なお、この利用ログテーブル12は、前述したログ蓄積手順及びログ蓄積手段に相当している。   The usage log table 12 is a table for recording the usage history of the service. The usage log table 12 corresponds to the log accumulation procedure and log accumulation means described above.

図2は、この利用ログテーブル12のデータ構造の一例を示す図である。   FIG. 2 is a diagram showing an example of the data structure of the usage log table 12.

図2の利用ログテーブル12は、当該サービスが利用された回数と同数のレコードを、有している。各レコードは、「日付」,「利用者情報」,「コード」,「要素1」,「要素2」,…,「要素10」,「単位利用量」及び「課金額」のフィールドを有している。   The usage log table 12 in FIG. 2 has the same number of records as the number of times the service is used. Each record has fields of “date”, “user information”, “code”, “element 1”, “element 2”,..., “Element 10”, “unit usage”, and “billing amount”. ing.

「日付」フィールドは、当該サービスが利用された年月日が記録されるフィールドである。「利用者情報」フィールドは、多数の利用者の中から各利用者を個別に識別するための利用者情報が記録されるフィールドである。「コード」フィールドは、当該サービスの提供者が提供している各種の料金プランのうち、その利用者識別情報の示す利用者が当該サービスの提供者と契約している料金プランを示すコード情報が記録されるフィールドである。   The “date” field is a field in which the date on which the service is used is recorded. The “user information” field is a field in which user information for individually identifying each user from among a large number of users is recorded. In the “Code” field, code information indicating a rate plan with which the user indicated by the user identification information contracts with the provider of the service among various price plans provided by the service provider. The field to be recorded.

「要素n」フィールドは、利用量に乗ぜられる単価を決定するために必要な要素が記録されるフィールドである。ここで、要素は、料金体系において単価の違いを生み出すものであり、例えば、印刷サービスにおいては、用紙の大きさや色や紙質などがあり、通話サービスにおいては、通話距離や通話時間帯や曜日などがある。第1の実施形態では、利用ログテーブル12には、10個の「要素n」フィールドが用意されており、単価を決定するために必要な要素の数よりもnの値が大きい「要素n」フィールドは、空欄となる。   The “element n” field is a field in which an element necessary for determining a unit price to be multiplied by the usage amount is recorded. Here, the factors create a unit price difference in the charge system. For example, in the printing service, there are paper size, color, paper quality, etc. In the calling service, the calling distance, calling time zone, day of the week, etc. There is. In the first embodiment, ten “element n” fields are prepared in the usage log table 12, and “element n” has a larger value of n than the number of elements necessary for determining the unit price. The field is blank.

「単位利用量」フィールドは、その利用者の一回の利用に係る利用量が記録されるフィールドである。「課金額」フィールドは、その利用者の一回の利用について課金される額が記録されるフィールドである。なお、この「課金額」フィールドは、後述の請求書作成ソフトウエアにより課金額が算出されるまで、空欄となっている。   The “unit usage amount” field is a field in which the usage amount related to one use of the user is recorded. The “billing amount” field is a field in which an amount charged for one use of the user is recorded. This “billing amount” field is blank until the billing amount is calculated by the bill creation software described later.

課金定義テーブル13は、当該サービスの一回の利用について発生する課金額を算出するために利用されるテーブルである。なお、この課金定義テーブル13は、前述した単価定義手順及び単価定義手段に相当している。   The charge definition table 13 is a table used for calculating a charge amount generated for one use of the service. The billing definition table 13 corresponds to the unit price definition procedure and the unit price definition means described above.

図3は、この課金定義テーブル13のデータ構造の一例を示す図である。   FIG. 3 is a diagram showing an example of the data structure of the charge definition table 13.

図3の課金定義テーブル13は、一つの料金プランにおける各要素の組み合わせのパターンと同数のレコードを、有している。各レコードは、「要素1」,「要素2」,…,「要素10」,「単位数量」,「単価」,「無料相当分」,「基本課金額」,「最高課金額」及び「最低課金額」のフィールドを、有している。   The charge definition table 13 of FIG. 3 has the same number of records as the combination pattern of each element in one charge plan. Each record includes “element 1”, “element 2”,..., “Element 10”, “unit quantity”, “unit price”, “free portion”, “basic charge amount”, “maximum charge amount”, and “minimum charge amount”. “Charging amount” field.

「要素n」フィールドは、単価を決定するために必要な要素が記録されるフィールドである。利用ログテーブル12と同様に、課金定義テーブル13にも、10個の「要素n」フィールドが用意されており、単価を決定するために必要な要素の数よりもnの値が大きい「要素n」フィールドは、空欄となる。   The “element n” field is a field in which an element necessary for determining the unit price is recorded. Similar to the usage log table 12, the charge definition table 13 also includes 10 “element n” fields, and “element n” having a value of n larger than the number of elements necessary for determining the unit price. "Field is blank.

「単位数量」フィールドは、単価が課せられる単位となる数量が記録されるフィールドである。「単価」フィールドは、単位数量当たりの単価が記録されるフィールドである。なお、この料金プランが従量制課金を行わない料金プランである場合、この「単価」フィールドは、空欄又は「0円」となる。   The “unit quantity” field is a field in which a quantity serving as a unit to which a unit price is imposed is recorded. The “unit price” field is a field in which a unit price per unit quantity is recorded. If this rate plan is a rate plan that does not perform metered billing, the “unit price” field is blank or “0 yen”.

「無料相当分」フィールドは、一回の利用に掛かった利用量の中から値引きに相当する特典として削減し得る最大の利用量が無料相当分として記録されるフィールドである。なお、この料金プランが無料相当分削減サービスを行わない料金プランである場合、この「無料相当分」フィールドは、空欄となる。   The “free equivalent” field is a field in which the maximum usage amount that can be reduced as a privilege equivalent to discounting from the usage amount used for one use is recorded as a free equivalent amount. If this rate plan is a rate plan that does not provide a free equivalent reduction service, the “free equivalent” field is blank.

「基本課金額」フィールドは、一回の利用についてその利用量とは無関係に利用者に課せられる基本課金額が記録されるフィールドである。なお、この料金プランが一回の利用について基本課金額を利用者に課さない料金プランである場合、この「基本課金額」フィールドは、空欄となる。   The “basic charge amount” field is a field in which the basic charge amount imposed on the user regardless of the use amount is recorded for one use. Note that if this charge plan is a charge plan that does not impose a basic charge on a user for a single use, the “basic charge” field is blank.

「最高課金額」フィールドは、一回の利用に対していわゆるキャップ制課金を採用する場合における最高課金額が記録されるフィールドである。ここで、キャップ制課金とは、基本課金額と従量課金額({(単位利用量)÷(単位数量):小数点以下切り上げ}×(単価))との総和が、設定された上限である最高課金額を超えていないときには、その総和をそのまま一回の利用に掛かる課金額として利用者に請求し、その総和が、設定された最高課金額を超えているときには、その設定された最高課金額を一回の利用に掛かる課金額として利用者に請求するという課金方法を言う。なお、この料金プランが一回の利用に対してキャップ制課金を採用しない料金プランである場合、「最高課金額」フィールドは、空欄となる。   The “maximum billing amount” field is a field in which the maximum billing amount is recorded when so-called cap-based billing is employed for one use. Here, the cap-based billing is the maximum that the sum of the basic billing amount and the pay-as-you-go billing amount ({(unit usage) / (unit quantity): rounded up after the decimal point} × (unit price)) is the set upper limit. If the charge amount does not exceed the charge amount, the total amount is charged to the user as the charge amount for one use, and if the sum exceeds the set maximum charge amount, the set maximum charge amount is charged. Is billed to the user as a billing amount for one use. If this rate plan is a rate plan that does not employ cap-based charging for a single use, the “maximum charge amount” field is blank.

「最低課金額」フィールドは、一回の利用に対していわゆるミニマムチャージ制課金を採用する場合における最低課金額が記録されるフィールドである。ここで、ミニマムチャージ制課金とは、基本課金額と従量課金額との総和が、設定された所定の下限である最低課金額を超えているときには、その総和をそのまま一回の利用に掛かる課金額として利用者に請求し、その総和が、設定された最低課金額を超えていないときには、その設定された最低課金額を一回の利用に掛かる課金額として利用者に請求するという課金方法を言う。なお、この料金プランが一回の利用に対してミニマムチャージ制課金を採用しない料金プランである場合、「最低課金額」フィールドは、空欄となる。   The “minimum charge amount” field is a field in which the minimum charge amount when a so-called minimum charge system charge is adopted for one use is recorded. Here, the minimum charge system charge is a charge that is applied to one use as it is when the sum of the basic charge amount and the pay-as-you-go charge amount exceeds the minimum charge amount that is the preset lower limit. A billing method in which the user is charged as an amount of money, and when the sum does not exceed the set minimum charge amount, the set minimum charge amount is charged to the user as a charge amount for one use. To tell. Note that if this rate plan is a rate plan that does not employ a minimum charge system charge for a single use, the “minimum charge amount” field is blank.

料金定義テーブル14は、利用者の一定期間における当該サービスの利用についての請求課金額を算出するのに利用されるテーブルである。この料金定義テーブル14は、本発明には関係ないため図示していないが、簡単に説明するならば、一定期間の当該サービスの利用についての課金額の総額を従量料金とすると、その従量料金から差し引かれるべき無料相当料金,その従量料金に加えるべき基本料金,キャップ制課金を採用する場合における従量料金と基本料金の総和の最高利用料金,ミニマムチャージ制課金を採用する場合における従量料金と基本料金の総和の最低利用料金を、それぞれ、定義している。   The charge definition table 14 is a table used to calculate a billing charge amount for the use of the service for a certain period of time of the user. Although this charge definition table 14 is not shown because it is not related to the present invention, if it is simply explained, if the total charge amount for the use of the service for a certain period is a pay-per-use charge, the charge-rate table 14 Free equivalent charge to be deducted, basic charge to be added to the pay-as-you-go charge, maximum usage charge of the sum of pay-to-use charge and basic charge when adopting cap charge, pay-as-you-go charge and basic charge when adopting minimum charge charge Defines the minimum usage charge for the sum of

請求書作成ソフトウエア15は、当該サービスの各利用者に送付される請求書を作成するためのソフトウエアである。この請求書作成ソフトウエア15は、課金額算出モジュール(プログラム)15a,請求総額算出モジュール(プログラム)15b,請求書印刷モジュール(プログラム)15cを、含んでいる。   The bill creation software 15 is software for creating a bill sent to each user of the service. The bill creation software 15 includes a billing amount calculation module (program) 15a, a billing total amount calculation module (program) 15b, and a bill printing module (program) 15c.

課金額算出モジュール15aは、当該サービスの一回の利用について利用者に課金すべき額を算出するいわゆるレイティングモジュールである。この課金額算出モジュール15aに従ってCPU10dが行う処理の内容については、後で図4及び図5を用いて詳しく説明するが、簡単に説明するならば、その内容は、利用ログテーブル12に蓄積されている利用ログのそれぞれについて、課金定義テーブル13の内容に基づいて課金額を算出するというものである。なお、この課金額算出モジュール15aは、一月毎や一週毎のように定期的に動作するように設定されていても良いし、当該サービス提供者によって任意の時期に動作されるようであってもよい。   The charge amount calculation module 15a is a so-called rating module that calculates the amount to be charged to the user for one use of the service. The contents of the processing performed by the CPU 10d according to the billing amount calculation module 15a will be described later in detail with reference to FIGS. 4 and 5. However, if briefly described, the contents are accumulated in the usage log table 12. For each usage log, the charge amount is calculated based on the contents of the charge definition table 13. The billing amount calculation module 15a may be set to operate periodically such as monthly or weekly, or may be operated at any time by the service provider. Also good.

請求総額算出モジュール15bは、利用者のそれぞれについて、当該サービスの一定期間の利用に掛かる課金額の総額を従量料金として集計し、その従量料金から無料相当分を削減したり基本料金を加算したりして請求総額を確定するプライシングモジュールである。この請求総額算出モジュール15bに従ってCPU10dが行う処理は、一般的であり、且つ、本発明とは無関係であるため、その処理の内容については、説明を省略する。   The billing total amount calculation module 15b aggregates the total amount charged for using the service for a certain period of time for each user as a pay-per-use charge, and reduces the free charge or adds the basic charge from the pay-per-use charge. This is a pricing module for determining the total amount charged. The processing performed by the CPU 10d in accordance with the billed total amount calculation module 15b is general and irrelevant to the present invention, and therefore the description of the processing content is omitted.

請求書印刷モジュール15cは、請求総額算出モジュール15bが利用者ごとに確定した請求総額を、印刷装置10cを通じて、所定の請求書に印刷するモジュールである。この請求書印刷モジュール15cに従ってCPU10dが行う処理も、一般的であり、且つ、本発明とは無関係であるため、その処理の内容については、説明を省略する。   The bill printing module 15c is a module that prints the bill total determined by the bill total calculation module 15b for each user on a predetermined bill through the printing apparatus 10c. The processing performed by the CPU 10d according to the invoice printing module 15c is also general and irrelevant to the present invention, and therefore the description of the processing content is omitted.

図4及び図5は、課金額算出モジュール15aによる処理の流れを示す図である。   4 and 5 are diagrams showing the flow of processing by the billing amount calculation module 15a.

当該処理の開始後、CPU10dは、第1の処理ループを実行する(L1)。具体的には、CPU10dは、利用ログテーブル12内の一つのレコードを処理対象として特定して、この処理対象として特定したレコードについてステップS101乃至S117を行う。CPU10dは、このような処理を、利用ログテーブル12内の全てのレコードについて一つずつ順に行い、全てのレコードについて処理を終えると、図4及び図5に係る処理を終了する。   After the start of the process, the CPU 10d executes a first process loop (L1). Specifically, the CPU 10d specifies one record in the usage log table 12 as a processing target, and performs steps S101 to S117 for the record specified as the processing target. The CPU 10d performs such processing one by one for all the records in the usage log table 12, and ends the processing according to FIGS. 4 and 5 when the processing is completed for all the records.

ステップS101では、CPU10dは、変数nに「1」を代入する処理を行い、ステップS102へ処理を進める。   In step S101, the CPU 10d performs a process of substituting “1” for the variable n, and advances the process to step S102.

ステップS102では、CPU10dは、処理対象レコードにおける「要素n」フィールドの値を読み出す。   In step S102, the CPU 10d reads the value of the “element n” field in the processing target record.

次のステップS103では、CPU10dは、読み出した値が有効な値であるか否か(当該フィールドが空欄でないかどうか)を判別する。そして、CPU10dは、読み出した値が有効な値であった場合、ステップS103からステップS104へ処理を分岐する。   In the next step S103, the CPU 10d determines whether or not the read value is a valid value (whether or not the field is not blank). If the read value is a valid value, the CPU 10d branches the process from step S103 to step S104.

ステップS104では、CPU10dは、変数nの代入値が「1」であるか否かを判別する。そして、CPU10dは、変数nの代入値が「1」であった場合、ステップS104からステップS105へ処理を分岐する。   In step S104, the CPU 10d determines whether or not the substitution value of the variable n is “1”. Then, when the substitution value of the variable n is “1”, the CPU 10d branches the process from step S104 to step S105.

ステップS105では、CPU10dは、処理対象レコードの「コード」フィールドに格納されているコード情報にて特定される課金定義テーブル13の中から、ステップS102で読み出した値を要素nに含むレコードを検索する。   In step S105, the CPU 10d searches the accounting definition table 13 specified by the code information stored in the “code” field of the processing target record for a record including the value read in step S102 in the element n. .

次のステップS106では、CPU10dは、ステップS102で読み出した値を要素nに含むレコードが当該課金定義テーブル13の中から検出できたか否かを判別する。そして、CPU10dは、ステップS102で読み出した値を要素nに含むレコードが当該課金定義テーブル13の中から検出できた場合、ステップS106からステップS107へ処理を分岐する。   In the next step S106, the CPU 10d determines whether or not a record including the value read in step S102 in the element n can be detected from the accounting definition table 13. When the record including the value read in step S102 in element n can be detected from the accounting definition table 13, the CPU 10d branches the process from step S106 to step S107.

ステップS107では、CPU10dは、当該課金定義テーブル13の中から検出したレコードを図示せぬワークテーブルへ格納する処理を行い、ステップS111へ処理を進める。   In step S107, the CPU 10d performs a process of storing a record detected from the charge definition table 13 in a work table (not shown), and the process proceeds to step S111.

ステップS111では、CPU10dは、変数nの代入値を「1」繰り上げる処理を行う。   In step S111, the CPU 10d performs a process of incrementing the substitution value of the variable n by “1”.

ステップS112では、CPU10dは、変数nの代入値が「11」であるか否かを判別する。そして、CPU10dは、変数nの代入値が「11」でなかった場合、ステップS112からステップS102へ処理を戻す。   In step S112, the CPU 10d determines whether or not the substitution value of the variable n is “11”. If the substitution value of the variable n is not “11”, the CPU 10d returns the process from step S112 to step S102.

一方、ステップS104において、変数nの代入値が「1」でなかった場合、CPU10dは、ステップS108へ処理を進める。   On the other hand, when the substituted value of the variable n is not “1” in step S104, the CPU 10d advances the process to step S108.

ステップS108では、CPU10dは、処理対象レコードの「コード」フィールドに格納されているコード情報にて示される課金定義テーブル13の中から、ステップS102で読み出した値を要素nに含むレコードを検索する。   In step S108, the CPU 10d searches the charge definition table 13 indicated by the code information stored in the “code” field of the processing target record for a record including the value read in step S102 in the element n.

次のステップS109では、CPU10dは、ステップS102で読み出した値を要素nに含むレコードが当該課金定義テーブル13の中から検出できたか否かを判別する。そして、CPU10dは、ステップS102で読み出した値を要素nに含むレコードが当該課金定義テーブル13の中から検出できた場合、ステップS109からステップS110へ処理を分岐する。   In the next step S109, the CPU 10d determines whether or not a record including the value read in step S102 in the element n can be detected from the charging definition table 13. When the record including the value read in step S102 in element n can be detected from the accounting definition table 13, the CPU 10d branches the process from step S109 to step S110.

ステップS110では、CPU10dは、図示せぬワークテーブルから、当該課金定義テーブル13の中から検出したレコード以外のレコードを、全て削除する処理を行い、ステップS111へ処理を進める。   In step S110, the CPU 10d performs a process of deleting all records other than the record detected from the accounting definition table 13 from a work table (not shown), and advances the process to step S111.

なお、以上のステップS102乃至S112の処理ループは、前述した単価読出手順に相当しており、この処理ループを実行するCPU10dは、前述した単価読出手段に相当している。   The processing loop of steps S102 to S112 described above corresponds to the unit price reading procedure described above, and the CPU 10d that executes this processing loop corresponds to the unit price reading unit described above.

このステップS102乃至S112の処理ループの実行中、処理対象レコードの「要素n」フィールドの値が有効な値でなくなった場合(ステップS103;NO)、又は、変数nの値が「11」に達した場合(ステップS112;YES)、CPU10dは、ステップS113へ処理を進める。   During the execution of the processing loop of steps S102 to S112, when the value of the “element n” field of the processing target record is no longer valid (step S103; NO), or the value of the variable n reaches “11”. If so (step S112; YES), the CPU 10d advances the process to step S113.

ステップS113では、CPU10dは、図示せぬワークテーブルにレコードが含まれているか否かを確認するため、このワークテーブルを検索する。   In step S113, the CPU 10d searches this work table in order to check whether or not a record is included in a work table (not shown).

次のステップS114では、CPU10dは、検索の結果として図示せぬワークテーブルからレコードをただ一つだけ検出できたか否かを判別する。そして、CPU10dは、図示せぬワークテーブルからレコードをただ一つだけ検出できた場合、ステップS114からステップS115へ処理を進める。   In the next step S114, the CPU 10d determines whether or not only one record has been detected from a work table (not shown) as a result of the search. Then, when only one record can be detected from the work table (not shown), the CPU 10d advances the process from step S114 to step S115.

ステップS115では、CPU10dは、処理対象レコードについての課金額を算出する処理を行う。具体的には、CPU10dは、処理対象レコードの「単位利用量」フィールドの値と、図示せぬワークテーブルに残された一つのレコードの「単位数量」,「単価」,「無料相当分」及び「基本課金額」のフィールドの値とから、次の計算式に従って、課金額を算出する処理を行う。
計算式:(課金額)=(基本課金額)+[{(単位利用量)−(無料相当分)}÷(単位数量)]×(単価)
なお、CPU10dは、上記計算式における(単位利用量)−(無料相当分)の部分が負の値となるときは、その部分の値をゼロに変更する。また、CPU10dは、上記計算式における{(単位利用量)−(無料相当分)}÷(単位数量)の部分が小数点以下の端数を持つ値となるときには、その部分の値を小数点以下を切り上げた値に変更する。
In step S115, the CPU 10d performs a process of calculating a charge amount for the processing target record. Specifically, the CPU 10d determines the value of the “unit usage” field of the processing target record and the “unit quantity”, “unit price”, “free equivalent” of one record remaining in the work table (not shown), and Based on the value of the “basic billing amount” field, the billing amount is calculated according to the following calculation formula.
Formula: (billing amount) = (basic billing amount) + [{(unit usage amount)-(free equivalent amount)} ÷ (unit quantity)] x (unit price)
In addition, when the (unit usage amount) − (free portion) in the above calculation formula has a negative value, the CPU 10d changes the value of the portion to zero. In addition, when the {(unit usage) − (free equivalent)} ÷ (unit quantity) portion in the above calculation formula is a value having a fractional part, the value of that part is rounded up to the next decimal point. Change the value to

また、CPU10dは、上記計算式において課金額を算出した後、図示せぬワークテーブルに残された一つのレコードの「最高課金額」及び「最低課金額」のフィールドの値を参照し、最高課金額が設定されている場合において、上記計算式を使って算出した課金額が、最高課金額を超えたときには、課金額をその最高課金額と同額に変更し、最低課金額が設定されている場合において、上記計算式を使って算出した課金額が、最低課金額を超えていなかったときには、課金額をその最低課金額と同額に変更する。   Further, the CPU 10d calculates the charge amount in the above formula, and then refers to the values of the “maximum charge amount” and “minimum charge amount” fields of one record remaining in the work table (not shown), If the charge amount calculated using the above formula exceeds the maximum charge amount when the amount is set, the charge amount is changed to the same amount as the maximum charge amount, and the minimum charge amount is set. In this case, if the charge amount calculated using the above calculation formula does not exceed the minimum charge amount, the charge amount is changed to the same amount as the minimum charge amount.

なお、このステップS115は、前述した課金額算出手順に相当しており、このステップS115を実行するCPU10dは、前述した課金額算出手段に相当している。   This step S115 corresponds to the above-described charging amount calculation procedure, and the CPU 10d that executes this step S115 corresponds to the above-described charging amount calculation means.

次のステップS116では、CPU10dは、ステップS115において算出した課金額を、図2の利用ログテーブル12における処理対象レコードの「課金額」フィールドに格納する処理を行う。   In the next step S116, the CPU 10d performs a process of storing the charge amount calculated in step S115 in the “charge amount” field of the processing target record in the usage log table 12 of FIG.

なお、このステップS116は、前述した課金額保存手順に相当しており、このステップS116を実行するCPU10dは、前述した課金額保存手段に相当している。   Note that this step S116 corresponds to the above-described charging amount storage procedure, and the CPU 10d that executes this step S116 corresponds to the above-described charging amount storage means.

また、CPU10dは、ステップS102乃至S112の処理ループの実行中、ステップS102で読み出した値を要素nに含むレコードが課金定義テーブル13の中から検出できなかった場合(ステップS106;NO,若しくは、ステップS109;NO)、又は、図示せぬワークテーブルからレコードを一つも検出できなかったか、若しくは、レコードを二つ以上検出した場合(ステップS114;NO)、ステップS117へ処理を進める。   Further, when the processing loop of steps S102 to S112 is being executed, the CPU 10d cannot detect a record including the value read in step S102 in the element n from the charging definition table 13 (step S106; NO, or step (S109; NO), or when no record is detected from a work table (not shown), or when two or more records are detected (step S114; NO), the process proceeds to step S117.

ステップS117では、CPU10dは、エラーを示す情報を、図2の利用ログテーブル12における処理対象レコードの「課金額」フィールドに格納する処理を行う。   In step S117, the CPU 10d performs processing for storing information indicating an error in the “billing amount” field of the processing target record in the usage log table 12 of FIG.

以上に説明した第1の実施形態では、利用ログは、単価を決定するための幾つかの要素とともに管理されるとともに(図2)、単価も、それを決定する幾つかの要素とともに管理される(図3)。そして、利用ログごとの課金額は、要素の組み合わせがその利用ログと合致する単価が特定された後(ステップS101〜S114)、その特定された単価と利用ログに係る単位利用量とに基づいて、算出されることとなる(ステップS115,S116)。   In the first embodiment described above, the usage log is managed together with some elements for determining the unit price (FIG. 2), and the unit price is also managed together with some elements for determining the unit price. (Figure 3). The charge amount for each usage log is determined based on the specified unit price and the unit usage amount related to the usage log after the unit price at which the combination of elements matches the usage log is specified (steps S101 to S114). Are calculated (steps S115 and S116).

ここで、課金額の算出は、利用者が当該サービス提供者と取り交わした契約において定められた料金プランに従って、なされている。サービスの提供者が、一つの料金プランの内容を変更しようとする場合、従来のシステムでは、利用料金を算出するための計算式がその当時の料金プランに最適なものとして作成されていたため、システムの大幅な変更が必要であった。これに対し、第1の実施形態では、課金定義テーブル13に対し、新たな料金プランに適合したレコードを追加又は削除するだけで済む。   Here, the charge amount is calculated according to the charge plan defined in the contract that the user exchanges with the service provider. When a service provider wants to change the contents of one rate plan, the calculation formula for calculating the usage fee was created as the most appropriate for the rate plan at that time in the conventional system. A major change was needed. On the other hand, in the first embodiment, it is only necessary to add or delete a record that conforms to the new price plan from the charge definition table 13.

図6は、図3の課金定義テーブル13の内容を一部変更した例を示す図である。   FIG. 6 is a diagram showing an example in which the contents of the charging definition table 13 of FIG. 3 are partially changed.

図3は、印刷サービスの料金プランの一例を示しており、図3では、単価を決定するための要素として、印刷に使用するインクの種類を規定する要素1と、印刷用紙の大きさを規定する要素2が、定められており、要素3以上の要素は、定められていなかった。   FIG. 3 shows an example of a charge plan for a printing service. In FIG. 3, the element 1 that defines the type of ink used for printing and the size of the printing paper are defined as elements for determining the unit price. Element 2 to be determined is determined, and elements equal to or higher than element 3 are not determined.

これに対し、図6は、図3に係る料金プランにおいて、印刷用紙の紙質を、単価の違いを生む要素として新たに付け加えた例を示しており、インクの種類を規定する要素1と印刷用紙の大きさを規定する要素2とに加えて、更に、印刷用紙の紙質を規定する要素3が、定められている。例えば、図2では、要素1が「白黒」で要素2が「A4以下」であるレコードは、一つしか存在していないが、図6では、要素1が「白黒」で要素2が「A4以下」であるレコードが、要素3に含まれ得る数(図6では、「上質紙」と「普通紙」の二つ)存在している。   On the other hand, FIG. 6 shows an example in which the paper quality of the printing paper is newly added as an element that causes a difference in unit price in the charge plan according to FIG. 3, and the element 1 that defines the type of ink and the printing paper In addition to the element 2 that defines the size of the printing paper, an element 3 that defines the paper quality of the printing paper is further defined. For example, in FIG. 2, there is only one record in which element 1 is “black and white” and element 2 is “A4 or less”, but in FIG. 6, element 1 is “black and white” and element 2 is “A4”. There are a number of records that can be included in the element 3 (in FIG. 6, two types of “quality paper” and “plain paper”).

このように、単価を決定するための要素を追加することによって料金プランを変更する場合、課金定義テーブル13に対し、その変更に適合したレコードを追加又は削除して、新たな課金定義テーブル13’を作成することにより、システムを大幅に変更することなく、簡単に、変更後の料金プランで課金額を算出することができるようになる。   In this way, when changing a rate plan by adding an element for determining a unit price, a record that matches the change is added to or deleted from the charge definition table 13, and a new charge definition table 13 ′ is added. This makes it possible to easily calculate the charge amount with the changed price plan without significantly changing the system.

また、第1の実施形態においては、課金定義テーブル13に設定されている基本課金額,無料相当分,最高課金額,最低課金額を適宜変更することにより、一回の利用に掛かる課金額についての単位利用量に応じた変化量を、変更することができる。具体的には、以下の通りである。   Further, in the first embodiment, the basic charge amount, the free equivalent amount, the maximum charge amount, and the minimum charge amount set in the charge definition table 13 are appropriately changed so that the charge amount required for one use is changed. The amount of change according to the unit usage can be changed. Specifically, it is as follows.

図7(a)は、定額制課金を採用したときの課金定義テーブル13”の例示図であり、図7(b)は、定額制課金における課金額と単位利用量との関係を示すグラフである。図7に示されるように、基本課金額だけを設定し、単価,無料相当分,最高課金額,最低課金額を何れも設定しなかった場合、単位利用量の変化と無関係に課金額が一定となる(定額制課金)。   FIG. 7A is an exemplary diagram of the charging definition table 13 ″ when the flat rate charging is adopted, and FIG. 7B is a graph showing the relationship between the charging amount and the unit usage amount in the flat rate charging. As shown in Fig. 7, if only the basic charge amount is set and none of the unit price, free equivalent, maximum charge amount, or minimum charge amount is set, the charge amount is independent of the change in unit usage. Is constant (flat-rate billing).

図8(a)は、単純な従量制課金を採用したときの課金定義テーブル13”の例示図であり、図8(b)は、単純な従量制課金における課金額と単位利用量との関係を示すグラフである。図8に示されるように、単位数量と単価だけを設定し、無料相当分,基本課金額,最高課金額,最低課金額を何れも設定しなかった場合、単位利用量の単純増加に伴って課金額も単純増加する(単純な従量制課金)。   FIG. 8A is an exemplary diagram of a charging definition table 13 ″ when simple usage-based charging is employed, and FIG. 8B shows the relationship between the charging amount and unit usage in simple usage-based charging. As shown in Fig. 8, when only unit quantity and unit price are set and no free equivalent, basic charge amount, maximum charge amount, and minimum charge amount are set, the unit usage amount The billing amount also simply increases with a simple increase (simple metered billing).

図9(a)は、基本課金額付きの従量制課金を採用したときの課金定義テーブル13”の例示図であり、図9(b)は、基本課金額付きの従量制課金における課金額と単位利用量との関係を示すグラフである。図9に示されるように、単位数量と単価と基本課金額を設定し、無料相当分,最高課金額,最低課金額を何れも設定しなかった場合、単位利用量の単純増加に伴って単純増加する課金額に対し、基本課金額が上乗せされる(基本課金額付きの従量制課金)。   FIG. 9 (a) is an illustration of a billing definition table 13 ″ when pay-as-you-go with basic billing is adopted, and FIG. 9 (b) shows billing in metered billing with basic billing. It is a graph showing the relationship with the unit usage amount, as shown in Fig. 9. The unit quantity, unit price and basic charge amount were set, and no free equivalent, maximum charge amount, and minimum charge amount were not set. In this case, the basic charge amount is added to the charge amount that simply increases as the unit usage amount increases (a metered charge with a basic charge amount).

図10(a)は、値引き特典付きの従量制課金を採用したときの課金定義テーブル13”の例示図であり、図10(b)は、値引き特典付きの従量制課金における課金額と単位利用量との関係を示すグラフである。図10に示されるように、単位数量と単価と無料相当分だけを設定し、基本課金額,最高課金額,最低課金額を何れも設定しなかった場合、所定の利用量に達するまでは課金額は無く、所定の利用量に達した後は、単位利用量の単純増加に伴って課金額が増加する(値引き特典付きの従量制課金)。   FIG. 10 (a) is an illustration of a billing definition table 13 ″ when pay-as-you-go billing with discount benefits is employed, and FIG. 10 (b) shows billing amounts and unit usage in pay-as-you-go billing with discount benefits. 11 is a graph showing the relationship with the amount, when only the unit quantity, unit price and free equivalent are set, and none of the basic charge amount, maximum charge amount, and minimum charge amount is set, as shown in FIG. There is no billing amount until the predetermined usage amount is reached, and after the predetermined usage amount is reached, the billing amount increases with a simple increase in the unit usage amount (pay-as-you-go with discount benefits).

図11(a)は、ステップ型の従量制課金を採用したときの課金定義テーブル13”の例示図であり、図11(b)は、ステップ型の従量制課金における課金額と単位利用量との関係を示すグラフである。図11に示されるように、単位数量を最小数より大きめの値に設定し(印刷サービスにおいては最小数が1枚であるので、2枚以上の値を単位数量と設定する)、基本課金額,最高課金額,最低課金額を何れも設定しなかった場合、単位利用量が単位数量の倍数に到達するごとに、課金額が段階的に増加する(ステップ型の従量制課金)。なお、ステップ課金制においては、無料相当分は、設定されていても良いし、設定されていなくても良い。   FIG. 11A is an exemplary diagram of a charging definition table 13 ″ when step type metered charging is adopted, and FIG. 11B shows the billing amount and unit usage in step type metered charging. As shown in Fig. 11, the unit quantity is set to a value larger than the minimum number (in the printing service, the minimum number is one, so two or more values are set to the unit quantity). If the basic charge amount, maximum charge amount, and minimum charge amount are not set, the charge amount increases step by step each time the unit usage reaches a multiple of the unit quantity (step type) Note that in the step billing system, the free equivalent may be set or may not be set.

図12(a)は、キャップ制課金を採用したときの課金定義テーブル13”の例示図であり、図12(b)は、キャップ制課金における課金額と単位利用量との関係を示すグラフである。図12に示されるように、単位数量と単価と最高課金額とを設定し、無料相当分,基本課金額,最低課金額を何れも設定しなかった場合、単位利用量の単純増加に伴って課金額も単純増加し、課金額が最高課金額に到達した段階で、課金額は頭打ちとなり、単位利用量の増加に拘わらず、その最高課金額と同額の一定を維持する(キャップ制課金)。   FIG. 12A is an exemplary diagram of a charging definition table 13 ″ when cap-based charging is adopted, and FIG. 12B is a graph showing the relationship between the charging amount and unit usage in cap-based charging. As shown in Fig. 12, if the unit quantity, unit price, and maximum charge amount are set, and the free charge, basic charge amount, and minimum charge amount are not set, the unit usage amount is simply increased. Along with this, the billing amount simply increased, and when the billing amount reached the maximum billing amount, the billing amount reached its peak, and the same amount as the maximum billing amount was maintained regardless of the increase in unit usage (cap system). Billing).

図13(a)は、ミニマムチャージ制課金を採用したときの課金定義テーブル13”の例示図であり、図13(b)は、ミニマムチャージ制課金における課金額と単位利用量との関係を示すグラフである。図13に示されるように、単位数量と単価と最低課金額(又は無料相当分と基本課金額)とを設定し、無料相当分及び基本課金額(又は最低課金額),並びに、最高課金額を何れも設定しなかった場合、課金額は、単位利用量の増加に拘わらず、最低課金額に到達するまでその最低課金額と同額の一定を維持し、最低課金額に到達すると、単位利用量の単純増加に伴って単純増加する(ミニマムチャージ制課金)。   FIG. 13A is an exemplary diagram of the charging definition table 13 ″ when the minimum charge system charging is adopted, and FIG. 13B shows the relationship between the charging amount and the unit usage amount in the minimum charge system charging. 13, the unit quantity, unit price and minimum charge amount (or free equivalent amount and basic charge amount) are set, the free equivalent amount and basic charge amount (or minimum charge amount), and If no maximum charge amount is set, the charge amount remains the same as the minimum charge amount until reaching the minimum charge amount regardless of the increase in unit usage, and reaches the minimum charge amount. Then, it simply increases with a simple increase in unit usage (minimum charge system charging).

図14(a)は、ダブル定額制課金を採用したときの課金定義テーブル13”の例示図であり、図14(b)は、ダブル定額制課金における課金額と単位利用量との関係を示すグラフである。図14に示されるように、単位数量と単価と最高課金額と最低課金額(又は無料相当分と基本課金額)とを設定し、無料相当分及び基本課金額(又は最低課金額)を設定しなかった場合、課金額は、単位利用量の増加に拘わらず、最低課金額に到達するまでその最低課金額と同額の一定を維持し、最低課金額に到達すると、単位利用量の単純増加に伴って単純増加し、課金額が最高課金額に到達した段階で、課金額は頭打ちとなり、単位利用量の増加に拘わらず、その最高課金額と同額の一定を維持する(ダブル定額制課金)。   FIG. 14A is an exemplary diagram of a charging definition table 13 ″ when double flat-rate billing is adopted, and FIG. 14B shows the relationship between the billing amount and unit usage in double flat-rate billing. 14, the unit quantity, unit price, maximum charge amount and minimum charge amount (or free equivalent amount and basic charge amount) are set, and the free equivalent amount and basic charge amount (or minimum charge) are set. If the amount is not set, the billing amount will remain the same as the minimum billing amount until the minimum billing amount is reached, regardless of the increase in unit usage. When the billing amount reaches the maximum billing amount, the billing amount reaches a peak when the amount simply increases, and remains constant at the same amount as the maximum billing amount regardless of the increase in unit usage ( Double flat rate billing).

このように、一回の利用について算出される課金額の単位利用量との関係を変更することによって料金プランを変更する場合、課金定義テーブル13に対し、その変更に適合したレコードを追加又は削除して、新たな課金定義テーブル13”を作成することにより、システムを大幅に変更することなく、簡単に、変更後の料金プランで課金額を算出することができるようになる。   As described above, when changing the charge plan by changing the relationship between the charge amount calculated for one use and the unit use amount, a record suitable for the change is added to or deleted from the charge definition table 13. Then, by creating a new billing definition table 13 ″, it is possible to easily calculate the billing amount with the billing plan after the change without significantly changing the system.

ところで、第1の実施形態の利用ログテーブル12は、図2に示されるように、印刷サービスの利用ログを蓄積したものとなっている。この利用ログは、図示せぬ利用ログ保存機能により、当該サービスの利用が発生するごとに、利用ログテーブル12に格納されるものであっても良いが、別のシステム内の印刷ログテーブルに蓄積されていて図示せぬコピー機能により図2の利用ログテーブル12にコピーされたものであっても良い。   By the way, the usage log table 12 of the first embodiment stores the usage log of the printing service as shown in FIG. This usage log may be stored in the usage log table 12 each time usage of the service occurs by a usage log storage function (not shown), but is stored in a print log table in another system. Alternatively, it may be copied to the usage log table 12 of FIG. 2 by a copy function (not shown).

なお、後者の場合、図2の利用ログテーブル12に利用ログをコピーするのと同時に、その別システムに用意されている料金表内の情報を記録した課金定義テーブル13を、この請求書作成装置10に生成せねばならない。   In the latter case, at the same time as copying the usage log to the usage log table 12 of FIG. 10 must be generated.

図15は、別システム内の印刷ログテーブル21の一例を示す図である。   FIG. 15 is a diagram illustrating an example of the print log table 21 in another system.

図15に示される別システムの印刷ログテーブル21の各レコードは、「日付」,「利用者情報」,「大きさ」,「色」,「枚数」のフィールドを、有している。この印刷ログテーブル21のログレコードを、図2の利用ログテーブル12へコピーする際には、「大きさ」フィールドの値が「要素1」フィールドの値となり、「色」フィールドの値が「要素2」フィールドの値となり、「枚数」フィールドの値が「単位利用量」フィールドの値となるよう、処理する必要がある。   Each record of the print log table 21 of another system shown in FIG. 15 has fields of “date”, “user information”, “size”, “color”, and “number of sheets”. When the log record of the print log table 21 is copied to the usage log table 12 of FIG. 2, the value of the “size” field becomes the value of the “element 1” field, and the value of the “color” field becomes “element” It is necessary to perform processing so that the value of the “2” field becomes the value of the “number of sheets” field and the value of the “unit usage” field.

図16は、別システム内の契約管理テーブル22の一例を示す図である。   FIG. 16 is a diagram illustrating an example of the contract management table 22 in another system.

図16に示される別システム内の契約管理テーブル22の各レコードは、「利用者情報」,「コード」,「サービス名」のフィールドを、有している。別システム内において、複数の料金表が用意されており、この契約管理テーブル22では、利用者情報とコード情報とが対応付けられることによって、利用者がどの料金プランで契約しているかが、定義されている。   Each record of the contract management table 22 in another system shown in FIG. 16 has fields of “user information”, “code”, and “service name”. In a separate system, a plurality of fee schedules are prepared, and in this contract management table 22, it is defined by which charge plan the user is contracted by associating user information and code information. Has been.

図17は、別システム内の料金表23の一例を示す図である。   FIG. 17 is a diagram showing an example of the fee table 23 in another system.

図17に示される別システム内の料金表23では、単位数量当たりの単価とその単価で計算される印刷条件とが、対応付けられた状態で定義されている。この料金表23の情報に基づいて図3の課金定義テーブル13を生成する際には、料金表23中の印刷条件に含まれる各要素が、課金定義テーブル13の「要素n」フィールドに格納され、料金表23中の単位数量と単価とが、課金定義テーブル13の「単位数量」及び「単価」フィールドに格納されるよう、処理せねばならない。   In the charge table 23 in another system shown in FIG. 17, the unit price per unit quantity and the printing condition calculated by the unit price are defined in a state of being associated with each other. When generating the charge definition table 13 of FIG. 3 based on the information of the charge table 23, each element included in the print conditions in the charge table 23 is stored in the “element n” field of the charge definition table 13. The unit quantity and the unit price in the fee table 23 must be processed so as to be stored in the “unit quantity” and “unit price” fields of the charge definition table 13.

実施形態2Embodiment 2

図18は、第2の実施形態の利用ログテーブル16のデータ構造の一例を示す図である。また、図19及び図20は、課金定義テーブル17のデータ構造の一例を示す図である。   FIG. 18 is a diagram illustrating an example of a data structure of the usage log table 16 according to the second embodiment. 19 and 20 are diagrams showing an example of the data structure of the charge definition table 17.

図18と図2とを比較し、且つ、図19及び図20と図3とを比較して明らかなように、第2の実施形態の利用ログテーブル16の各レコードは、第1の実施形態のそれと、全く同じフィールドを有し、第2の実施形態の課金定義テーブル17は、第1の実施形態のそれと、全く同じフィールドを有している。第1の実施形態との違いは、利用ログテーブル16に蓄積されている利用ログと、課金定義テーブル17において定義されている単価等とが、通話サービスに係るものである点にある。   18 and FIG. 2 and FIG. 19 and FIG. 20 and FIG. 3 are compared, each record of the usage log table 16 of the second embodiment is the same as that of the first embodiment. The accounting definition table 17 of the second embodiment has exactly the same fields as those of the first embodiment. The difference from the first embodiment is that the usage log stored in the usage log table 16 and the unit price defined in the accounting definition table 17 relate to the call service.

このように、サービスの内容や料金プランの相違に拘わらず、利用ログテーブルのデータ構造と課金定義テーブルのデータ構造とを統一することにより、第1の実施形態でも第2の実施形態でも、図4及び図5で示した課金計算のアルゴリズムを、標準化したものとして、利用することができることになる。   As described above, the data structure of the usage log table and the data structure of the charge definition table are unified in the first embodiment and the second embodiment regardless of the difference in the service contents and the charge plan. 4 and the accounting algorithm shown in FIG. 5 can be used as a standardized algorithm.

ところで、第2の実施形態においても、利用ログは、図示せぬ利用ログ保存機能により、当該サービスの利用が発生するごとに、利用ログテーブル16に格納されるものであって良いが、別のシステム内の通話ログテーブルに蓄積されていて図示せぬコピー機能により図18の利用ログテーブル16にコピーされたものであっても良い。   Incidentally, even in the second embodiment, the usage log may be stored in the usage log table 16 every time the service is used by a usage log storage function (not shown). It may be stored in the call log table in the system and copied to the usage log table 16 of FIG. 18 by a copy function (not shown).

なお、後者の場合、図18の利用ログテーブル16に利用ログをコピーするのと同時に、その別システムに用意されている料金表内の情報を記録した課金定義テーブル17を、この請求書作成装置10に生成せねばならない。   In the latter case, at the same time as copying the usage log to the usage log table 16 of FIG. 10 must be generated.

図21は、別システム内の通話ログテーブル31の一例を示す図である。   FIG. 21 is a diagram showing an example of a call log table 31 in another system.

図21に示される別システムの通話ログテーブル31の各レコードは、「日付」,「発信番号」,「着信番号」,「通話開始時刻」,「通話終了時刻」のフィールドを、有している。この印刷ログテーブル31のログレコードを、図2の利用ログテーブル12へコピーする際には、「発信番号」フィールドの値が「利用者情報」フィールドの値となり、「発信番号」フィールドの値と「着信番号」フィールドの値とから確定される通話先種別(市内、市外の種別)と距離が、「要素1」及び「要素2」フィールドの値となり、「日付」フィールドの値から確定される曜日種別(平日、休日の種別)と時間帯種別(昼間,夜間又は深夜の種別)とが、「要素3」及び「要素4」フィールドの値となり、「通話開始時刻」フィールドの値と「通話終了時刻」フィールドの値とから確定される単位利用量が「単位利用量」フィールドの値となるよう、処理する必要がある。   Each record of the call log table 31 of another system shown in FIG. 21 has fields of “date”, “calling number”, “incoming number”, “call start time”, and “call end time”. . When the log record of the print log table 31 is copied to the usage log table 12 of FIG. 2, the value of the “calling number” field becomes the value of the “user information” field, and the value of the “calling number” field The destination type (city / city type) and distance determined from the value in the “Destination Number” field are the values in the “Element 1” and “Element 2” fields, and are determined from the values in the “Date” field. The type of day of the week (weekday, holiday type) and time zone type (daytime, nighttime, or midnight type) are the values of the “element 3” and “element 4” fields, and the value of the “call start time” field It is necessary to perform processing so that the unit usage determined from the value of the “call end time” field becomes the value of the “unit usage” field.

図22は、別システム内の契約管理テーブル32の一例を示す図である。   FIG. 22 is a diagram showing an example of the contract management table 32 in another system.

図22に示される別システム内の契約管理テーブル32の各レコードは、「契約番号」,「コード」,「サービス名」のフィールドを、有している。別システム内において、複数の料金表が用意されており、この契約管理テーブル32では、契約番号とコード情報とが対応付けられることによって、利用者がどの料金プランで契約しているかが、定義されている。   Each record of the contract management table 32 in another system shown in FIG. 22 has fields of “contract number”, “code”, and “service name”. In the separate system, a plurality of fee schedules are prepared, and in this contract management table 32, it is defined by which contract plan the user is contracted by associating the contract number with the code information. ing.

図23は、別システム内の料金表33の一例を示す図である。   FIG. 23 is a diagram showing an example of the fee table 33 in another system.

図23に示される別システム内の料金表33では、単位数量当たりの単価とその単価が適用される通話条件(通話先種別、距離、曜日種別、時間帯種別)とが、対応付けられた状態で定義されている。この料金表33の情報に基づいて図19及び図20の課金定義テーブル17を生成する際には、料金表33中の通話条件に含まれる各要素が、課金定義テーブル17の「要素n」フィールドに格納され、料金表33中の単位数量と単価とが、課金定義テーブル13の「単位数量」及び「単価」フィールドに格納されるよう、処理せねばならない。   In the charge table 33 in another system shown in FIG. 23, the unit price per unit quantity and the call condition (call destination type, distance, day type, time zone type) to which the unit price is applied are associated with each other. Defined in When generating the charge definition table 17 of FIGS. 19 and 20 based on the information of the charge table 33, each element included in the call condition in the charge table 33 is an “element n” field of the charge definition table 17. And the unit quantity and unit price in the fee table 33 must be processed so as to be stored in the “unit quantity” and “unit price” fields of the charge definition table 13.

実施形態3Embodiment 3

図24は、第3の実施形態の課金定義テーブル41のデータ構造の一例を示す図である。   FIG. 24 is a diagram illustrating an example of a data structure of the charge definition table 41 according to the third embodiment.

図24と図3とを比較して明らかなように、第3の実施形態の課金定義テーブル41の各レコードは、第1の実施形態のそれと、全く同じフィールドを有している。また、図示していないが、第3の実施形態の利用ログテーブルの各レコードは、第1の実施形態のそれと、全く同じフィールドを有している。第1の実施形態との違いは、課金定義テーブル41において定義されている単価等と、図示せぬ利用ログテーブルに蓄積されている利用ログとが、パケット通信サービスに係るものである点にある。   As is clear from comparison between FIG. 24 and FIG. 3, each record of the charge definition table 41 of the third embodiment has exactly the same fields as that of the first embodiment. Although not shown, each record of the usage log table of the third embodiment has exactly the same field as that of the first embodiment. The difference from the first embodiment is that the unit price defined in the charging definition table 41 and the usage log stored in the usage log table (not shown) relate to the packet communication service. .

このように、サービスの内容や料金プランの相違に拘わらず、利用ログテーブルのデータ構造と課金定義テーブルのデータ構造とを統一することにより、第1の実施形態でも第3の実施形態でも、図4及び図5で示した課金計算のアルゴリズムを、標準化したものとして、利用することができることになる。   In this way, the data structure of the usage log table and the data structure of the charge definition table are unified regardless of the content of the service and the charge plan, so that both the first embodiment and the third embodiment 4 and the accounting algorithm shown in FIG. 5 can be used as a standardized algorithm.

実施形態4Embodiment 4

図25は、第4の実施形態の課金定義テーブル42のデータ構造の一例を示す図である。   FIG. 25 is a diagram illustrating an example of a data structure of the charge definition table 42 according to the fourth embodiment.

図25と図3とを比較して明らかなように、第4の実施形態の課金定義テーブル42の各レコードは、第1の実施形態のそれと、全く同じフィールドを有している。また、図示していないが、第4の実施形態の利用ログテーブルの各レコードは、第1の実施形態のそれと、全く同じフィールドを有している。第1の実施形態との違いは、課金定義テーブル42において定義されている単価等と、図示せぬ利用ログテーブルに蓄積されている利用ログとが、小包配送サービスに係るものである点にある。   As is obvious from comparison between FIG. 25 and FIG. 3, each record of the charge definition table 42 of the fourth embodiment has exactly the same fields as that of the first embodiment. Although not shown, each record of the usage log table of the fourth embodiment has exactly the same field as that of the first embodiment. The difference from the first embodiment is that the unit price defined in the charging definition table 42 and the usage log stored in the usage log table (not shown) relate to the parcel delivery service. .

このように、サービスの内容や料金プランの相違に拘わらず、利用ログテーブルのデータ構造と課金定義テーブルのデータ構造とを統一することにより、第1の実施形態でも第4の実施形態でも、図4及び図5で示した課金計算のアルゴリズムを、標準化したものとして、利用することができることになる。   As described above, the data structure of the usage log table and the data structure of the charge definition table are unified regardless of the content of the service or the charge plan, so that both the first embodiment and the fourth embodiment 4 and the accounting algorithm shown in FIG. 5 can be used as a standardized algorithm.

実施形態5Embodiment 5

図26は、第5の実施形態の課金定義テーブル43のデータ構造の一例を示す図である。   FIG. 26 is a diagram illustrating an example of a data structure of the charge definition table 43 according to the fifth embodiment.

図26と図3とを比較して明らかなように、第5の実施形態の課金定義テーブル43の各レコードは、第1の実施形態のそれと、全く同じフィールドを有している。また、図示していないが、第5の実施形態の利用ログテーブルの各レコードは、第1の実施形態のそれと、全く同じフィールドを有している。第1の実施形態との違いは、課金定義テーブル43において定義されている単価等と、図示せぬ利用ログテーブルに蓄積されている利用ログとが、タクシーサービスに係るものである点にある。   As is clear by comparing FIG. 26 and FIG. 3, each record of the accounting definition table 43 of the fifth embodiment has exactly the same fields as that of the first embodiment. Although not shown, each record in the usage log table of the fifth embodiment has exactly the same field as that of the first embodiment. The difference from the first embodiment is that the unit price defined in the charging definition table 43 and the usage log stored in the usage log table (not shown) relate to the taxi service.

このように、サービスの内容や料金プランの相違に拘わらず、利用ログテーブルのデータ構造と課金定義テーブルのデータ構造とを統一することにより、第1の実施形態でも第5の実施形態でも、図4及び図5で示した課金計算のアルゴリズムを、標準化したものとして、利用することができることになる。   As described above, the data structure of the usage log table and the data structure of the charge definition table are unified in the first embodiment and the fifth embodiment regardless of the content of the service and the charge plan. 4 and the accounting algorithm shown in FIG. 5 can be used as a standardized algorithm.

第1の実施形態の請求書作成装置の構成図Configuration diagram of bill creation device of first embodiment 利用ログテーブルのデータ構造の一例を示す図The figure which shows an example of the data structure of a use log table 課金定義テーブルのデータ構造の一例を示す図The figure which shows an example of the data structure of a charge definition table 課金額算出モジュールによる処理の流れを示す図The figure which shows the flow of processing by the billing amount calculation module 課金額算出モジュールによる処理の流れを示す図The figure which shows the flow of processing by the billing amount calculation module 図3の課金定義テーブルの内容を一部変更した例を示す図The figure which shows the example which changed the content of the charge definition table of FIG. 3 partially 定額制課金を採用したときの(a)課金定義テーブルの例示図と(b)課金額と単位利用量との関係を示すグラフ(A) Illustration of charge definition table and (b) Graph showing relationship between charge amount and unit usage when flat-rate charge is adopted 単純な従量制課金を採用したときの(a)課金定義テーブルの例示図と(b)課金額と単位利用量との関係を示すグラフ(A) Illustrative diagram of billing definition table and (b) Graph showing relationship between billing amount and unit usage when simple metered billing is adopted 基本課金額付きの従量制課金を採用したときの(a)課金定義テーブルの例示図と(b)課金額と単位利用量との関係を示すグラフ(A) Illustrative diagram of billing definition table when adopting pay-as-you-go billing with basic billing amount, and (b) graph showing the relationship between billing amount and unit usage 値引き特典付きの従量制課金を採用したときの(a)課金定義テーブルの例示図と(b)課金額と単位利用量との関係を示すグラフ(A) Illustrative diagram of billing definition table when pay-as-you-go billing with discount benefits is adopted, and (b) Graph showing the relationship between billing amount and unit usage ステップ型の従量制課金を採用したときの(a)課金定義テーブルの例示図と(b)課金額と単位利用量との関係を示すグラフ(A) Illustrative diagram of billing definition table and (b) Graph showing relationship between billing amount and unit usage when step type pay-as-you-go billing is adopted キャップ制課金を採用したときの(a)課金定義テーブルの例示図と(b)課金額と単位利用量との関係を示すグラフ(A) Illustration of charge definition table and (b) graph showing the relationship between charge amount and unit usage when cap-based charge is adopted ミニマムチャージ制課金を採用したときの(a)課金定義テーブルの例示図と(b)課金額と単位利用量との関係を示すグラフ(A) Illustrative diagram of billing definition table and (b) Graph showing relationship between billing amount and unit usage amount when minimum charge system billing is adopted ダブル定額制課金を採用したときの(a)課金定義テーブルの例示図と(b)課金額と単位利用量との関係を示すグラフ(A) Illustrative diagram of billing definition table and (b) Graph showing relationship between billing amount and unit usage when double flat rate billing is adopted 別システム内の印刷ログテーブルの一例を示す図The figure which shows an example of the print log table in another system 別システム内の契約管理テーブルの一例を示す図The figure which shows an example of the contract management table in another system 別システム内の料金表の一例を示す図A diagram showing an example of a price list in another system 第2の実施形態の利用ログテーブルのデータ構造の一例を示す図The figure which shows an example of the data structure of the utilization log table of 2nd Embodiment 課金定義テーブルのデータ構造の一例を示す図The figure which shows an example of the data structure of a charge definition table 課金定義テーブルのデータ構造の一例を示す図The figure which shows an example of the data structure of a charge definition table 別システム内の通話ログテーブルの一例を示す図The figure which shows an example of the call log table in another system 別システム内の契約管理テーブルの一例を示す図The figure which shows an example of the contract management table in another system 別システム内の料金表の一例を示す図A diagram showing an example of a price list in another system 第3の実施形態の課金定義テーブルのデータ構造の一例を示す図The figure which shows an example of the data structure of the charge definition table of 3rd Embodiment 第4の実施形態の課金定義テーブルのデータ構造の一例を示す図The figure which shows an example of the data structure of the charge definition table of 4th Embodiment 第5の実施形態の課金定義テーブルのデータ構造の一例を示す図The figure which shows an example of the data structure of the charge definition table of 5th Embodiment

符号の説明Explanation of symbols

10 請求書作成装置
10d CPU
10g HDD
12 利用ログテーブル
13 課金定義テーブル
14 料金定義テーブル
15 請求書作成ソフトウエア
15a 課金額算出モジュール

10 Invoice creation device 10d CPU
10g HDD
12 Usage Log Table 13 Charge Definition Table 14 Charge Definition Table 15 Billing Software 15a Charge Calculation Module

Claims (6)

コンピュータが、
所定のサービスの一回の利用についての単価を決定するために必要な要素の内容が互いに異なる全ての組み合わせのそれぞれについて、その組み合わせとそれに対応する単位量当たりの単価とを対応付けた対応情報を記憶装置に記憶する単価定義手順,
所定のサービスの毎回の利用のそれぞれについて、その回の利用量と、その利用量に乗ずるべき単価を決定するために必要な幾つかの要素の内容とを対応付けて利用ログ情報として記憶装置に記憶するログ蓄積手順,
前記ログ蓄積手順において記憶装置に記録されている利用ログ情報のそれぞれについて、その利用ログ情報と要素の内容の組み合わせが一致する対応情報を、前記記憶装置から読み出す単価読出手順,
前記単価読出手順において対応情報が読み出されると、その利用ログ情報に含まれる利用量を単位量で除して得られる商に当該対応情報内の単価を乗じて、その利用ログ情報により示される一回の利用についての課金額を算出する課金額算出手順,及び、
前記課金額算出手順において課金額が算出されると、その課金額を、利用ログ情報に対応付けて記憶装置に記憶する課金額保存手順
を実行する
ことを特徴とする課金額算出方法。
Computer
Correspondence information that associates the combination with the unit price per unit amount for each combination of elements that are different from each other in the content of elements required to determine the unit price for a single use of a given service Unit price definition procedure stored in the storage device,
For each use of a predetermined service, the usage amount and the contents of some elements necessary for determining the unit price to be multiplied by the usage amount are associated with the usage log information in the storage device. Log accumulation procedure to be stored,
A unit price reading procedure for reading from the storage device correspondence information that matches the combination of the usage log information and the element content for each of the usage log information recorded in the storage device in the log accumulation procedure;
When the correspondence information is read in the unit price reading procedure, the quotient obtained by dividing the usage amount included in the usage log information by the unit amount is multiplied by the unit price in the correspondence information, and is indicated by the usage log information. A charge amount calculation procedure for calculating a charge amount for each use, and
When the charge amount is calculated in the charge amount calculation procedure, a charge amount storing procedure is executed in which the charge amount is stored in the storage device in association with the usage log information.
前記コンピュータは、
前記単価定義手順では、所定のサービスの一回の利用についての単価を決定するために必要な要素の内容が互いに異なる全ての組み合わせのそれぞれについて、その組み合わせとそれに対応する単位量当たりの単価とその単価から算出される課金額に加算される基本課金額とを対応付けた対応情報を記憶装置に記憶し、
前記課金額算出手順では、前記利用ログ情報に含まれる利用量を単位量で除して得られる商に、前記単価読出手順において読み出された対応情報内の単価を乗じて、その利用ログ情報により示される一回の利用についての課金額を算出し、更に、その課金額に、当該対応情報内の基本課金額を加算する
ことを特徴とする請求項1記載の課金額算出方法。
The computer
In the unit price definition procedure, for each of all combinations in which the contents of elements necessary for determining a unit price for one use of a predetermined service are different from each other, the combination, the unit price per unit amount, and the unit price Correspondence information that associates the basic charge added to the charge calculated from the unit price is stored in the storage device,
In the accounting amount calculation procedure, the usage log information is obtained by multiplying the quotient obtained by dividing the usage amount included in the usage log information by the unit amount by the unit price in the correspondence information read in the unit price reading procedure. 2. The billing amount calculation method according to claim 1, further comprising: calculating a billing amount for one use indicated by the step, and further adding a basic billing amount in the corresponding information to the billing amount.
前記コンピュータは、
前記単価定義手順では、所定のサービスの一回の利用についての単価を決定するために必要な要素の内容が互いに異なる全ての組み合わせのそれぞれについて、その組み合わせとそれに対応する単位量当たりの単価とその単価が乗ぜられる前に単位量で除せられる利用量から減算される削減量とを対応付けた対応情報を記憶装置に記憶し、
前記課金額算出手順では、前記利用ログ情報に含まれる利用量から、前記単価読出手順において読み出された対応情報内の削減量を減算し、その減算により得られる値を単位量で除して得られる商に、当該対応情報内の単価を乗じて、その利用ログ情報により示される一回の利用についての課金額を算出する
ことを特徴とする請求項1記載の課金額算出方法。
The computer
In the unit price definition procedure, for each of all combinations in which the contents of elements necessary for determining a unit price for one use of a predetermined service are different from each other, the combination, the unit price per unit amount, and the unit price Storing correspondence information in association with the reduction amount subtracted from the usage amount divided by the unit amount before the unit price is multiplied;
In the accounting amount calculation procedure, the reduction amount in the correspondence information read in the unit price reading procedure is subtracted from the usage amount included in the usage log information, and the value obtained by the subtraction is divided by the unit amount. 2. The charge amount calculation method according to claim 1, wherein the charge amount for one use indicated by the use log information is calculated by multiplying the obtained quotient by the unit price in the correspondence information.
前記コンピュータは、
前記単価定義手順では、所定のサービスの一回の利用についての単価を決定するために必要な要素の内容が互いに異なる全ての組み合わせのそれぞれについて、その組み合わせとそれに対応する単位量当たりの単価とその単価から算出される課金額の上限値とを対応付けた対応情報を記憶装置に記憶し、
前記課金額算出手順では、前記利用ログ情報に含まれる利用量を単位量で除して得られる商に、前記単価読出手順において読み出された対応情報内の単価を乗じて、その利用ログ情報により示される一回の利用についての課金額を算出し、更に、その課金額が当該対応情報内の上限値を超えている場合には、その上限値を課金額とする
ことを特徴とする請求項1記載の課金額算出方法。
The computer
In the unit price definition procedure, for each of all combinations in which the contents of elements necessary for determining a unit price for one use of a predetermined service are different from each other, the combination, the unit price per unit amount, and the unit price Storing correspondence information in association with the upper limit value of the charge amount calculated from the unit price in the storage device;
In the accounting amount calculation procedure, the usage log information is obtained by multiplying the quotient obtained by dividing the usage amount included in the usage log information by the unit amount by the unit price in the correspondence information read in the unit price reading procedure. A charge amount for one use indicated by is calculated, and if the charge amount exceeds an upper limit value in the corresponding information, the upper limit value is set as the charge amount. Item 2. A billing amount calculation method according to item 1.
前記コンピュータは、
前記単価定義手順では、所定のサービスの一回の利用についての単価を決定するために必要な要素の内容が互いに異なる全ての組み合わせのそれぞれについて、その組み合わせとそれに対応する単位量当たりの単価とその単価から算出される課金額の下限値とを対応付けた対応情報を記憶装置に記憶し、
前記課金額算出手順では、前記利用ログ情報に含まれる利用量を単位量で除して得られる商に、前記単価読出手順において読み出された対応情報内の単価を乗じて、その利用ログ情報により示される一回の利用についての課金額を算出し、更に、その課金額が当該対応情報内の下限値を超えていない場合には、その下限値を課金額とする
ことを特徴とする請求項1記載の課金額算出方法。
The computer
In the unit price definition procedure, for each of all combinations in which the contents of elements necessary for determining a unit price for one use of a predetermined service are different from each other, the combination, the unit price per unit amount, and the unit price Storing correspondence information in association with the lower limit value of the billing amount calculated from the unit price in the storage device;
In the accounting amount calculation procedure, the usage log information is obtained by multiplying the quotient obtained by dividing the usage amount included in the usage log information by the unit amount by the unit price in the correspondence information read in the unit price reading procedure. A charge amount for one use indicated by is calculated, and if the charge amount does not exceed a lower limit value in the corresponding information, the lower limit value is set as the charge amount. Item 2. A billing amount calculation method according to item 1.
コンピュータを、
所定のサービスの一回の利用についての単価を決定するために必要な要素の内容が互いに異なる全ての組み合わせのそれぞれについて、その組み合わせとそれに対応する単位量当たりの単価とを対応付けた対応情報を記憶装置に記憶する単価定義手段,
所定のサービスの毎回の利用のそれぞれについて、その回の利用量と、その利用量に乗ずるべき単価を決定するために必要な幾つかの要素の内容とを対応付けて利用ログ情報として記憶装置に記憶するログ蓄積手段,
前記ログ蓄積手段が記憶装置に記録している利用ログ情報のそれぞれについて、その利用ログ情報と要素の内容の組み合わせが一致する対応情報を、前記記憶装置から読み出す単価読出手段,
前記単価読出手段が対応情報を読み出すと、その利用ログ情報に含まれる利用量を単位量で除して得られる商に、当該対応情報内の単価を乗じて、その利用ログ情報により示される一回の利用についての課金額を算出する課金額算出手段,及び、
前記課金額算出手段が課金額を算出すると、その課金額を、利用ログ情報に対応付けて記憶装置に記憶する課金額保存手段
として機能させる
ことを特徴とする課金額算出プログラム。
Computer
Correspondence information that associates the combination with the unit price per unit amount for each combination of elements that are different from each other in the content of elements required to determine the unit price for a single use of a given service Unit price definition means for storing in a storage device;
For each use of a predetermined service, the usage amount and the contents of some elements necessary for determining the unit price to be multiplied by the usage amount are associated with the usage log information in the storage device. Log storage means to store,
Unit price reading means for reading, from the storage device, correspondence information in which the combination of the usage log information and the content of the elements matches for each of the usage log information recorded in the storage device by the log storage means,
When the unit price reading means reads the correspondence information, the quotient obtained by dividing the usage amount included in the usage log information by the unit amount is multiplied by the unit price in the correspondence information, and is indicated by the usage log information. A billing amount calculating means for calculating a billing amount for each use, and
A billing amount calculation program that, when the billing amount calculation means calculates a billing amount, causes the billing amount to function as billing amount storage means that stores the billing amount in association with usage log information.
JP2005378227A 2005-12-28 2005-12-28 Method and program for calculating bill Pending JP2007179383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005378227A JP2007179383A (en) 2005-12-28 2005-12-28 Method and program for calculating bill

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005378227A JP2007179383A (en) 2005-12-28 2005-12-28 Method and program for calculating bill

Publications (1)

Publication Number Publication Date
JP2007179383A true JP2007179383A (en) 2007-07-12

Family

ID=38304490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005378227A Pending JP2007179383A (en) 2005-12-28 2005-12-28 Method and program for calculating bill

Country Status (1)

Country Link
JP (1) JP2007179383A (en)

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011041341A2 (en) * 2009-09-29 2011-04-07 Boku, Inc. Systems and methods to facilitate online transactions
US8041639B2 (en) 2009-01-23 2011-10-18 Vidicom Limited Systems and methods to facilitate online transactions
US8160943B2 (en) 2009-03-27 2012-04-17 Boku, Inc. Systems and methods to process transactions based on social networking
US8219542B2 (en) 2010-03-25 2012-07-10 Boku, Inc. Systems and methods to provide access control via mobile phones
US8224727B2 (en) 2009-05-27 2012-07-17 Boku, Inc. Systems and methods to process transactions based on social networking
US8224709B2 (en) 2009-10-01 2012-07-17 Boku, Inc. Systems and methods for pre-defined purchases on a mobile communication device
JP2012203556A (en) * 2011-03-24 2012-10-22 Hitachi Ltd Member charging management system, member charging management method and member charging management program
US8326261B2 (en) 2008-05-23 2012-12-04 Boku, Inc. Supplier funds reception electronically
US8355987B2 (en) 2010-05-06 2013-01-15 Boku, Inc. Systems and methods to manage information
US8359005B2 (en) 2009-04-20 2013-01-22 Boku, Inc. Systems and methods to process transaction requests
US8412155B2 (en) 2010-12-20 2013-04-02 Boku, Inc. Systems and methods to accelerate transactions based on predictions
US8412626B2 (en) 2009-12-10 2013-04-02 Boku, Inc. Systems and methods to secure transactions via mobile devices
US8543087B2 (en) 2011-04-26 2013-09-24 Boku, Inc. Systems and methods to facilitate repeated purchases
US8548426B2 (en) 2009-02-20 2013-10-01 Boku, Inc. Systems and methods to approve electronic payments
US8566188B2 (en) 2010-01-13 2013-10-22 Boku, Inc. Systems and methods to route messages to facilitate online transactions
US8583496B2 (en) 2010-12-29 2013-11-12 Boku, Inc. Systems and methods to process payments via account identifiers and phone numbers
US8583504B2 (en) 2010-03-29 2013-11-12 Boku, Inc. Systems and methods to provide offers on mobile devices
US8589290B2 (en) 2010-08-11 2013-11-19 Boku, Inc. Systems and methods to identify carrier information for transmission of billing messages
US8660911B2 (en) 2009-09-23 2014-02-25 Boku, Inc. Systems and methods to facilitate online transactions
US8700524B2 (en) 2011-01-04 2014-04-15 Boku, Inc. Systems and methods to restrict payment transactions
US8700530B2 (en) 2009-03-10 2014-04-15 Boku, Inc. Systems and methods to process user initiated transactions
US8699994B2 (en) 2010-12-16 2014-04-15 Boku, Inc. Systems and methods to selectively authenticate via mobile communications
US8768778B2 (en) 2007-06-29 2014-07-01 Boku, Inc. Effecting an electronic payment
US9191217B2 (en) 2011-04-28 2015-11-17 Boku, Inc. Systems and methods to process donations
US9449313B2 (en) 2008-05-23 2016-09-20 Boku, Inc. Customer to supplier funds transfer
US9519892B2 (en) 2009-08-04 2016-12-13 Boku, Inc. Systems and methods to accelerate transactions
US9595028B2 (en) 2009-06-08 2017-03-14 Boku, Inc. Systems and methods to add funds to an account via a mobile communication device
US9652761B2 (en) 2009-01-23 2017-05-16 Boku, Inc. Systems and methods to facilitate electronic payments
US9697510B2 (en) 2009-07-23 2017-07-04 Boku, Inc. Systems and methods to facilitate retail transactions
US9830622B1 (en) 2011-04-28 2017-11-28 Boku, Inc. Systems and methods to process donations
US9990623B2 (en) 2009-03-02 2018-06-05 Boku, Inc. Systems and methods to provide information
JP2022035847A (en) * 2020-08-21 2022-03-04 出光興産株式会社 Sharing management method, server, sharing system, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001217960A (en) * 2000-02-02 2001-08-10 Funai Electric Co Ltd Communication terminal with function for displaying charge by speech plan
JP2003134111A (en) * 2001-10-26 2003-05-09 Nec Corp System, method and program for rule-based rating

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001217960A (en) * 2000-02-02 2001-08-10 Funai Electric Co Ltd Communication terminal with function for displaying charge by speech plan
JP2003134111A (en) * 2001-10-26 2003-05-09 Nec Corp System, method and program for rule-based rating

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8768778B2 (en) 2007-06-29 2014-07-01 Boku, Inc. Effecting an electronic payment
US8326261B2 (en) 2008-05-23 2012-12-04 Boku, Inc. Supplier funds reception electronically
US9449313B2 (en) 2008-05-23 2016-09-20 Boku, Inc. Customer to supplier funds transfer
US8041639B2 (en) 2009-01-23 2011-10-18 Vidicom Limited Systems and methods to facilitate online transactions
US9652761B2 (en) 2009-01-23 2017-05-16 Boku, Inc. Systems and methods to facilitate electronic payments
US8548426B2 (en) 2009-02-20 2013-10-01 Boku, Inc. Systems and methods to approve electronic payments
US9990623B2 (en) 2009-03-02 2018-06-05 Boku, Inc. Systems and methods to provide information
US8700530B2 (en) 2009-03-10 2014-04-15 Boku, Inc. Systems and methods to process user initiated transactions
US8160943B2 (en) 2009-03-27 2012-04-17 Boku, Inc. Systems and methods to process transactions based on social networking
US8359005B2 (en) 2009-04-20 2013-01-22 Boku, Inc. Systems and methods to process transaction requests
US8386353B2 (en) 2009-05-27 2013-02-26 Boku, Inc. Systems and methods to process transactions based on social networking
US8224727B2 (en) 2009-05-27 2012-07-17 Boku, Inc. Systems and methods to process transactions based on social networking
US9595028B2 (en) 2009-06-08 2017-03-14 Boku, Inc. Systems and methods to add funds to an account via a mobile communication device
US9697510B2 (en) 2009-07-23 2017-07-04 Boku, Inc. Systems and methods to facilitate retail transactions
US9519892B2 (en) 2009-08-04 2016-12-13 Boku, Inc. Systems and methods to accelerate transactions
US9135616B2 (en) 2009-09-23 2015-09-15 Boku, Inc. Systems and methods to facilitate online transactions
US8660911B2 (en) 2009-09-23 2014-02-25 Boku, Inc. Systems and methods to facilitate online transactions
WO2011041341A2 (en) * 2009-09-29 2011-04-07 Boku, Inc. Systems and methods to facilitate online transactions
WO2011041341A3 (en) * 2009-09-29 2011-06-16 Boku, Inc. Systems and methods to facilitate online transactions
US8224709B2 (en) 2009-10-01 2012-07-17 Boku, Inc. Systems and methods for pre-defined purchases on a mobile communication device
US8392274B2 (en) 2009-10-01 2013-03-05 Boku, Inc. Systems and methods for purchases on a mobile communication device
US8412626B2 (en) 2009-12-10 2013-04-02 Boku, Inc. Systems and methods to secure transactions via mobile devices
US8566188B2 (en) 2010-01-13 2013-10-22 Boku, Inc. Systems and methods to route messages to facilitate online transactions
US8478734B2 (en) 2010-03-25 2013-07-02 Boku, Inc. Systems and methods to provide access control via mobile phones
US8219542B2 (en) 2010-03-25 2012-07-10 Boku, Inc. Systems and methods to provide access control via mobile phones
US8583504B2 (en) 2010-03-29 2013-11-12 Boku, Inc. Systems and methods to provide offers on mobile devices
US8355987B2 (en) 2010-05-06 2013-01-15 Boku, Inc. Systems and methods to manage information
US8589290B2 (en) 2010-08-11 2013-11-19 Boku, Inc. Systems and methods to identify carrier information for transmission of billing messages
US8699994B2 (en) 2010-12-16 2014-04-15 Boku, Inc. Systems and methods to selectively authenticate via mobile communications
US8958772B2 (en) 2010-12-16 2015-02-17 Boku, Inc. Systems and methods to selectively authenticate via mobile communications
US8412155B2 (en) 2010-12-20 2013-04-02 Boku, Inc. Systems and methods to accelerate transactions based on predictions
US8583496B2 (en) 2010-12-29 2013-11-12 Boku, Inc. Systems and methods to process payments via account identifiers and phone numbers
US8700524B2 (en) 2011-01-04 2014-04-15 Boku, Inc. Systems and methods to restrict payment transactions
JP2012203556A (en) * 2011-03-24 2012-10-22 Hitachi Ltd Member charging management system, member charging management method and member charging management program
US9202211B2 (en) 2011-04-26 2015-12-01 Boku, Inc. Systems and methods to facilitate repeated purchases
US8774757B2 (en) 2011-04-26 2014-07-08 Boku, Inc. Systems and methods to facilitate repeated purchases
US8543087B2 (en) 2011-04-26 2013-09-24 Boku, Inc. Systems and methods to facilitate repeated purchases
US8774758B2 (en) 2011-04-26 2014-07-08 Boku, Inc. Systems and methods to facilitate repeated purchases
US9191217B2 (en) 2011-04-28 2015-11-17 Boku, Inc. Systems and methods to process donations
US9830622B1 (en) 2011-04-28 2017-11-28 Boku, Inc. Systems and methods to process donations
JP2022035847A (en) * 2020-08-21 2022-03-04 出光興産株式会社 Sharing management method, server, sharing system, and program

Similar Documents

Publication Publication Date Title
JP2007179383A (en) Method and program for calculating bill
JP5021661B2 (en) Custom user definable keyword bidding system and method
RU2456668C2 (en) Calculation of measured payment for use
US9159100B2 (en) System and method for dynamically managing business machine assets
US8332266B2 (en) System and method for managing business machine assets
JP5032699B1 (en) Overtime wage calculation program and overtime wage calculation system
AU2008202825A1 (en) Method and system for suggesting an edition of product software
CN104883475B (en) Image processing apparatus and image processing method
CN114187061B (en) System and method for dynamic scheduling of data processing
US20110191221A1 (en) Approval and payment portal
EP2260407A2 (en) System and method for using lifecycle telecommunications expense management (tem) data to predict the outcome of changes to telecommunications infrastruture
AU2012346010B2 (en) Configurable billing with subscriptions having conditional components
JP2003030397A (en) Enterprise information managing device and program
JP2020166772A (en) Information processing device and program
JP5416730B2 (en) Member billing management system, member billing management method, and member billing management program
JP2013134769A (en) Overtime work wage simulation program and overtime work wage simulation system
JP7243154B2 (en) Provision device and processing system
CN111429243A (en) Bill generation method and device, electronic equipment and storage medium
JP2010055586A (en) Charging management method, terminal device, server device, client/server system, charging management program and storage medium
JP2007257145A (en) System, program, and recording medium for household budget management
JP6511749B2 (en) INFORMATION PROCESSING APPARATUS AND INFORMATION PROCESSING PROGRAM
JP2004227297A (en) Content providing server, content providing management system, and program
JP7384706B2 (en) Excess amount reflection device, excess amount reflection method, and excess amount reflection program
JP3570233B2 (en) Recording medium recording fee management method and fee management program
JP2002133315A (en) Information provision system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081219

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20081219

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20101104

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20101104

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110510