JP5250481B2 - Rule design support method and rule design support device - Google Patents
Rule design support method and rule design support device Download PDFInfo
- Publication number
- JP5250481B2 JP5250481B2 JP2009122652A JP2009122652A JP5250481B2 JP 5250481 B2 JP5250481 B2 JP 5250481B2 JP 2009122652 A JP2009122652 A JP 2009122652A JP 2009122652 A JP2009122652 A JP 2009122652A JP 5250481 B2 JP5250481 B2 JP 5250481B2
- Authority
- JP
- Japan
- Prior art keywords
- rule
- rules
- design support
- group
- business
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Input From Keyboards Or The Like (AREA)
Description
本発明は、ルール設計支援方法およびルール設計支援装置に関する。 The present invention relates to a rule design support method and a rule design support device.
企業における業務の生産性や品質向上を図るために、業務規則や基準をIF_THEN形式でルール化し、ルールに基づいてシステム処理する方法が知られている。近年当該ルールをシステムのプログラムコードとは独立して管理する、ビジネスルール管理ソフトがある。ルールを独立して管理し、実行することで、ルール変更時の、業務とシステムの柔軟性を高めようとするものである。 In order to improve productivity and quality of business in a company, a method is known in which business rules and standards are ruled in IF_THEN format and system processing is performed based on the rules. In recent years, there is business rule management software that manages the rule independently of the system program code. By managing and executing the rules independently, it is intended to increase the flexibility of business and system when changing rules.
例えば、ビジネスルールを管理し、ビジネスルールの登録、保存、検索を行うためのビジネスルール管理装置の構成が開示されている(例えば、特許文献1参照)。 For example, a configuration of a business rule management device for managing business rules and registering, storing, and retrieving business rules is disclosed (for example, see Patent Document 1).
上記従来技術に記載のビジネスルール管理装置では、ビジネスルールを効率良く、登録、検索することはできる。 With the business rule management device described in the above prior art, business rules can be registered and searched efficiently.
しかしながら、ルールの処理を効率化することはできない。とりわけ、企業では、今後、業務の高度化やコンプライアンス確保の要請が高まり、企業が管理しなければならないビジネスルールはその数が増えていくことが予想され、そのような場合にルールの処理を効率化することがこれまで以上に求められると考えられる。 However, the rule processing cannot be made efficient. In particular, companies are expected to see an increase in the number of business rules that must be managed by companies, and the number of business rules that companies must manage will increase. It is thought that it is required more than ever.
ビジネスルールの中には、業務処理対象のデータが基準や規則に適合しているか、コンプライアンス基準に合致しているかをチェックするチェックルールも数多くある。チェックルールが多い場合には、登録された全てのルールを順次処理することに時間がかかる。また、ルールチェックにひっかかってエラーが出る可能性も多くなり、エラーに対応したデータの修正が増える。さらに修正後に、すでにチェック済みであっても、データを修正したことにより、対応するチェックルールを再度処理し、そこでまたチェックに引っかかって再修正する可能性が増える。 There are many check rules in the business rules that check whether the data to be processed is in compliance with the standards and rules, or in compliance with the compliance standards. When there are many check rules, it takes time to sequentially process all the registered rules. In addition, there is a high possibility that an error will occur due to the rule check, and correction of data corresponding to the error will increase. Furthermore, even if the data has already been checked after the correction, the correction of the data increases the possibility that the corresponding check rule will be processed again, and that it will be caught again and corrected again.
本発明は、上記課題を鑑みてなされたものであり、ルールの処理を効率化する技術を提供することを主たる目的とする。 The present invention has been made in view of the above problems, and has as its main object to provide a technique for improving the efficiency of rule processing.
上記課題を解決するために、本発明は以下の構成を備える。即ち、特定のデータ項目に対するチェック規則を記述したルールを用いてシステム設計を支援するルール設計支援装置におけるルール設計支援方法であって、ルール設計支援装置は、データを記憶する記憶部と、データに対して演算処理を行う演算部と、を備える。ルール設計支援装置の演算部は、特定のデータ項目に対するチェック規則を定義した複数のルールを記憶部に記憶するステップと、記憶部に記憶されたルールとルールが使用するデータ項目との関係を示す、ルールおよびデータ項目の関連テーブルを生成するステップと、関連テーブルを用いて複数のルールを複数のグループに分類するステップと、分類した複数のグループの処理の実行順序を、グループに含まれるルールの数に基づいて設定するステップと、複数のグループのうちのそれぞれのグループに含まれるルールの実行順序を、グループに含まれる複数のルールが使用するデータ項目の参照数に基づいて設定するステップと、を実行する。 In order to solve the above problems, the present invention comprises the following arrangement. That is, a rule design support method in a rule design support apparatus that supports system design using a rule that describes a check rule for a specific data item, the rule design support apparatus includes a storage unit that stores data, and a data An arithmetic unit that performs arithmetic processing on the control unit. The calculation unit of the rule design support device stores a plurality of rules defining check rules for specific data items in the storage unit, and shows a relationship between the rules stored in the storage unit and the data items used by the rules , Generating a relation table of rules and data items, classifying a plurality of rules into a plurality of groups using the relation table, and executing the processing order of the plurality of classified groups of the rules included in the group Setting based on the number, setting the execution order of the rules included in each of the plurality of groups based on the reference number of data items used by the plurality of rules included in the group, Execute.
本発明によれば、ルールの処理を効率化することができる。 According to the present invention, rule processing can be made more efficient.
以下、本発明の実施の形態について、図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<ビジネスルール設計支援システム構成例>
本発明のビジネスルール設計支援方法を実施するためのハードウェア構成である、ビジネスルール設計支援システム100の構成例を、図1に示す。
<Business rule design support system configuration example>
A configuration example of a business rule
ビジネスルール設計支援システム100は、CPU110、メモリ120、通信ポート130、入力装置140、出力装置150、記憶装置160を備える。
The business rule
CPU110は、ビジネスルール設計支援システム100の全体制御を司るもので、記憶装置160に記憶されたビジネスルール処理順序決定プログラム170をメモリ120に読み出して実行することにより、上述したビジネスルール設計支援システム100としての各種機能が実現される。
The
例えば、ビジネスルール登録部101と、ビジネスルールと項目の関連テーブル作成部102、ビジネスルール分類部103、グループ間処理順序決定部104、ビジネスルール毎の関連ルール数算出部105、グループ内ビジネスルール処理順序決定部106が実現される。
For example, the business
メモリ120は、例えば半導体記憶装置により構成することができる。通信ポート130は、通信を行うための装置である。例えばネットワークを介して、ビジネスルール処理順序決定プログラム170を、通信ポート130を通じて他の情報処理装置から受信して、メモリ120や記憶装置160に記憶するようにすることもできる。
The
また、ビジネスルールテーブル300などの各種テーブルを別の情報処理装置に格納しておき、通信ポート130を通じて受信して、ビジネスルール処理順序決定プログラム170の処理に利用することもできる。 Various tables such as the business rule table 300 may be stored in another information processing apparatus, received via the communication port 130, and used for the processing of the business rule processing order determination program 170.
入力装置140は、オペレータなどによるビジネスルール設計支援システム100へのデータ入力などのために用いられる装置でありユーザインターフェースとして機能する。入力装置140としては例えば、キーボードやマウスなどを用いることができる。
The
出力装置150は、情報を外部へ出力するための装置であり、ユーザインターフェースとして機能する。出力装置150としては、例えばディスプレイやプリンタなどを用いることができる。 The output device 150 is a device for outputting information to the outside, and functions as a user interface. For example, a display or a printer can be used as the output device 150.
記憶装置160は、例えばハードディスク装置や半導体記憶装置などとすることができる。記憶装置160には、ビジネスルール処理順序決定プログラム170、ビジネスルールテーブル300などのテーブル類が記憶される。なお、ビジネスルール処理順序決定プログラム170は、複数のプログラムにより構成することもできる。 The storage device 160 can be, for example, a hard disk device or a semiconductor storage device. The storage device 160 stores tables such as the business rule processing order determination program 170 and the business rule table 300. The business rule processing order determination program 170 can also be configured by a plurality of programs.
ビジネスルール設計支援システム100は、いわゆるサーバやワークステーションから構成されるものであってもよい。
The business rule
<処理の流れ>
次に、本実施の形態に係るビジネスルール設計支援方法において、その特徴となる処理手順、すなわちビジネスルール処理順序決定プログラム170の処理フローについて、図2の処理フローに従い、図3から図8を用いながら説明する。
<Process flow>
Next, in the business rule design support method according to the present embodiment, the processing procedure that is a feature thereof, that is, the processing flow of the business rule processing order determination program 170 is shown in FIGS. 3 to 8 according to the processing flow of FIG. While explaining.
なお、ここでは業務の例として、保険商品販売において、顧客からの保険申込を受け付ける業務および、そのための申込受付システムを対象とする。当該業務において、顧客からの保険申込内容に、誤りが無いかや保険会社の業務規則に一致しているかなどを申込受付システムでチェックするためのビジネスルールの実行処理順序を設計する例で述べる。 Here, as an example of business, in insurance product sales, business that receives an insurance application from a customer and an application reception system for that purpose are targeted. In this business, an example of designing a business rule execution processing order for checking by the application reception system whether there is an error in the contents of the insurance application from the customer or whether it matches the business rules of the insurance company will be described.
<ステップ101>ビジネスルール登録
入力装置140より、ビジネスルールを登録する。登録されたビジネスルールは、ビジネスルールテーブル300に格納される。
<
図3に、ビジネスルールテーブル300のテーブル構成例を示す。ビジネスルールテーブル300は、ルールを識別するためのルール番号フィールド310、ルールの条件部分に相当しデータ項目に対するチェック内容を表したルール条件部フィールド320、ルールの条件部に合致した場合のアクションを記述したルール結論THEN部フィールド330、ルール条件部に合致しない場合のアクションを記述したルール結論ELSE部フィールド340とからなる。
FIG. 3 shows a table configuration example of the business rule table 300. The business rule table 300 describes a
本実施の形態で例としているビジネスルールは、保険の申込内容をチェックするためのものである。例えば、図3のルール番号1のルールの条件部は、「保険終期」−「保険始期」≠「保険期間」であり、結論THEN部はチェックNGでエラーを出力し、結論ELSE部はチェックOKである。これは、申込情報の中にある、保険契約の終了日にあたる「保険終期」のデータ項目の値と、開始日にあたる「保険始期」のデータ項目の値の差が、「保険期間」のデータ項目の値と、異なっているかどうかをチェックし、異なっていればエラーを出力することをあらわしている。
The business rule exemplified in the present embodiment is for checking the contents of insurance application. For example, the condition part of the rule of
ビジネスルールの登録は、入力装置140を用いるほかに、ネットワークを介して、通信ポート130を通じて他の情報処理装置から受信して、記憶装置160に記憶するようにすることもできる。
In addition to using the
<ステップ102>ビジネスルールと項目の関連テーブル作成
ステップ101で登録された申込受付業務のためのビジネスルールテーブル300を用いて、ビジネスルールと項目の関連テーブル400を作成する。
<Step 102> Creation of Business Rule and Item Association Table Using the business rule table 300 for application acceptance work registered in
各ビジネスルールの条件部で定義されているデータ項目から、どのデータ項目がどのビジネスルールで利用されているかの関連を明らかにしたテーブルを作成する。 From the data items defined in the condition part of each business rule, a table is created in which the relationship between which data item is used in which business rule is clarified.
図4に、ビジネスルールと項目の関連テーブル400の構成例を示す。登録ルールで利用されているルール利用項目フィールド410、登録ルールの番号からなるルール番号フィールド群420とからなる。
FIG. 4 shows a configuration example of the business rule / item association table 400. A rule
まず、ルール利用項目フィールド410には、ビジネスルールテーブル300の、ルール条件部フィールド320の、各ルールの条件部で定義されているデータ項目を抽出し、その項目を入力する。ルール番号フィールド群420は、ビジネスルールテーブル300のルール番号フィールド310にある番号に対応したフィールドを作成する。ルール利用項目の行とルール番号の列が交差したセルには、当該ルール番号で、当該項目が利用されていれば、そのことを表す値、図4の例では○を入力する。
First, in the rule
例えば、図4ではルール番号1は、条件部の項目として「保険始期」「保険終期」「保険期間」を利用しているので、「保険始期」「保険終期」「保険期間」の列と、「ルール番号1」の行が交差するセルに○が入力されている。また、「保険始期」は、ルール番号1と2と4で利用されているため、「ルール番号1」「ルール番号2」「ルール番号4」の各フィールドと交差するセルに○が入力されている。項目が利用されていることを示す値は、○でなくても、他の値であってもよい。
For example, in FIG. 4,
<ステップ103>ビジネスルールの分類
ステップ102で作成した、ビジネスルールと項目の関連テーブル400を用いて、ビジネスルールをグループ化し、分類する。
<Step 103> Business Rule Classification Using the business rule / item relation table 400 created in
ビジネスルールのグループとは、直接あるいは間接的に同じデータ項目を条件部で利用しているビジネスルール同士を分類したものである。 The business rule group is a group of business rules that directly or indirectly use the same data item in the condition part.
具体的には、ビジネスルールの分類は、2つのビジネスルールに対して、利用しているデータ項目に同じものが一つでもあれば、同じグループとすることで、分類していく。 Specifically, the business rules are classified by using the same group for two business rules if there is at least one same data item.
図4のビジネスルールと項目の関連テーブル400の例では、ルール番号1とルール番号2は、「保険始期」の項目を双方のルールで利用しているので、同じグループとする。また、ルール番号3は、ルール番号1とルール番号2のうちルール番号1の「保険期間」の項目を利用しているので、ルール番号1,2と同じグループとする。これをルール毎に繰り返していくと、ルール番号1〜7までは、同じグループとして分類される。
In the example of the business rule and item relation table 400 in FIG. 4,
ルール番号8については、利用項目の「契約者名」「口座振替契約者名」は、他のどのルールでも利用されていないため、ルール番号8のみのグループとなる。ルール番号9も他のルールと同じ利用項目がないため、一つのグループとなる。図5に以上のグループ分類の状況を示す。図5では、ルール番号1〜7はグループ1、ルール番号8はグループ2、ルール番号9はグループ3として示されている。
Regarding the
このようにして、ルール番号1〜7までのグループ1と、ルール番号8のグループ2と、ルール番号9のグループ3とに分類でき、各ルールのグループ番号をビジネスルールと項目の関連テーブル400の、グループ番号レコード510に入力する。
In this way, it can be classified into
<ステップ104>グループ間処理順序の決定
ステップ103で作成したビジネスルールのグループに対して、グループごとにルール実行処理の優先順位を決定する。
<Step 104> Determination of processing order between groups For the group of business rules created in
グループごとの実行処理順序を、ここでは、グループに含まれるルール数の多い順から優先順位を高く決定する。例えば、ルールグループ1は7個のルール、ルールグループ2と3は、1個のルールがそれぞれ含まれる。よって、ルールグループ1のルール番号1〜7には優先順位1を、ルールグループ2と3は同じルール数であるので、どちらが優先順位が高くてもよいが、ルールグループ2のルール番号8に優先順位2を、ルールグループ3のルール番号9に優先順位3を設定する。
Here, the order of execution processing for each group is determined so as to increase the priority from the order of the number of rules included in the group. For example,
グループに含まれるルール数の多い順としたが、逆にルール数の少ない順であってもよい。また予め設定した順序に従い、優先順位を決定してもよい。 The order in which the number of rules included in the group is large is used, but the order in which the number of rules is small may be used. Further, the priority order may be determined according to a preset order.
図6に、決定した処理順序を格納する、ビジネスルール処理順序テーブル600のテーブル構成例を示す。ビジネスルール処理順序テーブル600は、ルール番号フィールド610と、グループ間優先順序フィールド620、グループ内処理順序フィールド630と、最終処理順序フィールド640とからなる。グループ内処理順序フィールド630と、最終処理順序フィールド640については、ステップ106で述べる。
FIG. 6 shows a table configuration example of the business rule processing order table 600 that stores the determined processing order. The business rule processing order table 600 includes a
<ステップ105>ビジネスルール毎の関連ルール数算出
ステップ102で作成した、ビジネスルールと項目の関連テーブル400を用いて、ビジネスルール毎の関連ルール数を算出する。
<Step 105> Calculation of the number of related rules for each business rule The number of related rules for each business rule is calculated using the business rule and item relationship table 400 created in step.
関連ルール数は、当該ビジネスルールで利用している項目と同じ項目を利用している他のビジネスルール(以下、関連ルールと呼ぶ)の合計数である。 The number of related rules is the total number of other business rules (hereinafter referred to as related rules) that use the same items as the items used in the business rules.
図7に、関連ルール数算出テーブル700のテーブル構成例を示す。関連ルール数算出テーブル700は、ビジネスルールと項目の関連テーブル400に、算出した関連ルール数をルールごとに格納するための、関連ルール数レコード710を付加したものである。
FIG. 7 shows a table configuration example of the related rule number calculation table 700. The related rule number calculation table 700 is obtained by adding a related
例えば、ルール番号1のルールは、関連テーブルをみると、「保険始期」「保険終期」「保険期間」の3項目を利用している。まず「保険始期」については、同じレコードをみると関連の値が入っているルール番号2と4でも、利用されていることがわかる。つまり、関連するルールは2つである。また、次の項目「保険終期」は、他のルールでは利用されていない。「保険期間」は、ルール番号3、5、7の3つで利用されている。よって、ルール番号1の関連ルール数は、5となる。これを同じようにルール毎に算出していく。算出した各ルールの関連ルール数を、関連ルール数レコード710の対応するルール番号フィールドに格納する。
For example, the rule with
<ステップ106>グループ内ビジネスルール処理順序決定
ステップ105で算出した関連ルール数の大きい順に、同一グループ内のルール処理順序を決定する。図7の例では、関連ルール数が5ともっとも大きい、ルール番号1のルールを最初の処理として処理順序1とする。
<Step 106> In-Group Business Rule Processing Order Determination The rule processing order in the same group is determined in descending order of the number of related rules calculated in
以下順に、関連ルール数の多い順に、各ルールの処理順序を設定する。 In the following order, the processing order of each rule is set in descending order of the number of related rules.
これは、関連ルール数が多いものを後に処理すると、当該ルールでチェック後にエラーが出た場合に、項目を修正して再チェックするが、同じ項目を利用している関連ルールがチェック済みであっても、再度チェックしなければならいためである。この再チェックにより、関連ルールでもエラーが発生する可能性が高まり、チェックとその修正の負荷が多くなる。そこで、関連ルール数が多いルールを先にチェックする処理順序とすることで、チェックと修正の負荷を少なくするものである。 This is because if a rule with a large number of related rules is processed later, if an error occurs after checking the relevant rule, the item is corrected and rechecked, but the related rule using the same item has already been checked. This is because it must be checked again. This recheck increases the possibility of errors in related rules, and increases the load of checking and correcting it. Therefore, the load of checking and correcting is reduced by setting the processing order in which rules with a large number of related rules are checked first.
図8は、ビジネス処理順序テーブル600に、グループ内処理順序フィールド630と、最終処理順序フィールド640の値を格納したものである。
FIG. 8 shows the values in the in-group
グループ内処理順序フィールド630には、関連ルール数の多い順に設定したグループ内の処理順序を設定する。最終処理順序フィールド640は、グループ間処理順序フィールド620とグループ内処理順序フィールド630の、それぞれ順序値からルール全体での処理順序を決定したものである。
In the in-group
つまり、グループ間処理順序を優先し、次にグループ内処理順序を優先してルール順を決める。図8の例では、グループ間処理順序が1で、グループ内処理順序が1であるルール番号1が処理順序1となり、最後は、グループ間処理順序3で、グループ内処理順序1のルール番号9が、最後の処理順序9となる。
That is, the rule order is determined by giving priority to the inter-group processing order and then giving priority to the intra-group processing order. In the example of FIG. 8,
ステップ101から106の処理を行うことで、ビジネスルールの処理順序を決定することができる。
By performing the processing of
以上、本発明の実施形態によれば、ビジネスルールの処理時間や修正時間を短縮するための、ビジネスルールの処理順序を決定することができるようになる。 As described above, according to the embodiment of the present invention, it is possible to determine the processing order of business rules for reducing the processing time and correction time of business rules.
次に、上述した手順で処理順序を決定したビジネスルールを、業務において実行する場合のビジネスルール実行処理について説明する。 Next, business rule execution processing in the case where business rules whose processing order is determined by the above-described procedure are executed in business will be described.
<ビジネスルール実行処理>
ビジネスルールを実行するためのハードウェア構成である、ビジネスルール実行支援システム900の構成例を、図9に示す。
<Business rule execution processing>
A configuration example of a business rule execution support system 900, which is a hardware configuration for executing business rules, is shown in FIG.
ビジネスルール実行支援システム900は、CPU910、メモリ920、通信ポート930、入力装置940、出力装置950、記憶装置960を備える。CPU910は、ビジネスルール実行支援システム900の全体制御を司るもので、記憶装置960に記憶されたビジネスルール実行プログラム970、をメモリ920に読み出して実行することにより、上述したビジネスルール実行支援システム900としての各種機能が実現される。
The business rule execution support system 900 includes a
以下、メモリ920、通信ポート930、入力装置940、出力装置950、記憶装置960の各装置は、ビジネスルール設計支援システム100の各装置と同等であるため、説明を省略する。そのため、ビジネスルール実行支援システム900は、ビジネスルール設計支援システム100と物理的に同一のシステムとして、記憶装置にそれぞれに対応したプログラムとテーブルを格納したものであってもよい。
Hereinafter, the
記憶装置960には、ビジネスルール実行プログラム970、ビジネスルールテーブル300、ビジネスルール処理順序テーブル600、ルール処理状況管理テーブル1200が記憶される。 The storage device 960 stores a business rule execution program 970, a business rule table 300, a business rule processing order table 600, and a rule processing status management table 1200.
ビジネスルールテーブル300と、ビジネスルール処理順序テーブル600は、上述したビジネスルール設計支援システム100で登録、作成したものである。
The business rule table 300 and the business rule processing order table 600 are registered and created by the business rule
ビジネスルールテーブル300と、ビジネスルール処理順序テーブル600を読み込むために、例えばネットワークを介して、ビジネスルールテーブル300と、ビジネスルール処理順序テーブル600を、通信ポート930を通じてビジネスルール設計支援システム100から受信して、記憶装置960に記憶しておく。あるいは、記憶媒体を用いて記憶装置960に格納してもよい。
In order to read the business rule table 300 and the business rule processing order table 600, the business rule table 300 and the business rule processing order table 600 are received from the business rule
次に、処理順序を決定したビジネスルールを、業務において実行する場合の処理手順、すなわち、ビジネスルール実行プログラム970の処理フローについて、図10の処理フローに従い、図11から図13を用いながら説明する。 Next, the processing procedure for executing business rules whose processing order has been determined in the business, that is, the processing flow of the business rule execution program 970 will be described according to the processing flow of FIG. 10 and using FIGS. 11 to 13. .
なお、ここでは業務の例として、ビジネスルール処理順序決定と同様に、保険商品販売において、顧客からの保険申込を受け付ける業務および、そのための申込受付システムを対象とする。当該業務において、顧客からの保険申込内容に、誤りが無いかや保険会社の業務規則に一致しているかなどを申込受付システムでチェックする例で述べる。 Here, as an example of business, similar to business rule processing order determination, in insurance product sales, business that accepts an insurance application from a customer and an application reception system for that purpose are targeted. In this business, an example will be described in which the application acceptance system checks whether there are no errors in the contents of the insurance application from the customer and whether it matches the business rules of the insurance company.
<ステップ1001>業務データ入力
業務データを入力する。図11に、業務データ入力画面1100の例を示す。
<
本実施例での業務データは、保険申込データである。保険を申込む顧客、もしくは、申込を受けた保険販売代理店の営業員がデータを業務データ入力画面1100により、入力装置940を用いて入力する。ここでは、同一システムで入力する例としているが、例えばネットワークを介して、入力データを、通信ポート930を通じて他の情報処理装置から受信してもよい。 The business data in this embodiment is insurance application data. A customer who applies for insurance or a sales representative of an insurance sales agent who has received an application inputs data using the input device 940 on the business data input screen 1100. In this example, input is performed by the same system, but input data may be received from another information processing apparatus through the communication port 930, for example, via a network.
業務データ入力画面1100は、業務データ入力エリア1101、業務データ登録ボタン1102、メッセージエリア1103とからなる。
The business data input screen 1100 includes a business
業務データ入力エリア1101は、申込に必要ないくつかの入力項目からなる。図11の例では、保険申込人の住所、氏名、契約の申込日、保険始期、保険終期、保険期間、保険料支払い方法や支払回数などの情報がある。
The business
入力装置940を用いて、業務データを入力し、業務データ登録ボタン1102を押下する。メッセージエリア1103は、ルールに基づくチェック結果のメッセージを出力するエリアであり、ステップ1106で述べる。
Using the input device 940, business data is input and a business
<ステップ1002>ルール処理順序読込
ビジネスルール処理順序テーブル600を記憶装置960から読み込み、ビジネスルール処理順序を読み込む。
<
<ステップ1003>個別ルール呼出
ステップ1002で読み込んだビジネス処理順序に従い、順番に個別ルールをビジネスルールテーブル300から呼び出す。例えば、最初は、図8のビジネスルール処理順序テーブル600の例では、1番目のルールはルール番号1である。よって、図3のビジネスルールテーブル300の例では、ルール番号1の「保険終期」−「保険始期」≠「保険期間」のチェックルールを呼び出す。
<
ここで、ルールを呼び出す際に、ビジネスルール処理状況管理テーブル1200を参照し、すでに、「処理済みOK」であれば、次の順序のルールを呼び出す。 Here, when calling a rule, the business rule processing status management table 1200 is referred to. If the rule has already been processed, the next rule is called.
ビジネスルール処理状況管理テーブル1200の構成例を図12示す。ビジネスルール処理状況管理テーブル1200は、ルール番号フィールド1201と、ルール処理順序フィールド1202、ルール処理状況フィールド1203とからなる。
A configuration example of the business rule processing status management table 1200 is shown in FIG. The business rule processing status management table 1200 includes a
ルール番号フィールド1201、ルール処理順序フィールド1202は、ステップ1002で読み込んだビジネスルール処理順序テーブル600のルール番号と処理順序である。ルール処理状況フィールド1203は、当該ルールの処理状況を格納する。未だルールを処理していなければ「未処理」、ルールを処理しOKであれば「処理済みOK」、ルールを処理しエラーが出ていれば「処理済みNG」の値を格納する。
The
本ステップを最初に行う場合には、全て「未処理」である。もし、処理順序であるが既に「処理済み」OKであれば、当該ルールの順序は飛ばして、次の「未処理」もしくは「処理済みNG」のルールを処理する。これにより、すでにルールを処理済みであり、OKが出ているルールを再チェックする処理を減らすことができる。ルール処理状況の値の更新については、ステップ1004で述べる。
When this step is performed for the first time, all are “unprocessed”. If the processing order is already “processed” OK, the rule order is skipped, and the next “unprocessed” or “processed NG” rule is processed. As a result, it is possible to reduce processing for re-checking rules that have already been processed for rules and that are OK. The update of the rule processing status value will be described in
<ステップ1004>個別ルール処理実行
ステップ1003で呼び出したルールを、ステップ1001で入力された業務データに対して、実行する。例えば、ルール番号1のIF部は、「保険終期」−「保険始期」≠「保険期間」のチェックルールであるため、入力された業務データの「保険終期」と、「保険始期」、「保険期間」の値を上記ルールに当てはめ、IF部を満たすかどうかチェックする。
<
ビジネスルールのチェック結果により、OKであれば、ルール処理状況管理テーブル1200の、ルール番号に対応するルール処理状況フィールド1203の値を「処理済みOK」に更新する。そして、次のチェックへ進むため、ステップ1005へ遷移する。 If the result of the business rule check indicates OK, the value of the rule processing status field 1203 corresponding to the rule number in the rule processing status management table 1200 is updated to “processed OK”. Then, in order to proceed to the next check, the process proceeds to step 1005.
チェック結果がNGであれば、ルール処理状況管理テーブル1200の、ルール番号に対応するルール処理状況フィールド1203の値を「処理済みNG」に更新する。そしてエラーを出力するため、ステップ1006へ遷移する。 If the check result is NG, the value of the rule processing status field 1203 corresponding to the rule number in the rule processing status management table 1200 is updated to “processed NG”. And in order to output an error, it changes to step 1006.
<ステップ1005>ルール処理順序確認
ステップ1004のビジネスルールのチェック結果により、OKであれば、ステップ1002で読み込んだルール処理順序を参照し、次の順序のルールがあれば、そのルール番号を確認する。そして、ステップ1003へ遷移し、当該ルール番号のルールを呼び出し、ルール処理を実行する1004の流れを繰り返す。
<
ステップ1003からステップ1005の処理を繰り返し、ビジネスルール処理順序テーブル600にある最後の順序のルールを処理し、次のルールが無い場合、エラーが無いこととなり業務データの登録を完了し、終了へ遷移する。
The processing from
<ステップ1006>エラー出力
ステップ1004のビジネスルールのチェック結果により、NGであれば、エラーメッセージを出力する。
<
例えば、図11の例の業務データに対し、ルール番号1のIF部は、「保険終期」−「保険始期」≠「保険期間」を適用した場合、「保険終期」は2011/1/31、「保険始期」は2009/2/1、「保険期間」は1年であるため、上記チェックルールによるとNGとなる。
For example, for the business data in the example of FIG. 11, if the IF part of
そのため、図13に示すように業務データ入力画面1100のエラーメッセージエリアにエラーメッセージを出力する。図13の例では、「「保険始期」と「保険終期」の期間とが、「保険期間」とが一致していません。修正してください。」というメッセージが出力されている。この結果、ステップ1001へ遷移し、システムの利用者である顧客、もしくは営業員が、「保険始期」「保険終期」「保険期間」を見直し、修正入力することとなる。 Therefore, an error message is output to the error message area of the business data input screen 1100 as shown in FIG. In the example of FIG. 13, the “insurance start” and “insurance end” periods do not match the “insurance period”. Please correct. Is output. As a result, the process proceeds to step 1001 where the customer or salesperson who is the user of the system reviews and inputs the “insurance start”, “insurance end” and “insurance period”.
ここで、ルール番号1の「保険始期」「保険終期」「保険期間」の各項目は、他のチェックルール2,3,4,5,7でも利用されている。ルール番号1は処理順序が1番目であるため、各項目に修正があっても、ルール番号1のみ再チェックを行えばよく、他のルール2,3,4,5,7は、そのチェックがOKとなった後、チェックすればよい。
Here, the items of “insurance start”, “insurance end”, and “insurance period” of
以上、業務データの入力から、ルールのチェック処理実行処理を繰り返すが、例えば、ルール番号6は7番目の処理順序である。ここで、ルール番号6でエラーが生じても、関連するルールは、ルール番号7のみであり、まずはルール番号7のみを再チェックすればよく、再チェックを減らすことができる。
The rule check process execution process is repeated from the input of business data as described above. For example,
もし、逆に、ルールの処理順序が、ルール番号1が最初でなく、最後であった場合には、チェックルール2,3,4,5,7がチェック済みではあるが、ルール番号1のエラーにより項目の修正があると、再度チェックを行う必要があり、またそのことにより再度エラーが出て修正する可能性が高まる。
Conversely, if the rule processing order is
ビジネスルールの処理順序が、ステップ101からステップ106で設計された順序で処理することで、他のチェックルールを再度チェックする箇所を減らすことが可能となる。ひいては利用者がエラーの修正を行う負担を削減できる。
By processing the business rules in the order designed in
以上発明を実施するための最良の形態について説明したが、上記実施の形態は本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。 Although the best mode for carrying out the invention has been described above, the above embodiment is intended to facilitate understanding of the present invention and is not intended to limit the present invention.
101 ビジネスルール登録部
102 ビジネスルールと項目の関連テーブル作成部
103 ビジネスルール分類部
104 グループ間処理順序決定部
105 ビジネスルール毎の関連ルール数算出部
106 グループ内ビジネスルール処理順序決定部
DESCRIPTION OF
Claims (16)
前記ルール設計支援装置は、データを記憶する記憶部と、データに対して演算処理を行う演算部と、を備え、
前記ルール設計支援装置の演算部が、
特定のデータ項目に対するチェック規則を定義した複数のルールを前記記憶部に記憶するステップと、
前記記憶部に記憶された前記ルールと前記ルールが使用するデータ項目との関係を示す、ルールおよびデータ項目の関連テーブルを生成するステップと、
前記関連テーブルを用いて前記複数のルールを複数のグループに分類するステップと、
前記分類した複数のグループの処理の実行順序を、前記グループに含まれるルールの数に基づいて設定するステップと、
前記複数のグループのうちのそれぞれのグループに含まれるルールの実行順序を、前記グループに含まれる複数のルールが使用するデータ項目の参照数に基づいて設定するステップと、
を実行することを特徴とするルール設計支援方法。 A rule design support method in a rule design support device that supports system design using a rule describing a check rule for a specific data item,
The rule design support device includes a storage unit that stores data, and an arithmetic unit that performs arithmetic processing on the data,
The arithmetic unit of the rule design support device,
Storing a plurality of rules defining check rules for specific data items in the storage unit;
Generating an association table of rules and data items indicating a relationship between the rules stored in the storage unit and data items used by the rules;
Classifying the plurality of rules into a plurality of groups using the association table;
Setting the execution order of the processing of the plurality of classified groups based on the number of rules included in the group;
Setting an execution order of rules included in each of the plurality of groups based on the number of references of data items used by the plurality of rules included in the group;
A rule design support method characterized by executing
前記それぞれグループに含まれるルールの数が多い順に、前記複数のグループの処理の実行順序を設定することを特徴とするルール設計支援方法。 A rule design support method according to claim 1,
A rule design support method, wherein an execution order of processing of the plurality of groups is set in descending order of the number of rules included in each group.
前記それぞれのグループに含まれる複数のルールが使用するデータ項目の使用数が多い順に、前記グループに含まれるルールの実行順序を設定することを特徴とするルール設計支援方法。 A rule design support method according to claim 1 or 2,
A rule design support method, comprising: setting an execution order of rules included in the group in descending order of use of data items used by the plurality of rules included in each group.
前記ルールが使用するデータ項目を使用する、他のルールの数の合計を関連ルール数として算出し、前記関連ルール数が多い順に、前記グループに含まれるルールの実行順序を設定することを特徴とするルール設計支援方法。 A rule design support method according to claim 3, wherein
The total number of other rules using the data items used by the rule is calculated as the number of related rules, and the execution order of the rules included in the group is set in the order of the number of related rules. Rule design support method to do.
前記関連ルール数が同数である場合には、前記ルールで使用されるデータ項目の数が多い順に、前記グループに含まれるルールの実行順序を設定することを特徴とするルール設計支援方法。 A rule design support method according to claim 4,
A rule design support method, wherein when the number of related rules is the same, the execution order of the rules included in the group is set in descending order of the number of data items used in the rule.
それぞれのルールが使用するデータ項目を他のルールが使用している場合には、当該ルールと当該他のルールを同じグループとして分類することを特徴とするルール設計支援方法。 A rule design support method according to any one of claims 1 to 5,
A rule design support method, characterized in that when another rule uses a data item used by each rule, the rule and the other rule are classified as the same group.
前記それぞれのルールが使用するデータ項目を他のルールが使用している場合に当該ルールと当該他のルールを同じグループとして分類することを繰り返し、複数のルールで共通して使用されるデータ項目を備える当該複数のルールを同じグループとして分類することを特徴とするルール設計支援方法。 A rule design support method according to any one of claims 1 to 6,
When the data item used by each rule is used by another rule, the rule and the other rule are repeatedly classified as the same group, and the data item commonly used by a plurality of rules is A rule design support method comprising classifying the plurality of rules as a group.
前記設定されたグループの実行順序および前記設定されたルールの実行順序に従って、前記それぞれのルールの処理を実行することを特徴とするルール設計支援方法。 A rule design support method according to any one of claims 1 to 7,
A rule design support method, wherein the processing of each rule is executed in accordance with the execution order of the set group and the execution order of the set rule.
データを記憶する記憶部と、前記データに対して演算処理を行う演算部と、を備え、
前記演算部が、
特定のデータ項目に対するチェック規則を定義した複数のルールを前記記憶部に記憶し、
前記記憶部に記憶された前記ルールと前記ルールが使用するデータ項目との関係を示す、ルールおよびデータ項目の関連テーブルを生成し、
前記関連テーブルを用いて前記複数のルールを複数のグループに分類し、
前記分類した複数のグループの処理の実行順序を、前記グループに含まれるルールの数に基づいて設定し、
前記複数のグループのうちのそれぞれのグループに含まれるルールの実行順序を、前記グループに含まれる複数のルールが使用するデータ項目の参照数に基づいて設定することを特徴とするルール設計支援装置。 A rule design support device that supports system design using a rule describing a check rule for a specific data item,
A storage unit that stores data; and an arithmetic unit that performs arithmetic processing on the data;
The computing unit is
Storing a plurality of rules defining check rules for specific data items in the storage unit;
Generating a relation table of rules and data items indicating the relationship between the rules stored in the storage unit and the data items used by the rules;
Classifying the plurality of rules into a plurality of groups using the association table;
The execution order of the processing of the plurality of classified groups is set based on the number of rules included in the group,
A rule design support apparatus, wherein an execution order of rules included in each of the plurality of groups is set based on a reference number of data items used by the plurality of rules included in the group.
前記演算部は、前記それぞれグループに含まれるルールの数が多い順に、前記複数のグループの処理の実行順序を設定することを特徴とするルール設計支援装置。 The rule design support device according to claim 9,
The operation unit sets the execution order of processing of the plurality of groups in descending order of the number of rules included in each group.
前記演算部は、前記それぞれのグループに含まれる複数のルールが使用するデータ項目の使用数が多い順に、前記グループに含まれるルールの実行順序を設定することを特徴とするルール設計支援装置。 The rule design support device according to claim 9 or 10,
The rule design support device, wherein the calculation unit sets an execution order of rules included in the group in descending order of the number of data items used by the plurality of rules included in each group.
前記演算部は、前記ルールが使用するデータ項目を使用する、他のルールの数の合計を関連ルール数として算出し、前記関連ルール数が多い順に、前記グループに含まれるルールの実行順序を設定することを特徴とするルール設計支援装置。 The rule design support device according to claim 11,
The calculation unit calculates the total number of other rules using the data items used by the rule as the number of related rules, and sets the execution order of the rules included in the group in descending order of the number of related rules. A rule design support device characterized by:
前記演算部は、前記関連ルール数が同数である場合には、前記ルールで使用されるデータ項目の数が多い順に、前記グループに含まれるルールの実行順序を設定することを特徴とするルール設計支援装置。 The rule design support device according to claim 12,
When the number of related rules is the same, the calculation unit sets the execution order of rules included in the group in descending order of the number of data items used in the rule. Support device.
前記演算部は、それぞれのルールが使用するデータ項目を他のルールが使用している場合には、当該ルールと当該他のルールを同じグループとして分類することを特徴とするルール設計支援装置。 The rule design support device according to any one of claims 9 to 13,
The rule calculation support device, wherein, when another rule uses a data item used by each rule, the calculation unit classifies the rule and the other rule as the same group.
前記演算部は、前記それぞれのルールが使用するデータ項目を他のルールが使用している場合に当該ルールと当該他のルールを同じグループとして分類することを繰り返し、複数のルールで共通して使用されるデータ項目を備える当該複数のルールを同じグループとして分類することを特徴とするルール設計支援装置。 The rule design support device according to any one of claims 9 to 14,
The arithmetic unit repeats classifying the rule and the other rule as the same group when the data item used by each rule is used by another rule, and is used in common by a plurality of rules. A rule design support apparatus, wherein the plurality of rules including data items to be processed are classified as the same group.
前記演算部は、前記設定されたグループの実行順序および前記設定されたルールの実行順序に従って、前記それぞれのルールの処理を実行することを特徴とするルール設計支援装置。 The rule design support device according to any one of claims 9 to 15,
The rule design support device, wherein the arithmetic unit executes the processing of each rule in accordance with the execution order of the set group and the execution order of the set rule.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009122652A JP5250481B2 (en) | 2009-05-21 | 2009-05-21 | Rule design support method and rule design support device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009122652A JP5250481B2 (en) | 2009-05-21 | 2009-05-21 | Rule design support method and rule design support device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010271883A JP2010271883A (en) | 2010-12-02 |
| JP5250481B2 true JP5250481B2 (en) | 2013-07-31 |
Family
ID=43419865
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009122652A Expired - Fee Related JP5250481B2 (en) | 2009-05-21 | 2009-05-21 | Rule design support method and rule design support device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5250481B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111814981A (en) * | 2020-06-23 | 2020-10-23 | 中国科学院软件研究所 | A Distributed Real-Time Rule Inference Scheduling Method |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5900599B2 (en) | 2012-02-20 | 2016-04-06 | 富士通株式会社 | Electronic computer system and virtual machine placement method |
| CN111179097B (en) * | 2019-11-28 | 2023-07-28 | 泰康保险集团股份有限公司 | Method, device, electronic equipment and storage medium for modifying warranty |
| KR102150909B1 (en) * | 2020-02-27 | 2020-09-03 | 주식회사 이노룰스 | System for business rule management |
| WO2021172953A1 (en) * | 2020-02-27 | 2021-09-02 | 주식회사 이노룰스 | Business rule management system |
| KR102187322B1 (en) * | 2020-02-27 | 2020-12-08 | 주식회사 이노룰스 | System for business rule management |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02272631A (en) * | 1989-04-13 | 1990-11-07 | Ricoh Co Ltd | Inference processor |
| JPH03171330A (en) * | 1989-11-30 | 1991-07-24 | Nec Corp | Inference mechanism for production system |
| JP3186086B2 (en) * | 1991-04-30 | 2001-07-11 | オムロン株式会社 | Rule grouping method and apparatus, and fuzzy inference method and apparatus according to grouped rules |
| JP4028051B2 (en) * | 1997-10-22 | 2007-12-26 | 株式会社三井住友銀行 | Data input processing device |
-
2009
- 2009-05-21 JP JP2009122652A patent/JP5250481B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111814981A (en) * | 2020-06-23 | 2020-10-23 | 中国科学院软件研究所 | A Distributed Real-Time Rule Inference Scheduling Method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010271883A (en) | 2010-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5250481B2 (en) | Rule design support method and rule design support device | |
| US9563617B2 (en) | Custom validation of values for fields of submitted forms | |
| CN110262889B (en) | Link tracking method and device | |
| CN109117141B (en) | Method, apparatus, electronic device, computer-readable storage medium for simplified programming | |
| EP3596674B1 (en) | User interface and runtime environment for process definition and process execution tracking | |
| CN107133233B (en) | A method and device for processing configuration data query | |
| CN108153852A (en) | A kind of data processing method, device, terminal device and storage medium | |
| CN115936628A (en) | Data auditing method, device, equipment, storage medium and computer program product | |
| CN110020930B (en) | Financial data system construction method and device | |
| US10664653B2 (en) | Automated structured cloud datatester | |
| CN110020952A (en) | A kind of finance data processing method and device | |
| CN110837511A (en) | Data processing method, system and related equipment | |
| CN115391438A (en) | Method, device, equipment and storage medium for generating data warehouse configuration document | |
| JP2013191120A (en) | Form creation support device, form creation support method, and program | |
| EP4081911A1 (en) | Edge table representation of processes | |
| CN118012938A (en) | Data processing method, device, electronic device, and storage medium | |
| JP6955969B2 (en) | Form creation support system | |
| KR102421271B1 (en) | Service operation system for insurance commission treatment of general agency | |
| JP5678729B2 (en) | Information processing apparatus, work importance calculation method, and work importance calculation program | |
| CN108595552A (en) | Data cube dissemination method, device, electronic equipment and storage medium | |
| JP6653604B2 (en) | Information processing apparatus and information processing program | |
| EP4510001A1 (en) | Data set evaluation based on data lineage analysis | |
| JP2019016234A (en) | Sales management device, sales management method, and sales management program | |
| CN118917926B (en) | Resource replacement method and device for article, computer equipment and storage medium | |
| EP3352101A1 (en) | Information validation method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110616 |
|
| 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: 20130319 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130415 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5250481 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160419 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |