JP2010020507A - Charge calculation system - Google Patents

Charge calculation system Download PDF

Info

Publication number
JP2010020507A
JP2010020507A JP2008179748A JP2008179748A JP2010020507A JP 2010020507 A JP2010020507 A JP 2010020507A JP 2008179748 A JP2008179748 A JP 2008179748A JP 2008179748 A JP2008179748 A JP 2008179748A JP 2010020507 A JP2010020507 A JP 2010020507A
Authority
JP
Japan
Prior art keywords
charge calculation
charge
calculation system
package
calculation
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.)
Granted
Application number
JP2008179748A
Other languages
Japanese (ja)
Other versions
JP5058902B2 (en
Inventor
Ryuta Chiba
竜太 千葉
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008179748A priority Critical patent/JP5058902B2/en
Publication of JP2010020507A publication Critical patent/JP2010020507A/en
Application granted granted Critical
Publication of JP5058902B2 publication Critical patent/JP5058902B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a charge calculation system allowing rapid coping with addition or a change of a charge plan, and allowing easy coping with another company in the same trade or another business category, too. <P>SOLUTION: This charge calculation system has a package development company side charge calculation system 7 and a use enterprise side charge calculation system 8 of a package use enterprise. The package development company side charge calculation system 7 integrates and manages charge calculation logic in a plurality of package use enterprises, and creates a charge calculation table 4 wherein demanded money amounts are associated to a plurality of pieces of input information based on the charge calculation logic. The use enterprise side charge calculation system 8 manages the charge calculation table 4 created by the package development company side charge calculation system 7 as a secondary table, performs charge calculation based on a retrieving table wherein partial data are extracted from the secondary table and the plurality of pieces of the input information, and decides the demanded money amount. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、ガス、電力会社等における需要者への請求料金を確定する料金計算システムに関し、特に、その計算処理の効率化に関するものである。   The present invention relates to a charge calculation system for determining a charge charged to a consumer in a gas, an electric power company or the like, and more particularly to improving the efficiency of the calculation process.

従来、電力、ガス会社等において需要者に請求する料金を計算するシステムにおいては、料金プラン毎に個別のプログラムを作成する形態か、例えば、特開2001−94688号公報(特許文献1)に記載の「請求書作成方法及びその実施装置並びにその処理プログラムを記録した記録媒体」や、特開2005−241318号公報(特許文献2)に記載の「テーブルドリブン方式による託送料金管理システム」などに記載されている各種関数の組み合わせで料金計算の結果を算出するテーブルドリブンの形態があった。   2. Description of the Related Art Conventionally, in a system for calculating a charge charged to a consumer in an electric power, gas company, or the like, an individual program is created for each charge plan, for example, described in Japanese Patent Application Laid-Open No. 2001-94688 (Patent Document 1) "Invoice creation method and its implementation apparatus and recording medium on which the processing program is recorded", "Contract fee management system by table driven system" described in Japanese Patent Application Laid-Open No. 2005-241318 (Patent Document 2), etc. There was a table-driven form in which the result of charge calculation was calculated with a combination of various functions.

また、電力、ガス会社等の分野ではないが、テーブルを使用して料金計算を行う技術としては、料金の計算を行う際に予めテーブルを準備して料金計算を行う、特開平11−39385号公報(特許文献3)に記載の「送料金額の計算方法及び送料金額の計算プログラムを記録した媒体」があった。
特開2001−94688号公報 特開2005−241318号公報 特開平11−39385号公報
Further, although not in the field of electric power, gas companies, etc., as a technology for calculating charges using a table, Japanese Patent Application Laid-Open No. 11-39385 discloses that a table is prepared in advance when calculating charges. There has been a “medium for recording a method for calculating a shipping amount and a calculation program for a shipping amount” described in the publication (Patent Document 3).
JP 2001-94688 A JP-A-2005-241318 Japanese Patent Laid-Open No. 11-39385

現在、規制緩和によるガス、電力の小売自由化により、同業他社との競争を勝ち抜くために、各企業で多様化した料金メニューが設定され、需要者に対して迅速に料金メニューを提供する必要がでてきている。その為、料金計算システムとしては迅速な料金プランの追加・変更に対応することが必要になっている。   Currently, in order to win the competition with other companies in the same industry due to the liberalization of gas and electricity retail due to deregulation, diversified fee menus have been set up by each company, and it is necessary to provide them quickly with consumers. Is coming out. For this reason, it is necessary for the charge calculation system to cope with quick addition / change of charge plans.

このような背景の中で、1つ目の課題としては、現在のガス、電力会社のパッケージシステムにおいては、各パッケージ利用企業側で料金計算ロジックに従って入力情報を取込む引数取込、基本料金を確定する基本料金算出、従量料金を確定する従量料金算出等の処理を料金計算処理のタイミングで毎回、需給者毎に実施している。   Against this backdrop, the first issue is that in the current gas and power company package systems, each package user company takes input arguments according to the charge calculation logic, and sets basic charges. Processing such as basic fee calculation to be confirmed and metered fee calculation to determine a metered fee is performed every time at the timing of the fee calculation processing, and for each supplier and demander.

その為、料金計算処理において無駄な処理を行っており、料金計算処理に多くの時間を費やしている。しかし、ガス料金、電気料金の料金プランについては毎回料金計算ロジックに従って処理を行う必要がなく、入力となる使用量等の情報が決まれば、請求金額が算出されるのが一般的である。   Therefore, useless processing is performed in the fee calculation processing, and a lot of time is spent in the fee calculation processing. However, it is not necessary to perform processing according to the charge calculation logic each time for the charge plan of the gas charge and the electricity charge, and the charge amount is generally calculated when information such as the usage amount to be input is determined.

また、同業種内で提供している料金プランについては、個別に設定している大口契約の料金プランを除き、大半は計算式が同じであり、単価の設定が異なるという形が一般的である。その為、従来の技術では、同じような料金計算ロジックをパッケージ利用企業毎に管理しており、同じような料金計算ロジックが散在している状況である。その様な状態で、料金計算ロジックに対して修正があった場合にパッケージ利用企業毎に対応を行う必要があり、料金プランの追加/変更に迅速に対応できていなかった。   In addition, most of the rate plans offered within the same industry are the same, with the exception of the large-scale contract rate plans that are set individually, and the unit price settings are generally different. . Therefore, in the conventional technology, similar charge calculation logic is managed for each package using company, and similar charge calculation logic is scattered. In such a state, when the charge calculation logic is modified, it is necessary to deal with each package using company, and it has not been possible to quickly respond to the addition / change of the charge plan.

2つ目の課題としては、特許文献3に記載のように予めテーブルデータを準備して料金計算の金額を確定させるという技術は存在するが、送料の計算といった簡易な計算であり、注文数という限られた幅の中で変動する1つの可変情報から金額が決まるものや、ある区切りで金額が変更されるような条件下のみで有効な技術であった。   As a second problem, there is a technique of preparing table data in advance and determining the amount of charge calculation as described in Patent Document 3, but it is a simple calculation such as calculation of shipping cost, which is called the number of orders. This technique is effective only when the amount of money is determined from one variable information that fluctuates within a limited range, or when the amount of money is changed at certain intervals.

しかし、ガス料金等の様に複数の可変情報によって金額が決まるものや、段階的に金額が決まるわけではなく、入力値の1つ1つの組み合わせによって金額が異なっているものについては従来の技術ではテーブルに定義するレコード数が膨大となってしまい、予めテーブルを用意してもレスポンスの向上はできないという課題が存在していた。   However, the amount of money determined by multiple variable information, such as gas charges, and the amount of money is not determined step by step. The number of records defined in the table becomes enormous, and there is a problem that the response cannot be improved even if the table is prepared in advance.

3つ目の課題としては、特許文献1、2に記載のように、個別にプログラムを作成する形態、テーブルドリブンの形態ではガス会社、電力会社の営業部門にてプログラム作成、テーブル定義を行い、新しい料金メニューの追加・変更を行う必要があり、このような対応を行うには開発期間が必要となり迅速な対応ができない点や、その開発期間に比例してコストも増大してしまうという課題があった。   As the third problem, as described in Patent Documents 1 and 2, in the form of creating a program individually, in the table-driven form, the program creation and table definition are performed in the sales department of the gas company and the power company, It is necessary to add / change a new fee menu, and in order to perform such a response, there is a problem that a development period is required and it is impossible to respond quickly, and the cost increases in proportion to the development period. there were.

また、テーブルドリブンの形態については、テーブル定義を行うにあたり、企業側において、専門的な技術を必要とする課題も存在し、さらに、料金計算システムのパッケージ化を行う場合に各ガス、電力会社毎に料金プランの計算ロジックを保持してしまうため、パッケージ開発会社側では、各利用企業側の料金計算ロジックの内容が把握できず、料金プランの追加・変更を行う場合に、パッケージ開発会社では迅速な対応ができないという課題や、パッケージ適用会社毎に対応者を割り当てる必要がでてきてしまい人材不足に陥るという課題が存在していた。   As for the table-driven form, there are issues that require specialized technology on the part of the company when defining the table. Further, when packaging the charge calculation system, each gas and electric power company The package development company cannot grasp the details of the charge calculation logic of each user company, and the package development company is quick when adding or changing a charge plan. There is a problem that it is not possible to cope with the situation, and there is a problem that it is necessary to assign a responder for each package application company, resulting in a shortage of human resources.

そこで、本発明の目的は、料金プランの追加・変更に対して迅速に対応することができ、同業他社や、他業種へも容易に対応することができる料金計算システムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a fee calculation system that can quickly respond to the addition / change of a fee plan and can easily cope with other companies in the same industry and other industries.

本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、次のとおりである。   Of the inventions disclosed in the present application, the outline of typical ones will be briefly described as follows.

すなわち、代表的なものの概要は、利用企業側料金計算システムが、パッケージ開発会社側料金計算システムで作成された料金計算テーブルをセカンダリテーブルとして管理し、セカンダリテーブルから一部のデータを抽出した検索用テーブルおよび複数の入力情報に基づいて、料金計算を行い、請求金額を確定するものである。   In other words, the outline of a typical one is for a search in which the user company's charge calculation system manages the charge calculation table created by the package development company's charge calculation system as a secondary table and extracts some data from the secondary table. Based on the table and a plurality of input information, charge calculation is performed to determine the billing amount.

本願において開示される発明のうち、代表的なものによって得られる効果を簡単に説明すれば以下のとおりである。   Among the inventions disclosed in the present application, effects obtained by typical ones will be briefly described as follows.

すなわち、代表的なものによって得られる効果は、料金計算システムを使用するガス、電力会社等の企業においては、料金プランの追加・変更に対して迅速に対応することができ、料金計算の処理時間を短縮することができる。   In other words, the effect obtained by the typical one is that companies such as gas and electric power companies that use the charge calculation system can quickly respond to the addition or change of the charge plan, and the charge calculation processing time. Can be shortened.

また、料金計算システムを開発/提供する企業においては、料金計算テーブルの作成機能を集約していることから、同業他社や他業種への料金計算システムの提供に対して迅速に対応することができる。   In addition, companies that develop / provide charge calculation systems have integrated charge calculation table creation functions, so they can quickly respond to the provision of charge calculation systems to other companies in the same industry and other industries. .

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.

図1により、本発明の一実施の形態に係る料金計算システムの構成について説明する。図1は本発明の一実施の形態に係る料金計算システムの構成を示す構成図である。   With reference to FIG. 1, the configuration of a fee calculation system according to an embodiment of the present invention will be described. FIG. 1 is a configuration diagram showing a configuration of a fee calculation system according to an embodiment of the present invention.

図1において、料金計算システムは、料金計算システムのパッケージを開発するパッケージ開発会社1のパッケージ会社側料金計算システム7と、料金計算システムの利用企業の利用企業側料金計算システム8から構成されている。   In FIG. 1, the fee calculation system includes a package company-side fee calculation system 7 of a package development company 1 that develops a package of the fee calculation system, and a use company-side fee calculation system 8 of a company that uses the fee calculation system. .

料金計算システムのパッケージ開発会社1は、料金計算テーブル4を作成するためのパッケージ開発会社側料金計算システム7、料金計算ロジックを定義した料金計算ルールテーブル50をメンテナンスするパッケージ開発会社オンライン端末6から構成されている。   The package development company 1 of the charge calculation system is composed of a package development company side charge calculation system 7 for creating the charge calculation table 4 and a package development company online terminal 6 that maintains a charge calculation rule table 50 defining charge calculation logic. Has been.

パッケージ開発会社側料金計算システム7は、料金計算ルールテーブル50や料金計算単価テーブル51などの情報に基づいて、料金計算テーブル4を作成するプログラムを有する疑似入力情報作成処理部2および料金計算テーブル作成処理部3によって構成されるシステムである。   The package development company side charge calculation system 7 includes a pseudo input information creation processing unit 2 having a program for creating the charge calculation table 4 and charge calculation table creation based on information such as the charge calculation rule table 50 and the charge calculation unit price table 51. This is a system configured by the processing unit 3.

また、パッケージ開発会社側料金計算システム7内には、後述する疑似入力情報作成処理部2および料金計算テーブル作成処理部3の処理により使用される、料金対象料金プランテーブル、料金計算テーブル定義情報、計算対象料金プラン定義テーブル、契約情報などが保有され、これらの情報や入力パラメータなどにより、疑似入力情報作成処理部2および料金計算テーブル作成処理部3での処理が行われている。   Further, in the package development company side charge calculation system 7, a charge target charge plan table, charge calculation table definition information, which are used by processing of a pseudo input information creation processing unit 2 and a charge calculation table creation processing unit 3 described later, A calculation target charge plan definition table, contract information, and the like are held, and the pseudo input information creation processing unit 2 and the charge calculation table creation processing unit 3 perform processing based on such information and input parameters.

また、利用企業側はパッケージ開発会社1より配信された料金計算テーブル4を受け取り、料金計算テーブル4により料金計算を行う利用企業側料金計算システム8によって構成されている。   Further, the user company side is configured by a user company side charge calculation system 8 that receives the charge calculation table 4 distributed from the package development company 1 and calculates the charge by the charge calculation table 4.

料金計算ロジックは、パッケージ開発会社1に集約して管理を行い、パッケージ利用企業側では保持しない構成を取っている。   The charge calculation logic is centralized and managed by the package development company 1, and is not held by the package using company.

ここで、料金計算システムの処理の概要を説明する。   Here, an outline of processing of the fee calculation system will be described.

(1)パッケージ開発会社1は、パッケージ開発会社オンライン端末6にて、ガス業界、電気業界の約款を元に料金計算ルールテーブル50の作成を行う。料金計算ルールテーブル50の定義方法については従来の手法と同じとする。   (1) The package development company 1 uses the package development company online terminal 6 to create a charge calculation rule table 50 based on the contracts of the gas industry and the electric industry. The definition method of the charge calculation rule table 50 is the same as the conventional method.

(2)パッケージ利用企業に応じて、料金計算を行う上で必要となる単価情報を料金計算ルールテーブル50に定義を行う。通常、ガス、電力会社における料金プランは同業他社間を見ても、計算式は同じであり、単価、割引率などが異なるという形が一般的であり、料金計算ロジックの追加、変更は行わず、単価情報のみを変更することで各パッケージ利用企業側への提供が可能となる。   (2) The unit price information necessary for the charge calculation is defined in the charge calculation rule table 50 according to the package using company. Normally, the price plans for gas and power companies are the same, even when looking at other companies in the same industry, and the unit price, discount rate, etc. are different, and the charge calculation logic is not added or changed. By changing only the unit price information, it is possible to provide each package using company.

(3)パッケージ開発会社1は入力パラメータを元に、疑似入力情報作成処理部2内での処理を行い、料金計算を行うための入力情報を作成する。   (3) Based on the input parameters, the package development company 1 performs processing in the pseudo input information creation processing unit 2 and creates input information for performing charge calculation.

(4)作成された入力情報を元に、料金計算テーブル作成処理部3内での処理を行い、パッケージ利用企業側へ提供する料金計算テーブル4を作成する。料金計算テーブル4は料金プラン毎に作成するものとする。また、パッケージ利用企業毎に、その企業用の料金計算テーブル4として作成される。   (4) Based on the created input information, processing within the fee calculation table creation processing unit 3 is performed to create a fee calculation table 4 to be provided to the package using company. The charge calculation table 4 is created for each charge plan. Further, it is created as a charge calculation table 4 for each company that uses the package.

(5)作成した料金計算テーブル4を各パッケージ利用企業の利用企業側料金計算システム8へ提供を行う。   (5) The created fee calculation table 4 is provided to the user company side fee calculation system 8 of each package user company.

(6)パッケージ利用企業側へ提供を行うタイミングは、料金計算システムパッケージの初期購入時、単価情報変更時、料金改定による料金プラン追加時となる。   (6) The timing of providing to the package using company side is at the initial purchase of the charge calculation system package, at the time of changing the unit price information, or at the time of adding the charge plan due to the charge revision.

(7)利用企業側料金計算システム8は、提供された料金計算テーブル4を使用して請求金額の確定を行う。   (7) The user-side fee calculation system 8 uses the provided fee calculation table 4 to determine the billing amount.

このような、パッケージ開発会社1と利用企業から構成される料金計算システムにより、料金計算ロジックに基づいた計算処理をパッケージ利用企業側で実施しないことから料金計算時間の短縮化、料金プランの追加・変更時の迅速な対応を行うシステムを実現することが可能である。   With such a charge calculation system consisting of package development company 1 and the user company, the calculation process based on the charge calculation logic is not carried out by the package user company, so the charge calculation time is shortened and the charge plan added / It is possible to realize a system that can quickly respond to changes.

また、料金計算ロジックをパッケージ開発会社1に集約して管理できるため、料金計算ロジックが散在しなくなる。   In addition, since the charge calculation logic can be managed collectively in the package development company 1, the charge calculation logic is not scattered.

次に、図2および図3により、本発明の一実施の形態に係る料金計算システムのパッケージ開発会社1側の処理について説明する。図2は本発明の一実施の形態に係る料金計算システムのパッケージ開発会社側の疑似入力情報作成処理を説明するための説明図、図3は本発明の一実施の形態に係る料金計算システムのパッケージ開発会社側の料金計算テーブル作成処理を説明するための説明図である。   Next, processing on the package development company 1 side of the fee calculation system according to one embodiment of the present invention will be described with reference to FIGS. FIG. 2 is an explanatory diagram for explaining a pseudo input information creation process on the package development company side of the charge calculation system according to the embodiment of the present invention, and FIG. 3 is a diagram of the charge calculation system according to the embodiment of the present invention. It is explanatory drawing for demonstrating the charge calculation table preparation process by the package development company side.

まず、パッケージ開発会社1で料金計算テーブル4を作成するにあたっては、図2に示すように、疑似入力情報作成処理部2にて料金計算テーブル作成処理部3で処理を行うための疑似料金計算入力情報32を作成する。   First, in creating the charge calculation table 4 in the package development company 1, as shown in FIG. 2, the pseudo charge calculation input for processing in the charge calculation table creation processing unit 3 in the pseudo input information creation processing unit 2 Information 32 is created.

疑似入力情報作成処理部2は、料金プラン毎に請求金額を確定するための入力条件を網羅的に作成する疑似入力情報作成プログラム31を有しており、疑似入力情報作成プログラム31の処理により、実際に料金計算を行う料金プランコードを特定する計算対象料金プラン定義テーブル29や料金プランコード毎の引数に対しての入力上限、下限となる閾値、固定値等を定義する料金計算テーブル定義情報30などから、疑似料金計算入力情報32を作成している。   The pseudo input information creation processing unit 2 has a pseudo input information creation program 31 that comprehensively creates input conditions for determining the billing amount for each rate plan. By the processing of the pseudo input information creation program 31, Charge calculation table definition information 30 for defining a calculation target charge plan definition table 29 for specifying a charge plan code for actually performing charge calculation, an input upper limit, a lower limit threshold, a fixed value, etc. for an argument for each charge plan code From the above, pseudo charge calculation input information 32 is created.

計算対象料金プラン定義テーブル29については、パッケージ利用企業側で意識する料金プランのコードとパッケージ開発会社側で意識する料金プランのコードが通常異なるため、その対応関係を定義するテーブルとなる。   The calculation target charge plan definition table 29 is a table that defines the correspondence relationship between the charge plan code conscious on the package using company side and the charge plan code conscious on the package development company side.

図2に示すように、料金プランコード「RYOKIN01」は利用企業側で意識するコードであり、利用企業に応じて変更を行う。計算対象料金プランコード「PLAN02」についてはパッケージ側共通的に管理している料金計算ロジックに対するコードとなる。   As shown in FIG. 2, the charge plan code “RYOKIN01” is a code that is recognized by the user company, and is changed according to the user company. The calculation target charge plan code “PLAN02” is a code for the charge calculation logic managed in common on the package side.

料金計算テーブル定義情報30は、引数毎に料金計算を行う範囲を定義するものとし、閾値(下限)から閾値(上限)まで1ずつ加算を行っていく形のものと、需要者の地区コードの様に固定的に決まる固定値1,2,3による設定がある。   The charge calculation table definition information 30 defines the range in which the charge calculation is performed for each argument. The charge calculation table definition information 30 is a form in which addition is performed one by one from the threshold (lower limit) to the threshold (upper limit), and the customer's district code. There are fixed values 1, 2, and 3 that are fixedly determined.

図2に示す例では、「PLAN01」のキー1は下限値を1として上限が1000の数値の入力値であり、キー2は固定値として「01」「02」「03」となっている入力値である。料金計算テーブル定義情報30はパッケージ開発会社1で意識する料金プランコードをキー項目として保持、利用企業に応じて、下限値、上限値、固定値を変更して実行する。   In the example shown in FIG. 2, the key 1 of “PLAN01” is an input value having a numerical value with a lower limit value of 1 and an upper limit of 1000, and the key 2 is an input value “01”, “02”, and “03” as fixed values. Value. The charge calculation table definition information 30 holds a charge plan code conscious of the package development company 1 as a key item, and changes and executes the lower limit value, the upper limit value, and the fixed value according to the user company.

このように定義された情報より、各料金プランの引数の組み合わせを網羅した疑似料金計算入力情報32がパッケージ開発会社1側の料金プランコードにて作成される。   Based on the information defined in this way, pseudo charge calculation input information 32 covering the combination of arguments of each charge plan is created by the charge plan code on the package development company 1 side.

実際に料金計算を行う契約者については、擬似的に契約情報を作成して対応を行うものとする。   For the contractor who actually calculates the fee, pseudo contract information is created to deal with it.

また、料金計算テーブル作成処理部3は、図3に示すように、疑似入力情報作成処理部2にて作成した疑似料金計算入力情報32を元に計算結果情報35を算出する料金計算プログラム34と、計算結果情報35を元に料金計算テーブル4を作成する料金計算テーブル作成プログラム37を有している。   Further, as shown in FIG. 3, the charge calculation table creation processing unit 3 includes a charge calculation program 34 that calculates calculation result information 35 based on the pseudo charge calculation input information 32 created by the pseudo input information creation processing unit 2. A charge calculation table creation program 37 for creating the charge calculation table 4 based on the calculation result information 35 is provided.

料金計算プログラム34については、ダミーとして作成した契約情報を管理する契約情報33、疑似入力情報作成プログラム31にて作成した疑似料金計算入力情報32、料金計算ルールテーブル50、料金計算単価テーブル51を入力として、計算結果情報35を作成する。各パッケージ利用企業に応じて料金計算単価テーブル51を定義し、料金計算の実行を行うことで利用企業に応じた計算結果情報35を作成する。   For the charge calculation program 34, the contract information 33 for managing the contract information created as a dummy, the pseudo charge calculation input information 32 created by the pseudo input information creation program 31, the charge calculation rule table 50, and the charge calculation unit price table 51 are input. As a result, the calculation result information 35 is created. A charge calculation unit price table 51 is defined according to each package using company, and calculation result information 35 corresponding to the using company is created by executing charge calculation.

料金計算テーブル作成プログラム37では、利用企業側に料金計算テーブル4を展開するために、パッケージ開発会社1側で意識する料金プランコードから利用企業側で意識する料金プランコードを計算対象料金プラン定義テーブル29にて変換し、計算結果情報の結果を料金計算テーブル4の形式に変換する。   In the charge calculation table creation program 37, in order to develop the charge calculation table 4 on the user company side, the charge plan code conscious on the user company side from the charge plan code conscious on the package development company 1 side is calculated. In 29, the result of the calculation result information is converted into the format of the charge calculation table 4.

料金計算ルールテーブル50については、ガス業界、電力業界の約款を元に定義しており、単価情報を変更して料金計算を行うことで、各パッケージ利用企業に対応した料金計算テーブル4を作成することができる。   The charge calculation rule table 50 is defined based on the contracts of the gas industry and the electric power industry, and the charge calculation table 4 corresponding to each package using company is created by changing the unit price information and calculating the charge. be able to.

従来では、料金計算システムとしてパッケージ利用企業側に料金計算ルールテーブル50を提供しており、同じ料金計算ロジックが同業他社間で複数存在している。また、従来では、パッケージ利用企業側に料金計算ルールテーブル50があることから、適用企業側で必要に応じてカスタマイズできるという利点がある一方、テーブル定義を行う要員の確保が必要な点や、同業他社が行っている約款を適用する場合についても各適用企業側で、1からテーブル定義を行う必要があり、料金計算に迅速に対応できないという欠点が存在していた。   Conventionally, a charge calculation rule table 50 is provided to the package using company as a charge calculation system, and a plurality of the same charge calculation logic exists among other companies in the same industry. In addition, since the package calculation company side has the charge calculation rule table 50 in the past, there is an advantage that the application company side can customize it as necessary, while the necessity to secure personnel for table definition is necessary. Even when applying the contracts made by other companies, it is necessary to define the table from 1 on each application company side, and there is a drawback that it is not possible to respond quickly to charge calculation.

本実施の形態では、専門知識を必要とする料金計算ルールテーブル50を定義する人材をパッケージ開発会社1へ集約することで、パッケージ利用企業での人員削減や、料金プランの追加においても料金計算単価テーブル51を変更することで迅速な料金プランの追加・変更に対応することができる。   In this embodiment, by integrating the personnel who define the charge calculation rule table 50 that requires specialized knowledge into the package development company 1, the charge calculation unit price can be reduced even in the case of reducing personnel at the package using company or adding a charge plan. By changing the table 51, it is possible to cope with quick addition / change of the rate plan.

次に、図4により、本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側での処理の概要について説明する。図4は本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側での処理を説明するための説明図である。   Next, with reference to FIG. 4, an outline of processing on the package using company side of the fee calculation system according to the embodiment of the present invention will be described. FIG. 4 is an explanatory diagram for explaining the processing on the package using company side of the fee calculation system according to the embodiment of the present invention.

図4において、パッケージ利用企業側に提供された利用企業側料金計算システム8は、パッケージ開発会社1より提供される料金計算テーブル4を元に請求金額を確定するシステムであり、各料金計算プランに応じた料金計算ロジックを持込んでいない汎用的な料金計算システムである。   In FIG. 4, a user company side charge calculation system 8 provided to the package user company side is a system for determining a billing amount based on a charge calculation table 4 provided by the package development company 1. It is a general-purpose charge calculation system that does not bring in charge calculation logic.

利用企業側料金計算システム8は、その制御部内に、料金プラン判定部12、請求金額確定部13,検索用テーブル反映部14を有している。   The user company side charge calculation system 8 includes a charge plan determination unit 12, a bill amount determination unit 13, and a search table reflection unit 14 in the control unit.

料金計算テーブル4は、パッケージ開発会社1から提供されたままの情報であるセカンダリテーブル10と請求金額の確定に使用されたレコードと抽出範囲を意識して抽出を行った一部のレコードのみを抽出している検索用テーブル11から構成される。   The fee calculation table 4 extracts only the secondary table 10 that is the information as provided by the package development company 1, the records used to determine the billing amount, and a part of the records that are extracted in consideration of the extraction range. The search table 11 is configured.

パッケージ利用企業側に提供された利用企業側料金計算システム8は、入力情報として料金プランを識別する料金プランコード、料金計算結果を取得するための引数1、2,3(料金計算テーブル4のキーに対応)、一時金や延滞利息額を加算するための付加料金額を必要とする。   The user company side charge calculation system 8 provided to the package user company side includes a charge plan code for identifying a charge plan as input information, arguments 1, 2, and 3 (keys for the charge calculation table 4) for acquiring the charge calculation result. ), And an additional fee is required to add lump sums and past due interest.

請求金額を確定するための引数については、請求金額を確定することができるための情報であり、月別使用量、休日使用量等の需要者の利用状況に応じて変化する可変値の情報や、需要者の居住している地区を示す地区コード等の固定的な情報で構成される。   The argument for determining the billing amount is information for confirming the billing amount, and information on variable values that change according to the usage situation of the consumer such as monthly usage amount, holiday usage amount, Consists of fixed information such as a district code indicating the district where the consumer resides.

付加料金額については、料金プラン毎の請求金額とは別に需要者へ請求したい一時金や、延滞利息等の情報がある場合、入力情報として定義することで一時金、延滞利息等を考慮した請求金額、消費税額を算出するために使用する。   For additional charges, if there is information about lump sums to be billed to customers or past due interest, in addition to the amount charged for each rate plan, billing that takes into account lump sums, past due interest, etc. by defining it as input information Used to calculate the amount and consumption tax.

上記に示す入力情報を使用して料金プラン判定部12にて、料金プランコードから検索を行うTABLE名(検索用テーブル、セカンダリテーブル)を取得する。料金プラン判定部12で特定されたTABLE名、引数情報を元に請求金額確定部13にて検索用テーブル11を検索し、請求金額、消費税額、割引額を取得する。   Using the input information shown above, the price plan determination unit 12 acquires a TABLE name (search table, secondary table) to be searched from the price plan code. Based on the TABLE name and argument information specified by the price plan determination unit 12, the billing amount determination unit 13 searches the search table 11 to obtain the billing amount, consumption tax amount, and discount amount.

検索用テーブル11にて取得できない場合はセカンダリテーブル10を検索する。取得した結果に対して付加料金額、付加料金消費税額を加算して、最終的な請求金額を確定する。   If it cannot be obtained from the search table 11, the secondary table 10 is searched. The final charge amount is determined by adding the additional charge amount and additional charge consumption tax amount to the acquired result.

料金計算テーブル4のセカンダリテーブル10から検索用テーブル11へレコードを移動させる処理は、検索用テーブル反映部14にて実施する。検索用テーブル反映部14では、1人の需要者の料金計算が終了したタイミングで請求金額の確定に使用されたレコードを元に検索用テーブル11へ抽出する対象を特定する。   The process of moving records from the secondary table 10 of the charge calculation table 4 to the search table 11 is performed by the search table reflection unit 14. The search table reflection unit 14 specifies a target to be extracted to the search table 11 based on the record used to determine the billing amount at the timing when the charge calculation for one consumer is completed.

抽出する対象を特定するにあたっては、セカンダリテーブル10よりレコードを取得した場合であり、請求額を確定する際に使用したレコードと関連性が高いレコードも合わせて検索用テーブルへ抽出を行う。その為、需要者の利用状況を統計的に判断した検索用テーブル11を構成することができる。   When the target to be extracted is specified, a record is acquired from the secondary table 10, and a record highly relevant to the record used when determining the billing amount is also extracted into the search table. Therefore, it is possible to configure the search table 11 that statistically determines the usage status of the consumer.

また、請求金額確定部13にて、料金計算ロジックを持込まず、請求金額を確定するため、料金計算処理の短縮化を図ることができる。   Further, since the charge amount determination unit 13 determines the charge amount without bringing in the charge calculation logic, the charge calculation process can be shortened.

上記のような仕組みで料金計算ロジックを簡略化し、処理時間を短縮できる理由としては、請求金額を算出するための要素である入力情報が確定していれば、前述した従来の特許文献1、2のように毎回計算処理を行わなくて良いためである。   The reason why the fee calculation logic can be simplified and the processing time can be shortened by the above-described mechanism is that if the input information which is an element for calculating the billing amount is fixed, the above-described conventional patent documents 1 and 2 described above. This is because it is not necessary to perform the calculation process every time.

また、通常、ガス、電力会社の需要者の大半は一般の需要者であり、同一の料金プランである点や、請求金額を確定する際の入力情報である使用量については、需要者によって大きく変わらないことから料金計算テーブル4(検索用テーブル11)を使用して需要者の統計的な利用状況を考慮していることから、本実施の形態では、処理時間を早くすることができる。   In general, the majority of gas and power company customers are general customers, and the amount of usage, which is input information for determining the billing amount, varies depending on the customer. Since it does not change, the statistical calculation status of the consumer is taken into consideration using the charge calculation table 4 (search table 11), so that the processing time can be shortened in the present embodiment.

さらに、検索用テーブルとセカンダリテーブルの2つのテーブルにて構成を行うことによって、前述した特許文献3の課題となっていたテーブルに定義するレコード数が増加してしまうことによる検索処理のレスポンス悪化を防ぐことができる。   Furthermore, by configuring the two tables of the search table and the secondary table, the response deterioration of the search process due to an increase in the number of records defined in the table that has been the subject of the above-mentioned Patent Document 3. Can be prevented.

次に、図5により、本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側での処理フローについて説明する。図5は本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側での処理フローを示すフローチャートである。   Next, a processing flow on the package using company side of the fee calculation system according to the embodiment of the present invention will be described with reference to FIG. FIG. 5 is a flowchart showing a processing flow on the package using company side of the fee calculation system according to the embodiment of the present invention.

パッケージ利用企業側での利用企業側料金計算システム8内での処理は、以下のように行われる。   The processing in the use company side fee calculation system 8 on the package use company side is performed as follows.

まず、料金プラン判定部12の対象TABLRE特定処理(ステップ100)では、入力値として受け取った料金プランコードより、検索対象となる検索用テーブル、セカンダリテーブルのTABLE名を取得する。取得するTABLE名はデータベース上のTABLE名とする。   First, in the target table specifying process (step 100) of the charge plan determination unit 12, the table names for the search table and secondary table to be searched are acquired from the charge plan code received as the input value. The TABLE name to be acquired is the TABLE name on the database.

図4に示す例では、入力値である料金プランコードの「RYOKIN01」にて計算対象特定テーブル9を検索し、検索用テーブル名「TABLE1」、セカンダリテーブル名「TABLE4」を取得する。   In the example shown in FIG. 4, the calculation target specifying table 9 is searched with the charge plan code “RYOKIN01” as an input value, and the search table name “TABLE1” and the secondary table name “TABLE4” are acquired.

そして、請求金額確定部13の請求金額情報取得処理(ステップ101)では、まず、検索用テーブル11にて検索を行い、キーと対応する引数1、2、3にて請求金額、消費税額、割引額を取得する。キーが3つまで存在しない場合は引数情報としてNULL値を設定するものとする。   In the billing amount information acquisition process (step 101) of the billing amount determination unit 13, first, a search is performed in the search table 11, and the billing amount, the consumption tax amount, the discount is calculated using the arguments 1, 2, and 3 corresponding to the keys. Get the amount. If there are not up to three keys, a NULL value is set as argument information.

ステップ102で検索用テーブル11から取得可能か否かを判断し、ステップ102で検索用テーブル11から取得できない場合については、セカンダリテーブル10を検索し、請求金額を確定させる(請求金額情報取得処理(セカンダリ):ステップ103)。   In step 102, it is determined whether or not it can be acquired from the search table 11. If it cannot be acquired from the search table 11 in step 102, the secondary table 10 is searched to determine the charge amount (billing amount information acquisition process ( Secondary): Step 103).

図4に示す例では、入力値であるキー1をガス料金の需給エリアを決める地区コードとして「地区1」、キー2をガスの使用量を表す情報として「100」とする。その場合、ステップ100の対象TABLE特定処理にて取得した検索用TABLE名の「TABLE1」を検索条件として、キー1に「地区1」、キー2に「100」にて検索を行う。   In the example shown in FIG. 4, the key 1 that is the input value is “district 1” as the district code for determining the gas supply and demand area, and the key 2 is “100” as the information indicating the amount of gas used. In that case, the search is performed using “TABLE 1” of the table name for search acquired in the target TABLE specifying process in step 100 as “search area” for key 1 and “100” for key 2.

検索を行った結果として該当レコードが存在するため、請求金額「2000」、消費税「100」、割引額「0」を取得する。検索用テーブル11より取得できなかった場合は、検索を行うテーブル名を変更してセカンダリテーブル10の検索を行う。   Since the corresponding record exists as a result of the search, the billing amount “2000”, the consumption tax “100”, and the discount amount “0” are acquired. If it cannot be obtained from the search table 11, the name of the table to be searched is changed and the secondary table 10 is searched.

そして、ステップ104で付加料金情報が存在するか否かを判断し、ステップ104で付加料金情報が存在する場合は、付加料金情報加算処理(ステップ105)では、ステップ102、ステップ103での請求金額情報取得処理で取得した情報に加算を行うこととする。   In step 104, it is determined whether or not additional charge information exists. If additional charge information is present in step 104, in the additional charge information addition process (step 105), the amount charged in steps 102 and 103 is charged. The information acquired in the information acquisition process is added.

延滞利息等の様に消費税という概念が存在しない金額については、付加料金消費税額を設定しない形とする。   For amounts that do not have the concept of consumption tax, such as arrears, the additional consumption tax is not set.

図4に示す例では、入力値である付加料金額1が「100」であり、付加料金消費税額が「5」であるため、請求金額を「2100」、消費税額を「105」とする。   In the example shown in FIG. 4, since the additional charge amount 1 as an input value is “100” and the additional charge consumption tax amount is “5”, the charge amount is “2100” and the consumption tax amount is “105”.

そして、最終的に出力情報となる請求金額、消費税額、割引額の確定を行い、出力を行う(請求額確定処理:ステップ106)。   Then, the billing amount, the consumption tax amount, and the discount amount, which are finally output information, are confirmed and output (billing amount confirmation processing: step 106).

そして、検索用テーブル反映処理(ステップ107)では、1人の需要者に対するバッチ処理が走行完了したタイミングで請求金額の確定に使用されたレコードと、そのレコードと関連性の高いレコードを検索用テーブルへ追加し、次の需給者のバッチ処理時に使用するものとする。   Then, in the search table reflection process (step 107), a record used to determine the billing amount at the time when the batch process for one consumer is completed and a record highly related to the record are searched. To be used for batch processing of the next supplier and demander.

次に、図6により、本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側の検索テーブル反映部の処理の概要について説明する。図6は本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側の検索テーブル反映部の処理を説明するための説明図であり、セカンダリテーブル10から検索用テーブル11へレコードを反映する処理を示している。   Next, the outline of the processing of the search table reflection unit on the package using company side of the fee calculation system according to the embodiment of the present invention will be described with reference to FIG. FIG. 6 is an explanatory diagram for explaining the processing of the search table reflection unit on the package using company side of the charge calculation system according to the embodiment of the present invention, and records are reflected from the secondary table 10 to the search table 11. Processing is shown.

検索用テーブル11への追加処理については、検索用テーブル11へレコードを追加するのは、検索用テーブル11からレコードが取得できずにセカンダリテーブル10よりレコードを取得した場合に行う。   In addition processing to the search table 11, a record is added to the search table 11 when a record is acquired from the secondary table 10 without acquiring a record from the search table 11.

セカンダリテーブル10に定義されているレコード数は、各料金プランに対して必要な入力情報(可変値)の数によって異なり、入力情報が複数になればレコード数は増加していく。   The number of records defined in the secondary table 10 differs depending on the number of input information (variable values) necessary for each price plan, and the number of records increases as the input information becomes plural.

検索用テーブル11に移動する対象を特定する要素としては、検索に使用された情報と関連するレコードを合わせて移動させるための対象範囲を定義する抽出範囲増減数が必要である。抽出するレコードに範囲を持たすことで類似した検索の際にも検索用テーブルから検索できるように対応し、検索効率を向上させることができる。   As an element for specifying a target to be moved to the search table 11, an extraction range increase / decrease number that defines a target range for moving a record related to information used for the search together is necessary. By having a range in the record to be extracted, it is possible to search from the search table even in a similar search, and the search efficiency can be improved.

セカンダリテーブル(イメージ図)22は1レコードずつからなるセカンダリテーブルをキー1、キー2の対応関係を可視化したイメージ図である。抽出範囲増減数の定義はセカンダリテーブル(イメージ図)22に記載されているとおり、抽出対象に使用したレコードと隣接するものが対象となる(図6の例では抽出範囲増減数は「1」)。   The secondary table (image diagram) 22 is an image diagram in which the correspondence between the key 1 and the key 2 is visualized in the secondary table composed of one record. As described in the secondary table (image diagram) 22, the definition of the extraction range increase / decrease number is the one adjacent to the record used as the extraction target (in the example of FIG. 6, the extraction range increase / decrease number is “1”).

図6で記載しているものは、2つの入力情報(可変値)から料金計算の金額を確定するものである。   In FIG. 6, the amount of charge calculation is determined from two pieces of input information (variable values).

1人の需要者の請求額を確定するにあたって、図6の例では使用量が「2」、契約最大使用量が「2」であったと仮定している。請求額の確定に使用されたレコードは、使用量が「2」、契約最大使用量が「2」のレコードであり、そのレコードと隣接する抽出対象レコードの8件も合わせて追加されるものとする。   In determining the amount charged by one consumer, it is assumed in the example of FIG. 6 that the usage amount is “2” and the contract maximum usage amount is “2”. The record used to determine the billing amount is a record with a usage amount of “2” and a maximum contract usage amount of “2”, and 8 records of the extraction target records adjacent to that record are also added. To do.

パッケージ開発会社1からセカンダリテーブル10が展開された際は、検索用テーブル11には該当レコードがない状態であり、バッチ処理にて請求金額を確定していく際にセカンダリテーブル10から検索用テーブル11へ追加を行っていく。   When the secondary table 10 is expanded from the package development company 1, there is no corresponding record in the search table 11, and when the billing amount is determined by batch processing, the search table 11 is changed from the secondary table 10. Add to.

検索用テーブル11へレコードを抽出するタイミングは1人の需要者に対する請求金額の確定が終了したタイミングで行い、次の需要者に対する請求金額の確定については追加された内容を参照する形となる。   The record is extracted from the search table 11 at the timing when the confirmation of the billing amount for one consumer is completed, and for the confirmation of the billing amount for the next consumer, the added content is referred to.

パッケージ開発会社1から提供されてからの初回の需給者の料金計算を行う際は処理時間の短縮はできないが、料金計算処理を行うにつれて検索用テーブル11に適正化されたレコードが登録されることになる。   The processing time cannot be shortened when calculating the charge for the first supply / demand after being provided by the package development company 1, but the optimized record is registered in the search table 11 as the charge calculation process is performed. become.

その結果として、請求金額を確定する際の大半の処理では検索用テーブル11へのアクセスとなり、検索効率を向上した形での検索処理を行うことができる。運用上を考慮するとセカンダリテーブル10をパッケージ開発会社1より受け取った当初は、抽出範囲増減数を大きくしておき、検索用テーブル11が適正化されていくに従って、抽出範囲増減数を小さくしていくことで、検索用テーブルへのレコード追加が無駄なく行うことができる。   As a result, in most of the processes for determining the billing amount, the search table 11 is accessed, and the search process with improved search efficiency can be performed. In consideration of operation, when the secondary table 10 is received from the package development company 1, the number of extraction range increases / decreases is increased, and as the search table 11 is optimized, the number of extraction range increases / decreases is decreased. As a result, the record can be added to the search table without waste.

次に、図7により、本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側の検索テーブル反映部の処理フローについて説明する。図7は本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側の検索テーブル反映部の処理フローを示すフローチャートである。   Next, a processing flow of the search table reflection unit on the package using company side of the fee calculation system according to the embodiment of the present invention will be described with reference to FIG. FIG. 7 is a flowchart showing the processing flow of the search table reflection unit on the package using company side of the fee calculation system according to one embodiment of the present invention.

図6でも説明したとおり、検索用テーブル11へレコード追加を行う場合は、セカンダリテーブル10よりレコードを取得した場合である。   As described with reference to FIG. 6, when adding a record to the search table 11, the record is acquired from the secondary table 10.

まず、セカンダリテーブル10より検索したか否かを判断し(ステップ110)、ステップ110でセカンダリテーブル10より取得を行った場合、抽出範囲増減数取得処理(ステップ111)にて抽出範囲増減数の数値を取得する。   First, it is determined whether or not a search is made from the secondary table 10 (step 110), and when the acquisition is performed from the secondary table 10 in step 110, the extraction range increase / decrease number is obtained in the extraction range increase / decrease acquisition process (step 111). To get.

取得した抽出範囲増減数と検索に使用したキー1、キー2の情報から対象のレコードを取得するために内部変数の初期化を行う(ループ処理初期化処理:ステップ112)。   The internal variable is initialized in order to acquire the target record from the acquired number of extraction ranges and the information of the key 1 and key 2 used for the search (loop process initialization process: step 112).

次に、終了フラグが1か否かを判断し(ステップ113)、ステップ113で終了フラグが1であれば終了し、ステップ113で終了フラグが1でなければ、検索用レコード追加処理(ステップ114)にてセカンダリテーブル10から検索用テーブル11にレコードの追加を行う。   Next, it is determined whether or not the end flag is 1 (step 113). If the end flag is 1 in step 113, the process ends. If the end flag is not 1 in step 113, search record addition processing (step 114) is performed. ) To add a record from the secondary table 10 to the search table 11.

ステップ114では、追加を行う際に、検索用テーブル11にキー1=X、キー2=Yとなるレコードが検索用テーブルに存在するか検索を行い、検索される場合は検索を行わず、次の処理を行う。   In step 114, when the addition is performed, a search is performed to determine whether or not a record having key 1 = X and key 2 = Y exists in the search table 11 in the search table. Perform the process.

次に、Xカウントアップ処理(ステップ115)では、抽出範囲の対象内で次の対象を特定するために、変数であるXをカウントアップする。   Next, in the X count-up process (step 115), the variable X is counted up in order to specify the next target within the target of the extraction range.

次に、XがX_ENDより大きいか否かを判断し(ステップ116)、ステップ116でXがX_ENDより大きくなければ、ステップ113に戻り、ステップ116でXがX_ENDより大きければ、Yカウントアップ処理(ステップ117)にて、Yの値をカウントアップし、抽出範囲内のX軸に対する追加処理を全て実施した場合、次の行に対して処理を行うために変数Xの初期化を行う(X初期化処理:ステップ118)。   Next, it is determined whether or not X is larger than X_END (step 116). If X is not larger than X_END in step 116, the process returns to step 113. If X is larger than X_END in step 116, Y count-up processing ( In step 117), when the value of Y is counted up and all the additional processing for the X axis within the extraction range is performed, the variable X is initialized to perform processing for the next row (X initial) Processing: step 118).

以上のように、本実施の形態では、パッケージ開発会社1にて、料金計算テーブル4を作成し、その料金計算テーブル4により、利用企業側料金計算システム8により、料金計算を行うようにしたので、料金計算処理にかかる時間を短縮することができる。   As described above, in the present embodiment, the package calculation company 1 creates the charge calculation table 4, and the charge calculation table 4 performs charge calculation by the user company charge calculation system 8. The time required for the charge calculation process can be shortened.

また、料金計算テーブル4として、全ての料金計算のためのテーブルであるセカンダリテーブル10と、通常の料金計算に使用する検索用テーブル11の2つのテーブルを使用するようにしたので、料金計算テーブル4から対象データを特定する際の検索効率を向上させることができる。   Further, as the charge calculation table 4, the two tables of the secondary table 10 which is a table for calculating all charges and the search table 11 used for normal charge calculation are used. It is possible to improve the search efficiency when specifying the target data from.

また、料金計算処理においては、一度に多量の需要者に対してバッチ処理を行うため、料金計算処理の短縮化の効果は需給者が多くなるにつれて、より効果が顕在化してくる。   In the charge calculation process, batch processing is performed for a large number of consumers at a time. Therefore, the effect of shortening the charge calculation process becomes more apparent as the number of demand and supply increases.

本実施の形態では、料金計算テーブル4にて入力情報と請求金額を対応させた情報を管理することとし、その料金計算テーブル4の作成をパッケージ開発会社1側で実施することになる。その為、料金計算ロジックを集約してパッケージ開発会社1が保持することから、同業他社間で同一の料金計算処理ロジックとなっているパッケージ利用企業に対して、迅速に料金プランの追加・変更に対応した料金計算テーブル4を配布することができる。その結果として、パッケージ利用企業側では、料金プランの追加・変更に迅速に対応することができる。   In the present embodiment, the charge calculation table 4 manages information in which input information is associated with the billing amount, and the charge development table 4 is created on the package development company 1 side. For this reason, since the package development company 1 retains the fee calculation logic in an integrated manner, it can be used to quickly add or change a charge plan for package companies that have the same charge calculation processing logic among other companies in the same industry. The corresponding fee calculation table 4 can be distributed. As a result, the package using company can quickly respond to the addition / change of the price plan.

また、同業種内で提供している約款のみで料金計算パッケージを提供する場合については、既存の料金計算テーブルを適用できることからパッケージ購入時の費用の削減、導入期間の短縮化を図ることができる。   In addition, when providing a fee calculation package only with the terms and conditions provided in the same industry, the existing fee calculation table can be applied, so the cost for purchasing the package can be reduced and the introduction period can be shortened. .

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say.

例えば、本実施の形態では、セカンダリテーブル10から検索用テーブル11にレコードを反映する際に、セカンダリテーブル10の各レコードが検索用テーブル11に存在するかのチェックを行ってから、なければ追加を行う形になっているが、この場合、検索用テーブル11のレコードが適正化され、検索用テーブル11に追加する必要がない場合は無駄な処理を行っている形になる。   For example, in the present embodiment, when a record is reflected from the secondary table 10 to the search table 11, a check is made as to whether each record of the secondary table 10 exists in the search table 11, and if there is no addition, In this case, if the records in the search table 11 are optimized and there is no need to add them to the search table 11, useless processing is performed.

そこで、その場合は、以下のような処理により、無駄な処理を回避するようにしてもよい。   In this case, useless processing may be avoided by the following processing.

・セカンダリテーブルに抽出済フラグを設け、そのフラグがONにっている場合は、検索用テーブルのチェック処理は実施しないようにする。   -Provide an extracted flag in the secondary table, and if the flag is ON, do not check the search table.

フラグがOFFの場合は検索用テーブル11に追加処理を行い、セカンダリテーブル10の該当レコードの抽出済プラグをONとする。   When the flag is OFF, an additional process is performed on the search table 11 and the extracted plug of the corresponding record in the secondary table 10 is turned ON.

これにより、無駄なチェック処理は行われないので、検索用テーブル11が適正化されている場合でもオーバヘッドは発生しない。この判定は各お客様毎に実施する。   As a result, useless check processing is not performed, so no overhead occurs even when the search table 11 is optimized. This determination is performed for each customer.

・セカンダリテーブル10に抽出対象フラグを設け、その抽出対象フラグを全てのお客様に対しての料金計算が終了した時点で纏めて検索用テーブル11へ追加する。   -An extraction target flag is provided in the secondary table 10, and the extraction target flag is collectively added to the search table 11 when charge calculation for all customers is completed.

抽出対象フラグへの更新は抽出範囲増減数を考慮した範囲内のレコードに対してONを設定する。1回の料金計算の処理で、同じレコードを範囲として指定された場合は、すでに抽出対象フラグがONになっているが、特に判定はせずにフラグをONとして更新する(判定をしてフラグがONであれば更新しないという形でも問題なく、特に差異はない)。   In updating to the extraction target flag, ON is set for the records in the range in consideration of the number of extraction range increase / decrease. If the same record is specified as a range in a single charge calculation process, the extraction target flag is already ON, but the flag is turned ON without any particular determination (determined and flagged If it is ON, there is no problem even if it is not updated, and there is no particular difference).

検索用テーブル11へのチェック処理、検索用テーブル11への追加処理が実施されないので、レスポンスの悪化はしない。   Since the check process to the search table 11 and the addition process to the search table 11 are not performed, the response is not deteriorated.

1回の料金計算が終了すると、セカンダリテーブル10には抽出対象となったレコードがあるので、そのレコードが検索用テーブル11にあるかのチェックを行い、レコードを追加していく。   When one charge calculation is completed, since there is a record to be extracted in the secondary table 10, it is checked whether the record exists in the search table 11, and the record is added.

また、本実施の形態では、利用企業側料金計算システム8で料金計算する例を説明したが、利用企業側料金計算システム8として、企業が使用するハンディーターミナル内で、料金計算テーブル4を用いて料金計算を行うようにしてもよい。   Further, in this embodiment, an example in which charges are calculated by the use company side charge calculation system 8 has been described. However, as the use company side charge calculation system 8, the charge calculation table 4 is used in the handy terminal used by the company. You may make it perform charge calculation.

この場合、ハンディーターミナルでは、通常は、料金計算テーブル4の検索用テーブル11により、料金計算を行うことができ、処理能力の低いハンディーターミナルでも、料金計算を行うことができる。   In this case, in the handy terminal, usually, the charge calculation can be performed by the search table 11 of the charge calculation table 4, and the charge calculation can also be performed in the handy terminal having a low processing capacity.

本発明は、ガス、電力会社等における需要者への請求料金を確定する料金計算システムに関し、料金計算処理の短縮化が必要なシステムに適用可能である。   The present invention relates to a charge calculation system for determining a charge charged to a consumer in a gas, an electric power company, etc., and can be applied to a system that requires shortening of charge calculation processing.

本発明の一実施の形態に係る料金計算システムの構成を示す構成図である。It is a block diagram which shows the structure of the charge calculation system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る料金計算システムのパッケージ開発会社側の疑似入力情報作成処理を説明するための説明図である。It is explanatory drawing for demonstrating the pseudo input information creation process by the package development company side of the charge calculation system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る料金計算システムのパッケージ開発会社側の料金計算テーブル作成処理を説明するための説明図である。It is explanatory drawing for demonstrating the charge calculation table preparation process by the package development company side of the charge calculation system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側での処理を説明するための説明図である。It is explanatory drawing for demonstrating the process by the package utilization company side of the charge calculation system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側での処理フローを示すフローチャートである。It is a flowchart which shows the processing flow by the package utilization company side of the charge calculation system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側の検索テーブル反映部の処理を説明するための説明図である。It is explanatory drawing for demonstrating the process of the search table reflection part by the package utilization company side of the charge calculation system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る料金計算システムのパッケージ利用企業側の検索テーブル反映部の処理フローを示すフローチャートである。It is a flowchart which shows the processing flow of the search table reflection part by the package utilization company side of the charge calculation system which concerns on one embodiment of this invention.

符号の説明Explanation of symbols

1…パッケージ開発会社、2…疑似入力情報作成処理部、3…料金計算テーブル作成処理部、4…料金計算テーブル、6…パッケージ開発会社オンライン端末、7…パッケージ開発会社側料金計算システム、8…利用企業側料金計算システム、9…計算対象特定テーブル、10…セカンダリテーブル、11…検索用テーブル、12…料金プラン判定部、13…請求金額確定部、14…検索用テーブル反映部、29…計算対象料金プラン定義テーブル、30…料金計算テーブル定義情報、31…疑似入力情報作成プログラム、32…疑似料金計算入力情報、33…契約情報、34…料金計算プログラム、35…計算結果情報、37…料金計算テーブル作成プログラム、50…料金計算ルールテーブル、51…料金計算単価テーブル。   DESCRIPTION OF SYMBOLS 1 ... Package development company, 2 ... Pseudo input information creation process part, 3 ... Charge calculation table creation process part, 4 ... Charge calculation table, 6 ... Package development company online terminal, 7 ... Package development company side charge calculation system, 8 ... User-side fee calculation system, 9 ... calculation target specification table, 10 ... secondary table, 11 ... search table, 12 ... charge plan determination unit, 13 ... charge amount determination unit, 14 ... search table reflection unit, 29 ... calculation Target charge plan definition table, 30 ... charge calculation table definition information, 31 ... pseudo input information creation program, 32 ... pseudo charge calculation input information, 33 ... contract information, 34 ... charge calculation program, 35 ... calculation result information, 37 ... charge Calculation table creation program, 50 ... charge calculation rule table, 51 ... charge calculation unit price table.

Claims (5)

料金計算用のパッケージを複数のパッケージ利用企業に提供するパッケージ開発会社のパッケージ開発会社側料金計算システムと、
前記パッケージ利用企業の利用企業側料金計算システムとを備え、
前記パッケージ開発会社側料金計算システムは、前記複数のパッケージ利用企業での料金計算ロジックを集約して管理し、前記料金計算ロジックに基づいて、複数の入力情報に対して請求金額を対応させた料金計算テーブルを作成し、
前記利用企業側料金計算システムは、前記パッケージ開発会社側料金計算システムで作成された前記料金計算テーブルをセカンダリテーブルとして管理し、前記セカンダリテーブルから一部のデータを抽出した検索用テーブルおよび前記複数の入力情報に基づいて、料金計算を行い、請求金額を確定することを特徴とする料金計算システム。
A package development company side charge calculation system of a package development company that provides a package for charge calculation to a plurality of package use companies,
A charge calculation system on the use company side of the package use company,
The package development company side charge calculation system collects and manages charge calculation logics in the plurality of package using companies, and based on the charge calculation logic, charges corresponding to billing amounts for a plurality of input information Create a calculation table
The user company side charge calculation system manages the charge calculation table created by the package development company side charge calculation system as a secondary table, a search table obtained by extracting some data from the secondary table, and the plurality of the plurality of data A fee calculation system characterized in that a charge is calculated based on input information and a charge amount is determined.
請求項1記載の料金計算システムにおいて、
前記利用企業側料金計算システムは、前記検索用テーブルに前記料金計算に必要なデータが存在しない場合、前記セカンダリテーブルに基づいて、前記料金計算を行い、請求金額を確定し、前記料金計算に使用したデータを前記検索用テーブルに追加することを特徴とする料金計算システム。
In the charge calculation system according to claim 1,
When the data required for the charge calculation does not exist in the search table, the user company side charge calculation system performs the charge calculation based on the secondary table, determines the billing amount, and uses it for the charge calculation. A charge calculation system characterized by adding the processed data to the search table.
請求項2記載の料金計算システムにおいて、
前記利用企業側料金計算システムは、前記セカンダリテーブルから前記検索用テーブルにデータを追加する際、前記料金計算に使用したデータを中心として、予め設定された抽出範囲のデータも追加することを特徴とする料金計算システム。
In the charge calculation system according to claim 2,
The user company side charge calculation system is characterized in that when adding data from the secondary table to the search table, data of a preset extraction range is also added, centering on data used for the charge calculation. Charge calculation system.
請求項3記載の料金計算システムにおいて、
前記利用企業側料金計算システムは、前記セカンダリテーブルに、抽出済フラグを設け、前記セカンダリテーブルから前記検索用テーブルにデータを追加する際、前記抽出済フラグが有効の場合、そのデータの追加処理を行わないことを特徴とする料金計算システム。
In the charge calculation system according to claim 3,
The user company side charge calculation system provides an extracted flag in the secondary table, and when adding data from the secondary table to the search table, if the extracted flag is valid, the data adding process is performed. A fee calculation system characterized by not being performed.
請求項3記載の料金計算システムにおいて、
前記利用企業側料金計算システムは、前記セカンダリテーブルに、抽出対象フラグを設け、前記セカンダリテーブルに基づいて、前記料金計算を行った際に、その料金計算に使用したデータの抽出対象フラグを有効にするだけで、前記検索用テーブルへの追加は行わず、全ての前記料金計算が終了した後、前記抽出対象フラグが有効のデータを、前記セカンダリテーブルから前記検索用テーブルに一括して追加することを特徴とする料金計算システム。
In the charge calculation system according to claim 3,
The user company side charge calculation system provides an extraction target flag in the secondary table, and when the charge calculation is performed based on the secondary table, the extraction target flag of the data used for the charge calculation is enabled. The data to be extracted is valid from the secondary table to the search table in a lump after all the charge calculation is completed, without adding to the search table. A charge calculation system characterized by
JP2008179748A 2008-07-10 2008-07-10 Charge calculation system Expired - Fee Related JP5058902B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008179748A JP5058902B2 (en) 2008-07-10 2008-07-10 Charge calculation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008179748A JP5058902B2 (en) 2008-07-10 2008-07-10 Charge calculation system

Publications (2)

Publication Number Publication Date
JP2010020507A true JP2010020507A (en) 2010-01-28
JP5058902B2 JP5058902B2 (en) 2012-10-24

Family

ID=41705339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008179748A Expired - Fee Related JP5058902B2 (en) 2008-07-10 2008-07-10 Charge calculation system

Country Status (1)

Country Link
JP (1) JP5058902B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5953419B1 (en) * 2015-12-01 2016-07-20 エネチェンジ株式会社 Rate plan management support system and rate plan management support method
JP6444554B1 (en) * 2018-03-27 2018-12-26 三菱電機株式会社 Charge calculation device and charge calculation program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05225273A (en) * 1992-02-14 1993-09-03 Matsushita Electric Ind Co Ltd Conversion device for semiconductor integrated circuit logical connection data
JP2003259551A (en) * 2002-03-01 2003-09-12 Sharp Corp Server, system and method for photovoltaic power generation control, and machine readable recording medium for recording program for realizing the method
JP2004310456A (en) * 2003-04-07 2004-11-04 Toho Gas Co Ltd Facility design support system and facility design support device
JP2005106710A (en) * 2003-09-30 2005-04-21 Chugoku Electric Power Co Inc:The Electric power charge calculation device, electric power charge calculation system, electric power charge calculation method, electric power charge calculation program, and recording medium recorded with program
JP2008041038A (en) * 2006-08-10 2008-02-21 Mitsubishi Electric Corp Software creation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05225273A (en) * 1992-02-14 1993-09-03 Matsushita Electric Ind Co Ltd Conversion device for semiconductor integrated circuit logical connection data
JP2003259551A (en) * 2002-03-01 2003-09-12 Sharp Corp Server, system and method for photovoltaic power generation control, and machine readable recording medium for recording program for realizing the method
JP2004310456A (en) * 2003-04-07 2004-11-04 Toho Gas Co Ltd Facility design support system and facility design support device
JP2005106710A (en) * 2003-09-30 2005-04-21 Chugoku Electric Power Co Inc:The Electric power charge calculation device, electric power charge calculation system, electric power charge calculation method, electric power charge calculation program, and recording medium recorded with program
JP2008041038A (en) * 2006-08-10 2008-02-21 Mitsubishi Electric Corp Software creation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5953419B1 (en) * 2015-12-01 2016-07-20 エネチェンジ株式会社 Rate plan management support system and rate plan management support method
JP6444554B1 (en) * 2018-03-27 2018-12-26 三菱電機株式会社 Charge calculation device and charge calculation program
JP2019174977A (en) * 2018-03-27 2019-10-10 三菱電機株式会社 Fee calculation device and fee calculation program

Also Published As

Publication number Publication date
JP5058902B2 (en) 2012-10-24

Similar Documents

Publication Publication Date Title
JP6702092B2 (en) Coupon optimization and delivery in housing demand response
JP7084583B1 (en) Information output device, information output method, and program
Zampou et al. Towards a framework for energy-aware information systems in manufacturing
US20120239558A1 (en) Method and systems for efficiently processing large volumes of complex small value financial transactions
US20050004858A1 (en) Energy advisory and transaction management services for self-serving retail electricity providers
CN111142855B (en) Software development method and software development system
Galanti et al. Object-centric process predictive analytics
KR20140077065A (en) System for engineering procurement construction business management and management method thereof
CN110188255A (en) Power consumer Behavior mining method and system based on the shared fusion of business datum
JP5058902B2 (en) Charge calculation system
Hung et al. Capacity rationing decision procedures with order profit as a continuous random variable
JP2003288476A (en) Line capacity integrated evaluation/management operation system for production line and line capacity integrated evaluation/management operation method for the production line
JPWO2017077920A1 (en) Management support apparatus and management support method
EP2056240A1 (en) Method for efficient product assessment
CN113393190B (en) Warehouse information processing method and device, electronic equipment and readable medium
Wang et al. Measuring Sustainability Performance in the Product Level.
TWI492173B (en) Order system pricing method
CN109816558B (en) Transformer technology service platform system based on SAAS
Zhang et al. Recycling channel selection and financing strategy for capital-constrained retailers in a two-period, closed-loop supply chain
CN111352980A (en) Method and device for generating filing information
CN111427936A (en) Report generation method and device, computer equipment and storage medium
JP2016184250A (en) Profit/loss prediction device and profit/loss prediction program
KR102615356B1 (en) System for providing platform for carbon mitigation, methdo for providing carbon emission information and computer program for the same
JP2009169574A (en) Power rate income trial calculation device
JP7060748B1 (en) Information processing equipment, information processing methods, and programs for building a carbon-free society

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120614

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120703

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120801

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

Free format text: PAYMENT UNTIL: 20150810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees