JP6700452B2 - Data aggregation device, data aggregation method, and data aggregation program - Google Patents

Data aggregation device, data aggregation method, and data aggregation program Download PDF

Info

Publication number
JP6700452B2
JP6700452B2 JP2019051554A JP2019051554A JP6700452B2 JP 6700452 B2 JP6700452 B2 JP 6700452B2 JP 2019051554 A JP2019051554 A JP 2019051554A JP 2019051554 A JP2019051554 A JP 2019051554A JP 6700452 B2 JP6700452 B2 JP 6700452B2
Authority
JP
Japan
Prior art keywords
record
data
target
dependent
code
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.)
Active
Application number
JP2019051554A
Other languages
Japanese (ja)
Other versions
JP2019145125A (en
Inventor
雅之 矢野
雅之 矢野
邦明 芹澤
邦明 芹澤
Original Assignee
株式会社オービック
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 株式会社オービック filed Critical 株式会社オービック
Priority to JP2019051554A priority Critical patent/JP6700452B2/en
Publication of JP2019145125A publication Critical patent/JP2019145125A/en
Application granted granted Critical
Publication of JP6700452B2 publication Critical patent/JP6700452B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、データ集計装置、データ集計方法およびデータ集計プログラムに関する。   The present invention relates to a data totaling device, a data totaling method, and a data totaling program.

特許文献1には、基幹系システムに蓄積されている売上や仕入やその他の実績データの分析を支援する分析支援処理装置およびそのプログラムが開示されている(0001段落等参照)。   Patent Document 1 discloses an analysis support processing device and a program for supporting the analysis of sales, purchases and other performance data accumulated in a core system (see paragraph 0001, etc.).

特開2011−248435号公報JP, 2011-248435, A

このような管理会計の分野では、会社等の対象が、図5〜図7に示すような階層構造を有する場合には、前記対象についての売上金額等の数値を効率よく集計することが困難であった。   In such a field of management accounting, when an object such as a company has a hierarchical structure as shown in FIG. 5 to FIG. there were.

本発明は、上記に鑑みてなされたものであって、対象同士が階層構造を有する場合においても、対象についての数値を効率よく集計できるデータ集計装置、データ集計方法およびデータ集計プログラムを提供する。   The present invention has been made in view of the above, and provides a data totaling device, a data totaling method, and a data totaling program that can efficiently aggregate numerical values of objects even when the objects have a hierarchical structure.

上述した課題を解決し、目的を達成するために、本発明に係るデータ集計装置は、制御部を備えるデータ集計装置であって、前記制御部は、最下位層の対象と上位層の対象とが階層を成すことにより形成される階層構造を識別するための階層構造識別データと前記最下位層の対象を識別するための最下位層識別データとを含む対象管理データを参照して、入力された階層構造識別データと紐付く最下位層識別データを取得する取得手段と、最下位層識別データと数値とを含む集計対象データを参照して、前記取得手段で取得した最下位層識別データと紐付く数値を抽出する抽出手段と、前記抽出手段で抽出した数値を集計する集計手段と、を備えること、を特徴とする。   In order to solve the above-mentioned problems and achieve an object, a data aggregating apparatus according to the present invention is a data aggregating apparatus including a control unit, wherein the control unit includes a target of the lowest layer and a target of the upper layer. Is input with reference to target management data including hierarchical structure identification data for identifying a hierarchical structure formed by forming a hierarchy and lowest layer identification data for identifying a target of the lowest layer. Acquisition means for acquiring the lowest layer identification data associated with the hierarchical structure identification data and the aggregation target data including the lowest layer identification data and numerical values, and the lowest layer identification data acquired by the acquisition means It is characterized by comprising an extracting means for extracting the associated numerical values and an aggregating means for totalizing the numerical values extracted by the extracting means.

また、本発明に係るデータ集計装置は、前記対象管理データは、前記階層構造における最上位層から最下位層までの各階層の対象についての情報を有するレコードを含み、前記レコードは、前記階層構造識別データと前記階層構造における各階層を識別するための階層識別データと前記対象を識別するための対象識別データと前記各階層より1つ上位の階層を識別するための上位階層識別データと前記対象より1つ上位の階層の対象を識別するための上位対象識別データとを含み、前記最下位層の対象についての情報を有するレコードである最下位層レコードは、前記最下位層識別データを更に含み、前記取得手段は、前記対象管理データを参照して、入力された階層構造識別データを含むレコードを取得するレコード取得手段と、前記レコード取得手段で取得したレコードから、前記最下位層レコードを取得する最下位層レコード取得手段と、前記最下位層レコード取得手段で取得した最下位層レコードに含まれる上位階層識別データおよび上位対象識別データと同じ階層識別データおよび対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記最下位層レコード取得手段で取得した最下位層レコードに含まれる最下位層識別データを追加したレコードを作成するレコード作成手段と、前記最下位層レコード取得手段で取得した最下位層レコードおよび前記レコード作成手段で作成したレコードを参照して、入力された階層識別データを含むレコードを取得することにより、当該レコードに含まれる最下位層識別データを取得する最下位層データ取得手段と、を更に備えること、を特徴とする。   Further, in the data aggregation device according to the present invention, the target management data includes a record having information about a target of each layer from the highest layer to the lowest layer in the hierarchical structure, and the record has the hierarchical structure. Identification data, layer identification data for identifying each layer in the layered structure, target identification data for identifying the target, upper layer identification data for identifying a layer one level higher than each layer, and the target A lowermost layer record, which is a record having information about the object of the lowermost layer, including upper object identification data for identifying an object of the next higher layer, further includes the lowest layer identification data. The acquisition unit refers to the target management data, acquires the record including the input hierarchical structure identification data, and acquires the lowest layer record from the records acquired by the record acquisition unit. And a record including the same layer identification data and target identification data as the upper layer identification data and the upper target identification data included in the lowest layer record acquired by the lowest layer record acquisition unit, Record creating means for creating a record obtained by referring to the target management data and adding to the obtained record the lowest layer identification data included in the lowest layer record obtained by the lowest layer record obtaining means, By referring to the lowest layer record acquired by the lowest layer record acquisition means and the record created by the record creation means, and acquiring the record including the inputted layer identification data, the lowest layer included in the record is acquired. And lowest layer data acquisition means for acquiring layer identification data.

また、本発明に係るデータ集計装置は、前記レコード作成手段は、前記レコード作成手段で作成したレコードに含まれる上位階層識別データおよび上位対象識別データと同じ階層識別データおよび対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記最下位層レコード取得手段で取得した最下位層レコードに含まれる最下位層識別データを追加したレコードを作成することを、前記最上位層の対象についての情報を有するレコードに前記最下位層レコード取得手段で取得した最下位層レコードに含まれる最下位層識別データを追加するまで繰り返すこと、を特徴とする。   Further, in the data aggregating apparatus according to the present invention, the record creating means stores a record including the same hierarchy identification data and target identification data as the upper hierarchy identification data and the upper target identification data included in the record created by the record creating means. Obtaining a record by referring to the target management data and adding the lowest layer identification data included in the lowest layer record obtained by the lowest layer record obtaining means to the obtained record, The process is repeated until the lowest layer identification data included in the lowest layer record acquired by the lowest layer record acquisition means is added to the record having information about the object of the highest layer.

また、本発明に係るデータ集計装置は、前記集計手段は、前記抽出手段で抽出した数値と、前記最下位層データ取得手段で取得したレコードに含まれる階層構造識別データ、階層識別データおよび対象識別データの組合せとを含む明細を複数含む集計キーデータを参照して、前記組合せが同じである明細を特定し、当該特定した明細に含まれる数値を集計すること、を特徴とする。   Further, in the data aggregating apparatus according to the present invention, the aggregating means includes the numerical values extracted by the extracting means, and the hierarchical structure identification data, the hierarchical identification data and the target identification included in the record obtained by the lowest layer data obtaining means. It is characterized in that by referring to aggregation key data including a plurality of specifications including a combination of data, the specifications having the same combination are specified, and the numerical values included in the specified specifications are totaled.

また、本発明に係るデータ集計装置は、前記集計手段は、前記抽出手段で抽出した数値と、明細識別データと、を含む明細を複数含む集計キーデータを参照して、前記明細識別データが同じ明細が存在する場合、当該明細のうち1つの明細のみを残して他の明細は削除することにより前記集計キーデータを更新し、当該更新した集計キーデータに含まれる明細に含まれる数値を集計すること、を特徴とする。   Further, in the data aggregating apparatus according to the present invention, the aggregating unit refers to aggregating key data including a plurality of items including numerical values extracted by the extracting unit and item identifying data, and the item identifying data is the same. When the item exists, only one item of the item is left and the other items are deleted to update the aggregate key data, and the numerical values included in the item contained in the updated aggregate key data are aggregated. It is characterized by

また、本発明に係るデータ集計方法は、制御部を備える情報処理装置で実行されるデータ集計方法であって、前記制御部で実行される、最下位層の対象と上位層の対象とが階層を成すことにより形成される階層構造を識別するための階層構造識別データと前記最下位層の対象を識別するための最下位層識別データとを含む対象管理データを参照して、入力された階層構造識別データと紐付く最下位層識別データを取得する取得ステップと、最下位層識別データと数値とを含む集計対象データを参照して、前記取得ステップで取得した最下位層識別データと紐付く数値を抽出する抽出ステップと、前記抽出ステップで抽出した数値を集計する集計ステップと、を含むこと、を特徴とする。   Further, a data totaling method according to the present invention is a data totaling method executed by an information processing apparatus including a control unit, wherein a target of a lowest layer and a target of an upper layer which are executed by the control unit are hierarchical. The hierarchy input by referring to the target management data including the hierarchical structure identification data for identifying the hierarchical structure formed by the above and the lowest layer identification data for identifying the target of the lowest layer The acquisition step of acquiring the lowest layer identification data associated with the structure identification data, and the aggregation target data including the lowest layer identification data and a numerical value are referred to, and the lowest layer identification data acquired in the acquisition step is associated. It is characterized by including an extraction step of extracting a numerical value and a totaling step of totalizing the numerical values extracted in the extraction step.

また、本発明に係るデータ集計プログラムは、制御部を備える情報処理装置に実行させるためのデータ集計プログラムであって、前記制御部に実行させるための、最下位層の対象と上位層の対象とが階層を成すことにより形成される階層構造を識別するための階層構造識別データと前記最下位層の対象を識別するための最下位層識別データとを含む対象管理データを参照して、入力された階層構造識別データと紐付く最下位層識別データを取得する取得ステップと、最下位層識別データと数値とを含む集計対象データを参照して、前記取得ステップで取得した最下位層識別データと紐付く数値を抽出する抽出ステップと、前記抽出ステップで抽出した数値を集計する集計ステップと、を含むこと、を特徴とする。   A data totaling program according to the present invention is a data totaling program to be executed by an information processing apparatus including a control unit, and includes a target of the lowest layer and a target of an upper layer for execution by the control unit. Is input with reference to target management data including hierarchical structure identification data for identifying a hierarchical structure formed by forming a hierarchy and lowest layer identification data for identifying a target of the lowest layer. An acquisition step of acquiring the lowest layer identification data associated with the hierarchical structure identification data, the reference data for aggregation including the lowest layer identification data and numerical values, and the lowest layer identification data acquired in the acquisition step. It is characterized by including an extracting step of extracting the associated numerical values and a totaling step of totalizing the numerical values extracted in the extracting step.

本発明によれば、対象同士が階層構造を有する場合においても、対象についての数値を効率よく集計できるという効果を奏する。   According to the present invention, even when the objects have a hierarchical structure, the numerical value of the objects can be efficiently aggregated.

図1は、情報処理装置の構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of an information processing device. 図2は、データ集計を行う際のデータにおける従来の設定例を示す図である。FIG. 2 is a diagram showing a conventional setting example of data when data is aggregated. 図3は、階層化オブジェクト管理情報の概要を示す図である。FIG. 3 is a diagram showing an outline of the hierarchical object management information. 図4は、階層化オブジェクト管理情報におけるデータ例を示す図である。FIG. 4 is a diagram showing an example of data in the hierarchical object management information. 図5は、組織図(1)を示す図である。FIG. 5 is a diagram showing an organization chart (1). 図6は、組織図(2)を示す図である。FIG. 6 is a diagram showing an organization chart (2). 図7は、組織図(3)を示す図である。FIG. 7 is a diagram showing an organization chart (3). 図8は、データ集計を行う際に入力される管理番号、階層レベルおよびノード識別コードの一例を示す図である。FIG. 8 is a diagram showing an example of a management number, a hierarchy level, and a node identification code that are input when data is totaled. 図9は、階層化オブジェクト管理情報を参照して取得した、入力された管理番号を含むレコードを示す図である。FIG. 9 is a diagram showing a record including the input management number, which is acquired by referring to the hierarchical object management information. 図10は、取得したレコードを参照して、階層レベルが2のレコードを取得する流れを示す図である。FIG. 10 is a diagram showing a flow of referring to the acquired record and acquiring the record having the hierarchy level of 2. 図11は、取得した階層レベルが2のレコードに基づいて、階層化オブジェクト管理情報を参照して、階層レベルが1のレコードを取得する流れを示す図である。FIG. 11 is a diagram showing a flow of referring to the hierarchized object management information based on the acquired record having the hierarchy level of 2 and acquiring the record having the hierarchy level of 1. 図12は、取得した階層レベルが1のレコードに基づいて、階層化オブジェクト管理情報を参照して、階層レベルが0のレコードを取得する流れを示す図である。FIG. 12 is a diagram showing a flow of referring to the layered object management information on the basis of the acquired record having the hierarchy level of 1 and acquiring the record having the hierarchy level of 0. 図13は、取得した階層レベルが2、1、0のレコードを参照して、入力された階層レベルおよびノード識別コードを含むレコードを取得する流れを示す図である。FIG. 13 is a diagram showing a flow of referring to the acquired records having the hierarchy levels of 2, 1, 0 and acquiring the record including the inputted hierarchy level and the node identification code. 図14は、取得したレコードに含まれる紐付コードに基づいて、集計対象データを参照して、集計対象値を抽出する流れを示す図である。FIG. 14 is a diagram showing a flow of extracting the aggregation target value by referring to the aggregation target data based on the linking code included in the acquired record. 図15は、抽出した集計対象値の集計結果(ダブルカウントを除去しない場合)を示す図である。FIG. 15 is a diagram showing the totalized result of the extracted totalization target values (when the double count is not removed). 図16は、集計キー情報データの一例を示す図である。FIG. 16 is a diagram showing an example of aggregate key information data. 図17は、抽出した集計対象値の集計結果(ダブルカウントを除去する場合)の一例を示す図である。FIG. 17 is a diagram showing an example of the aggregation result of the extracted aggregation target values (when the double count is removed). 図18は、セキュリティ管理を行う際のデータにおける従来の設定例を示す図である。FIG. 18 is a diagram showing a conventional setting example of data when performing security management. 図19は、ユーザ情報およびユーザグループ情報におけるデータ例を示す図である。FIG. 19 is a diagram showing an example of data in user information and user group information. 図20は、ユーザグループ所属情報におけるデータ例を示す図である。FIG. 20 is a diagram showing an example of data in the user group affiliation information. 図21は、各ユーザがどのユーザグループに所属するかを示す図である。FIG. 21 is a diagram showing which user group each user belongs to. 図22は、権限設定情報におけるデータ例を示す図である。FIG. 22 is a diagram showing an example of data in the authority setting information. 図23は、各ユーザグループが参照可能な組織の範囲を示す図である。FIG. 23 is a diagram showing the range of organizations that can be referred to by each user group. 図24は、組織図(1)において、各ユーザグループが参照可能な組織の範囲を示す図である。FIG. 24 is a diagram showing the range of organizations that can be referred to by each user group in the organization chart (1). 図25は、組織図(2)において、各ユーザグループが参照可能な組織の範囲を示す図である。FIG. 25 is a diagram showing the range of organizations that can be referred to by each user group in the organization chart (2). 図26は、組織図(3)において、各ユーザグループが参照可能な組織の範囲を示す図である。FIG. 26 is a diagram showing the range of organizations that can be referred to by each user group in the organization chart (3). 図27は、階層化オブジェクト管理情報におけるデータ例を示す図である。FIG. 27 is a diagram showing an example of data in the hierarchical object management information. 図28は、権限設定情報におけるデータ例を示す図である。FIG. 28 is a diagram showing an example of data in the authority setting information. 図29は、ユーザグループ所属情報におけるデータ例を示す図である。FIG. 29 is a diagram showing an example of data in the user group affiliation information. 図30は、各ユーザがどのユーザグループに所属するかを示す図である。FIG. 30 is a diagram showing which user group each user belongs to. 図31は、データ集計を行う際に入力される管理番号およびユーザIDの一例を示す図である。FIG. 31 is a diagram showing an example of a management number and a user ID that are input when data is totaled. 図32は、入力されたユーザIDに基づいて、ユーザグループ所属情報を参照して取得したユーザグループコードを示す図である。FIG. 32 is a diagram showing a user group code acquired by referring to the user group affiliation information based on the input user ID. 図33は、入力された管理番号および取得したユーザグループコードに基づいて、権限設定情報を参照して取得した階層レベルおよびノード識別コードを示す図である。FIG. 33 is a diagram showing the hierarchy level and the node identification code acquired by referring to the authority setting information based on the input management number and the acquired user group code. 図34は、入力された管理番号ならびに取得した階層レベルおよびノード識別コードに基づいて、階層化オブジェクト管理情報を参照して取得したレコードを示す図である。FIG. 34 is a diagram showing a record acquired by referring to the hierarchical object management information based on the input management number and the acquired hierarchy level and node identification code. 図35は、取得したレコードに基づいて、階層化オブジェクト管理情報を参照して更に取得したレコードを示す図である。FIG. 35 is a diagram showing a record further acquired by referring to the hierarchical object management information based on the acquired record. 図36は、階層化オブジェクトセキュリティ展開情報におけるデータ例を示す図である。FIG. 36 is a diagram showing an example of data in the hierarchical object security development information. 図37は、階層化オブジェクトセキュリティ展開情報に基づいて、階層化オブジェクト展開情報を参照して取得したレコードを示す図である。FIG. 37 is a diagram showing a record acquired by referring to the hierarchical object expansion information based on the hierarchical object security expansion information. 図38は、内部取引判定を行う際のデータにおける従来の設定例を示す図である。FIG. 38 is a diagram showing a conventional setting example of data when performing internal transaction determination. 図39は、従来の内部取引判定のイメージ図である。FIG. 39 is an image diagram of a conventional internal transaction determination. 図40は、仮想組織からなる階層構造を管理する階層化オブジェクト管理情報におけるデータ例を示す図である。FIG. 40 is a diagram showing an example of data in hierarchical object management information that manages a hierarchical structure made up of virtual organizations. 図41は、仮想セグメントからなる階層構造を管理する階層化オブジェクト管理情報におけるデータ例を示す図である。FIG. 41 is a diagram showing an example of data in hierarchical object management information that manages a hierarchical structure composed of virtual segments. 図42は、仮想組織と仮想セグメントの両方からなる階層構造の一例を示す図である。FIG. 42 is a diagram showing an example of a hierarchical structure composed of both virtual organizations and virtual segments. 図43は、取引先特定項目設定情報の概要を示す図である。FIG. 43 is a diagram showing an outline of the supplier specific item setting information. 図44は、取引先特定パターン設定情報におけるデータ例を示す図である。FIG. 44 is a diagram showing an example of data in the supplier identification pattern setting information. 図45は、取引先特定パターン設定情報におけるデータ例により定義される取引内容を示す図である。FIG. 45 is a diagram showing transaction details defined by an example of data in the customer identification pattern setting information. 図46は、集計対象元データにおけるデータ例を示す図である。FIG. 46 is a diagram showing an example of data in the aggregation target original data. 図47は、取引先特定パターン設定情報の1行目のレコードに基づいて、集計対象元データを更新する流れを示す図である。FIG. 47 is a diagram showing a flow of updating the aggregation target original data based on the record in the first line of the supplier identification pattern setting information. 図48は、取引先特定パターン設定情報の2行目のレコードに基づいて、集計対象元データを更新する流れを示す図である。FIG. 48 is a diagram showing a flow of updating the aggregation target original data based on the record in the second line of the supplier identification pattern setting information. 図49は、取引先特定パターン設定情報の3行目以降のレコードに基づいて、集計対象元データを更新して、集計対象データを作成する流れを示す図である。FIG. 49 is a diagram showing a flow of updating the aggregation target original data based on the records in the third and subsequent rows of the supplier identification pattern setting information to create the aggregation target data. 図50は、内部取引判定を行う際に入力される管理番号、階層レベルおよびノード識別コードの一例を示す図である。FIG. 50 is a diagram showing an example of a management number, a hierarchy level, and a node identification code that are input when making an internal transaction determination. 図51は、仮想組織についての階層化オブジェクト抽出情報におけるデータ例を示す図である。FIG. 51 is a diagram showing an example of data in the layered object extraction information about the virtual organization. 図52は、階層化オブジェクト抽出情報に含まれる会社コード等と集計対象データに含まれる自組織の会社コード等とのマッチング結果を示す図である。FIG. 52 is a diagram showing a matching result between the company code and the like included in the hierarchical object extraction information and the company code and the like of the own organization included in the aggregation target data. 図53は、階層化オブジェクト抽出情報に含まれる会社コード等と集計対象データに含まれる相手組織の相手会社コード等とのマッチング結果を示す図である。FIG. 53 is a diagram showing a matching result of the company code and the like included in the hierarchical object extraction information and the partner company code and the like of the partner organization included in the aggregation target data. 図54は、階層化オブジェクト抽出情報において、管理番号、階層レベルおよびノード識別コードの組合せが同一であるレコードを示す図である。FIG. 54 is a diagram showing records having the same combination of management number, hierarchy level, and node identification code in the hierarchical object extraction information. 図55は、マッチング結果に基づいて行われる組織内外判定の結果を示す図である。FIG. 55 is a diagram showing a result of the inside/outside determination of the organization performed based on the matching result. 図56は、組織内外判定の結果を考慮して、集計対象データに含まれる数値を集計した集計結果の一例を示す図である。FIG. 56 is a diagram showing an example of a counting result obtained by counting the numerical values included in the counting target data in consideration of the result of the inside/outside determination of the organization. 図57は、仮想セグメントについての階層化オブジェクト抽出情報におけるデータ例を示す図である。FIG. 57 is a diagram showing an example of data in the layered object extraction information about the virtual segment. 図58は、階層化オブジェクト抽出情報に含まれる分析コードと集計対象データに含まれる自セグメントの分析コードとのマッチング結果を示す図である。FIG. 58 is a diagram showing a matching result between the analysis code included in the hierarchical object extraction information and the analysis code of the own segment included in the aggregation target data. 図59は、階層化オブジェクト抽出情報に含まれる分析コードと集計対象データに含まれる相手セグメントの相手分析コードとのマッチング結果を示す図である。FIG. 59 is a diagram showing a matching result of the analysis code included in the hierarchical object extraction information and the partner analysis code of the partner segment included in the aggregation target data. 図60は、階層化オブジェクト抽出情報において、管理番号、階層レベルおよびノード識別コードの組合せが同一であるレコードを示す図である。FIG. 60 is a diagram showing records having the same combination of the management number, the hierarchy level, and the node identification code in the hierarchical object extraction information. 図61は、マッチング結果に基づいて行われるセグメント内外判定の結果を示す図である。FIG. 61 is a diagram showing a result of the segment inside/outside determination performed based on the matching result. 図62は、セグメント内外判定の結果を考慮して、集計対象データに含まれる数値を集計した集計結果の一例を示す図である。FIG. 62 is a diagram showing an example of a counting result obtained by counting the numerical values included in the counting target data in consideration of the result of the segment inside/outside determination. 図63は、組織内外判定の結果およびセグメント内外判定の結果を示す図である。FIG. 63 is a diagram showing the results of the organization inside/outside determination and the segment inside/outside determination. 図64は、組織内外判定の結果およびセグメント内外判定の結果を考慮して、集計対象データに含まれる数値を集計した集計結果の一例を示す図である。FIG. 64 is a diagram showing an example of the result of totaling the numerical values included in the totaling target data in consideration of the result of the internal/external determination of the organization and the result of the internal/external determination of the segment. 図65は、本実施形態に係る内部取引判定のイメージ図である。FIG. 65 is an image diagram of internal transaction determination according to the present embodiment. 図66は、セキュリティ管理を考慮した、本実施形態に係る内部取引判定のイメージ図である。FIG. 66 is an image diagram of internal transaction determination according to the present embodiment in consideration of security management. 図67は、変換項目設定情報の概要を示す図である。FIG. 67 is a diagram showing an outline of the conversion item setting information. 図68は、変換パターン設定情報におけるデータ例を示す図である。FIG. 68 is a diagram showing an example of data in the conversion pattern setting information. 図69は、変換対象データにおけるデータ例を示す図である。FIG. 69 is a diagram showing an example of data in the conversion target data. 図70は、変換パターン設定情報の1行目のレコードに基づいて、変換対象データにおける変換元データを変換先データに変換する流れを示す図である。FIG. 70 is a diagram showing a flow of converting the conversion source data in the conversion target data into the conversion destination data based on the first line record of the conversion pattern setting information. 図71は、変換パターン設定情報の2行目のレコードに基づいて、変換対象データにおける変換元データを変換先データに変換する流れを示す図である。FIG. 71 is a diagram showing a flow of converting the conversion source data in the conversion target data into the conversion destination data based on the second line record of the conversion pattern setting information. 図72は、変換パターン設定情報の3行目のレコードに基づいて、変換対象データにおける変換元データを変換先データに変換する流れを示す図である。FIG. 72 is a diagram showing a flow of converting the conversion source data in the conversion target data into the conversion destination data based on the record in the third line of the conversion pattern setting information. 図73は、すべての変換元データの変換先データへの変換が終了した変換対象データを示す図である。FIG. 73 is a diagram showing conversion target data for which conversion of all conversion source data into conversion destination data has been completed. 図74は、仮想セグメントに対する共通データ(変換先データ)の割り当ての仕方の一例を示す図である。FIG. 74 is a diagram showing an example of how to allocate common data (conversion destination data) to virtual segments. 図75は、改編前組織の階層構造および改編後組織の階層構造を示す図である。FIG. 75 is a diagram showing a hierarchical structure of a pre-reorganization organization and a hierarchical structure of a post-reorganization organization. 図76は、多元データの出力例を示す図である。FIG. 76 is a diagram showing an output example of multi-source data.

以下に、本発明に係るデータ集計装置、データ集計方法およびデータ集計プログラムの実施形態を、図面に基づいて詳細に説明する。なお、本実施形態によりこの発明が限定されるものではない。   Embodiments of a data totaling device, a data totaling method, and a data totaling program according to the present invention will be described below in detail with reference to the drawings. The present invention is not limited to this embodiment.

[1.概要]
管理会計等の分野においては、データを集計分析する際に、様々な切り口でデータをグループ化・集計する方法が考案されている。データを仮想的に階層化してグルーピングする手法(仮想組織および仮想セグメント情報等)も存在するが、各階層に割り当てるデータの項目の種類、数が固定的であり柔軟性がなく、データのパターンが増えた場合に、都度、設定変更が必要になるという課題があった。また、分析の手法が変わると必要な項目が変わる可能性があり、プログラムの変更が必要になるという課題があった。
[1. Overview]
In fields such as management accounting, methods have been devised for grouping and tabulating data from various perspectives when tabulating and analyzing the data. There is also a method of virtually hierarchically grouping data (virtual organization and virtual segment information, etc.), but the type and number of data items assigned to each layer are fixed and inflexible, and the data pattern is There was a problem that the setting would have to be changed each time the number increased. In addition, there is a problem that the necessary items may change when the analysis method changes, and the program needs to be changed.

具体的には、図2に示す<集計対象データ>である仕訳明細から「会社コード」、「事業所コード」および「部門コード」の3項目を集計条件として設定して、北海道エリアの支社の仕訳明細を集計したい場合には、図2に示す<実組織との紐付情報>において、集計対象にしたい北海道エリアに存在するすべての会社コード、事業所コードおよび部門コードを列挙する必要があった。このように、仮想組織を管理するテーブルにおいて、実組織との紐付として「会社コード」、「事業所コード」および「部門コード」の3種類を管理する方式とした場合、紐付け情報にすべての割り当てを列挙する必要があり、以下のような三つの課題があった。一つ目に、必要な項目数が固定であり、柔軟性がなかった。二つ目に、紐付先のデータが増えるほど設定が多くなり、煩雑であった。三つ目に、紐付に使用したい項目「会社コード」、「事業所コード」および「部門コード」から項目が増減した場合、プログラムの変更が必要であった。   Specifically, the three items of "Company code", "Business code" and "Department code" are set as the aggregation conditions from the journal entry which is the <data to be aggregated> shown in FIG. If you want to compile the journal details, it is necessary to list all the company codes, business office codes, and department codes that exist in the Hokkaido area you want to collect in <Information associated with the actual organization> shown in Fig. 2. . In this way, in the table for managing the virtual organization, if the method of managing three types of "company code", "business office code" and "department code" is used as the association with the real organization, all the association information is included in the association information. It was necessary to enumerate the assignments, and there were the following three issues. First, the number of items required was fixed and inflexible. Secondly, the more data the linking destination has, the more the setting becomes complicated. Thirdly, if the items to be used for tying increased or decreased from the items "company code", "office code" and "department code", it was necessary to change the program.

そこで、本実施形態においては、階層化構造を持つオブジェクト(対象)による柔軟なデータ集計設定機能および集計方法を提供する。本実施形態においては、データをグループ化する階層化オブジェクトにおいて、集計対象のデータと割り付ける割付項目を以下の方法1〜3により柔軟に設定できるようにした。
1.割付項目の内容および割付項目数を可変とした。
2.割付項目の必須/任意の選択を可能とした。
3.任意の割付項目については、割付条件の省略を意味する予約語を指定可能にした。
Therefore, in the present embodiment, a flexible data totalization setting function and totalization method using an object (target) having a hierarchical structure are provided. In the present embodiment, in the hierarchical object that groups data, the data to be aggregated and the allocation items to be allocated can be flexibly set by the following methods 1 to 3.
1. The contents of the allocation items and the number of allocation items were made variable.
2. Made it possible to select required/optional allocation items.
3. A reserved word that means omission of the allocation condition can be specified for any allocation item.

これらにより、本実施形態に係る効果としては、例えば、管理会計分析で使用する仮想組織/仮想セグメント構造において、以下の1〜3に示すように、自由な割付項目の単位でデータ集計できるようになった。
1.会社コードのみ
2.会社コード+部門コード
3.セグメントコード
以下、具体的な構成および動作について説明する。
As a result, as an effect according to the present embodiment, for example, in the virtual organization/virtual segment structure used in the management accounting analysis, as shown in the following 1 to 3, data can be aggregated in units of free allocation items. became.
1. Company code only 2. Company code + department code 3. Segment Code Hereinafter, a specific configuration and operation will be described.

[2.構成]
本発明を包含する情報処理装置100の構成について、図1を用いて説明する。図1は、情報処理装置100の構成の一例を示すブロック図である。
[2. Constitution]
The configuration of the information processing apparatus 100 including the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing an example of the configuration of the information processing device 100.

情報処理装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、情報処理装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。   The information processing apparatus 100 is a commercially available desktop personal computer. Note that the information processing apparatus 100 is not limited to a stationary information processing apparatus such as a desktop personal computer, but is a portable type such as a commercially available notebook personal computer, PDA (Personal Digital Assistants), smartphone, tablet personal computer, or the like. It may be an information processing device.

情報処理装置100は、図1に示すように、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。情報処理装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。   As shown in FIG. 1, the information processing apparatus 100 includes a control unit 102, a communication interface unit 104, a storage unit 106, and an input/output interface unit 108. The respective units included in the information processing apparatus 100 are communicatively connected via an arbitrary communication path.

通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、情報処理装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、情報処理装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。なお、後述する記憶部106に格納されるデータは、サーバ200に格納されてもよい。   The communication interface unit 104 communicatively connects the information processing apparatus 100 to the network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has a function of communicating data with other devices via a communication line. Here, the network 300 has a function of connecting the information processing apparatus 100 and the server 200 to each other so that they can communicate with each other, and is, for example, the Internet or a LAN (Local Area Network). The data stored in the storage unit 106 described later may be stored in the server 200.

入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、およびマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114を、表示部としてのモニタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。   An input device 112 and an output device 114 are connected to the input/output interface unit 108. As the output device 114, a speaker (including a home-use television), a speaker, or a printer can be used. As the input device 112, a keyboard, a mouse, a microphone, and a monitor that realizes a pointing device function in cooperation with the mouse can be used. In the following, the output device 114 may be described as the monitor 114 as a display unit, and the input device 112 may be described as the keyboard 112 or the mouse 112.

記憶部106には、各種のデータベース、テーブル、およびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。   The storage unit 106 stores various databases, tables, files, and the like. The storage unit 106 stores a computer program for giving instructions to a CPU (Central Processing Unit) in cooperation with an OS (Operating System) to perform various processes. As the storage unit 106, for example, a memory device such as a RAM (Random Access Memory)/ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, an optical disk, or the like can be used.

記憶部106は、例えば、対象管理データとしての階層化オブジェクト管理情報106aと、対象展開データとしての階層化オブジェクト展開情報106bと、対象抽出データとしての階層化オブジェクト抽出情報106cと、集計対象データ106dと、集計結果データ106eと、集計キーデータとしての集計キー情報データ106fと、ユーザ管理データとしてのユーザグループ所属情報106gと、グループ管理データとしての権限設定情報106hと、権限抽出情報106iと、階層化オブジェクトセキュリティ展開情報106jと、取引先特定項目設定情報106kと、取引パターン設定データとしての取引先特定パターン設定情報106lと、集計対象元データ106mと、集計対象データ106nと、集計結果データ106oと、変換項目設定情報106pと、変換パターン設定データとしての変換パターン設定情報106qと、変換対象データ106rと、変換完了データ106sと、を備えている。   The storage unit 106 stores, for example, hierarchical object management information 106a as target management data, hierarchical object expansion information 106b as target expansion data, hierarchical object extraction information 106c as target extraction data, and aggregation target data 106d. Total data 106e, total key information data 106f as total key data, user group affiliation information 106g as user management data, authority setting information 106h as group management data, authority extraction information 106i, hierarchy Object security expansion information 106j, supplier specific item setting information 106k, supplier specific pattern setting information 106l as transaction pattern setting data, aggregation target data 106m, aggregation target data 106n, and aggregation result data 106o. , Conversion item setting information 106p, conversion pattern setting information 106q as conversion pattern setting data, conversion target data 106r, and conversion completion data 106s.

また、本実施形態において、「対象(オブジェクト)」とは、例えば、実在する組織である実組織(例えば、実在する会社、事業所または部門等)、仮想上の組織である仮想組織(例えば、実組織をシミュレーション用に階層化した組織または組換えした組織)、実在するセグメントである実セグメント(例えば、実在する事業セグメント、エリアまたはブランド等)または仮想上のセグメントである仮想セグメント(例えば、実セグメントをシミュレーション用に階層化したセグメントまたは組換えしたセグメント)等を意味する。実組織、仮想組織、実セグメントおよび仮想セグメントの具体例を、図42の階層構造中に示す。そして、本実施形態において、階層構造とは、最下位層の対象と上位層の対象とが階層を成すことにより形成される構造のことを意味する。   Further, in the present embodiment, the “object” is, for example, a real organization that is a real organization (for example, a real company, a business office, or a department), a virtual organization that is a virtual organization (for example, A real organization is a hierarchical or reorganized organization for simulation), a real segment that is a real segment (for example, a real business segment, an area or a brand, etc.), or a virtual segment that is a virtual segment (for example, a real segment). (Segmented or recombined segment for simulation) is meant. Specific examples of the real organization, virtual organization, real segment, and virtual segment are shown in the hierarchical structure of FIG. Further, in the present embodiment, the hierarchical structure means a structure formed by forming a hierarchy of the object of the lowest layer and the object of the upper layer.

階層化オブジェクト管理情報106aは、階層構造を管理するための情報である。階層化オブジェクト管理情報106aは、図3に示すように、例えば、階層構造識別データ(管理番号)、管理名称、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)、ノード名称、上位階層識別データ(上位階層レベル)、上位対象識別データ(上位ノード識別コード)、下位構造区分および最下位層識別データ(紐付コード)等を含む。   The hierarchical object management information 106a is information for managing a hierarchical structure. As shown in FIG. 3, the hierarchical object management information 106a includes, for example, hierarchical structure identification data (management number), management name, hierarchical identification data (hierarchical level), target identification data (node identification code), node name, upper level. It includes layer identification data (upper layer level), upper target identification data (upper node identification code), lower structure classification and lowest layer identification data (linking code).

管理番号は、階層構造を識別するためのデータである。具体的には、図5に示す階層構造の管理番号を(1)に、図6に示す階層構造の管理番号を(2)に、図7に示す階層構造の管理番号を(3)にするという様に、階層構造別に管理番号を設定することができる。管理名称は、管理番号に対応する名称である。   The management number is data for identifying the hierarchical structure. Specifically, the management number of the hierarchical structure shown in FIG. 5 is set to (1), the management number of the hierarchical structure shown in FIG. 6 is set to (2), and the management number of the hierarchical structure shown in FIG. 7 is set to (3). Thus, the management number can be set for each hierarchical structure. The management name is a name corresponding to the management number.

管理番号と管理名称とを併せて、図3に示すように、階層化オブジェクト識別情報部という。ここで、階層化オブジェクト管理情報106aに記録するデータの記録方式は、階層化オブジェクト識別情報部については、以下のルール1〜2に従うものとする。
1.管理対象の階層化オブジェクトごとに、一意な管理番号を割り当てる。
2.一意な管理番号に対して、使用者が識別可能な管理名称を設定する。
The management number and the management name are collectively referred to as a hierarchical object identification information section as shown in FIG. Here, the recording method of the data to be recorded in the hierarchical object management information 106a is in accordance with the following rules 1 and 2 for the hierarchical object identification information part.
1. A unique management number is assigned to each managed hierarchical object.
2. Set a management name that can be identified by the user for the unique management number.

階層レベルは、階層構造における各階層を識別するためのデータである。最上位層の階層は、階層レベル0となり、以降、階層が1つ下位に進むごとに階層レベルも1つずつ増えていく。例えば、図5に示す組織図(1)の場合、全社が階層レベル0(すなわち最上位層)となり、会社1〜会社3が階層レベル1(すなわち、最下位層)となる。階層レベルの設定例を、図3に示す。   The hierarchy level is data for identifying each hierarchy in the hierarchical structure. The highest hierarchy is the hierarchy level 0, and thereafter, the hierarchy level increases by one each time the hierarchy goes down one level. For example, in the case of the organizational chart (1) shown in FIG. 5, the entire company is in the hierarchy level 0 (that is, the highest layer), and the companies 1 to 3 are in the hierarchy level 1 (that is, the lowest layer). An example of setting hierarchy levels is shown in FIG.

ノード識別コードは、対象を識別するためのデータである。例えば、図5に示す組織図(1)の場合、全社のノード識別コードを10000に、会社1のノード識別コードを01000に、会社2のノード識別コードを02000に、会社3のノード識別コードを03000にするという様に、対象別にノード識別コードを設定することができる。ノード名称は、ノード識別コードに対応する名称である。ノード識別コードおよびノード名称の設定例を、図3に示す。   The node identification code is data for identifying the target. For example, in the case of the organizational chart (1) shown in FIG. 5, the company-wide node identification code is 10000, the company 1 node identification code is 01000, the company 2 node identification code is 02000, and the company 3 node identification code is A node identification code can be set for each target, such as 03000. The node name is a name corresponding to the node identification code. An example of setting the node identification code and the node name is shown in FIG.

上位階層レベルは、各階層より1つ上位の階層を識別するためのデータである。例えば、図5に示す組織図(1)における会社1〜3の階層レベルは1であるが、会社1〜3より1つ上位の階層の階層レベルは0であるため、会社1〜3の上位階層レベルは0となる。上位階層レベルの設定例を、図3に示す。   The upper layer level is data for identifying a layer one layer above each layer. For example, the hierarchy level of companies 1 to 3 in the organizational chart (1) shown in FIG. The hierarchical level is 0. FIG. 3 shows an example of setting the upper hierarchy level.

上位ノード識別コードは、各階層の対象より1つ上位の階層の対象を識別するためのデータである。例えば、図5に示す組織図(1)における会社1〜3の場合、1つ上位の階層の対象である全社のノード識別コードは前述のとおり10000であるため、会社1〜3についての上位ノード識別コードは10000となる。上位ノード識別コードの設定例を、図3に示す。   The upper node identification code is data for identifying an object in a layer one level higher than an object in each layer. For example, in the case of companies 1 to 3 in the organization chart (1) shown in FIG. 5, since the node identification code of the entire company that is the target of the next higher hierarchy is 10000 as described above, the upper nodes for companies 1 to 3 The identification code is 10,000. An example of setting the upper node identification code is shown in FIG.

下位構造区分は、下位の階層の存在有無を示す区分である。例えば、図5に示す組織図(1)の場合、全社からみて下位の階層は存在するため、全社についての下位構造区分は「0:下位あり」となる。一方、会社1〜3からみて下位の階層は存在しないため、会社1〜3についての下位構造区分は「1:下位なし」となる。下位構造区分の設定例を、図3に示す。   The lower structure division is a division indicating whether or not there is a lower hierarchy. For example, in the case of the organizational chart (1) shown in FIG. 5, there is a lower hierarchy from the viewpoint of the entire company, and therefore the lower structure classification for the entire company is “0: lower level”. On the other hand, since there is no lower hierarchy from the viewpoint of the companies 1 to 3, the lower structure classification for the companies 1 to 3 is “1: no lower level”. FIG. 3 shows an example of setting the lower structure division.

階層レベルとノード識別コードとノード名称と上位階層レベルと上位ノード識別コードと下位構造区分とを併せて、図3に示すように、階層構造情報部という。ここで、階層化オブジェクト管理情報106aに記録するデータの記録方式は、階層構造情報部については、以下のルール1〜5に従うものとする。なお、上位階層レベルおよび下位構造区分は、本発明において必須となる項目ではないが、階層化ノードの上位・下位を特定する処理においてデータを保持しておいた方が、プログラムの処理手順が簡単になるため準備している項目である。
1.階層化オブジェクトの階層を識別する、階層レベル(0〜N)を設定する。
2.同一の管理番号/階層レベルごとに、一意なノード識別コードを割り当てる。
3.一意なノード識別コードに対して、使用者が識別可能なノード名称を設定する。
4.各階層のノードについて、自身が所属する親のノードの階層レベル(上位階層レベル)およびノード識別コード(上位ノード識別コード)を設定する。
5.各階層のノードについて、自身が最下位のノードか、更に子ノードが存在するかを区別する下位構造区分を設定する。
The hierarchical level, the node identification code, the node name, the upper hierarchical level, the upper node identification code, and the lower structure classification are collectively referred to as a hierarchical structure information section as shown in FIG. Here, the recording method of the data to be recorded in the hierarchical object management information 106a is in accordance with the following rules 1 to 5 for the hierarchical structure information part. It should be noted that the upper hierarchy level and the lower structure classification are not essential items in the present invention, but if the data is held in the processing of specifying the upper and lower layers of the hierarchical node, the processing procedure of the program is simpler. It is an item that we are preparing to become.
1. Set a hierarchy level (0 to N) that identifies the hierarchy of the hierarchy object.
2. A unique node identification code is assigned to each same management number/hierarchical level.
3. A node name that can be identified by the user is set for a unique node identification code.
4. For each node in each layer, the layer level (upper layer level) and the node identification code (upper node identification code) of the parent node to which it belongs are set.
5. For each node in each layer, a substructure division is set that distinguishes whether it is the lowest node or if any child nodes exist.

最下位層識別データは、最下位層の対象を識別するためのデータであり、紐付コードといってもよい。最下位層識別データの具体例としては、例えば、ある会社を識別するための会社識別データ(会社コード)、ある会社における事業所を識別するための事業所識別データ(事業所コード)、ある会社における部門を識別するための部門識別データ(部門コード)またはある会社における事業内容を識別するための事業内容識別データ(分析コード)等があげられる。最下位層識別データとして、会社コード、事業所コードおよび部門コードを用いる場合における階層化オブジェクト管理情報106aの設定例を、図4および図40に示す。また、最下位層識別データとして、分析コードを用いる場合における階層化オブジェクト管理情報106aの設定例を、図41に示す。   The lowest layer identification data is data for identifying the target of the lowest layer and may be called a linking code. Specific examples of the lowest layer identification data include, for example, company identification data (company code) for identifying a certain company, establishment identification data (establishment code) for identifying an establishment in a certain company, and a certain company. Section identification data (department code) for identifying the section of the company or business content identification data (analysis code) for identifying the business content of a certain company. 4 and 40 show setting examples of the hierarchical object management information 106a when the company code, the office code and the department code are used as the lowest layer identification data. 41 shows an example of setting the hierarchical object management information 106a when the analysis code is used as the lowest layer identification data.

なお、最下位層識別データは、前述のとおり、最下位層の対象を識別するためのデータであるため、最下位層より上位の対象には、最下位層識別データは割り当てられない。例えば、図3の階層化オブジェクト管理情報106aにおいて、会社1〜3(上から2〜4行目のレコード)は最下位層の対象であるため、最下位層識別データとして、紐付コード1〜3がそれぞれ割り当てられているが、一方で、全社(上から1行目のレコード)は、最下位層の対象ではないため、最下位層識別データは割り当てられず、紐付コードの欄は、「NULL」となっている。   Since the lowest layer identification data is data for identifying the target of the lowest layer as described above, the lowest layer identification data is not assigned to the target higher than the lowest layer. For example, in the layered object management information 106a of FIG. 3, companies 1 to 3 (records in the 2nd to 4th rows from the top) are targets of the lowest layer, and therefore, as the lowest layer identification data, linking codes 1 to 3 are used. However, since the entire company (record in the first line from the top) is not the target of the lowest layer, the lowest layer identification data is not assigned, and the column of the pegging code is "NULL. It has become.

最下位層識別データ(紐付コード)を、図3に示すように、紐付情報部という。ここで、階層化オブジェクト管理情報106aに記録するデータの記録方式は、紐付情報部については、以下のルール1〜5に従うものとする。なお、設定なしを意味する<NULL>およびすべてを意味する<ALL>の文字列は、これに限定されず、他の文字列であってもよい。
1.集計対象とするデータの集計キーとなる項目を、システム想定の最大個数保持する。2.各ノードにおいて、下位構造区分が「下位あり」の場合は、紐付情報を保持する必要がないため、設定なしを意味する予約語<NULL>を保持する。
3.下位構造区分が「下位なし」の場合、紐付け対象の各コードを保持する。この際、以下のルール4および5を適用する。
4.紐付項目として必須となる項目は、必ず紐付コードを保持する。
5.紐付項目として任意となる項目は、内訳を設定する場合はコードを指定し、内訳を指定しない場合はすべてを意味する予約語<ALL>を保持する。
The lowest layer identification data (linking code) is referred to as a linking information section, as shown in FIG. Here, the recording method of the data to be recorded in the hierarchical object management information 106a is in accordance with the following rules 1 to 5 for the linking information part. Note that the character strings of <NULL> that means no setting and <ALL> that means all of them are not limited to this, and may be other character strings.
1. Holds the maximum number of items that will be the aggregation key of the data to be aggregated, which is assumed by the system. 2. In each node, when the substructure classification is “subordinate exists”, it is not necessary to hold the linking information, and thus the reserved word <NULL> which means no setting is held.
3. When the subordinate structure classification is “no subordinate”, each cording target code is held. At this time, the following rules 4 and 5 are applied.
4. Items that are indispensable as pegging items always hold pegging codes.
5. An item that is optional as a linking item holds a reserved word <ALL> that specifies a code when setting a breakdown and means all when a breakdown is not specified.

ここで、具体的な情報が設定された階層化オブジェクト管理情報106aのデータ例を、図4に示す。図4においては、紐付情報として、「会社CD(会社コード)」(必須)、「事業所CD」(任意)および「部門CD」(任意)の最大3項目を採用している。また、必須項目である「会社CD」は、データ例の組織図(1)〜(3)においてすべて指定されている。そして、組織図(1)および(2)においては、会社単位での組織のみ割り当てた場合であるため、「事業所CD」および「部門CD」はすべてを意味する予約語<ALL>が指定された状態となっている。更に、組織図(3)においては、会社単位+事業所単位での組織の割り当てを含むため、「部門CD」はすべてを意味する予約語<ALL>が指定された状態となっており、更に、会社3は「事業所CD」も割当不要であるためすべてを意味する予約語<ALL>が指定された状態となっている。なお、図4において、組織図番号は管理番号と同義であり、組織図名は管理名称と同義であり、組織レベルは階層レベルと同義であり、組織CDはノード識別コードと同義であり、組織名はノード名称と同義であり、上位組織レベルは上位階層レベルと同義であり、上位組織CDは上位ノード識別コードと同義である。   Here, a data example of the hierarchical object management information 106a in which specific information is set is shown in FIG. In FIG. 4, a maximum of three items, “company CD (company code)” (required), “business office CD” (optional) and “department CD” (optional), are adopted as the linking information. In addition, "Company CD", which is an essential item, is all specified in the organizational charts (1) to (3) of the data example. In the organization charts (1) and (2), since only the organization in each company is assigned, the reserved word <ALL> which means all “business office CD” and “department CD” is designated. It is in a state of being Further, in the organization chart (3), since the allocation of the organization in the unit of company+the unit of establishment is included, the reserved word <ALL> that means all is specified in the “department CD”. The company 3 is in a state in which the reserved word <ALL>, which means all, is specified because the “business office CD” does not need to be allocated. In FIG. 4, the organization chart number is synonymous with the management number, the organization chart name is synonymous with the management name, the organization level is synonymous with the hierarchy level, the organization CD is synonymous with the node identification code, and the organization The name is synonymous with the node name, the upper organization level is synonymous with the upper hierarchy level, and the upper organization CD is synonymous with the upper node identification code.

図4の階層化オブジェクト管理情報106aのデータ例で表される組織図(1)〜(3)を、それぞれ、図5〜図7に示す。   Organizational charts (1) to (3) represented by data examples of the hierarchical object management information 106a in FIG. 4 are shown in FIGS. 5 to 7, respectively.

ここで、階層化オブジェクト管理情報106aは、階層構造における最上位層から最下位層までの各階層の対象についての情報を有するレコードを含んでいてもよい。レコードとは、図3に示す階層化オブジェクト管理情報106aの表における横一行の情報のことである。レコードは、図3に示すように、例えば、階層構造識別データ(管理番号)、管理名称、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)、ノード名称、上位階層識別データ(上位階層レベル)、上位対象識別データ(上位ノード識別コード)および下位構造区分等を含む。また、最下位層についての情報を有するレコードである最下位層レコード(図3において、階層レベルが1の3つのレコード)は、例えば、最下位層識別データ(紐付コード)を更に含む。   Here, the hierarchical object management information 106a may include a record having information about the target of each layer from the highest layer to the lowest layer in the hierarchical structure. A record is one horizontal row of information in the table of the hierarchical object management information 106a shown in FIG. As shown in FIG. 3, the record is, for example, hierarchical structure identification data (management number), management name, hierarchy identification data (hierarchy level), target identification data (node identification code), node name, upper hierarchy identification data (upper level). Layer level), upper target identification data (upper node identification code), lower structure classification, and the like. Further, the lowest layer record (three records having a hierarchy level of 1 in FIG. 3), which is a record having information about the lowest layer, further includes, for example, lowest layer identification data (linking code).

階層化オブジェクト展開情報106bは、詳細は後述するが、階層化オブジェクト管理情報106aにおける、最上位層の対象についての情報を有するレコードから最下位層より1つ上位層の対象についての情報を有するレコードまでを展開した情報である。階層化オブジェクト展開情報106bは、図12に示すように、例えば、階層構造識別データ(管理番号)、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)、上位階層識別データ(上位階層レベル)、上位対象識別データ(上位ノード識別コード)および最下位層識別データ(紐付コード)等を含む。   Although the details of the hierarchical object expansion information 106b will be described later, from the record having the information on the object of the highest layer to the object of the upper layer one layer from the record having the information on the object of the highest layer in the hierarchical object management information 106a. It is information that has been expanded to. As shown in FIG. 12, the layered object expansion information 106b includes, for example, layer structure identification data (management number), layer identification data (layer level), target identification data (node identification code), upper layer identification data (upper layer). Level), upper target identification data (upper node identification code), lowest layer identification data (linking code), and the like.

階層化オブジェクト抽出情報106cは、詳細は後述するが、階層化オブジェクト展開情報106bに含まれるレコードから、ユーザによって入力された階層レベルを含むレコードのみを抽出した情報である。階層化オブジェクト抽出情報106cは、図13に示すように、例えば、階層構造識別データ(管理番号)、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)、上位階層識別データ(上位階層レベル)、上位対象識別データ(上位ノード識別コード)および最下位層識別データ(紐付コード)等を含む。   Although the details will be described later, the layered object extraction information 106c is information in which only the records including the layer level input by the user are extracted from the records included in the layered object expansion information 106b. As shown in FIG. 13, the layered object extraction information 106c includes, for example, layer structure identification data (management number), layer identification data (layer level), target identification data (node identification code), upper layer identification data (upper layer). Level), upper target identification data (upper node identification code), lowest layer identification data (linking code), and the like.

集計対象データ106dは、集計対象となるデータである。集計対象データ106dは、図14に示すように、最下位層識別データ(紐付コード)と数値(集計対象値)とを含む。集計対象データ106dにおける横一行の情報を、明細という。このため、集計対象データ106dは、図14に示すように、更に、各明細ごとに、明細識別データ(明細ID)を含んでいてもよい。   The aggregation target data 106d is data to be aggregated. As shown in FIG. 14, the totaling target data 106d includes the lowest layer identification data (linking code) and a numerical value (totaling target value). The information on one horizontal line in the aggregation target data 106d is referred to as a specification. Therefore, the aggregation target data 106d may further include detail identification data (detail ID) for each detail, as shown in FIG.

集計結果データ106eは、集計対象データ106dを集計した結果を示すデータである。集計結果データ106eは、図15および図17に示すように、例えば、階層構造識別データ(管理番号)、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)および集計結果等を含む。   The tabulation result data 106e is data indicating a result of tabulating the tabulation target data 106d. As shown in FIGS. 15 and 17, the aggregation result data 106e includes, for example, hierarchical structure identification data (management number), hierarchy identification data (hierarchy level), target identification data (node identification code), aggregation results, and the like.

集計キー情報データ106fは、詳細は後述するが、抽出部102bが抽出した複数の明細の一覧を示すデータである。複数の明細は、図16に示すように、例えば、階層構造識別データ(管理番号)、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)、明細識別データ(明細ID)および集計対象値等を含む。   The aggregate key information data 106f is data showing a list of a plurality of specifications extracted by the extracting unit 102b, the details of which will be described later. As shown in FIG. 16, the plurality of specifications include, for example, hierarchical structure identification data (management number), hierarchy identification data (hierarchy level), target identification data (node identification code), detail identification data (detail ID), and aggregation target. Including values etc.

ユーザ情報は、ユーザを一意に識別するIDおよび名称を管理するための情報である。ユーザ情報は、図19の上表に示すように、例えば、ユーザ識別データ(ユーザIDまたはユーザ名)等を含む。   The user information is information for managing an ID and a name that uniquely identify the user. As shown in the upper table of FIG. 19, the user information includes, for example, user identification data (user ID or user name) and the like.

ユーザグループ情報は、ユーザをグルーピングする単位を管理するための情報である。ユーザグループ情報は、図19の下表に示すように、例えば、ユーザグループ識別データ(ユーザグループコードまたはユーザグループ名)等を含む。   The user group information is information for managing a unit for grouping users. The user group information includes, for example, user group identification data (user group code or user group name) as shown in the lower table of FIG.

ユーザグループ所属情報106gは、ユーザグループに所属するユーザを管理するための情報である。ユーザグループ所属情報106gは、図20に示すように、例えば、ユーザグループ識別データ(ユーザグループコード)およびユーザ識別データ(ユーザID)等を含む。ここで、ユーザグループ所属情報106gが、図20に示すように設定された場合に、各ユーザがどのユーザグループに所属するかを図21に示す。なお、図21に示すUserCやUserDのように、1人のユーザが、複数のユーザグループに所属すること、いわゆる兼任することも可能である。   The user group affiliation information 106g is information for managing users who belong to the user group. As shown in FIG. 20, the user group affiliation information 106g includes, for example, user group identification data (user group code) and user identification data (user ID). Here, FIG. 21 shows which user group each user belongs to when the user group affiliation information 106g is set as shown in FIG. It is also possible for one user to belong to a plurality of user groups, that is, to serve concurrently, as in UserC and UserD shown in FIG.

権限設定情報106hは、階層化オブジェクトに対して、ユーザグループへの参照権限を保持する情報である。権限設定情報106hは、図22に示すように、例えば、階層構造識別データ(管理番号)、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)およびユーザグループ識別データ(ユーザグループコード)等を含む。なお、権限設定情報106hにおいては、1つのノード識別コードに対して複数のユーザグループコードを紐付けることも可能である。   The authority setting information 106h is information that holds reference authority to the user group for the hierarchical object. As shown in FIG. 22, the authority setting information 106h is, for example, hierarchical structure identification data (management number), hierarchical identification data (hierarchical level), target identification data (node identification code) and user group identification data (user group code). Including etc. In the authority setting information 106h, it is possible to associate a plurality of user group codes with one node identification code.

ここで、権限設定情報106hが、図22に示すように設定された場合に、各ユーザグループがどの階層の組織の情報を参照できるかを図23に示す。図23に示すように、フル権限グループ(UserA)は、全社の情報を参照することができるため、全社の下位層である会社1〜3の情報も参照することができる(上位の閲覧権限を持つ者は、自動的に下位のすべての閲覧権限を持つため)。一方で、グループ1権限グループ(UserBおよびUserC)は会社1の情報しか参照できず、グループ2権限グループ(UserCおよびUserD)は会社2の情報しか参照できず、グループ3権限グループ(UserD)は会社3の情報しか参照できない。なお、複数の権限グループに所属する者は、両方の会社の閲覧権限を持つ。   Here, FIG. 23 shows which hierarchy of organizations each user group can refer to when the authority setting information 106h is set as shown in FIG. As shown in FIG. 23, since the full authority group (UserA) can refer to the information of the whole company, it can also refer to the information of companies 1 to 3 which are lower layers of the whole company (see the upper-level browsing authority). Those who have automatically have all viewing rights underneath). On the other hand, the group 1 authority group (UserB and UserC) can refer only to the information of the company 1, the group 2 authority group (UserC and UserD) can refer only to the information of the company 2, and the group 3 authority group (UserD) can refer to the company. Only the information in 3 can be referenced. A person who belongs to a plurality of authority groups has viewing authority for both companies.

なお、本実施形態においては、そもそも権限(セキュリティ)設定を行うか否かを設定するために、階層化オブジェクトの権限設定を管理するかどうかの切り換え用のフラグを保持してもよい。フラグとしては、例えば、権限設定することを意味する「使用する」フラグおよび権限設定しないことを意味する「使用しない」フラグがあげられる。   In the present embodiment, in order to set whether or not authority (security) setting is performed in the first place, a flag for switching whether or not to manage authority setting of a hierarchical object may be held. Examples of the flag include a "use" flag meaning that authority is set and a "not used" flag meaning that authority is not set.

ここで、本実施形態において、具体的にどのようなデータ設定をすれば、どのようなデータ参照権限管理を行うことができるかについて、図24〜図30を用いて説明する。   Here, in the present embodiment, what kind of data setting is specifically made and what kind of data reference authority management can be performed will be described with reference to FIGS. 24 to 30.

まず、組織の階層構造は、階層化オブジェクト管理情報106aにより設定することができる。階層化オブジェクト管理情報106aが、図27に示すように設定された場合について説明する。図27のMA5で示すレコードで表される階層構造は、図24に示すように、全社の下にすべての会社が並ぶ仮想組織の階層構造となる。図27のMA6で示すレコードで表される階層構造は、図25に示すように、全社の階層、事業別中核会社の階層および各個社の階層からなる3階層の階層構造となる。図27のMA7で示すレコードで表される階層構造は、図26に示すように、エリア別営業部門の仮想組織の階層構造となる。   First, the hierarchical structure of the organization can be set by the hierarchical object management information 106a. A case where the hierarchical object management information 106a is set as shown in FIG. 27 will be described. The hierarchical structure represented by the record indicated by MA5 in FIG. 27 is a hierarchical structure of a virtual organization in which all companies are lined up under the entire company, as shown in FIG. As shown in FIG. 25, the hierarchical structure represented by the record MA6 in FIG. 27 has a three-level hierarchical structure including a hierarchy for all companies, a hierarchy for core companies by business, and a hierarchy for each individual company. The hierarchical structure represented by the record MA7 in FIG. 27 is a hierarchical structure of the virtual organization of the sales department by area, as shown in FIG.

そして、階層構造における対象についての参照権限は、ユーザグループ所属情報106gおよび権限設定情報106hにより管理することができる。ユーザグループ所属情報106gが図29に示すように設定されて(各ユーザがどのグループに所属するかを図30に示す)、かつ、権限設定情報106hが図28に示すように設定された場合、各ユーザグループが参照できる情報の範囲は次段落に示すとおりとなる。なお、図28にMA8で示すレコードは、図24に示す全社の下にすべての会社が並ぶ仮想組織における対象の閲覧を管理するレコードであり、図28にMA9で示すレコードは、図25の全社の階層、事業別中核会社の階層および各個社の階層からなる3階層における対象の閲覧を管理するレコードであり、図29にMA10で示すレコードは、エリア別営業部門の仮想組織における対象の閲覧を管理するレコードである。   The reference authority for the target in the hierarchical structure can be managed by the user group affiliation information 106g and the authority setting information 106h. When the user group affiliation information 106g is set as shown in FIG. 29 (which group each user belongs to is shown in FIG. 30) and the authority setting information 106h is set as shown in FIG. The range of information that each user group can refer to is shown in the next paragraph. Note that the record indicated by MA8 in FIG. 28 is a record that manages the browsing of the target in the virtual organization in which all companies are lined up under the whole company shown in FIG. 24, and the record indicated by MA9 in FIG. Is a record that manages the browsing of the target in the three layers of the hierarchy of No. 1, the core company by business, and the hierarchy of each individual company. The record indicated by MA10 in FIG. 29 is the record for browsing the target in the virtual organization of the sales department by area. It is a record to manage.

すなわち、図24に示すように、ユーザグループ「Full」に属するUserAは、全社の下位層である会社100〜会社300すべての情報を参照できる。また、図24には示していないが、ユーザグループ「Company1」に属するUserBおよびUserCは、会社100の情報を参照でき、ユーザグループ「Company2」に属するUserCおよびUserDは、会社200の情報を参照でき、ユーザグループ「Company3」に属するUserDは、会社300の情報を参照できる。そして、図25に示すように、ユーザグループ「Full」に属するUserAは、全社の下位層である会社100〜400すべての情報を参照でき、ユーザグループ「KougiGroup」に属するUserBは、工事事業グループの下位層である会社100および会社200の情報を参照でき、ユーザグループ「SeizouGroup」に属するUserDは、製造事業グループの下位層である会社300および会社400の情報を参照できる。図25にMA4で示すように、これら3つのグループは、参照が許可されている範囲により、見える対象の範囲が異なる。更に、図26に示すように、ユーザグループ「Full」に属するUserAは、全社の下位層である(会社100、東京本社、営業部)、(会社200、東京本社、営業部)、(会社100、大阪支社、営業部)および(会社200、大阪支社、営業部)のそれぞれの情報を参照でき、ユーザグループ「KantouGroup」に属するUserEは、関東グループの下位層である(会社100、東京本社、営業部)および(会社200、東京本社、営業部)の情報を参照でき、ユーザグループ「KansaiGroup」に属するUserDは、関西グループの下位層である(会社100、大阪支社、営業部)および(会社200、大阪支社、営業部)の情報を参照できる。なお、図24〜図26において、いずれの許可もされていないユーザは、全てのデータにアクセス不可である(どの対象の情報も見ることができない)。   That is, as shown in FIG. 24, UserA belonging to the user group “Full” can refer to information on all the companies 100 to 300, which are lower layers of the entire company. Further, although not shown in FIG. 24, UserB and UserC belonging to the user group “Company1” can refer to the information of the company 100, and UserC and UserD belonging to the user group “Company2” can refer to the information of the company 200. UserD belonging to the user group “Company3” can refer to the information of the company 300. Then, as shown in FIG. 25, UserA belonging to the user group “Full” can refer to information of all the companies 100 to 400, which are lower layers of the entire company, and UserB belonging to the user group “KougiGroup” belongs to the construction business group. Information of the lower layer companies 100 and 200 can be referred to, and UserD belonging to the user group “SeizouGroup” can refer to information of the company 300 and company 400 lower layers of the manufacturing business group. As indicated by MA4 in FIG. 25, the range of visible objects in these three groups differs depending on the range in which the reference is permitted. Further, as shown in FIG. 26, UserA belonging to the user group “Full” is a lower layer of the entire company (company 100, Tokyo head office, sales department), (company 200, Tokyo head office, sales department), (company 100). , Osaka branch office, sales department) and (company 200, Osaka branch office, sales department), and UserE belonging to the user group “KantouGroup” is a lower layer of the Kanto group (company 100, Tokyo headquarters, Information of (Sales Department) and (Company 200, Tokyo Head Office, Sales Department) can be referred to, and UserD belonging to the user group “KansaiGroup” is a lower layer of the Kansai Group (Company 100, Osaka Branch, Sales Department) and (Company). 200, Osaka Branch, Sales Department). 24 to 26, a user who is not permitted any access cannot access all the data (cannot see any target information).

以上、図24〜図30を用いて説明したように、本実施形態によれば、階層化オブジェクトの階層レベルに応じて、任意の場所に閲覧権限を設定でき、必要最低限の設定で柔軟な対応をすることが可能である。   As described above with reference to FIGS. 24 to 30, according to the present embodiment, the viewing authority can be set at an arbitrary location according to the hierarchical level of the hierarchical object, and the minimum required setting is flexible. It is possible to respond.

権限抽出情報106iは、詳細は後述するが、ユーザによって入力された管理番号およびグループ識別データ取得部102d1で取得したユーザグループコードに基づいて、権限設定情報106hを参照して抽出した情報である。権限抽出情報106iは、図33に示すように、例えば、階層構造識別データ(管理番号)、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)およびユーザグループ識別データ(ユーザグループコード)等を含む。   Although the details will be described later, the authority extraction information 106i is information extracted by referring to the authority setting information 106h based on the management number input by the user and the user group code acquired by the group identification data acquisition unit 102d1. As shown in FIG. 33, the authority extraction information 106i includes, for example, layer structure identification data (management number), layer identification data (layer level), target identification data (node identification code), and user group identification data (user group code). Including etc.

階層化オブジェクトセキュリティ展開情報106jは、詳細は後述するが、権限抽出情報106iに基づいて、階層化オブジェクト管理情報106aを参照して取得した情報である。階層化オブジェクトセキュリティ展開情報106jは、図36に示すように、例えば、階層構造識別データ(管理番号)、階層識別データ(階層レベル)および対象識別データ(ノード識別コード)等を含む。   The layered object security development information 106j is information acquired by referring to the layered object management information 106a based on the authority extraction information 106i, the details of which will be described later. As shown in FIG. 36, the hierarchical object security development information 106j includes, for example, hierarchical structure identification data (management number), hierarchical identification data (hierarchical level), target identification data (node identification code), and the like.

取引先特定項目設定情報106kは、自社の取引内容の使用項目(取引先コード、科目コードまたは事業所コード等)と特定したい相手情報の使用項目(事業所コードまたは部門コード等)の組合せを定義するための情報である。具体的には、図43に示すように、自社の取引内容の使用項目として、例えば、取引先コード、科目コード、事業所コード、部門コードおよび分析コードという5つの項目について、「使用する」または「使用しない」を設定することができる。また、図43に示すように、特定したい相手情報の使用項目として、例えば、相手事業所コード、相手部門コードおよび相手分析コードという3つの項目について、「使用する」または「使用しない」を設定することができる。   The business partner specific item setting information 106k defines a combination of a use item (business partner code, subject code, business office code, etc.) of the company's transaction content and a use item (business office code, department code, etc.) of other party information to be specified. This is information for doing. Specifically, as shown in FIG. 43, as items to be used for the transaction content of the company, for example, “use” or five items of a supplier code, a subject code, a business place code, a department code and an analysis code are used. It is possible to set "not use". Further, as shown in FIG. 43, as the use item of the other party information to be specified, for example, “use” or “not use” is set for three items of the other party office code, the other party department code and the other party analysis code. be able to.

取引先特定パターン設定情報106lは、取引の相手を特定するための情報であり、言い換えると、取引先特定項目設定情報106kに従い、特定するパターン情報を定義するための情報である。図44に示す取引先特定パターン設定情報106lは、前段落で説明した取引先特定項目設定情報106kにおけるすべての項目について、「使用する」が設定された場合のデータ例である。取引先特定パターン設定情報106lは、図44に示すように、取引の主体である主体対象を識別するための最下位層識別データである主体最下位層識別データ(会社コード、事業所コード、部門コードまたは分析コード)と、取引の計上科目を識別するための科目識別データ(科目コード)と、主体対象の取引先を識別するための取引先識別データ(取引先コード)と、取引の相手である相手対象を識別するための最下位層識別データである相手最下位層識別データ(相手会社コード、相手事業所コード、相手部門コードまたは相手分析コード)と、を含む。取引先特定パターン設定情報106lは、図44に示すように、更に、判定順を含んでいてもよい。判定順の意義については後述する。   The supplier specific pattern setting information 106l is information for specifying a trading partner, in other words, information for defining the specified pattern information according to the supplier specific item setting information 106k. The supplier specific pattern setting information 106l illustrated in FIG. 44 is a data example when “use” is set for all the items in the supplier specific item setting information 106k described in the preceding paragraph. As shown in FIG. 44, the supplier identification pattern setting information 106l is the subject lowest layer identification data (company code, establishment code, department) that is the lowest layer identification data for identifying the subject who is the subject of the transaction. Code or analysis code), subject identification data (subject code) for identifying the accounting item of the transaction, supplier identification data (subscriber code) for identifying the subject of the transaction, and the transaction partner The partner lowest layer identification data (the partner company code, the partner office code, the partner department code or the partner analysis code) which is the lowest layer identification data for identifying a certain partner target. As shown in FIG. 44, supplier specific pattern setting information 106l may further include a determination order. The significance of the determination order will be described later.

なお、取引先特定パターン設定情報106lにおいて、すべてを意味する予約語<ALL>の文字列は、これには限定されず、他の文字列であってもよく、また、自社属性コード(取引先コード、科目コード、事業所コード、部門コードまたは分析コード)が<ALL>で設定されている場合、同一の取引が複数の相手先属性情報(相手会社コード、相手事業所コード、相手部門コードまたは相手分析コード)と紐付けられる可能性があるため、判定順によって一意に定められるようにする。   In the customer specific pattern setting information 106l, the character string of the reserved word <ALL>, which means all, is not limited to this, and may be another character string. If the code, subject code, business site code, department code or analysis code) is set in <ALL>, the same transaction can be executed for multiple partner attribute information (partner company code, partner business office code, partner department code or Since it may be associated with the other party analysis code), it should be uniquely determined according to the determination order.

ここで、図44に示す取引先特定パターン設定情報106lによって、どのような取引が定義されるのかについて、図45を用いて説明する。まず、図44の表における上から1〜2行目のレコード(会社コードが100の2つのレコード)で定義される取引を、図45の(A)に示す。図45の(A)に示すように、会社100(会社コード)/Tokyo(事業所コード)/Eigyo(部門コード)/物販事業(分析コード)の仕入取引の相手は、会社300(相手会社コード)/Osaka(相手事業所コード)/Hanbai1(相手部門コード)/小売事業(相手分析コード)であり、会社100/Tokyo/Eigyo/物販事業の売上取引の相手は、会社200/Tokyo/Seizou1/製造事業である。次に、図44の表における上から5〜6行目のレコード(会社コードが300の2つのレコード)で定義される取引を、図45の(B)に示す。図45の(B)に示すように、会社300/Osaka/Hanbai1/小売事業の売上取引の相手は、会社100/Tokyo/Eigyo/物販事業および会社200/Osaka/Seizou2/製造事業である。最後に、図44の表における上から3〜4行目のレコード(会社コードが200の2つのレコード)で定義される取引を、図45の(C)に示す。図45の(C)に示すように、会社200のすべての事業所、部門、事業分野の仕入取引および売上取引の相手は、会社100/Tokyo/Eigyo/物販事業および会社300/Osaka/Hanbai1/小売事業である。なお、製造部門で発生する取引は、取引先ごとに事業所・部門・セグメントが一意に決まる。   Here, what kind of transaction is defined by the supplier specific pattern setting information 106l shown in FIG. 44 will be described with reference to FIG. First, the transaction defined by the records (two records with the company code 100) from the top in the table of FIG. 44 is shown in FIG. 45(A). As shown in (A) of FIG. 45, the purchase transaction partner of the company 100 (company code)/Tokyo (establishment code)/Eigyo (department code)/product sales business (analysis code) is the company 300 (partner company). Code)/Osaka (counterpart office code)/Hanbai1 (counterpart code)/retail business (partner analysis code), and company 100/Tokyo/Eigyo/sales business partner is company 200/Tokyo/Seizou1 / It is a manufacturing business. Next, the transaction defined by the records in the fifth to sixth rows (two records with the company code of 300) in the table of FIG. 44 is shown in FIG. 45(B). As shown in (B) of FIG. 45, the sales transaction partners of company 300/Osaka/Hanbai1/retail business are company 100/Tokyo/Eigyo/product sales business and company 200/Osaka/Seizou2/manufacturing business. Finally, the transaction defined by the records in the third to fourth rows (two records with the company code of 200) in the table of FIG. 44 is shown in (C) of FIG. As shown in (C) of FIG. 45, all business establishments, divisions, and business fields of the company 200 are purchased/sales transaction partners of the company 100/Tokyo/Eigyo/product sales business and the company 300/Osaka/Hanbai1. / It is a retail business. Businesses, departments, and segments are uniquely determined for each business partner in transactions that occur in the manufacturing department.

集計対象元データ106mは、集計対象データ106nを作成する際の元となるデータである。集計対象元データ106mは、図46に示すように、主体最下位層識別データ(会社コード、事業所コード、部門コードまたは分析コード)と科目識別データ(科目コード)と取引先識別データ(取引先コード)とを含む。一方で、集計対象元データ106mは、相手最下位層識別データ(相手会社コード、相手事業所コード、相手部門コードまたは相手分析コード)を含まず、これらの項目については、図46に示すように、「未設定」となっている。集計対象元データ106mは、図46に示すように、更に、明細(明細とは、集計対象元データ106mの表における横一行の情報を意味する)の発生日(発生日)および数値(金額)等を含んでいてもよい。   The aggregation target original data 106m is data that is a source when the aggregation target data 106n is created. As shown in FIG. 46, the aggregation target original data 106m is the subject lowest layer identification data (company code, establishment code, department code or analysis code), subject identification data (subject code), and supplier identification data (supplier). Code) and. On the other hand, the aggregation target original data 106m does not include the partner lowest layer identification data (partner company code, partner office code, partner department code or partner analysis code), and these items are as shown in FIG. , “Not set”. As shown in FIG. 46, the aggregation target original data 106m further includes the date (occurrence date) and the numerical value (amount) of the details (details mean one horizontal line of information in the table of the aggregation target original data 106m). Etc. may be included.

集計対象データ106nは、集計対象となるデータである。集計対象データ106nは、図49に示すように、主体最下位層識別データ(会社コード、事業所コード、部門コードまたは分析コード)と相手最下位層識別データ(相手会社コード、相手事業所コード、相手部門コードまたは相手分析コード)とを含む。集計対象データ106nは、図49に示すように、更に、明細(明細とは、集計対象データ106nの表における横一行の情報を意味する)の発生日(発生日)、科目識別データ(科目コード)、取引先識別データ(取引先コード)および数値(金額)等を含んでいてもよい。   The aggregation target data 106n is data to be aggregated. As shown in FIG. 49, the aggregation target data 106n includes the subject lowest layer identification data (company code, office code, department code or analysis code) and the partner lowest layer identification data (partner company code, partner office code, Partner department code or partner analysis code). As shown in FIG. 49, the aggregation target data 106n further includes the date of occurrence (occurrence date) of the details (the detail means the information in one row in the table of the aggregation target data 106n), the item identification data (the item code). ), supplier identification data (customer code), a numerical value (amount of money), and the like.

集計結果データ106oは、集計対象データ106nを集計した結果を示すデータである。集計結果データ106oは、図56に示すように、例えば、階層構造識別データ(管理番号)、階層識別データ(階層レベル)、対象識別データ(ノード識別コード)、科目識別データ(科目コード)、グループ間での取引額である外部取引額、グループ内での取引額である内部取引額および外部取引額と内部取引額の合計額である全体合計額等を含む。   The tabulation result data 106o is data indicating the result of tabulating the tabulation target data 106n. As shown in FIG. 56, the aggregation result data 106o includes, for example, hierarchical structure identification data (management number), hierarchical identification data (hierarchical level), target identification data (node identification code), subject identification data (subject code), group. It includes the external transaction amount which is the transaction amount between the two, the internal transaction amount which is the transaction amount within the group, and the total amount which is the total amount of the external transaction amount and the internal transaction amount.

変換項目設定情報106pは、各会社の取引内容の使用項目(取引先コード、科目コードまたは事業所コード等)と変換相手となる情報の使用項目(共通セグメントコード等)の組合せを定義するための情報である。具体的には、図67に示すように、各会社の取引内容の使用項目として、例えば、取引先コード、科目コード、事業所コードおよび部門コードおよび分析コードという5つの項目について、「使用する」または「使用しない」を設定することができる。また、図67に示すように、変換相手となる情報の使用項目として、例えば、共通セグメントコードという項目について、「使用する」または「使用しない」を設定することができる。   The conversion item setting information 106p is for defining a combination of the use item (customer code, subject code, establishment code, etc.) of the transaction details of each company and the use item (common segment code, etc.) of the information to be converted. Information. Specifically, as shown in FIG. 67, as items to be used for the transaction content of each company, for example, five items of a supplier code, a subject code, a business place code, a department code, and an analysis code are “used”. Alternatively, "not used" can be set. Further, as shown in FIG. 67, as the use item of the information to be converted, for example, “use” or “not use” can be set for the item of common segment code.

変換パターン設定情報106qは、変換元データおよび変換先データの組合せを特定するための情報であり、言い換えると、変換項目設定情報106pに従い、特定するパターン情報を定義するための情報である。図68に示す変換パターン設定情報106qは、前段落で説明した変換項目設定情報106pにおけるすべての項目について、「使用する」が設定された場合のデータ例である。変換パターン設定情報106qは、変換元データと変換先データとを含む。   The conversion pattern setting information 106q is information for specifying a combination of conversion source data and conversion destination data, in other words, information for defining the specified pattern information according to the conversion item setting information 106p. The conversion pattern setting information 106q illustrated in FIG. 68 is a data example when “use” is set for all the items in the conversion item setting information 106p described in the preceding paragraph. The conversion pattern setting information 106q includes conversion source data and conversion destination data.

変換元データは、複数のデータからなる。複数のデータは、計上科目を識別するための科目識別データ(科目コード)、ある会社における事業所を識別するための事業所識別データ(事業所コード)、ある会社における部門を識別するための部門識別データ(部門コード)およびある会社における事業内容を識別するための事業内容識別データ(分析コード)からなる群から選択される少なくとも2つのデータであることが好ましい。また、複数のデータは、少なくとも2つのデータと、ある会社を識別するための会社識別データ(会社コード)およびある会社の取引先を識別するための取引先識別データ(取引先コード)の少なくとも一方と、であることがより好ましい。図68に示す変換パターン設定情報106qは、変換元データとして、科目コード、事業所コード、部門コード、分析コード、会社コードおよび取引先コードの6項目すべてを含む例である。   The conversion source data is composed of a plurality of data. A plurality of pieces of data are account identification data (subject code) for identifying accounting items, establishment identification data (establishment code) for identifying establishments in a certain company, and divisions for identifying divisions in a certain company. It is preferably at least two data selected from the group consisting of identification data (department code) and business content identification data (analysis code) for identifying the business content of a certain company. Further, the plurality of data is at least one of at least two data, company identification data (company code) for identifying a certain company, and supplier identification data (company code) for identifying a supplier of a certain company. And more preferably. The conversion pattern setting information 106q illustrated in FIG. 68 is an example that includes all six items of the subject code, the office code, the department code, the analysis code, the company code, and the supplier code as the conversion source data.

変換先データは、例えば、ある対象同士が共通に保持しているデータであり、例えば、図68の上から1行目、2行目および5行目の対象は、すべて販売業務を行う対象であるため、「G_Hanbai」という変換先データ(共通セグメントコード)を有している。共通セグメントコードは、図68に示すように、1つだけ(共通セグメントコード1)用いてもよいし、2つ以上(共通セグメントコード2、3・・・)用いてもよい。   The conversion destination data is, for example, data that is commonly held by certain objects. For example, the objects in the first, second, and fifth rows from the top of FIG. Therefore, it has the conversion destination data (common segment code) called “G_Hanbai”. As shown in FIG. 68, one common segment code (common segment code 1) may be used, or two or more common segment codes (common segment codes 2, 3,...) May be used.

変換パターン設定情報106qは、図68に示すように、更に、抽出順指定データ(判定順)等を含んでいてもよい。抽出順指定データの意義については後述する。   As shown in FIG. 68, the conversion pattern setting information 106q may further include extraction order designation data (determination order) and the like. The significance of the extraction order designation data will be described later.

なお、図68に示すように、すべてを意味する予約語<ALL>の文字列は、これには限定されず、他の文字列であってもよい。また、変換元個社属性部(取引先コード、科目コード、事業所コード、部門コードまたは分析コード)が<ALL>で設定されている場合、同一の取引が複数の変換先共通属性部(共通セグメントコード)と紐付けられる可能性があるため、判定順によって一意に定められるようにする。そして、会社コード以外の属性をすべて<ALL>で設定する行の判定順を最下位にすることで、上位の判定順で変換されない残りの変換対象データに対して、「その他」のような汎用的なコードを割り当てることが可能である。   Note that, as shown in FIG. 68, the character string of the reserved word <ALL> meaning all is not limited to this, and may be another character string. In addition, if the conversion source individual company attribute part (customer code, subject code, business office code, department code or analysis code) is set to <ALL>, the same transaction is common to multiple conversion destination common attribute parts (common Since there is a possibility that it will be associated with (segment code), it should be uniquely determined according to the determination order. Then, by setting the determination order of the line that sets all attributes other than company code in <ALL> to the lowest, the general purpose such as "other" is applied to the remaining conversion target data that is not converted in the higher determination order. It is possible to assign a specific code.

変換対象データ106rは、変換対象となる変換元データを含むデータである。変換対象データ106rは、図69に示すように、変換元データ(科目コード、会社コード、取引先コード、事業所コード、部門コードまたは分析コード)を含む。変換対象データ106rが含む変換元データについての記載は、変換パターン設定情報106qの変換元データについての記載を援用できる。変換対象データ106rは、図69に示すように、更に、明細(明細とは、変換対象データ106rの表における横一行の情報を意味する)の発生日(発生日)および数値(金額)等を含んでいてもよい。   The conversion target data 106r is data including conversion source data to be converted. As shown in FIG. 69, the conversion target data 106r includes conversion source data (subject code, company code, supplier code, establishment code, department code or analysis code). The description of the conversion source data included in the conversion target data 106r can be based on the description of the conversion source data of the conversion pattern setting information 106q. As shown in FIG. 69, the conversion target data 106r further includes an occurrence date (occurrence date), a numerical value (amount of money), and the like of the details (details mean one horizontal line of information in the table of the conversion target data 106r). May be included.

変換完了データ106sは、変換対象データ106rに含まれる変換元データの変換先データへの変換がすべて完了したデータである。変換完了データ106sは、図73に示すように、例えば、変換元データ(科目コード、会社コード、取引先コード、事業所コード、部門コードまたは分析コード)、変換先データ(共通セグメントコード)、明細(明細とは、変換完了データ106sの表における横一行の情報を意味する)の発生日(発生日)および数値(金額)等を含む。   The conversion completion data 106s is data in which the conversion of the conversion source data included in the conversion target data 106r into the conversion destination data is completed. As shown in FIG. 73, the conversion completion data 106s includes, for example, conversion source data (subject code, company code, supplier code, business office code, department code or analysis code), conversion destination data (common segment code), details. The specification includes the date of occurrence (occurrence date) and the numerical value (amount of money) of the conversion completion data 106s (meaning information in one horizontal line in the table).

制御部102は、情報処理装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。   The control unit 102 is a CPU or the like that totally controls the information processing apparatus 100. The control unit 102 has an internal memory for storing a control program such as an OS, a program that defines various processing procedures, and required data, and performs various information processing based on these stored programs. Run.

制御部102は、機能概念的に、例えば、(1)最下位層の対象と上位層の対象とが階層を成すことにより形成される階層構造を識別するための階層構造識別データと前記最下位層の対象を識別するための最下位層識別データとを含む対象管理データを参照して、入力された階層構造識別データと紐付く最下位層識別データを取得する取得手段としての取得部102aと、(2)前記対象管理データを参照して、入力された階層構造識別データを含むレコードを取得するレコード取得手段としてのレコード取得部102a1と、(3)前記レコード取得手段で取得したレコードから、前記最下位層レコードを取得する最下位層レコード取得手段としての最下位層レコード取得部102a2と、(4)前記最下位層レコード取得手段で取得した最下位層レコードに含まれる上位階層識別データおよび上位対象識別データと同じ階層識別データおよび対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記最下位層レコード取得手段で取得した最下位層レコードに含まれる最下位層識別データを追加したレコードを作成するレコード作成手段としてのレコード作成部102a3と、(5)前記最下位層レコード取得手段で取得した最下位層レコードおよび前記レコード作成手段で作成したレコードを参照して、入力された階層識別データを含むレコードを取得することにより、当該レコードに含まれる最下位層識別データを取得する最下位層データ取得手段としての最下位層データ取得部102a4と、(6)最下位層識別データと数値とを含む集計対象データを参照して、前記取得手段で取得した最下位層識別データと紐付く数値を抽出する抽出手段としての抽出部102bと、(7)前記抽出手段で抽出した数値を集計する集計手段としての集計部102cと、(8)最下位層の対象と上位層の対象とが階層を成すことにより形成される階層構造を識別するための階層構造識別データと前記階層構造における各階層を識別するための階層識別データと前記対象を識別するための対象識別データとを含む対象管理データを参照して、入力された階層構造識別データと紐付く階層識別データおよび対象識別データを取得する第一取得手段としての第一取得部102dと、(9)ユーザグループ識別データとユーザ識別データとを含むユーザ管理データを参照して、入力されたユーザ識別データと紐付くユーザグループ識別データを取得するグループ識別データ取得手段としてのグループ識別データ取得部102d1と、(10)階層構造識別データと階層識別データと対象識別データとユーザグループ識別データとを含むグループ管理データを参照して、前記入力された階層構造識別データおよび前記グループ識別データ取得手段で取得したユーザグループ識別データと紐付く階層識別データおよび対象識別データを取得する階層識別データ等取得手段としての階層識別データ等取得部102d2と、(11)前記対象管理データを参照して、前記入力された階層構造識別データならびに前記階層識別データ等取得手段で取得した階層識別データおよび対象識別データを含むレコードを取得するレコード取得手段としてのレコード取得部102d3と、(12)前記レコード取得手段で取得したレコードに含まれる階層識別データおよび対象識別データと同じ上位階層識別データおよび上位対象識別データを含むレコードを、前記対象管理データを参照して取得し、更に、当該取得したレコードに含まれる階層識別データおよび対象識別データと同じ上位階層識別データおよび上位対象識別データを含むレコードを、前記対象管理データを参照して取得することを、前記最下位層レコードを取得することにより当該最下位層レコードに含まれる階層識別データおよび対象識別データを取得するまで繰り返す繰返手段としての繰返部102d4と、(13)階層構造識別データと階層識別データと対象識別データと前記最下位層の対象を識別するめの最下位層識別データとを含む対象展開データを参照して、前記入力された階層構造識別データならびに前記第一取得手段で取得した階層識別データおよび対象識別データと紐付く最下位層識別データを取得する第二取得手段としての第二取得部102eと、(14)前記対象管理データを参照して、入力された階層構造識別データを含むレコードを取得し、当該取得したレコードから、前記最下位層レコードを取得し、当該取得した最下位層レコードを前記対象展開データとすることにより、前記対象展開データを作成する展開データ作成手段としての展開データ作成部102fと、(15)前記第二取得手段で取得した最下位層識別データを含む最下位層レコードに含まれる上位階層識別データおよび上位対象識別データと同じ階層識別データおよび対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記第二取得手段で取得した最下位層識別データを追加したレコードを作成するレコード作成手段としてのレコード作成部102gと、(16)前記第二取得手段で取得した最下位層識別データを含む最下位層レコードおよび前記レコード作成手段で作成したレコードを参照して、入力された階層識別データを含むレコードを取得することにより、当該レコードに含まれる最下位層識別データを取得する最下位層データ取得手段としての最下位層データ取得部102hと、(17)最下位層識別データと数値とを含む集計対象データを参照して、前記最下位層データ取得手段で取得した最下位層識別データと紐付く数値を抽出する抽出手段としての抽出部102iと、(18)前記抽出手段で抽出した数値を集計する集計手段としての集計部102jと、(19)最下位層の対象と上位層の対象とが階層を成すことにより形成される階層構造を識別するための階層構造識別データと前記階層構造における各階層を識別するための階層識別データと前記対象を識別するための対象識別データと前記最下位層の対象を識別するための最下位層識別データとを含む対象抽出データを参照して、取引の主体である主体対象を識別するための最下位層識別データである主体最下位層識別データと取引の相手である相手対象を識別するための最下位層識別データである相手最下位層識別データとを含む集計対象データに含まれる主体最下位層識別データと紐付く階層構造識別データ、階層識別データおよび対象識別データを取得する主体取得手段としての主体取得部102kと、(20)前記対象抽出データを参照して、前記集計対象データに含まれる相手最下位層識別データと紐付く階層構造識別データ、階層識別データおよび対象識別データを取得する相手取得手段としての相手取得部102lと、(21)前記主体取得手段で取得した階層構造識別データ、階層識別データおよび対象識別データと前記相手取得手段で取得した階層構造識別データ、階層識別データおよび対象識別データとが同じである場合、前記主体対象と前記相手対象との間での取引をグループ内部での内部取引であると判定する判定手段としての判定部102mと、(22)前記同じである場合に、前記集計対象データに含まれる主体最下位層識別データと紐付く数値を集計する集計手段としての集計部102nと、(23)主体最下位層識別データと前記取引の計上科目を識別するための科目識別データと前記主体対象の取引先を識別するための取引先識別データとを含む集計対象元データを参照して、主体最下位層識別データと科目識別データと取引先識別データと相手最下位層識別データとを含む取引パターン設定データに含まれる主体最下位層識別データ、科目識別データおよび取引先識別データと同じ主体最下位層識別データ、科目識別データおよび取引先識別データを抽出し、当該抽出した主体最下位層識別データ、科目識別データおよび取引先識別データと紐付く、前記取引パターン設定データに含まれる相手最下位層識別データを、前記集計対象元データに追加することにより、前記集計対象データを作成する集計対象作成手段としての集計対象作成部102oと、(24)前記対象管理データを参照して、入力された階層構造識別データを含むレコードを取得し、当該取得したレコードから、前記最下位層レコードを取得し、当該取得した最下位層レコードに含まれる上位階層識別データおよび上位対象識別データと同じ階層識別データおよび対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記取得した最下位層レコードに含まれる最下位層識別データを追加したレコードを作成し、前記取得した最下位層レコードおよび前記作成したレコードを参照して、入力された階層識別データを含むレコードを取得し、当該取得したレコードを前記対象抽出データとすることにより、前記対象抽出データを作成する対象抽出作成手段としての対象抽出作成部102pと、(25)複数のデータからなる変換元データを含む変換対象データを参照して、変換元データと変換先データとを含む変換パターン設定データに含まれる変換元データと同じ変換元データの抽出を行う抽出手段としての抽出部102qと、(26)前記抽出手段で抽出した変換元データを、当該変換元データと紐付く前記変換パターン設定データに含まれる変換先データに変換する変換手段としての変換部102rと、を備えている。なお、各部が実行する処理の詳細については、以下の[3.処理の具体例]で説明する。   The control unit 102 is functionally conceptually composed of, for example, (1) hierarchical structure identification data for identifying a hierarchical structure formed by a target of the lowermost layer and a target of the uppermost layer forming a hierarchy and the lowermost layer. An acquisition unit 102a as an acquisition unit that acquires the lowest layer identification data associated with the input hierarchical structure identification data by referring to the target management data including the lowest layer identification data for identifying the target of the layer. , (2) referring to the target management data, a record acquisition unit 102a1 as a record acquisition unit that acquires a record including the input hierarchical structure identification data, and (3) a record acquired by the record acquisition unit, A lowest layer record acquisition unit 102a2 as a lowest layer record acquisition means for acquiring the lowest layer record; and (4) upper layer identification data included in the lowest layer record acquired by the lowest layer record acquisition means, and A record including the same layer identification data and target identification data as the upper layer target identification data is obtained by referring to the target management data, and the obtained record is added to the lowest layer record obtained by the lowest layer record obtaining means. A record creating unit 102a3 as a record creating unit that creates a record to which the lowest layer identification data included is added, and (5) the lowest layer record acquired by the lowest layer record acquiring unit and the record creating unit. A lowest layer data acquisition unit 102a4 as a lowest layer data acquisition unit that acquires the lowest layer identification data included in the record by acquiring the record including the input layer identification data by referring to the record. (6) An extraction unit 102b as an extraction unit that extracts the numerical value associated with the lowest layer identification data acquired by the acquisition unit with reference to the aggregation target data including the lowest layer identification data and the numerical value, ( 7) To identify a hierarchical structure formed by aggregating unit 102c as an aggregating unit that aggregates the numerical values extracted by the extracting unit, and (8) a target of the lowest layer and a target of the upper layer form a hierarchy. Input hierarchical structure identification data with reference to target management data including hierarchical structure identification data, hierarchical identification data for identifying each layer in the hierarchical structure, and target identification data for identifying the target. It is input by referring to the first acquisition unit 102d as the first acquisition unit that acquires the associated layer identification data and the target identification data, and (9) the user management data including the user group identification data and the user identification data. Yu Group identification data acquisition unit 102d1 as a group identification data acquisition unit that acquires user group identification data associated with user identification data, and (10) hierarchical structure identification data, hierarchical identification data, target identification data, and user group identification data. Acquisition of layer identification data and the like for obtaining the layer identification data and the target identification data associated with the input hierarchical structure identification data and the user group identification data acquired by the group identification data acquisition means with reference to group management data including The layer identification data etc. acquisition unit 102d2 as means, and (11) referring to the target management data, the input hierarchical structure identification data and the layer identification data and target identification data acquired by the layer identification data etc. acquiring unit. And a record acquisition unit 102d3 as a record acquisition unit that acquires a record including, and (12) upper layer identification data and upper target identification data that are the same as the layer identification data and the target identification data included in the record obtained by the record acquisition unit. A record containing the same is acquired by referring to the target management data, and a record containing the same upper layer identification data and upper target identification data as the layer identification data and the target identification data included in the acquired record is acquired by the target management. A repeating unit 102d4 as a repeating unit that repeats the acquisition by referring to the data until the hierarchy identification data and the target identification data included in the lowest layer record are acquired by acquiring the lowest layer record. (13) The inputted hierarchical structure identification is referred to by referring to target expanded data including hierarchical structure identification data, hierarchical identification data, target identification data, and lowest layer identification data for identifying the object of the lowest layer. A second acquisition unit 102e as a second acquisition unit that acquires data and the lowest layer identification data associated with the layer identification data and the target identification data acquired by the first acquisition unit, and (14) refer to the target management data Then, the record including the input hierarchical structure identification data is obtained, the lowest layer record is obtained from the obtained record, and the obtained lowest layer record is set as the target expansion data. An expanded data creating unit 102f as expanded data creating means for creating target expanded data, and (15) upper layer identification data and upper layer included in the lowest layer record including the lowest layer identification data acquired by the second acquisition means. The same layer identification data as the target identification data and As a record creating unit that acquires a record including target identification data by referring to the target management data and creates a record in which the lowest layer identification data acquired by the second acquisition unit is added to the acquired record. The record creating unit 102g includes (16) the lowest layer record including the lowest layer identification data acquired by the second acquisition unit and the record created by the record creating unit, and includes the input layer identification data. A lowest layer data acquisition unit 102h as a lowest layer data acquisition unit that acquires the lowest layer identification data included in the record by acquiring the record, and (17) lowest layer identification data and a numerical value. With reference to the aggregation target data, an extraction unit 102i as an extraction unit that extracts a numerical value associated with the lowest layer identification data acquired by the lowest layer data acquisition unit, and (18) a numerical value extracted by the extraction unit. (19) Hierarchical structure identification data for identifying a hierarchical structure formed by the object of the lowest layer and the object of the upper layer forming a hierarchy, and Transaction is performed by referring to target extraction data including layer identification data for identifying each layer, target identification data for identifying the target, and lowest layer identification data for identifying the target of the lowest layer. The lowest layer identification data that is the lowest layer identification data that identifies the subject that is the subject of the transaction, and the lowest layer identification data that is the identification data that is the lowest layer that identifies the target of the transaction (20) The subject extraction unit 102k as a subject obtaining unit that obtains the hierarchical structure identification data associated with the subject lowest layer identification data included in the aggregation target data including A partner acquisition unit 102l as a partner acquisition unit that acquires the hierarchical structure identification data, the layer identification data, and the target identification data associated with the partner lowest layer identification data included in the aggregation target data with reference to the data, and (21 ) If the hierarchical structure identification data, the hierarchical identification data, and the target identification data acquired by the subject acquisition unit are the same as the hierarchical structure identification data, the hierarchical identification data, and the target identification data acquired by the partner acquisition unit, the subject target And a determination unit 102m as a determination unit that determines that the transaction between the other party and the other party is an internal transaction within the group, and (22) if the same, the subject maximum included in the aggregation target data. With lower layer identification data An aggregating unit 102n as an aggregating unit for aggregating the associated numerical values, (23) subject identification data for identifying the lowest layer identification data of the subject, item identification data for identifying the accounting item of the transaction, and a transaction target of the subject. By referring to the aggregation target source data including the supplier identification data, the subject maximum data included in the transaction pattern setting data including the subject lowest layer identification data, the subject identification data, the supplier identification data, and the partner lowest layer identification data. The same entity as the lower layer identification data, the item identification data, and the customer identification data, the lowest layer identification data, the item identification data, and the customer identification data are extracted, and the extracted subject lowest layer identification data, the item identification data, and the customer are extracted. A totaling target creating unit as a totaling target creating unit that creates the totaling target data by adding the partner lowest layer identification data included in the transaction pattern setting data, which is associated with the identification data, to the totaling target source data. 102o and (24) the target management data is referred to acquire a record including the input hierarchical structure identification data, the lowest layer record is acquired from the acquired record, and the acquired lowest layer is acquired. A record including the same layer identification data and target identification data as the upper layer identification data and the upper target identification data included in the record is acquired by referring to the target management data, and the acquired record is added to the acquired lowest layer. A record to which the lowest layer identification data included in the record is added is created, the record including the input layer identification data is acquired by referring to the acquired lowest layer record and the created record, and the acquired By using a record as the target extraction data, a target extraction creating unit 102p as a target extraction creating unit that creates the target extraction data, and (25) conversion target data including conversion source data composed of a plurality of data are referred to. An extraction unit 102q as an extraction unit that extracts the same conversion source data as the conversion source data included in the conversion pattern setting data that includes the conversion source data and the conversion destination data; and (26) the conversion extracted by the extraction unit. The conversion unit 102r as a conversion unit that converts the original data into the conversion destination data included in the conversion pattern setting data associated with the conversion source data. For details of the processing executed by each unit, refer to [3. Specific example of processing].

[3.処理の具体例]
以下、本実施形態に係る処理の具体例について説明する。なお、本実施形態に係る処理を大別すると、データ集計処理、データ参照権限管理処理、内部取引判定処理、データ変換処理およびこれら以外の処理、の5つの処理に分かれるため、以下、この順で項目立てて説明する。
[3. Specific example of processing]
Hereinafter, a specific example of the process according to the present embodiment will be described. Note that the processing according to the present embodiment is roughly divided into five processings, that is, data aggregation processing, data reference authority management processing, internal transaction determination processing, data conversion processing, and processing other than these. Set up items and explain.

[3−1.データ集計処理]
まず、データ集計処理について、主に図8〜図17を用いて詳細に説明する。データ集計処理を大別すると、取得処理、抽出処理および集計処理の3つの処理に分かれるため、以下、この順で項目立てて説明する。
[3-1. Data aggregation processing]
First, the data totaling process will be described in detail mainly with reference to FIGS. The data totaling process is roughly divided into three processes, that is, an acquisition process, an extraction process, and a totaling process. Therefore, items will be described in this order in the following order.

(1)取得処理
取得部102aは、管理番号と紐付コードとを含む階層化オブジェクト管理情報106aを参照して、入力された管理番号と紐付く紐付コードを取得する。具体的な処理は、以下の(1−1)〜(1−4)に示すとおりである。
(1) Acquisition Process The acquisition unit 102a refers to the hierarchical object management information 106a including the management number and the linking code, and acquires the linking code linked to the input management number. The specific processing is as shown in (1-1) to (1-4) below.

(1−1)レコード取得処理
レコード取得部102a1は、階層化オブジェクト管理情報106aを参照して、入力された管理番号を含むレコードを取得する。すなわち、入力された管理番号を元に、階層化オブジェクト管理情報106aを照会する。
(1-1) Record Acquisition Processing The record acquisition unit 102a1 refers to the hierarchical object management information 106a and acquires a record including the input management number. That is, the hierarchical object management information 106a is queried based on the input management number.

具体的には、図8に示すように、レコード取得の条件として、組織図(3)が入力されたとする。この場合、レコード取得部102a1は、様々な管理番号を有するレコードを含む階層化オブジェクト管理情報106aの中から、図9に示すように、組織図(3)を含むレコードのみを取得する。なお、図9において太枠で囲んで示す部分は、入力された組織図(3)に基づき特定されるデータである。   Specifically, as shown in FIG. 8, it is assumed that the organization chart (3) is input as a condition for record acquisition. In this case, the record acquisition unit 102a1 acquires only the record including the organization chart (3) from the hierarchical object management information 106a including the records having various management numbers, as shown in FIG. Note that, in FIG. 9, a portion surrounded by a thick frame is data specified based on the inputted organization chart (3).

続いて、以下の(1−2)〜(1−4)に示すように、階層化オブジェクト管理情報106aから抽出されたレコードについて、階層レベルが大きい(階層が深い)ものから順に、階層化オブジェクト展開情報106bを作成する。   Then, as shown in (1-2) to (1-4) below, regarding the records extracted from the hierarchical object management information 106a, the hierarchical objects are arranged in descending order of hierarchical level (hierarchical level). The expansion information 106b is created.

(1−2)最下位層レコード取得処理
最下位層レコード取得部102a2は、レコード取得部102a1で取得したレコードから、最下位層レコードを取得する。
(1-2) Lowest layer record acquisition processing The lowest layer record acquisition unit 102a2 acquires the lowest layer record from the records acquired by the record acquisition unit 102a1.

具体的には、最下位層レコード取得部102a2は、図10に示すように、レコード取得部102a1が取得したレコードの中から、階層レベル2を含む4つのレコード(すなわち、最下位層レコード)を取得し、階層化オブジェクト展開情報106bに格納する。   Specifically, as shown in FIG. 10, the lowest layer record acquisition unit 102a2 retrieves four records including the hierarchy level 2 (that is, the lowest layer record) from the records acquired by the record acquisition unit 102a1. It is acquired and stored in the hierarchical object expansion information 106b.

ここまでで、図10に示すように、階層レベル2を有するレコードを含む階層化オブジェクト展開情報106bの作成が終了したこととなる。   By now, as shown in FIG. 10, the creation of the layered object expansion information 106b including the record having the layer level 2 is completed.

(1−3)レコード作成処理
レコード作成部102a3は、最下位層レコード取得部102a2で取得した最下位層レコードに含まれる上位階層レベルおよび上位ノード識別コードと同じ階層レベルおよびノード識別コードを含むレコードを、階層化オブジェクト管理情報106aを参照して取得し、当該取得したレコードに、最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付コードを追加したレコードを作成する。
(1-3) Record Creation Processing The record creation unit 102a3 is a record including the same hierarchy level and node identification code as the upper hierarchy level and upper node identification code included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2. Is obtained by referring to the hierarchical object management information 106a, and a record in which the linking code included in the lowest layer record obtained by the lowest layer record obtaining unit 102a2 is added to the obtained record is created.

すなわち、末端層(最下位層)から上の階層については、階層化オブジェクト管理情報106aと、(1−2)で作成された階層化オブジェクト展開情報106bとから、上位の階層化オブジェクト展開情報106bを作成する。   That is, for the layers above the terminal layer (the lowest layer), from the layered object management information 106a and the layered object development information 106b created in (1-2) to the layered object development information 106b of the upper layer. To create.

具体的に、最下位層レコード取得部102a2で取得した4つの最下位層レコードのうち、上位階層レベル1および上位ノード識別コード11000を含む2つのレコードについて説明する。上位階層レベル1および上位ノード識別コード11000と同じ階層レベルおよびノード識別コードを含むレコードは、図11の階層化オブジェクト管理情報106aにおける上から2行目のレコード(太枠で囲んで示す)であるため、レコード作成部102a3は、このレコードをまず取得する。次に、レコード作成部102a3は、当該取得したレコードに最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付コード(1、001、ALL)を追加したレコードおよび当該取得したレコードに最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付けコード(1、ALL、A)を追加したレコードを作成する。そして、当該作成された2つのレコードは、階層化オブジェクト展開情報106bに格納される。   Specifically, of the four lowest layer records acquired by the lowest layer record acquisition unit 102a2, two records including the upper layer level 1 and the upper node identification code 11000 will be described. The record including the same hierarchical level and node identification code as the upper hierarchical level 1 and the upper node identification code 11000 is the second record from the top in the hierarchical object management information 106a in FIG. 11 (enclosed by a thick frame). Therefore, the record creating unit 102a3 first acquires this record. Next, the record creation unit 102a3 adds to the acquired record the linking code (1, 001, ALL) included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2 and the acquired record. A record to which the linking code (1, ALL, A) included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2 is added is created. Then, the two created records are stored in the hierarchical object expansion information 106b.

最下位層レコード取得部102a2で取得した4つの最下位層レコードのうち、上位階層レベル1および上位ノード識別コード12000を含む2つのレコードについても、前段落と同様の処理を行うことにより、図11の階層化オブジェクト管理情報106aにおける上から5行目のレコード(太枠で囲んで示す)を取得し、当該取得したレコードに紐付コード(2、001、ALL)を追加したレコードおよび当該取得したレコードに紐付コード(3、ALL、ALL)を追加したレコードを作成する。そして、当該作成された2つのレコードは、階層化オブジェクト展開情報106bに格納される。   Of the four lowest layer records acquired by the lowest layer record acquisition unit 102a2, two records including the upper layer level 1 and the upper node identification code 12000 are also processed by performing the same process as in the preceding paragraph, so that FIG. A record obtained by acquiring the record (enclosed in a thick frame) in the fifth row from the top of the hierarchical object management information 106a, and adding the linking code (2,001, ALL) to the acquired record, and the acquired record. Create a record in which the pegging code (3, ALL, ALL) is added to. Then, the two created records are stored in the hierarchical object expansion information 106b.

このようにして、前々段落および前段落で作成されて階層化オブジェクト展開情報106bに格納された4つのレコードを、図11にMA1で示す。図11にMA1で示すように、階層レベル1の展開情報には、下位(末端)に含まれる階層レベル2の紐付情報がすべて展開された状態となる。   In this way, the four records created in the preceding paragraph and the preceding paragraph and stored in the hierarchical object expansion information 106b are shown by MA1 in FIG. As indicated by MA1 in FIG. 11, the expansion information of the hierarchy level 1 is in a state where all the association information of the hierarchy level 2 included in the lower level (end) is expanded.

ここまでで、図11に示すように、階層レベル2を有するレコードおよび階層レベル1を有するレコードを含む階層化オブジェクト展開情報106bの作成が終了したこととなる。   By now, as shown in FIG. 11, the creation of the layered object expansion information 106b including the record having the hierarchy level 2 and the record having the hierarchy level 1 is completed.

ここで、階層化オブジェクト管理情報106aが、階層レベル0と1のみを含む場合(すなわち、階層が2層の場合)は、レコード作成部102a3が行う処理はこれで終了となるが、本例のように、階層レベル2以上を含む場合(すなわち、階層が3層以上の場合)は、レコード作成部102a3は以下の処理を続けて行う。   Here, when the hierarchical object management information 106a includes only the hierarchy levels 0 and 1 (that is, when the hierarchy is two layers), the process performed by the record creating unit 102a3 is ended, but in this example. As described above, when the hierarchy level is 2 or more (that is, when the hierarchy is three or more layers), the record creating unit 102a3 continuously performs the following processing.

すなわち、レコード作成部102a3は、レコード作成部102a3で作成したレコードに含まれる上位階層レベルおよび上位ノード識別コードと同じ階層レベルおよびノード識別コードを含むレコードを、階層化オブジェクト管理情報106aを参照して取得し、当該取得したレコードに、最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付コードを追加したレコードを作成することを、最上位層の対象についての情報を有するレコードに最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付コードを追加するまで繰り返す。   That is, the record creating unit 102a3 refers to the hierarchical object management information 106a for a record including the same hierarchy level and node identification code as the upper hierarchy level and upper node identification code included in the record created by the record creating unit 102a3. To obtain a record having the information about the target of the highest layer, create a record in which the linking code included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2 is added to the acquired record. The process is repeated until the linking code included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2 is added.

具体的に、レコード作成部102a3で作成した4つのレコード(図11にMA1で示す)における上位階層レベル0および上位ノード識別コード10000と同じ階層レベルおよびノード識別コードを含むレコードは、図12の階層化オブジェクト管理情報106aにおける上から1行目のレコード(太枠で囲んで示す)である。このため、レコード作成部102a3は、このレコードをまず取得する。次に、レコード作成部102a3は、当該取得したレコードに最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付コード(1、001、ALL)を追加したレコード、当該取得したレコードに最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付コード(1、ALL、A)を追加したレコード、当該取得したレコードに最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付コード(2、001、ALL)を追加したレコードおよび当該取得したレコードに最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付コード(3、ALL、ALL)を追加したレコードを作成する。そして、当該作成された4つのレコードは、階層化オブジェクト展開情報106bに格納される。   Specifically, the record including the same hierarchy level and node identification code as the higher hierarchy level 0 and the higher node identification code 10000 in the four records (indicated by MA1 in FIG. 11) created by the record creation unit 102a3 is the hierarchy of FIG. It is a record (enclosed by a thick frame) in the first line from the top in the encrypted object management information 106a. Therefore, the record creating unit 102a3 first acquires this record. Next, the record creation unit 102a3 adds the linking code (1, 001, ALL) included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2 to the acquired record, and adds the acquired record to the acquired record. A record in which the linking code (1, ALL, A) included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2 is added, and the lowest layer record acquired by the lowest layer record acquisition unit 102a2 in the acquired record. To the record to which the pegging code (2, 001, ALL) included in is added and the pegging code (3, ALL, ALL) included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2 to the acquired record. Create a record. Then, the four records thus created are stored in the hierarchical object expansion information 106b.

このようにして、前段落で作成されて階層化オブジェクト展開情報106bに格納された4つのレコードを、図12にMA2で示す。図12に示すように、階層レベル1の展開情報には、下位(末端)に含まれる階層レベル2の紐付情報がすべて展開された状態となり、階層レベル0の展開情報には、下位(末端)に含まれる階層レベル1〜2の紐付情報がすべて展開された状態となる。   In this way, the four records created in the preceding paragraph and stored in the hierarchical object development information 106b are indicated by MA2 in FIG. As shown in FIG. 12, in the expansion information of the hierarchy level 1, all the associating information of the hierarchy level 2 included in the lower (end) is expanded, and in the expansion information of the hierarchy level 0, the lower (end) All the associating information of the hierarchy levels 1 and 2 included in is expanded.

ここまでで、図11に示すように、階層レベル2を有するレコード、階層レベル1を有するレコードおよび階層レベル0を有するレコードを含む階層化オブジェクト展開情報106bの作成が終了、すなわち、階層化オブジェクト展開情報106bが完成したこととなる。   Up to this point, as shown in FIG. 11, the creation of the hierarchical object expansion information 106b including the record having the hierarchical level 2, the record having the hierarchical level 1, and the record having the hierarchical level 0 is completed, that is, the hierarchical object expansion. The information 106b is completed.

なお、レコード作成部102a3は、本例では示していないが、更に上位の階層が存在する場合には、本項目(1−3)で説明した処理を、最上位層の対象についての情報を有するレコード(すなわち、階層レベル0のレコード)に最下位層レコード取得部102a2で取得した最下位層レコードに含まれる紐付データを追加するまで繰り返してもよい。   Although not shown in this example, the record creating unit 102a3 has the information about the object of the highest layer when performing the processing described in this item (1-3) when there is a higher hierarchy. This may be repeated until the linking data included in the lowest layer record acquired by the lowest layer record acquisition unit 102a2 is added to the record (that is, the record of the layer level 0).

(1−4)最下位層データ取得処理
最下位層データ取得部102a4は、最下位層レコード取得部102a2で取得した最下位層レコードおよびレコード作成部102a3で作成したレコードを参照して、入力された階層レベルを含むレコードを取得することにより、当該レコードに含まれる紐付コードを取得する。
(1-4) Lowest layer data acquisition process The lowest layer data acquisition unit 102a4 is input with reference to the lowest layer record acquired by the lowest layer record acquisition unit 102a2 and the record created by the record creation unit 102a3. By acquiring the record including the hierarchical level, the linking code included in the record is acquired.

具体的には、図8に示すように、レコード取得の条件として、階層レベル1が入力されたとする。この場合、最下位層データ取得部102a4は、図13に示す階層化オブジェクト展開情報106bを参照して、階層レベル1を含むレコード、すなわち、図13にMA3で示す4つのレコードを取得することにより、当該レコードに含まれる4組の紐付コード(1、001、ALL)、(1、ALL、A)、(2、001、ALL)および(3、ALL、ALL)を取得する。最下位層データ取得部102a4は、図13に示すように、当該取得した4つのレコードを、階層化オブジェクト抽出情報106cに格納してもよい。なお、図8に示すように、レコード取得の条件としては、ノード識別コードが入力されてもよいが(ノード識別コードの範囲指定有無は任意)、入力されない場合には、すべてのノード識別コードが最下位層データ取得部102a4の取得の対象となる。   Specifically, as shown in FIG. 8, it is assumed that hierarchy level 1 is input as a condition for record acquisition. In this case, the lowest layer data acquisition unit 102a4 refers to the layered object expansion information 106b shown in FIG. 13 to acquire the record including the layer level 1, that is, the four records indicated by MA3 in FIG. , Four sets of associated codes (1,001,ALL), (1,ALL,A), (2,001,ALL) and (3,ALL,ALL) included in the record. As shown in FIG. 13, the lowest layer data acquisition unit 102a4 may store the acquired four records in the hierarchical object extraction information 106c. As shown in FIG. 8, the node identification code may be input as the condition for record acquisition (whether or not the range of the node identification code is specified), but if not input, all the node identification codes are input. It is the target of acquisition by the lowest layer data acquisition unit 102a4.

以上のようにして、取得部102aは、入力された組織図(3)と紐付く紐付コードとして、図13の階層化オブジェクト抽出情報106cに示す4組の紐付コード(1、001、ALL)、(1、ALL、A)、(2、001、ALL)および(3、ALL、ALL)を取得することができる。   As described above, the acquisition unit 102a uses four sets of linking codes (1, 001, ALL) shown in the hierarchical object extraction information 106c of FIG. 13 as linking codes to link with the input organization chart (3). (1, ALL, A), (2, 001, ALL) and (3, ALL, ALL) can be acquired.

(2)抽出処理
抽出部102bは、紐付コードと集計対象値とを含む集計対象データ106dを参照して、取得部102aで取得した紐付コードと紐付く集計対象値を抽出する。
(2) Extraction Process The extraction unit 102b refers to the aggregation target data 106d including the association code and the aggregation target value, and extracts the aggregation target value associated with the association code acquired by the acquisition unit 102a.

すなわち、抽出部102bは、階層化オブジェクト抽出情報106cの紐付コードを元に、集計対象データ106dをマッチング検索する。集計対象データ106dとマッチングする際の条件として、以下の1〜4の手順で評価を行う。
1.紐付コード1の判定については、紐付コード1が必須項目の場合は、集計対象データ106dの紐付コード1=階層化オブジェクト抽出情報106cの紐付コード1というマッチングを検索し、紐付コード1が任意項目の場合は、階層化オブジェクト抽出情報106cの紐付コード1=予約語<ALL>となるか、または、集計対象データ106dの紐付コード1=階層化オブジェクト抽出情報106cの紐付コード1というマッチングを検索する。
2.紐付コード2の判定については、紐付コード2が必須項目の場合は、集計対象データ106dの紐付コード2=階層化オブジェクト抽出情報106cの紐付コード2というマッチングを検索し、紐付コード2が任意項目の場合は、階層化オブジェクト抽出情報106cの紐付コード2=予約語<ALL>となるか、または、集計対象データ106dの紐付コード2=階層化オブジェクト抽出情報106cの紐付コード2というマッチングを検索する。
3.紐付コード3の判定については、紐付コード3が必須項目の場合は、集計対象データ106dの紐付コード3=階層化オブジェクト抽出情報106cの紐付コード3というマッチングを検索し、紐付コード3が任意項目の場合は、階層化オブジェクト抽出情報106cの紐付コード3=予約語<ALL>となるか、または、集計対象データ106dの紐付コード3=階層化オブジェクト抽出情報106cの紐付コード3というマッチングを検索する。
4.そして、以下、システムが使用する紐付コードの数だけ評価を実行(すなわち、紐付コード4以降が存在する場合には、紐付コード1〜3と同様の処理を実行)する。
That is, the extraction unit 102b performs a matching search on the aggregation target data 106d based on the linking code of the hierarchical object extraction information 106c. As a condition for matching with the aggregation target data 106d, evaluation is performed according to the following procedures 1 to 4.
1. Regarding the determination of the pegging code 1, when the pegging code 1 is a required item, the pegging code 1 of the aggregation target data 106d=the pegging code 1 of the hierarchical object extraction information 106c is searched for, and the pegging code 1 is an optional item. In this case, the matching code 1 of the hierarchical object extraction information 106c is a reserved word <ALL>, or the matching code 1 of the aggregation target data 106d is the matching code 1 of the hierarchical object extraction information 106c.
2. Regarding the determination of the pegging code 2, if the pegging code 2 is an essential item, the pegging code 2 of the aggregation target data 106d=the pegging code 2 of the hierarchical object extraction information 106c is searched for, and the pegging code 2 is an optional item. In this case, the matching code 2 of the hierarchical object extraction information 106c is the reserved word <ALL>, or the matching code 2 of the aggregation target data 106d=the matching code 2 of the hierarchical object extraction information 106c is searched for.
3. Regarding the determination of the pegging code 3, when the pegging code 3 is an essential item, the pegging code 3 of the aggregation target data 106d=the pegging code 3 of the hierarchical object extraction information 106c is searched for, and the pegging code 3 is an optional item. In this case, the matching code 3 of the hierarchical object extraction information 106c is the reserved word <ALL>, or the matching code 3 of the aggregation target data 106d is the matching code 3 of the hierarchical object extraction information 106c.
4. Then, hereinafter, the evaluation is performed by the number of pegging codes used by the system (that is, when pegging codes 4 and later are present, the same processing as pegging codes 1 to 3 is executed).

具体的には、図14の集計対象データ106dに示すように、条件(1)の紐付コード(1、001、ALL)を含む明細は、明細ID=1の明細(集計対象値=1,000)である。同様に、条件(2)の紐付コード(1、ALL、A)を含む明細は、明細ID=1の明細(集計対象値=1,000)および明細ID=4の明細(集計対象値=4,000)である。なお、<ALL>は、どの情報が入ってもよいことを意味する。同様に、条件(3)の紐付コード(2、001、ALL)を含む明細は、明細ID=2の明細(集計対象値=2,000)である。同様に、条件(4)の紐付コード(3、ALL、ALL)を含む明細は、明細ID=3の明細(集計対象値=3,000)、明細ID=6の明細(集計対象値=6,000)、明細ID=9の明細(集計対象値=9,000)および明細ID=12の明細(集計対象値=12,000)である。このようにして、抽出部102bは、合計8個の集計対象値(1,000、1,000、4,000、2,000、3,000、6,000、9,000および12,000)を抽出することができる。   Specifically, as shown in the totalization target data 106d in FIG. 14, the details including the linking code (1,001, ALL) of the condition (1) are the details of the detailed ID=1 (totalization target value=1,000). ). Similarly, the details including the linking code (1, ALL, A) of the condition (2) are the details of the detail ID=1 (total target value=1,000) and the details of the detail ID=4 (total target value=4). , 000). <ALL> means that any information may be entered. Similarly, the specification including the linking code (2, 001, ALL) of the condition (3) is the specification with the specification ID=2 (total target value=2,000). Similarly, the details including the linking code (3, ALL, ALL) of the condition (4) are the details of the detail ID=3 (total target value=3,000) and the details of the detail ID=6 (total target value=6). , 000), the item with the item ID=9 (the target value for aggregation=9000), and the item with the item ID=12 (the target value for aggregation=12,000). In this way, the extraction unit 102b has a total of eight aggregation target values (1,000, 1,000, 4,000, 2,000, 3,000, 6,000, 9,000 and 12,000). Can be extracted.

ここで、検索される集計対象が複数の紐付条件に合致する場合には、同一の行(同一の明細)が複数カウント(ダブルカウント)されることに対する考慮が必要となる(明細ID=1の明細が該当)。明細IDは、集計対象データ106dの行(明細)を一意に特定可能なキー情報とし、単一項目または複合項目の組合せのいずれも可能であるが、本例においては、単一項目の例を記載している。   Here, when the totaling target to be searched matches a plurality of linking conditions, it is necessary to consider that the same line (same item) is counted a plurality (double count) (item ID=1). Details are applicable). The detail ID is key information that can uniquely identify a row (specification) of the aggregation target data 106d, and either a single item or a combination of complex items is possible, but in this example, an example of a single item is used. It has been described.

(3)集計処理
集計部102cは、抽出部102bで抽出した集計対象値を集計する。
(3) Aggregation processing The aggregation unit 102c aggregates the aggregation target values extracted by the extraction unit 102b.

具体的には、集計部102cは、抽出部102bで抽出した8つの集計対象値を単純合計して、1,000+1,000+4,000+2,000+3,000+6,000+9,000+12,000=38,000という集計を行ってもよいが、以下のようにして、階層単位での集計およびダブルカウントを除去した集計を行うことが好ましい。   Specifically, the totaling unit 102c simply sums the eight totaling target values extracted by the extracting unit 102b to obtain the total of 1,000+1,000+4,000+2,000+3,000+6,000+9000+2,000+38,000. May be performed, but it is preferable to perform aggregation in units of layers and aggregation without double counting as follows.

ここで、階層単位での集計およびダブルカウントを除去した集計を行う際に必要である集計キー情報データ106fの内容について説明する。集計キー情報データ106fは、図16に示すように、例えば、抽出部102bで抽出した集計対象値と、最下位層データ取得部102a4で取得した4つのレコードに含まれる管理番号、階層レベルおよびノード識別コードの組合せと、明細IDと、を含む明細を複数含む。   Here, the contents of the aggregation key information data 106f necessary when performing aggregation in hierarchical units and aggregation without double counting will be described. As shown in FIG. 16, the aggregation key information data 106f includes, for example, the aggregation target value extracted by the extraction unit 102b, the management number, the hierarchy level, and the node included in the four records acquired by the lowest layer data acquisition unit 102a4. A plurality of specifications including a combination of identification codes and a specification ID are included.

(3−1)階層単位での集計
まず、階層単位での集計について説明する。集計部102cは、図16の左側に示すように、抽出部102bで抽出した集計対象値と、取得部102a4で取得した4つのレコードに含まれる管理番号、階層レベルおよびノード識別コードの組合せと、を含む明細を複数含む集計キー情報データ106fを参照して、前記組合せが同じである明細を特定し、当該特定した明細に含まれる数値を集計する。
(3-1) Aggregation in Hierarchical Units First, aggregation in hierarchical units will be described. As shown on the left side of FIG. 16, the aggregating unit 102c is a combination of the aggregation target value extracted by the extracting unit 102b, the management number, the hierarchy level, and the node identification code included in the four records acquired by the acquiring unit 102a4, With reference to the aggregate key information data 106f including a plurality of specifications including, the specifications having the same combination are specified, and the numerical values included in the specified details are totaled.

具体的には、図16の左側に示すように、集計キー情報データ106fの上から1〜3行目の明細は、すべて、組織図(3)、階層レベル1およびノード識別コード11000という組合せを含む。このため、集計部102cは、当該1〜3行目の明細を、前記組合せが同じである明細として特定し、当該特定した1〜3行目の明細に含まれる数値を、1,000+1,000+4,000=6,000と集計する。一方で、図16の左側に示すように、集計キー情報データ106fの上から4〜8行目の明細は、すべて、組織図(3)、階層レベル1およびノード識別コード12000という組合せを含む。このため、集計部102cは、当該4〜8行目の明細に含まれる数値を、2,000+3,000+6,000+9,000+12,000=32,000と集計する。集計結果を、図15の集計結果データ106eに示す。   Specifically, as shown on the left side of FIG. 16, the details of the first to third lines from the aggregate key information data 106f are all combinations of organization chart (3), hierarchy level 1, and node identification code 11000. Including. Therefore, the totaling unit 102c identifies the details of the first to third lines as the details having the same combination, and sets the numerical values included in the details of the specified first to third lines to 1,000+1,000+4. , 000=6,000. On the other hand, as shown on the left side of FIG. 16, the specifications in the fourth to eighth rows from the top of the aggregate key information data 106f all include the combination of organization chart (3), hierarchy level 1 and node identification code 12000. Therefore, the totaling unit 102c totals the numerical values included in the details of the fourth to eighth lines as 2,000+3,000+6,000+9000+2,000=32,000. The tabulation result is shown in tabulation result data 106e in FIG.

このように、本実施形態においては、階層レベル1という階層単位で、集計対象値の集計を行った。すなわち、図9の階層化オブジェクト管理情報106aに示す「関東エリアに属する会社1:東京本社および会社1:関東営業部」についての集計結果が6,000であり、「関西エリアに属する会社2:大阪支社および会社3」についての集計結果が32,000であるという集計を行った(地域単位での集計)。しかしながら、ユーザによって、階層レベル0または階層レベル2が入力された場合においては、以下のような集計を行うことができる。すなわち、階層レベル0が入力された場合には、これまでの説明と同様の方法により、図9の階層化オブジェクト管理情報106aに示す「全社」についての集計結果が38,000となる(全社単位での集計)。また、階層レベル2が入力された場合には、これまでの説明と同様の方法により、図9の階層化オブジェクト管理情報106aに示す「会社1:東京本社」についての集計結果が1,000となり、「会社1:関東営業部」についての集計結果が1,000+4,000=5,000となり、「会社2:大阪支社」についての集計結果が2,000となり、「会社3」についての集計結果が3,000+6,000+9,000+12,000=30,000となる(末端単位での集計)。このように、本実施形態に係る情報処理装置100によれば、ユーザが入力する階層によって、異なる階層単位(全社単位か、地域単位か、末端単位か)での集計を行うことができる。   As described above, in the present embodiment, the aggregation target values are aggregated in a hierarchy unit of hierarchy level 1. That is, the aggregation result for “company 1: Tokyo headquarters and company 1: Kanto sales department belonging to the Kanto area” shown in the hierarchical object management information 106a in FIG. 9 is 6,000, and “company 2: Kansai area 2: The total of 32,000 for the Osaka branch and company 3" was calculated (aggregation by region). However, when the user inputs the hierarchy level 0 or the hierarchy level 2, the following aggregation can be performed. That is, when the hierarchy level 0 is input, the aggregation result for "all companies" shown in the hierarchical object management information 106a of FIG. 9 becomes 38,000 by the same method as that described above (whole company unit). In total). Further, when the hierarchy level 2 is input, the aggregation result for “company 1: Tokyo head office” shown in the hierarchical object management information 106a of FIG. 9 becomes 1,000 by the same method as described above. , The total result for "Company 1: Kanto Sales Department" is 1,000 + 4,000 = 5,000, the total result for "Company 2: Osaka Branch" is 2,000, and the total result for "Company 3" Becomes 3,000+6,000+9,000+12,000=30,000 (aggregation by end unit). As described above, according to the information processing apparatus 100 according to the present embodiment, it is possible to perform aggregation in units of different layers (company-wide units, regional units, or terminal units) depending on the layers input by the user.

ここで、本項目で説明した集計方法では、図16の左側に示す集計キー情報データ106fの上から1〜2行目の明細(ともに、明細ID=1)が、重複してカウント(いわゆるダブルカウント)されていることとなる。このようなダブルカウントを除去する必要がないのは、紐付設定のパターン上、集計対象が複数の紐付設定に該当することが発生しない場合や、紐付設定のパターン上、集計対象が複数の紐付設定に該当することが発生し得るが、ダブルカウントされても問題とならないまたはダブルカントするべきと判断される場合等である。   Here, in the tabulation method described in this item, the details of the first to second rows (both of which are the item ID=1) from the top of the tally key information data 106f shown on the left side of FIG. Have been counted). It is not necessary to remove such double counts if the aggregation target does not correspond to multiple pegging settings in the pattern of pegging settings, or if the aggregation target has multiple pegging settings in the pattern of pegging settings. This may be the case when it is determined that double counting does not cause a problem or that double counting should be performed.

しかしながら、紐付設定のパターン上、集計対象が複数の紐付設定に該当することが発生し得て、ダブルカウントするべきではないと判断される場合もある。この場合、紐付設定に合致する明細の一意なキー情報(明細ID)を特定し、重複行を除去してから集計を行う、すなわち、以下の(3−2)に示すように、ダブルカウントを除去した集計を行うことが好ましい。   However, there may be cases where the aggregation target corresponds to a plurality of pegging settings due to the pegging setting pattern, and it may be determined that double counting should not be performed. In this case, the unique key information (detail ID) of the details that match the pegging setting is specified, the duplicate rows are removed, and then the aggregation is performed, that is, double counting is performed as shown in (3-2) below. It is preferable to carry out the removed aggregation.

(3−2)ダブルカウントを除去した集計
次に、ダブルカウントを除去した集計について説明する。集計部102cは、抽出部102bで抽出した集計対象値と、明細IDと、を含む明細を複数含む集計キーデータ106fに、明細IDが同じ明細が存在する場合、当該明細のうち1つの明細のみを残して他の明細は削除することにより集計キーデータ106fを更新し、当該更新した集計キーデータ106fに含まれる明細に含まれる数値を集計する。
(3-2) Counting without Double Count Next, counting with double count removed will be described. If the item ID having the same item ID exists in the aggregation key data 106f that includes a plurality of items including the item to be totaled extracted by the extraction unit 102b and the item ID, the aggregating unit 102c only has one item of the items. The other items are deleted while the other items are deleted to update the aggregate key data 106f, and the numerical values included in the items included in the updated aggregate key data 106f are aggregated.

具体的には、図16の左側に示すように、集計キー情報データ106fの上から1〜2行目の明細に含まれる明細IDはともに1であるため、集計部102cは、当該2行目の明細を削除することにより(当該2行目の明細ではなく当該1行目の明細を削除してもよい)、集計キーデータ106fを更新する。更新した集計キーデータ106fを、図16の右側に示す。そして、集計部102cは、当該更新した集計キーデータ106fに含まれる明細(図16の右側に示す7つの明細)に含まれる数値を集計することにより、1,000+4,000+2,000+3,000+6,000+9,000+12,000=3,7000と集計する。   Specifically, as shown on the left side of FIG. 16, since the detail IDs included in the details of the first and second rows from the top of the summary key information data 106f are both 1, the tallying unit 102c determines that the second row. The aggregate key data 106f is updated by deleting the details of (No. the details of the second line but the details of the first line may be deleted). The updated total key data 106f is shown on the right side of FIG. Then, the totaling unit 102c totals the numerical values included in the details (seven details shown on the right side of FIG. 16) included in the updated totalization key data 106f to obtain 1,000+4,000+2,000+3,000+6,000+9. , 000+12,000=37,000.

なお、集計部102cは、ダブルカウントの除去と併せて、(3−1)で説明した階層単位での集計を行ってもよく、この場合の集計結果を、図17の集計結果データ106eに示す。   Note that the aggregation unit 102c may perform aggregation in units of layers described in (3-1) in addition to removing the double count, and the aggregation result in this case is shown in the aggregation result data 106e in FIG. ..

以上説明したように、本実施形態に係る情報処理装置100によれば、対象同士が階層構造を有する場合においても、対象についての数値を効率よく集計できる。   As described above, according to the information processing apparatus 100 according to the present embodiment, even when the objects have a hierarchical structure, the numerical values of the objects can be efficiently aggregated.

また、本実施形態に係る情報処理装置100によれば、紐付コードの内容および項目数を自由に設定できるため、柔軟な集計をすることができる。本実施形態においては、3つの紐付コードを元にした集計について説明したが、これ以外の集計、例えば、会社コードのみを考慮した集計、会社コードと部門コードとを考慮した集計およびセグメントコードのみを考慮した集計等も行うことができる。   Further, according to the information processing apparatus 100 according to the present embodiment, the content of the linking code and the number of items can be freely set, so that flexible aggregation can be performed. In the present embodiment, the aggregation based on the three linking codes has been described, but other aggregations such as aggregation considering only the company code, aggregation considering the company code and department code, and segment code only are described. It is also possible to carry out the totalization in consideration.

〔3−2.データ参照権限管理〕
次に、データ参照権限管理処理について、主に図31〜図37を用いて詳細に説明する。データ参照権限管理処理を大別すると、第一取得処理および第二取得処理の2つの処理に分かれるため、以下、この順で項目立てて説明する。本項目〔3−2〕においては、UserBが、図25に示す階層構造のうち、工事事業グループに属する会社100および会社200の情報しか参照できない(すなわち、製造事業グループに属する会社300および会社400の情報は参照できない)というデータ参照権限管理がどのように実現できるかについて説明する。
[3-2. Data reference authority management)
Next, the data reference authority management process will be described in detail mainly with reference to FIGS. 31 to 37. The data reference authority management process is roughly divided into two processes, a first acquisition process and a second acquisition process. Therefore, the items will be described below in this order. In this item [3-2], UserB can refer only to the information of the companies 100 and 200 belonging to the construction business group in the hierarchical structure shown in FIG. 25 (that is, the companies 300 and 400 belonging to the manufacturing business group). How can the data reference authority management that the information in (1) cannot be referred to) be realized?

なお、本項目で行われる処理は、[3−1]の(1−2)の事前処理となる。   The processing performed in this item is the pre-processing of (1-2) in [3-1].

また、前述のとおり、階層化オブジェクトの権限設定が「使用しない」である場合は、本項目での処理は行われない。すなわち、[3−1]の(1−2)で説明した、抽出される階層化オブジェクト展開情報106bに対してセキュリティの絞り込みは実施されない。   Further, as described above, when the authority setting of the hierarchical object is “not used”, the processing in this item is not performed. That is, the security narrowing is not performed on the extracted hierarchical object expansion information 106b described in (1-2) of [3-1].

(1)第一取得処理
第一取得部102dは、管理番号と階層レベルとノード識別コードとを含む階層化オブジェクト管理情報106aを参照して、入力された管理番号と紐付く階層レベルおよびノード識別コードを取得する。具体的な処理は、以下の(1−1)〜(1−4)に示すとおりである。
(1) First acquisition process The first acquisition unit 102d refers to the hierarchical object management information 106a including the management number, the hierarchy level, and the node identification code, and refers to the input management number and the hierarchy level and the node identification. Get the code. The specific processing is as shown in (1-1) to (1-4) below.

(1−1)グループ識別データ取得処理
グループ識別データ取得部102d1は、ユーザグループコードとユーザIDとを含むユーザグループ所属情報106gを参照して、入力されたユーザIDと紐付くユーザグループコードを取得する。すなわち、入力されたユーザIDを元に、ユーザグループ所属情報106gを照会する。
(1-1) Group Identification Data Acquisition Process The group identification data acquisition unit 102d1 acquires the user group code associated with the input user ID by referring to the user group affiliation information 106g including the user group code and the user ID. To do. That is, the user group affiliation information 106g is inquired based on the input user ID.

具体的には、図31に示すように、ユーザIDとして、UserBが入力されたとする。この場合、グループ識別データ取得部102d1は、UserBと紐付くユーザグループコードとして、図32に、MA11およびMA12でそれぞれ示すように、Company1およびKoujiGroupを取得する。   Specifically, as shown in FIG. 31, UserB is input as the user ID. In this case, the group identification data acquisition unit 102d1 acquires Company1 and KojiGroup as user group codes associated with UserB, as indicated by MA11 and MA12 in FIG. 32, respectively.

(1−2)階層識別データ等取得処理
階層識別データ等取得部102d2は、管理番号と階層レベルとノード識別コードとユーザグループコードとを含む権限設定情報106hを参照して、入力された管理番号およびグループ識別データ取得部102d1で取得したユーザグループコードと紐付く階層レベルおよびノード識別コードを取得する。すなわち、入力された管理番号と(1−1)で抽出されたユーザグループコードを元に、権限設定情報106hを照会する。
(1-2) Acquisition Processing of Hierarchical Identification Data The hierarchical identification data acquisition unit 102d2 refers to the authority setting information 106h including the management number, the hierarchy level, the node identification code, and the user group code, and inputs the management number. And a layer level and a node identification code associated with the user group code acquired by the group identification data acquisition unit 102d1. That is, the authority setting information 106h is queried based on the input management number and the user group code extracted in (1-1).

具体的には、図31に示すように、管理番号として、組織図(2)が入力されたとする。また、グループ識別データ取得部102d1で取得したユーザグループコードは、前述のとおり、Company1およびKoujiGroupである。この場合、階層識別データ等取得部102d2は、組織図(2)およびKoujiGroupと紐付く階層レベルおよびノード識別コードとして、図33にMA13で示すように、1および21000を取得する。   Specifically, as shown in FIG. 31, it is assumed that the organization chart (2) is input as the management number. Also, the user group codes acquired by the group identification data acquisition unit 102d1 are Company1 and KoujiGroup as described above. In this case, the hierarchy identification data etc. acquiring unit 102d2 acquires 1 and 21000 as the hierarchy level and the node identification code associated with the organization chart (2) and KojiGroup, as indicated by MA13 in FIG.

階層識別データ等取得部102d2は、当該取得した階層レベル1と当該取得したノード識別コード21000と入力された組織図(2)とグループ識別データ取得部102d1で取得したグループコードKoujiGroupとを含む権限抽出情報106iを、図33に示すように作成してもよい。なお、1人のユーザが複数のユーザグループに所属し、権限を持つ場合は、権限抽出情報106iは複数行となる可能性がある。   The hierarchy identification data acquisition unit 102d2 extracts the authority including the acquired hierarchy level 1, the acquired node identification code 21000, the input organization chart (2), and the group code KoujiGroup acquired by the group identification data acquisition unit 102d1. The information 106i may be created as shown in FIG. If one user belongs to a plurality of user groups and has authority, the authority extraction information 106i may have multiple lines.

(1−3)レコード取得処理
レコード取得部102d3は、管理番号と階層レベルとノード識別コードとを含む階層化オブジェクト管理情報106aを参照して、入力された管理番号ならびに階層識別データ等取得部102d2で取得した階層レベルおよびノード識別コードを含むレコードを取得する。すなわち、レコード取得部102d3は、権限抽出情報106iの管理番号、階層レベル、ノード識別コードを元に、階層化オブジェクト管理情報106aを照会する。
(1-3) Record Acquisition Processing The record acquisition unit 102d3 refers to the hierarchical object management information 106a including the management number, the hierarchy level, and the node identification code, and acquires the input management number and hierarchy identification data etc. 102d2. Acquire the record including the hierarchy level and node identification code acquired in. That is, the record acquisition unit 102d3 inquires the hierarchical object management information 106a based on the management number, hierarchy level, and node identification code of the authority extraction information 106i.

具体的には、入力された管理番号は、前述のとおり、組織図(2)である。また、階層識別データ等取得部102d2で取得した階層レベルおよびノード識別コードは、前述のとおり、1および21000である。この場合、レコード取得部102d3は、組織図(2)ならびに1および21000を含むレコードとして、図34に太枠で囲んだ情報を含むレコードを取得する。   Specifically, the input management number is the organizational chart (2) as described above. The layer level and node identification code acquired by the layer identification data etc. acquiring unit 102d2 are 1 and 21000 as described above. In this case, the record acquisition unit 102d3 acquires a record including the information surrounded by the thick frame in FIG. 34 as the record including the organization chart (2) and 1 and 21000.

(1−4)繰返処理
繰返部102d4は、レコード取得部102d3で取得したレコードに含まれる階層レベルおよびノード識別コードと同じ上位階層レベルおよび上位ノード識別コードを含むレコードを、階層化オブジェクト管理情報106aを参照して取得し、更に、当該取得したレコードに含まれる階層レベルおよびノード識別コードと同じ上位階層レベルおよび上位ノード識別コードを含むレコードを、階層化オブジェクト管理情報106aを参照して取得することを、最下位層レコードを取得することにより当該最下位層レコードに含まれる階層レベルおよびノード識別コードを取得するまで繰り返す。すなわち、繰返部102d4は、該当するノードの下位構造区分が<下位構造あり>の場合、自身のノードを上位階層レベルおよび上位ノード識別コードとする下位のノード一覧を取得し、当処理を再起呼び出しする。そして、該当するノードの下位構造区分が<下位構造なし>の場合、自身のノードを階層化オブジェクトセキュリティ展開情報106jとして保持する。
(1-4) Repeating Process The repeating unit 102d4 manages a record including the same higher hierarchy level and higher node identification code as the hierarchy level and node identification code included in the record acquired by the record acquisition unit 102d3, in the hierarchical object management. The information 106a is obtained by referring to the information 106a, and a record including the same higher hierarchy level and higher node identification code as the hierarchy level and node identification code included in the obtained record is obtained by referring to the hierarchical object management information 106a. This is repeated until the lowest layer record is obtained to obtain the hierarchy level and node identification code included in the lowest layer record. That is, when the lower structure classification of the corresponding node is <lower structure exists>, the repeating unit 102d4 acquires a lower node list having its own node as the upper layer level and the upper node identification code, and restarts this process. To call. Then, when the subordinate structure classification of the corresponding node is <no subordinate structure>, the own node is held as the hierarchical object security development information 106j.

具体的には、レコード取得部102d3で取得したレコードに含まれる階層レベルおよびノード識別コードは、前述のとおり、それぞれ、1および21000である。この場合、繰返部102d4は、1および21000と同じ上位階層レベルおよび上位ノード識別コードを含むレコードとして、図35に太枠で囲んだ情報を含む2行のレコードを取得する。更に、繰返部102d4は、同様の処理を繰り返して、更に下位層のレコードを取得してもよいが、本例においては、当該取得した2行のレコードは、最も下位の階層レベル2を含む最下位層レコードであるため、ここで処理を終了する。   Specifically, the hierarchy level and the node identification code included in the record acquired by the record acquisition unit 102d3 are 1 and 21000, respectively, as described above. In this case, the repeating unit 102d4 obtains two lines of records including the information surrounded by the thick frame in FIG. 35, as the records including the same higher hierarchy level and higher node identification code as 1 and 21000. Further, the repeating unit 102d4 may repeat the same process to acquire the record of the lower layer, but in this example, the acquired record of two rows includes the lowest level 2 of the hierarchy. Since it is the lowest layer record, the processing ends here.

繰返部102d4は、入力された組織図(2)と当該取得した階層レベル2と当該取得したノード識別コード21100および21200を含む階層化オブジェクトセキュリティ展開情報106jを、図36に示すように作成してもよい。なお、階層化オブジェクトセキュリティ展開情報106jにおいては、上位と下位の両方に権限設定されている場合に検出される行が重複する可能性があるため、この場合は、重複行を除去した状態にする。   The repeating unit 102d4 creates the hierarchical object security expansion information 106j including the input organization chart (2), the acquired hierarchy level 2, and the acquired node identification codes 21100 and 21200 as shown in FIG. May be. In the hierarchical object security development information 106j, lines detected when the authority is set to both upper and lower levels may be duplicated. In this case, the duplicated lines are removed. ..

以上のように、第一取得部102dは、図36に示すように、「階層レベル2およびノード識別コード21100」ならびに「階層レベル2およびノード識別コード21200」を取得することができる。   As described above, the first acquisition unit 102d can acquire the “tier level 2 and node identification code 21100” and the “tier level 2 and node identification code 21200” as shown in FIG.

(2)第二取得処理
第二取得部102eは、管理番号と階層レベルとノード識別コードと紐付コードとを含む階層化オブジェクト展開情報106bを参照して、入力された管理番号ならびに第一取得部102dで取得した階層レベルおよびノード識別コードと紐付く紐付コードを取得する。すなわち、第二取得部102eは、階層化オブジェクトセキュリティ展開情報106jによって、階層化オブジェクト展開情報106bの階層化レベルが末端の情報に対して絞り込みを行い、参照可能データのみ展開データとする。
(2) Second acquisition process The second acquisition unit 102e refers to the hierarchical object expansion information 106b including the management number, the hierarchy level, the node identification code, and the association code, and inputs the management number and the first acquisition unit. A cording code associated with the hierarchy level and the node identification code acquired in 102d is acquired. That is, the second acquisition unit 102e narrows down the hierarchized object security development information 106j to information at the end of the hierarchized level of the hierarchized object development information 106b, and sets only referenceable data as developed data.

具体的には、入力された管理番号は、前述のとおり、組織図(2)である。また、第一取得部102dで取得した階層レベルおよびノード識別コードは、前述のとおり、「2および21100」と「2および21200」である。この場合、第二取得部102eは、組織図(2)、2および21100と紐付く紐付コードとして、図37の階層化オブジェクト展開情報106bにおける(100、ALL、ALL)を取得する。また、第二取得部102eは、組織図(2)、2および21200と紐付く紐付コードとして、図37の階層化オブジェクト展開情報106bにおける(200、ALL、ALL)を取得する。このようにして、元々の階層化オブジェクト展開情報106bから、階層化オブジェクトセキュリティ展開情報106jに合致するデータのみに絞り込みを行う。   Specifically, the input management number is the organizational chart (2) as described above. The hierarchical levels and node identification codes acquired by the first acquisition unit 102d are "2 and 21100" and "2 and 21200" as described above. In this case, the second acquisition unit 102e acquires (100, ALL, ALL) in the layered object expansion information 106b of FIG. 37 as a linking code to be linked with the organizational charts (2), 2 and 21100. In addition, the second acquisition unit 102e acquires (200, ALL, ALL) in the hierarchical object expansion information 106b in FIG. 37 as a linking code to be linked with the organizational charts (2), 2 and 21200. In this way, the original hierarchical object development information 106b is narrowed down to only data that matches the hierarchical object security development information 106j.

なお、第二取得部102eが参照する階層化オブジェクト展開情報106bは、階層レベル2〜0のレコードを含む階層化オブジェクト展開情報106bではなく、階層レベル2のレコードのみを含む階層化オブジェクト展開情報106bである。階層レベル2のレコードのみを含む階層化オブジェクト展開情報106bは、展開データ作成部102fにより作成することができ、具体的な作成方法は、[3−1]のレコード取得部102a1および最下位層レコード取得部102a2が行う処理と同様であるため、説明を省略する。   The hierarchical object expansion information 106b referred to by the second acquisition unit 102e is not the hierarchical object expansion information 106b including the records of the hierarchy levels 2 to 0, but the hierarchical object expansion information 106b including only the records of the hierarchy level 2. Is. The hierarchical object expansion information 106b including only the record of the hierarchical level 2 can be created by the expanded data creating unit 102f, and the specific creating method is as follows: [3-1] record acquisition unit 102a1 and lowest layer record. Since the processing is the same as that performed by the acquisition unit 102a2, the description thereof will be omitted.

以上のように、UserBは、図25に示す階層構造のうち、工事事業グループに属する会社100の紐付コード(100、ALL、ALL)および会社200の紐付コード(200、ALL、ALL)のみを参照することができる。   As described above, UserB refers only to the pegging code (100, ALL, ALL) of the company 100 and the pegging code (200, ALL, ALL) of the company 200 belonging to the construction business group in the hierarchical structure shown in FIG. 25. can do.

このように、本実施形態に係る情報処理装置100によれば、ユーザが参照できる対象の情報の範囲を制限できる。   As described above, according to the information processing apparatus 100 according to the present embodiment, it is possible to limit the range of target information that the user can refer to.

また、本実施形態に係る情報処理装置100によれば、例えば、ユーザが参照できる階層の位置および階層の個数を柔軟に設定することができる。   Further, according to the information processing apparatus 100 according to the present embodiment, for example, it is possible to flexibly set the position of the layer and the number of layers that the user can refer to.

階層の位置の設定とは、例えば、図25の組織図(2)の例でいえば、ユーザが参照できる範囲を、全社の層に設定するのか(すなわち、会社100〜400すべての情報を参照できる)、中核会社の層に設定するのか(工事事業グループまたは製造事業グループの情報を参照できる)、または、個社の層に設定するのか(会社100〜400のどれか1つの情報を参照できる)という設定のことである。   In the example of the organization chart (2) of FIG. 25, setting the position of the hierarchy means setting the range that the user can refer to in the layers of the entire company (that is, refer to all information of the companies 100 to 400). Yes, you can set it in the core company layer (you can refer to the information of the construction business group or manufacturing business group), or you can set it in the individual company layer (you can refer to the information of any one of the companies 100 to 400) ) Is the setting.

階層の個数の設定とは、例えば、図25の組織図(2)の例の中核会社の層でいえば、工事事業グループおよび製造事業グループのどちらか一方の情報だけ参照できるようにするのか(すなわち、参照できる階層はどちらか1つ)、または、工事事業グループと製造事業グループの両方の情報を参照できるようにするのか(すなわち、参照できる階層は2つ)という設定のことである。両方のグループを参照できることにより、例えば、工事事業と製造事業の両方を兼任する立場にある者(兼任者)に対して、効率のよい参照権限設定を行うことができる。   Setting the number of layers means, for example, in the layer of the core company in the example of the organization chart (2) in FIG. 25, is it possible to refer to only the information of one of the construction business group and the manufacturing business group ( That is, it is a setting that either one of the hierarchies that can be referred to) or whether information of both the construction business group and the manufacturing business group can be referred to (that is, two hierarchies that can be referred to). By being able to refer to both groups, for example, it is possible to efficiently set the reference authority for a person (concurrent person) who is in the position of both the construction business and the manufacturing business.

更に続けて、レコード作成部102gおよび最下位層データ取得部102hは、図37の階層化オブジェクト展開情報106bにおける、太枠で囲まれている上2行のレコードのみを元にして、階層レベル2→1→0と最後まで展開済の階層化オブジェクト展開情報を作成してもよい。具体的な作成方法は、[3−1]のレコード作成部102a3および最下位層データ取得部102a4が行う処理と同様であるため、説明を省略する。なお、図37の階層化オブジェクト展開情報106bにおける、太枠で囲まれていない下2行のレコードについては展開されない。すなわち、UserBが参照権限を持つ上2行のレコードについてのみ展開情報が作成され、一方で、UserBが参照権限を持たない下2行のレコードについては、展開情報が作成されないということになる。   Continuing on, the record creation unit 102g and the lowest layer data acquisition unit 102h, based on only the upper two rows of records surrounded by the thick frame in the layered object expansion information 106b of FIG. It is also possible to create hierarchical object expansion information that has been expanded to → 1 → 0 and the end. The specific creation method is the same as the processing performed by the record creation unit 102a3 and the lowest layer data acquisition unit 102a4 in [3-1], and thus the description thereof is omitted. Note that, in the hierarchical object expansion information 106b in FIG. 37, the records in the lower two lines that are not surrounded by a thick frame are not expanded. That is, the expansion information is created only for the records in the upper two rows that UserB has the reference authority, whereas the expansion information is not created for the records in the lower two rows that UserB does not have the reference authority.

また、更に続けて、抽出部102iは、最後まで展開済の階層化オブジェクト展開情報を元にして、集計対象データを参照して数値の抽出を行ってもよく、更に、集計部102jは、当該抽出した数値の集計を行ってもよい。具体的な処理方法は、[3−1]の抽出部102bおよび集計部102cが行う処理と同様であるため、説明を省略する。   Further, subsequently, the extraction unit 102i may extract the numerical value by referring to the aggregation target data based on the hierarchical object development information that has been developed to the end, and the aggregation unit 102j You may total the extracted numerical value. The specific processing method is the same as the processing performed by the extraction unit 102b and the aggregation unit 102c in [3-1], and thus the description thereof will be omitted.

なお、本項目〔3−2〕においては、分析軸が1つ(仮想組織)の場合について説明したが、階層化オブジェクトの複数の組合せ(例えば、仮想組織と仮想セグメントの組合せ)による多軸分析を行いたい場合には、個々の階層化オブジェクト(仮想組織、仮想セグメント)ごとに、本項目〔3−2〕の処理を行い、参照データ範囲を絞り込むことができる。   In this item [3-2], the case where there is one analysis axis (virtual organization) has been described, but multi-axis analysis using a plurality of combinations of hierarchical objects (for example, a combination of virtual organization and virtual segment). If it is desired to perform, the processing of this item [3-2] can be performed for each individual layered object (virtual organization, virtual segment) to narrow down the reference data range.

以上、本項目〔3−2〕のポイントをまとめると、以下1〜4に示すとおりである。
1.階層化オブジェクトの管理番号/階層レベル/ノード識別コードに対して権限設定をすることで、閲覧可能なデータ範囲を柔軟に設定できる。
2.1人のユーザが複数のユーザグループに所属できることで、兼任時の設定が容易になる。
3.処理の手順を以下のa〜cの流れで行うことで、参照権限を持つ下位ノードにつき、集計される上位ノードをすべて求めることが可能となる。
a.権限設定された階層レベル、ノード識別コードに所属するすべての末端のノードを列挙する。
b.列挙された階層レベル、ノード識別コードのみから、上位の階層化オブジェクト展開データを展開する。
c.階層化オブジェクト展開データに合致する紐付情報を集計する。
4.複数の分析軸を持つ場合も、簡単に拡張することができる。
The points of this item [3-2] are summarized as shown in 1 to 4 below.
1. By setting the authority for the management number/hierarchy level/node identification code of the hierarchical object, it is possible to flexibly set the viewable data range.
2. Since one user can belong to a plurality of user groups, it is easy to make settings for concurrent use.
3. By performing the processing procedure according to the following flow of a to c, it becomes possible to obtain all the higher-level nodes to be aggregated for the lower-level nodes having the reference authority.
a. Enumerate all terminal nodes belonging to the hierarchy level and node ID code for which authority has been set.
b. The upper layered object expansion data is expanded only from the listed hierarchy level and node identification code.
c. Aggregate the linking information that matches the hierarchical object expansion data.
4. Even if it has multiple analysis axes, it can be easily expanded.

〔3−3.内部取引判定処理〕
次に、内部取引判定処理について、主に図46〜図66を用いて詳細に説明する。本項目〔3−3〕においては、以下の流れを項目立てて説明する。まず、集計対象データ106nの作成手順について、主に図46〜49を用いて説明する。次に、仮想組織についての内部取引判定処理について、主に図50〜図56を用いて説明する。そして、仮想セグメントについての内部取引判定処理について、主に図57〜図62を用いて説明する。最後に、仮想組織と仮想セグメントの2軸を用いた内部取引判定処理について、図63〜図64を用いて説明する。なお、本項目〔3−3〕で行う処理は、[3−1]の(2)を更に細分化した処理である。
[3-3. Internal transaction determination processing]
Next, the internal transaction determination process will be described in detail mainly with reference to FIGS. 46 to 66. In this item [3-3], the following flow is itemized and explained. First, the procedure for creating the totaling target data 106n will be described mainly with reference to FIGS. Next, the internal transaction determination process for the virtual organization will be described mainly with reference to FIGS. 50 to 56. Then, the internal transaction determination process for the virtual segment will be described mainly with reference to FIGS. 57 to 62. Finally, internal transaction determination processing using the two axes of virtual organization and virtual segment will be described with reference to FIGS. 63 to 64. The process performed in this item [3-3] is a process in which (2) of [3-1] is further subdivided.

(1)集計対象データの作成
集計対象データ106nは、集計対象データ106nにおける相手先属性情報が未設定に初期化された集計対象元データ106mを元にして作成される。
(1) Creation of aggregation target data The aggregation target data 106n is created based on the aggregation target original data 106m in which the partner attribute information in the aggregation target data 106n is initialized without setting.

集計対象作成部102oは、集計対象元データ106mを参照して、取引先特定パターン設定情報106lに含まれる主体最下位層識別データ、科目コードおよび取引先コードと同じ主体最下位層識別データ、科目コードおよび取引先コードを抽出し、当該抽出した主体最下位層識別データ、科目コードおよび取引先コードと紐付く、取引先特定パターン設定情報106lに含まれる相手最下位層識別データを、集計対象元データ106mに追加することにより、集計対象データ106nを作成する。   The aggregation target creation unit 102o refers to the aggregation target source data 106m and refers to the subject lowest layer identification data, the subject code and the subject lowest layer identification data and the subject that are included in the supplier identification pattern setting information 106l. The code and the supplier code are extracted, and the opponent lowest layer identification data included in the supplier identification pattern setting information 106l, which is associated with the extracted subject lowest layer identification data, the subject code and the supplier code, is the aggregation target source. The addition target data 106n is created by adding to the data 106m.

すなわち、集計対象作成部102oは、取引先特定項目設定情報106kと取引先特定パターン設定情報106lを元に集計対象データを抽出し、特定された相手先情報を更新する。この際、処理順は、会社別に判定順昇順で行うことが好ましい。また、集計対象元データ106mとマッチングする際の条件として、以下の1〜3の手順で評価を行う。なお、以下の説明において、自社属性とは、取引先コード、科目コード、事業所コード、部門コードまたは分析コードを指す。
1.自社属性1の判定については、自社属性1が必須項目の場合は、集計対象元データ106mの自社属性1=取引先特定パターン設定情報106lの自社属性1というマッチングを検索し、自社属性1が任意項目の場合は、取引先特定パターン設定情報106lの自社属性1=予約語<ALL>となるか、または、集計対象元データ106mの自社属性1=取引先特定パターン設定情報106lの自社属性1というマッチング検索をする。
2.自社属性2の判定については、自社属性2が必須項目の場合は、集計対象元データ106mの自社属性2=取引先特定パターン設定情報106lの自社属性2というマッチングを検索し、自社属性2が任意項目の場合は、取引先特定パターン設定情報106lの自社属性2=予約語<ALL>となるか、または、集計対象元データ106mの自社属性2=取引先特定パターン設定情報106lの自社属性2というマッチング検索をする。
3.そして、以下、システムが使用する自社属性の数だけ評価を実行(すなわち、自社属性3以降が存在する場合には、自社属性1〜2と同様の処理を実行)する。
That is, the aggregation target creation unit 102o extracts the aggregation target data based on the supplier specific item setting information 106k and the supplier specific pattern setting information 106l, and updates the specified partner information. At this time, the processing order is preferably ascending order of determination for each company. In addition, as a condition for matching with the aggregation target original data 106m, evaluation is performed according to the following procedures 1 to 3. In the following description, the company attribute means a supplier code, a subject code, a business place code, a department code or an analysis code.
1. As for the determination of the company attribute 1, if the company attribute 1 is a required item, the company attribute 1 of the aggregation target data 106m=the company attribute 1 of the supplier identification pattern setting information 106l is searched for, and the company attribute 1 is arbitrary. In the case of the item, the company attribute 1 of the supplier specific pattern setting information 106l=reserved word <ALL>, or the company attribute 1 of the aggregation target source data 106m=company attribute 1 of the supplier specific pattern setting information 106l Do a matching search.
2. Regarding the determination of the company attribute 2, if the company attribute 2 is a required item, a search for matching the company attribute 2 of the aggregation source data 106m=company attribute 2 of the supplier identification pattern setting information 106l is performed, and the company attribute 2 is optional. In the case of an item, the company attribute 2 of the supplier specific pattern setting information 106l=reserved word <ALL>, or the company attribute 2 of the aggregation target original data 106m=the company attribute 2 of the supplier specific pattern setting information 106l. Do a matching search.
3. Then, hereinafter, the evaluation is executed by the number of company attributes used by the system (that is, when the company attributes 3 and later exist, the same processing as the company attributes 1 and 2 is executed).

具体的に、取引先特定パターン設定情報106lの内容が図44に示すとおりであり、集計対象元データ106mの内容が図46に示すとおりである場合に、集計対象作成部102oが、どのように集計対象データ106nを作成するか説明する。   Specifically, when the content of the supplier identification pattern setting information 106l is as shown in FIG. 44 and the content of the aggregation target original data 106m is as shown in FIG. 46, how is the aggregation target creation unit 102o how? It will be described whether to create the aggregation target data 106n.

まず、集計対象作成部102oは、図44に示す取引先特定パターン設定情報106lにおいて、会社コード100を含む2つのレコードの中で、判定順が最も若いレコード(上から1行目のレコード)から順に、以下の抽出処理および追加処理を行う。   First, the aggregation target creation unit 102o starts from the record with the smallest determination order (the record from the top row) of the two records including the company code 100 in the supplier identification pattern setting information 106l shown in FIG. The following extraction processing and additional processing are performed in order.

(抽出処理)
抽出処理について説明する。図47に示すように、取引先特定パターン設定情報106lの上から1行目のレコード(矢印で示す)において、主体最下位層識別データは、会社コード100、事業所コードTokyo、部門コードEigyoおよび分析コードBuppanであり、科目コードは、1000:売上であり、取引先コードは、T1001である。ここで、図47の集計対象元データ106mを参照すると、この組合せ(会社コード100、事業所コードTokyo、部門コードEigyo、分析コードBuppan、科目コード1000:売上および取引先コードT1001)を含むレコードは、上から1行目および2行目の2つのレコード(矢印で示す)である。このため、集計対象作成部102oは、集計対象元データ106mの当該2つのレコードに含まれる(会社コード100、事業所コードTokyo、部門コードEigyo、分析コードBuppan、科目コード1000:売上および取引先コードT1001)を抽出する。
(Extraction process)
The extraction process will be described. As shown in FIG. 47, in the record (indicated by an arrow) in the first line from the top of the customer specific pattern setting information 106l, the subject lowest layer identification data is company code 100, office code Tokyo, department code Eigyo and The analysis code is Buppan, the subject code is 1000: Sales, and the supplier code is T1001. Here, referring to the aggregation target original data 106m in FIG. 47, the record including this combination (company code 100, office code Tokyo, department code Eigyo, analysis code Buppan, subject code 1000: sales and supplier code T1001) is , Two records (indicated by arrows) in the first and second rows from the top. Therefore, the aggregation target creation unit 102o is included in the two records of the aggregation target original data 106m (company code 100, business office code Tokyo, department code Eigyo, analysis code Buppan, subject code 1000: sales and supplier code). T1001) is extracted.

(追加処理)
追加処理について説明する。図47に示す取引先特定パターン設定情報106lにおいて、当該抽出した(会社コード100、事業所コードTokyo、部門コードEigyo、分析コードBuppan、科目コード1000:売上および取引先コードT1001)と紐付く相手最下位層識別データは、(相手会社コード200、相手事業所コードTokyo、相手部門コードSeizou1および相手分析コードSeizou)という組合せである。このため、集計対象作成部102oは、図47に示すように、当該組合せを、集計対象元データ106mの上から1行目および2行目のレコード(矢印で示す)に追加する。
(Additional processing)
The additional processing will be described. In the customer specific pattern setting information 106l shown in FIG. 47, the extracted partner (company code 100, business office code Tokyo, department code Eigyo, analysis code Buppan, subject code 1000: sales and customer code T1001) is linked to The lower layer identification data is a combination of (partner company code 200, partner office code Tokyo, partner department code Seizou1 and partner analysis code Seizou). Therefore, the aggregation target creation unit 102o adds the combination to the records (indicated by arrows) in the first and second rows from the top of the aggregation target original data 106m, as shown in FIG.

次に、集計対象作成部102oは、図48に示すように、取引先特定パターン設定情報106lにおいて、会社コード100を含む2つレコードの中で、判定順が2番目に若いレコード(上から2行目のレコード)について、同様にして抽出処理および追加処理を行う。これにより、集計対象作成部102oは、図48に示すように、(相手会社コード300、相手事業所コードOsaka、相手部門コードHanbai1および相手分析コードKouri)を、集計対象元データ106mの上から4行目のレコード(矢印で示す)に追加する。   Next, as shown in FIG. 48, the aggregation target creation unit 102o, in the supplier specific pattern setting information 106l, the record whose determination order is the second youngest among the two records including the company code 100 (2 from the top). The extraction process and the addition process are similarly performed for the record of the line). As a result, as shown in FIG. 48, the counting target creation unit 102o sets (counterpart company code 300, partner business place code Osaka, partner department code Hanbai1 and partner analysis code Kouri) to 4 Add to the record in the line (indicated by the arrow).

そして、集計対象作成部102oは、図49に示すように、取引先特定パターン設定情報106lにおいて、会社コード200を含む2つのレコードの中で、判定順が最も若いレコード(上から3行目のレコード)について、同様にして抽出処理および追加処理を行う。これにより、集計対象作成部102oは、図49に示すように、(相手会社コード100、相手事業所コードTokyo、相手部門コードEigyoおよび相手分析コードBuppan)を、集計対象元データ106mの上から6行目のレコード(矢印で示す)に追加する。   Then, as shown in FIG. 49, the aggregation target creation unit 102o records the youngest determination order (the third line from the top) in the two records including the company code 200 in the supplier identification pattern setting information 106l. For the record), the extraction process and the addition process are similarly performed. As a result, as shown in FIG. 49, the aggregation target creation unit 102o sets (counterpart company code 100, partner business site code Tokyo, partner department code Eigyo, and partner analysis code Buppan) from the top of the aggregation target source data 106m. Add to the record in the line (indicated by the arrow).

更に、集計対象作成部102oは、取引先特定パターン設定情報106lの上から4〜6行目のレコードについても、同様にして抽出処理および追加処理を行い、最終的に、図49に示す集計対象データ106nを作成する。   Further, the aggregation target creation unit 102o similarly performs the extraction process and the addition process on the records in the fourth to sixth rows from the top of the customer identification pattern setting information 106l, and finally, the aggregation target shown in FIG. Data 106n is created.

このように、集計対象作成部102oが取引先特定パターン設定情報106lの最終行まで、抽出処理および追加処理を行うことにより、グループ内取引と判定されたすべての相手先コードが埋められる。一方で、未設定のまま残った行で特定される取引は、グループ内取引ではない外部一般企業等との取引となる。   In this way, the aggregation target creation unit 102o performs the extraction process and the addition process up to the last line of the supplier identification pattern setting information 106l, so that all the partner codes determined to be intra-group transactions are filled. On the other hand, the transactions specified by the banks that remain unset are transactions with external general companies that are not intra-group transactions.

(2)仮想組織についての内部取引判定処理
次に、仮想組織についての内部取引判定処理について説明する。本項目においては、図42に示す階層構造のうち、中位階層での内部取引判定処理(すなわち、関東エリアに属する会社100東京営業と会社200製造1部を内部取引と判定し、一方で、関西エリアに属する会社300大阪販売1部と会社200製造2部を内部取引と判定する処理)をどのように実現できるかについて説明する。
(2) Internal Transaction Determination Processing for Virtual Organization Next, internal transaction determination processing for a virtual organization will be described. In this item, in the hierarchical structure shown in FIG. 42, the internal transaction determination processing in the middle layer (that is, it is determined that the company 100 Tokyo Sales and Company 200 Manufacturing 1 department belonging to the Kanto area are internal transactions, while How to realize the internal transaction of the company 300 Osaka sales 1 copy and the company 200 manufacture 2 copies belonging to the Kansai area) will be described.

なお、本項目において、集計対象データ106nは、(1)で作成したものであるとする。   In this item, the totaling target data 106n is created in (1).

また、本項目において、階層化オブジェクト抽出情報106cは、図40に示す階層化オブジェクト管理情報106aおよび図50に示す入力パターン(1)を元にして、対象抽出作成部102pにより作成されたものであるとする。具体的な作成方法は、[3−1]の(1−1)〜(1−4)と同様であるため、説明を省略する。対象抽出作成部102pにより作成された階層化オブジェクト抽出情報106cを、図51に示す。   Further, in this item, the hierarchical object extraction information 106c is created by the target extraction creation unit 102p based on the hierarchical object management information 106a shown in FIG. 40 and the input pattern (1) shown in FIG. Suppose there is. The specific method of creating is the same as (1-1) to (1-4) of [3-1], and thus the description is omitted. FIG. 51 shows the hierarchical object extraction information 106c created by the target extraction creating unit 102p.

ここで、内部取引判定処理を大別すると、主体取得処理、相手取得処理および判定処理の3つの処理に分かれる。また、判定処理での結果に基づいて、集計処理を行うことができる。このため、以下、この4つの処理についてこの順で項目立てて説明する。   Here, the internal transaction determination process is roughly divided into three processes, a subject acquisition process, a partner acquisition process, and a determination process. Further, the totaling process can be performed based on the result of the determination process. Therefore, hereinafter, the four processes will be described item by item in this order.

(2−1)主体取得処理
主体取得部102kは、管理番号と階層レベルとノード識別コードと最下位層識別データとを含む階層化オブジェクト抽出情報106cを参照して、主体最下位層識別データと相手最下位層識別データとを含む集計対象データ106nに含まれる主体最下位層識別データと紐付く管理番号、階層レベルおよびノード識別コードを取得する。
(2-1) Subject acquisition process The subject acquisition unit 102k refers to the layered object extraction information 106c including the management number, the hierarchy level, the node identification code, and the lowest layer identification data, and identifies the subject lowest layer identification data. The management number, hierarchy level, and node identification code associated with the subject lowest layer identification data included in the aggregation target data 106n including the partner lowest layer identification data are acquired.

具体的には、図52に示す集計対象データ106nの上から1〜5行目の明細において、主体最下位層識別データは、(会社コード100、事業所コードTokyoおよび部門コードEigyo)という組合せである。ここで、図51に示す階層化オブジェクト抽出情報106cを参照すると、この組合せと紐付く(管理番号、階層レベルおよびノード識別コード)は、Aを付したレコードに含まれる(組織図(4)、1、31000)である。このため、主体取得部102kは、図52の上から1〜5行目の明細に含まれる主体最下位層識別データ等と紐付く情報として、(組織図(4)、1、31000)を取得する。同様の方法で、主体取得部102kは、図52の上から6〜7行目の明細に含まれる主体最下位層識別データ(会社コード200、事業所コードTokyoおよび部門コードSeizou1)と紐付く情報として、図51のBを付したレコードに含まれる(組織図(4)、1、31000)を取得し、図52の上から8〜9行目の明細に含まれる主体最下位層識別データ(会社コード200、事業所コードOsakaおよび部門コードSeizou2)と紐付く情報として、図51のDを付したレコードに含まれる(組織図(4)、1、32000)を取得し、図52の上から10〜13行目の明細に含まれる主体最下位層識別データ(会社コード300、事業所コードOsakaおよび部門コードHanbai1)と紐付く情報として、図51のCを付したレコードに含まれる(組織図(4)、1、32000)を取得する。なお、図51のBおよびDを付したレコードにおいて、事業所コードが<ALL>となっているが、これは、どの情報が入ってもよいことを意味し、具体的には、本例の場合、TokyoまたはOsakaを意味する。   Specifically, in the specification of the first to fifth lines from the top of the totaling target data 106n shown in FIG. 52, the subject lowest layer identification data is a combination of (company code 100, establishment code Tokyo and department code Eigyo). is there. Here, referring to the layered object extraction information 106c shown in FIG. 51, the combination (management number, hierarchy level and node identification code) associated with this combination is included in the record with A attached (organization chart (4), 1, 31000). Therefore, the subject acquisition unit 102k obtains (organization chart (4), 1, 31000) as information associated with the subject lowest layer identification data and the like included in the details of the first to fifth lines from the top of FIG. To do. In the same manner, the subject acquisition unit 102k associates information with the subject lowest layer identification data (company code 200, establishment code Tokyo, and department code Seizou1) included in the details of the sixth to seventh lines in FIG. 51 (organization chart (4), 1 and 31000) included in the record to which B is added in FIG. 51, and the subject lowest layer identification data ( As information associated with the company code 200, the office code Osaka, and the department code Seizou2), the record (organization chart (4), 1, 32000) included in the record with D in FIG. 51 is acquired, and from the top of FIG. 52. As information associated with the subject lowest layer identification data (company code 300, establishment code Osaka, and department code Hanbai1) included in the details of the 10th to 13th lines, it is included in the record with C in FIG. 51 (organization chart (4), 1, 32000) is acquired. In addition, in the records with B and D in FIG. 51, the office code is <ALL>, which means that any information may be entered. Specifically, in this example, In the case, it means Tokyo or Osaka.

ここで、図52の組織マッチング結果の「自組織」の列には、図52の各明細と図51の各レコードとの対応関係をA〜Dにより示しているが、この表記は説明の便宜上付したものであるため、集計対象データ106nは、組織マッチング結果を含まなくてもよい。   Here, in the column of "own organization" of the organization matching result of FIG. 52, the correspondence relationship between each specification of FIG. 52 and each record of FIG. 51 is shown by A to D, but this notation is for convenience of description. Since it is attached, the aggregation target data 106n may not include the organization matching result.

このようにして、主体取得部102kは、階層化オブジェクト抽出情報106cを元に、集計対象データ106nの自組織情報とマッチングを行い、自組織に関するマッチング結果を得ることができる。   In this way, the subject acquisition unit 102k can perform matching with the own organization information of the aggregation target data 106n based on the hierarchical object extraction information 106c, and obtain a matching result regarding the own organization.

(2−2)相手取得処理
相手取得部102lは、管理番号と階層レベルとノード識別コードと最下位層識別データとを含む階層化オブジェクト抽出情報106cを参照して、主体最下位層識別データと相手最下位層識別データとを含む集計対象データ106nに含まれる相手最下位層識別データと紐付く管理番号、階層レベルおよびノード識別コードを取得する。
(2-2) Partner Acquisition Process The partner acquisition unit 102l refers to the hierarchical object extraction information 106c including the management number, the hierarchy level, the node identification code, and the lowest layer identification data, and identifies the subject lowest layer identification data. A management number, a hierarchy level, and a node identification code associated with the partner lowest layer identification data included in the aggregation target data 106n including the partner lowest layer identification data are acquired.

具体的には、図53に示す集計対象データ106nの上から6行目および10行目の明細において、相手最下位層識別データは、(相手会社コード100、相手事業所コードTokyoおよび相手部門コードEigyo)という組合せである。ここで、図51に示す階層化オブジェクト抽出情報106cを参照すると、この組合せと紐付く(管理番号、階層レベルおよびノード識別コード)は、Aを付したレコードに含まれる(組織図(4)、1、31000)である。このため、相手取得部102lは、図53の上から1行目および6行目の明細に含まれる相手最下位層識別データと紐付く情報として、(組織図(4)、1、31000)を取得する。同様の方法で、相手取得部102lは、図53の上から1〜2行目の明細に含まれる相手最下位層識別データ(相手会社コード200、相手事業所コードTokyoおよび相手部門コードSeizou1)と紐付く情報として、図51のBを付したレコードに含まれる(組織図(4)、1、31000)を取得し、図53の上から4行目および8行目の明細に含まれる相手最下位層識別データ(相手会社コード300、相手事業所コードOsakaおよび相手部門コードHanbai1)と紐付く情報として、図51のCを付したレコードに含まれる(組織図(4)、1、32000)を取得し、図53の上から12行目の明細に含まれる相手最下位層識別データ(相手会社コード200、相手事業所コードOsakaおよび相手部門コードSeizou2)と紐付く情報として、図51のDを付したレコードに含まれる(組織図(4)、1、32000)を取得する。   Specifically, in the specifications of the sixth and tenth lines from the top of the aggregation target data 106n illustrated in FIG. 53, the partner lowest layer identification data is (partner company code 100, partner business office code Tokyo and partner department code). Eigyo) is a combination. Here, referring to the layered object extraction information 106c shown in FIG. 51, the combination (management number, hierarchy level and node identification code) associated with this combination is included in the record with A attached (organization chart (4), 1, 31000). Therefore, the partner acquisition unit 102l uses (organization chart (4), 1, 31000) as the information associated with the partner lowest layer identification data included in the details of the first and sixth lines from the top of FIG. get. In the same manner, the partner acquisition unit 102l uses the partner lowest layer identification data (partner company code 200, partner business office code Tokyo and partner department code Seizou1) included in the details of the first and second lines from the top of FIG. As the information to be linked, the information (organization chart (4), 1, 31000) included in the record with B in FIG. 51 is acquired, and the partner maximum included in the details of the fourth and eighth lines from the top of FIG. The information associated with the lower layer identification data (the partner company code 300, the partner office code Osaka and the partner department code Hanbai1) is included in the record with C in FIG. 51 (organization chart (4), 1, 32000). 51 as the information to be acquired and associated with the partner lowest layer identification data (partner company code 200, partner business office code Osaka and partner department code Seizou2) included in the description on the 12th line from the top of FIG. 53. Acquire (organization chart (4), 1, 32000) included in the attached record.

ここで、図53の組織マッチング結果の「相手組織」の列には、図53の各明細と図51の各レコードとの対応関係をA〜Dにより示しているが、この表記は説明の便宜上付したものであるため、集計対象データ106nは、組織マッチング結果を含まなくてもよい。   Here, in the column of “partner organization” of the organization matching result of FIG. 53, the correspondence relationships between the details of FIG. 53 and the records of FIG. 51 are shown by A to D, but this notation is for convenience of explanation. Since it is attached, the aggregation target data 106n may not include the organization matching result.

このようにして、相手取得部102lは、階層化オブジェクト抽出情報106cを元に、集計対象データ106nの相手組織情報とマッチングを行い、相手組織に関するマッチング結果を得ることができる。   In this way, the partner acquisition unit 102l can perform matching with the partner organization information of the aggregation target data 106n based on the hierarchical object extraction information 106c, and obtain a matching result regarding the partner organization.

(2−3)判定処理
判定部102mは、主体取得部102kで取得した管理番号、階層レベルおよびノード識別コードと相手取得部102lで取得した管理番号、階層レベルおよびノード識別コードとが同じである場合、主体対象と相手対象との間での取引をグループ内部での内部取引であると判定する。
(2-3) Judgment Processing The judgment unit 102m has the same management number, hierarchy level, and node identification code acquired by the subject acquisition unit 102k and the management number, hierarchy level, and node identification code acquired by the partner acquisition unit 102l. In this case, the transaction between the subject of the subject and the subject of the other party is determined to be an internal transaction within the group.

具体的には、例えば、図55の集計対象データ106nの上から1行目の明細については、主体取得部102kで取得した管理番号、階層レベルおよびノード識別コードは、(組織図(4)、1、31000)という組合せであり、一方で、相手取得部102lで取得した管理番号、階層レベルおよびノード識別コードも、(組織図(4)、1、31000)という組合せであり、両方の組合せは全く同じである。この場合、判定部102mは、前記1行目の明細における取引を、グループ内部での内部取引であると判定する。   Specifically, for example, with respect to the details of the first line from the top of the aggregation target data 106n in FIG. 55, the management number, the hierarchy level, and the node identification code acquired by the subject acquisition unit 102k are (organization chart (4), 1, 31000), while the management number, hierarchy level, and node identification code acquired by the partner acquisition unit 102l are also (organization chart (4), 1, 31000), and both combinations are Exactly the same. In this case, the determination unit 102m determines that the transaction in the details of the first line is an internal transaction within the group.

この内容を図55の組織マッチング結果を用いて説明すると、以下のようになる。すなわち、図55の上から1行目の明細の組織マッチング結果は、自組織についてはA、相手組織についてはBとなっている。ここで、図54の階層化オブジェクト抽出情報106cを参照すると、Aが付されたレコードとBが付されたレコードとは、MA14で示すように、内部取引関係にある(すなわち、管理番号、階層レベルおよびノード識別コードの組合せが全く同じという関係である)。以上より、図55の上から1行目の明細で特定される取引は、内部取引であると判定できるため、組織マッチング結果の「組織内外判定」の列に、「内部」の文字が付されている。   The contents will be described below using the organization matching result of FIG. 55. That is, the organization matching result in the first line from the top of FIG. 55 is A for the own organization and B for the partner organization. Here, referring to the layered object extraction information 106c in FIG. 54, the record with A and the record with B have an internal transaction relationship as shown by MA14 (that is, management number, hierarchy). The relationship is that the combination of level and node identification code is exactly the same). As described above, the transaction specified in the first line from the top of FIG. 55 can be determined to be an internal transaction. Therefore, the word “internal” is added to the “internal/external determination” column of the organizational matching result. ing.

同様の方法で、判定部102mは、図55の上から2行目、6行目、8行目および12行目の取引を内部取引と判定し、一方で、3行目〜5行目、7行目、9〜11行目および13行目の取引を外部取引と判定する。   In the same manner, the determination unit 102m determines the transactions on the second line, the sixth line, the eighth line and the twelfth line from the top of FIG. 55 to be internal transactions, while the third line to the fifth line, The transactions on the 7th, 9th to 11th lines and the 13th line are determined to be external transactions.

このようにして、判定部102mは、自組織と相手組織の組合せが、階層化オブジェクト抽出情報106cにおいて、「階層レベル」および「ノード識別コード」が同じものは内部取引、それ以外は外部取引と判定する。なお、相手組織が未設定のままの行で特定される取引は、外部取引と判定する。   In this way, the determination unit 102m determines that the combination of the own organization and the partner organization is the internal transaction if the “hierarchical level” and the “node identification code” are the same in the hierarchical object extraction information 106c, and the external transaction otherwise. judge. It should be noted that the transaction specified by the row in which the partner organization has not been set is determined to be an external transaction.

このように、本実施形態に係る情報処理装置100によれば、対象間での取引が、グループ内部での内部取引であるか否かを自動的に判定できる。なお、本例では、仮想組織における「中位階層」での内部取引判定処理(すなわち、図42において、関東エリアに属する会社100東京営業と会社200製造1部との間での取引を内部取引と判定し、同様に、関西エリアに属する会社300大阪販売1部と会社200製造2部との間での取引を内部取引と判定する処理)について説明したが、内部取引判定処理は、「上位階層」でしてもよいし、「下位階層」でしてもよい。   As described above, according to the information processing apparatus 100 according to the present embodiment, it is possible to automatically determine whether the transaction between the targets is an internal transaction within the group. In this example, the internal transaction determination process in the "middle hierarchy" in the virtual organization (that is, in FIG. 42, the internal transaction is the transaction between the company 100 Tokyo Sales and the company 200 Manufacturing 1 that belong to the Kanto area. Similarly, the process of determining that the transaction between the company 300 Osaka Sales 1st Department and the Company 200 Manufacturing 2nd Department that belong to the Kansai area is internal transaction). It may be a “layer” or a “lower layer”.

「上位階層」での内部取引判定処理の場合、階層化オブジェクト抽出情報106cの作成に際して、階層レベル「0」を入力することにより、管理番号、階層レベルおよびノード識別コードが、(組織図(4)、0、30000)である4つのレコードからなる階層化オブジェクト抽出情報106cを作成することができる。このため、主体取得部102kが階層化オブジェクト抽出情報106cを参照して取得する管理番号、階層レベルおよびノード識別コードの組合せと、相手取得部102lが階層化オブジェクト抽出情報106cを参照して取得する管理番号、階層レベルおよびノード識別コードの組合せと、は必ず同じとなる。このため、集計対象データ106nのうち、取引先特定パターン設定情報106lに該当するすべての明細(集計対象データ106nの上から1〜2行目の明細、4行目の明細、6行目の明細、8行目の明細、10行目の明細および12行目の明細)は、内部取引となる。一方で、取引先特定パターン設定情報106lに該当しない明細(集計対象データ106nの上から3行目の明細、5行目の明細、7行目の明細、9行目の明細、11行目の明細および13行目の明細)は、外部取引となる。   In the case of the internal transaction determination process in the “upper layer”, when the layered object extraction information 106c is created, by inputting the layer level “0”, the management number, the layer level and the node identification code are changed to (organization chart (4 ), 0, 30000), it is possible to create the hierarchical object extraction information 106c composed of four records. Therefore, the subject acquisition unit 102k refers to the layered object extraction information 106c to obtain a combination of the management number, the layer level, and the node identification code, and the partner acquisition unit 102l refers to the layered object extraction information 106c to obtain. The combination of management number, hierarchy level and node identification code is always the same. Therefore, all the items corresponding to the supplier specific pattern setting information 106l in the total data 106n (the details of the first to second lines from the top of the total data 106n, the details of the fourth line, the details of the sixth line). , The details of the 8th line, the details of the 10th line and the details of the 12th line) are internal transactions. On the other hand, the details that do not correspond to the supplier specific pattern setting information 106l (the details of the third line from the top of the total data 106n, the details of the fifth line, the details of the seventh line, the details of the ninth line, the details of the eleventh line). Details and details on the 13th line) are external transactions.

これに対して、「下位階層」での内部取引判定処理の場合、階層化オブジェクト抽出情報106cの作成に際して、階層レベル「2」を入力することにより、管理番号、階層レベルおよびノード識別コードが、それぞれ、(組織図(4)、2、31100)、(組織図(4)、2、31200)、(組織図(4)、2、32100)および(組織図(4)、2、32200)である4つのレコードからなる階層化オブジェクト抽出情報106cを作成することができる。このため、主体取得部102kが階層化オブジェクト抽出情報106cを参照して取得する管理番号、階層レベルおよびノード識別コードの組合せと、相手取得部102lが階層化オブジェクト抽出情報106cを参照して取得する管理番号、階層レベルおよびノード識別コードの組合せと、は必ず異なるものとなるため、集計対象データ106nのすべての明細における取引が外部取引となる。   On the other hand, in the case of the internal transaction determination process in the “lower layer”, when the layered object extraction information 106c is created, by inputting the layer level “2”, the management number, the layer level and the node identification code become In (organization chart (4), 2,31100), (organization chart (4), 2,31200), (organization chart (4), 2,32100) and (organization chart (4), 2,32200) Hierarchical object extraction information 106c including four records can be created. Therefore, the subject acquisition unit 102k refers to the layered object extraction information 106c to obtain a combination of the management number, the layer level, and the node identification code, and the partner acquisition unit 102l refers to the layered object extraction information 106c to obtain. Since the combination of the management number, the hierarchy level, and the node identification code is always different, the transactions in all the items of the aggregation target data 106n are external transactions.

「上位階層」、「中位階層」および「下位階層」それぞれにおける内部取引判定処理のイメージ図を、図65に示す。図65に示すように、より上位の階層で内部取引判定処理を行うほど、内部取引の額は増えていく。これは、本項目(2)における内部取引判定処理は、同一レベルの同一上位組織を持つノード同士を内部とする手順になっているため、抽出対象とする階層レベルを上位(0に近づける)で抽出した場合、内部取引として判定されるデータが増えていくことになるためである。これによって、抽出する階層レベルのノードを仮想的に1つの会社・1つのセグメントとしてみた場合に、内側のノード間での取引を内部取引として判定し、相殺消去をすることが可能となる。   FIG. 65 shows an image diagram of the internal transaction determination processing in each of the “upper layer”, the “middle layer” and the “lower layer”. As shown in FIG. 65, the amount of internal transaction increases as the internal transaction determination processing is performed in a higher hierarchy. This is because the internal transaction determination process in this item (2) is a procedure in which nodes having the same higher level organization at the same level are inside, so the hierarchical level to be extracted is higher (close to 0). This is because, if extracted, the amount of data determined as internal transactions will increase. As a result, when the nodes of the hierarchy level to be extracted are virtually regarded as one company and one segment, it is possible to judge the transaction between the inner nodes as an internal transaction and cancel them.

また、本実施形態に係る情報処理装置100によれば、例えば、〔3−2〕で説明した内容と本項目(2)で説明した内容とを組合せた内部取引判定処理(すなわち、セキュリティ管理を考慮した内部取引判定処理)を行うことができる。この内部取引判定処理のイメージ図を、図66に示す。図66に示すように、〔3−2〕の内容を組み込むことにより、ユーザが参照権限を持つ会社の中で、内部取引と外部取引を区別して集計することが可能となる。ユーザに対して参照権限がないグループ内会社(図66においては、製造事業グループならびにこれに属する会社300および会社400)は、ユーザにとってはグループ外の他の取引先と同じ「外部」取引とみなされる。   Further, according to the information processing apparatus 100 according to the present embodiment, for example, an internal transaction determination process (that is, security management is performed by combining the content described in [3-2] and the content described in this item (2). It is possible to perform the internal transaction determination process). FIG. 66 shows an image diagram of this internal transaction determination processing. As shown in FIG. 66, by incorporating the content of [3-2], it becomes possible to aggregate the internal transactions and the external transactions by distinguishing them in the company for which the user has reference authority. Companies within the group that do not have reference authority to the user (manufacturing business group and companies 300 and 400 belonging thereto in FIG. 66) are regarded by the user as the same “external” transaction as other business partners outside the group. Be done.

そして、本実施形態に係る情報処理装置100によれば、例えば、主体最下位層識別データおよび相手最下位層識別データの項目の内容および数を任意に設定できるため、柔軟な内部取引判定処理を行うことができる。具体的には、従来においては、会社単位・セグメント単位という概括的な単位での内部取引判定処理(例えば、会社100と会社200の取引は内部取引であると判定する処理)しか行えなかった。これに対して、本実施形態に係る情報処理装置100によれば、自社情報および相手先情報として、会社コード、事業所コードおよび部門コードの3つのコードを設定すれば、細かい粒度での内部取引判定処理(例えば、「会社100、東京本社、営業部」と「会社200、大阪本社、製造2部」の取引は内部取引であると判定する処理)を行うことができる。   Further, according to the information processing apparatus 100 according to the present embodiment, for example, the content and number of items of the subject lowest layer identification data and the partner lowest layer identification data can be arbitrarily set, so that flexible internal transaction determination processing can be performed. It can be carried out. Specifically, conventionally, only internal transaction determination processing (for example, processing that determines that a transaction between the company 100 and the company 200 is an internal transaction) can be performed in a general unit such as a company unit or a segment unit. On the other hand, according to the information processing apparatus 100 according to the present embodiment, if three codes of the company code, the office code and the department code are set as the company information and the partner information, the internal transaction with a fine granularity can be performed. A determination process (for example, a process of determining that a transaction between “Company 100, Tokyo Head Office, Sales Department” and “Company 200, Osaka Head Office, Manufacturing 2 Department” is an internal transaction) can be performed.

ここで、本項目(2)において、内部取引判定処理は、(2−1)〜(2−3)までで説明した内容により行うことができるが、集計部102nは、内部取引判定処理の結果を利用して、以下(2−4)の集計処理を行ってもよい。   Here, in this item (2), the internal transaction determination process can be performed by the contents described in (2-1) to (2-3), but the aggregation unit 102n determines the result of the internal transaction determination process. The following (2-4) totaling process may be performed by using.

(2−4)集計処理
集計部102nは、同じである場合に、集計対象データ106nに含まれる主体最下位層識別データと紐付く数値を集計する。
(2-4) Aggregation Processing The aggregation unit 102n aggregates numerical values associated with the subject lowest layer identification data included in the aggregation target data 106n when the same.

具体的には、同じである場合とは、主体取得部102kで取得した管理番号、階層レベルおよびノード識別コードの組合せと、相手取得部102lで取得した管理番号、階層レベルおよびノード識別コードの組合せと、が同じである場合である。図55の集計対象データ106nでいえば、組織内外判定が内部である、上から1行目、2行目、6行目、8行目および12行目の明細が、前記同じである場合に該当する。これらの明細に含まれる主体最下位層識別データ(会社コード、事業所コードおよび部門コード)と紐付く金額は、図55を参照すると、それぞれ、10,000円、15,000円、50,000円、70,000円および110,000円である。集計部102nは、これらの金額をすべて集計し、255,000円と算出してもよいが、以下のようにして、管理番号、階層レベル、ノード識別コードおよび科目コードの組合せが同じである明細ごとに、金額を集計することが好ましい。   Specifically, the same case means a combination of the management number, the hierarchy level and the node identification code acquired by the subject acquisition unit 102k and the combination of the management number, the hierarchy level and the node identification code acquired by the partner acquisition unit 102l. And are the same. In the case of the aggregation target data 106n in FIG. 55, when the details of the first, second, sixth, eighth, and twelfth lines from the top, which are internal and external determinations, are the same as above. Applicable The amounts associated with the entity lowest layer identification data (company code, establishment code and department code) included in these specifications are 10,000 yen, 15,000 yen and 50,000 yen, respectively, with reference to FIG. Yen, 70,000 yen and 110,000 yen. The aggregating unit 102n may aggregate all of these amounts and calculate 255,000 yen, but as described below, the combination of the management number, the hierarchy level, the node identification code, and the subject code is the same. It is preferable to total the amount of money for each.

すなわち、図55において、上から1〜2行目の明細は、管理番号、階層レベル、ノード識別コードおよび科目コードが、(組織図(4)、1、31000、売上)という組合せであるため、集計部102nは、当該1〜2行目の明細に含まれる金額を、10,000+15,000=25,000円と集計する。同様に、図55において、上から6行目の明細は、管理番号、階層レベル、ノード識別コードおよび科目コードが、(組織図(4)、1、31000、仕入)という組合せであるため、集計部102nは、当該6行目の明細に含まれる金額を、50,000円と集計する。同様に、図55において、上から8行目の明細は、管理番号、階層レベル、ノード識別コードおよび科目コードが、(組織図(4)、1、32000、仕入)という組合せであるため、集計部102nは、当該8行目の明細に含まれる金額を、70,000円と集計する。同様に、図55において、上から12行目の明細は、管理番号、階層レベル、ノード識別コードおよび科目コードが、(組織図(4)、1、32000、売上)という組合せであるため、集計部102nは、当該12行目の明細に含まれる金額を、110,000円と集計する。このように、集計部102nは、図56の集計結果データ106oに示すように、管理番号、階層レベル、ノード識別コードおよび科目コードの組合せが同じである明細ごとに、25,000円、50,000円、110,000円および70,000円という内部取引額を算出することができる。   That is, in FIG. 55, the specifications in the first and second lines from the top are the combination of the management number, the hierarchy level, the node identification code, and the subject code (organization chart (4), 1, 31000, sales), The totaling unit 102n totals the amounts of money included in the details of the first and second lines as 10,000+15,000=25,000 yen. Similarly, in FIG. 55, the sixth line from the top has the combination of management number, hierarchy level, node identification code, and item code (organization chart (4), 1, 31000, purchase). The totaling unit 102n totals the amount of money included in the details of the sixth row as 50,000 yen. Similarly, in FIG. 55, the description on the eighth line from the top is the combination of the management number, hierarchy level, node identification code, and item code (organization chart (4), 1, 32000, purchase). The totaling unit 102n totals the amount of money included in the details of the eighth row to 70,000 yen. Similarly, in FIG. 55, the details on the 12th line from the top are the totalization because the management number, hierarchy level, node identification code and item code are a combination of (organization chart (4), 1, 32000, sales). The section 102n totalizes the amount of money included in the details of the 12th line to 110,000 yen. Thus, as shown in the aggregation result data 106o in FIG. 56, the aggregating unit 102n collects 25,000 yen, 50, 50% for each item having the same combination of management number, hierarchy level, node identification code, and subject code. Internal transaction amounts of 000 yen, 110,000 yen, and 70,000 yen can be calculated.

また、集計部102nは、組織内外判定が外部の明細についても、同様に、管理番号、階層レベル、ノード識別コードおよび科目コードの組合せが同じである明細ごとに、金額を集計してもよい。これにより、集計部102nは、図56の集計結果データ106oに示すように、管理番号、階層レベル、ノード識別コードおよび科目コードの組合せが同じである明細ごとに、20,000円、130,000円、310,000円および80,000円という外部取引額を算出することができる。   In addition, the summation unit 102n may also sum the amount for each item having the same combination of the management number, the hierarchy level, the node identification code, and the subject code, even for the items whose internal/external determination is external. As a result, as shown in the aggregation result data 106o of FIG. 56, the aggregating unit 102n makes 20,000 yen and 130,000 yen for each item having the same combination of the management number, the hierarchy level, the node identification code, and the subject code. External transaction amounts of Yen, 310,000 Yen and 80,000 Yen can be calculated.

そして、集計部102nは、組織内外判定が内部の明細と外部の明細の両方について(すなわち、組織内外判定の結果によらず、すべての明細について)管理番号、階層レベル、ノード識別コードおよび科目コードの組合せが同じである明細ごとに、金額を集計してもよい。これにより、集計部102nは、図56の集計結果データ106oに示すように、45,000円、180,000円、420,000円および150,000円という全体合計額を算出することができる。なお、集計部102nは、内部取引額と外部取引額とを加算することにより、全体合計額を算出してもよい。   Then, the totaling unit 102n determines the management number, the hierarchy level, the node identification code, and the item code for both the internal and external details of the internal/external determination (that is, for all the details regardless of the internal/external determination result). The amounts may be aggregated for each item having the same combination of. As a result, the totaling unit 102n can calculate the total sum of 45,000 yen, 180,000 yen, 420,000 yen, and 150,000 yen, as shown in the totalization result data 106o in FIG. The totaling unit 102n may calculate the total amount by adding the internal transaction amount and the external transaction amount.

(3)仮想セグメントについての内部取引判定処理
本項目は、以下の項目が異なるのみで、行う処理自体は、(2)と同様であるため、詳細な説明は省略する。まず、階層化オブジェクト抽出情報106cに含まれる最下位層識別データは、「会社コード、事業所コードおよび部門コード」ではなく、図57に示すように、「分析コード」になる。これは、階層化オブジェクト抽出情報106cが、図41に示す階層化オブジェクト管理情報106a(「分析コード」を含む)および図50に示す入力パターン(2)を元にして作成されるためである。また、集計対象データ106oにおいて、自組織に関するマッチングに用いる項目は、「会社コード、事業所コードおよび部門コード」ではなく、図58に示すように、「分析コード」となる。そして、集計対象データ106oにおいて、相手組織に関するマッチングに用いる項目は、「相手会社コード、相手事業所コードおよび相手部門コード」ではなく、図59に示すように、「相手分析コード」となる。以上説明したように、階層化オブジェクト抽出情報106cに含まれる「分析コード」、集計対象データ106oに含まれる「分析コード」および「相手分析コード」を用いることにより、(2)と同様の処理を行い、内部取引判定処理およびこの結果に基づいた集計を行うことができる。内部取引判定処理の内容を、図57〜図61に示し、集計の結果を、図62に示す。
(3) Internal transaction determination process for virtual segment This item is different only in the following items, and the process itself is the same as that in (2), so detailed description will be omitted. First, the lowest layer identification data included in the layered object extraction information 106c is not the "company code, establishment code and department code" but the "analysis code" as shown in FIG. This is because the hierarchical object extraction information 106c is created based on the hierarchical object management information 106a (including the "analysis code") shown in FIG. 41 and the input pattern (2) shown in FIG. In addition, in the aggregation target data 106o, the item used for matching regarding the own organization is not the "company code, office code and department code", but the "analysis code" as shown in FIG. Then, in the aggregation target data 106o, the item used for matching regarding the partner organization is not the "partner company code, the partner office code and the partner department code", but the "partner analysis code" as shown in FIG. As described above, by using the “analysis code” included in the layered object extraction information 106c, the “analysis code” and the “partner analysis code” included in the aggregation target data 106o, the same processing as (2) is performed. It is possible to perform the internal transaction determination process and the total based on the result. 57 to 61 show the contents of the internal transaction determination processing, and FIG. 62 shows the result of the aggregation.

本項目(3)での処理によって、図42に示す階層構造のうち、販売事業(仮想セグメント)の階層に属する物販(実セグメント)を行う会社100の東京本社の営業部と、販売事業(仮想セグメント)の階層に属する小売(実セグメント)を行う会社300の大阪支社の販売1部と、の間での取引をグループ内部での内部取引であると判定できる。   By the processing in this item (3), the sales department of the Tokyo head office of the company 100 that sells goods (real segment) belonging to the hierarchy of the sales business (virtual segment) in the hierarchical structure shown in FIG. It is possible to determine that the transaction between the sales department of the Osaka branch of the company 300 that performs retail (actual segment) belonging to the (segment) level is an internal transaction within the group.

(4)仮想組織と仮想セグメントの2軸を用いた内部取引判定処理
(2)の組織マッチング結果と(3)のセグメントマッチング結果とを併せて、2軸を用いた内部取引判定処理を以下のように行うことができる。
(4) Internal transaction determination processing using two axes of virtual organization and virtual segment The internal transaction determination processing using two axes is combined with the organization matching result of (2) and the segment matching result of (3) as follows. Can be done like

図63には、(2)の組織マッチング結果と(3)のセグメントマッチング結果とを併せて示している。図63を参照することにより、組織内外判定およびセグメント内外判定を考慮して「全体合計額」「内部取引額(セグメント内)」「内部取引額(セグメント外)」という3種類の集計結果を得ることができる。「全体合計額」とは、組織内外判定、セグメント判定によらない単純合計額のことである。「内部取引額(セグメント内)」とは、組織内外判定が「内部」かつセグメント内外判定が「内部」の合計額のことである。「内部取引額(セグメント外)」とは、組織内外判定が「内部」かつセグメント内外判定が「外部」の合計額のことである。   In FIG. 63, the organization matching result of (2) and the segment matching result of (3) are shown together. Referring to FIG. 63, three types of aggregation results of “total total amount”, “internal transaction amount (inside segment)”, and “internal transaction amount (outside segment)” are obtained in consideration of the internal/external determination of the organization and the internal/external determination of the segment. be able to. The “total total amount” is a simple total amount that does not depend on the internal/external judgment of the organization or the segment judgment. The "internal transaction amount (within a segment)" is the total amount of the internal/external determination of the organization being "internal" and the internal/external determination of the segment being "internal". The “internal transaction amount (outside the segment)” is the total amount of the internal/external determination of the organization is “internal” and the internal/external determination of the segment is “external”.

図63の表において、「全体合計額」の算出を行う場合、すべての明細について、金額を集計することとなる。ここで、「全体合計」の処理は、仮想組織の管理番号、階層レベルおよびノード識別コードと仮想セグメントの管理番号、階層レベルおよびノード識別コードと科目コードとの組合せが同一である明細ごとに行ってもよい。すなわち、図63の表のすべての明細(1〜13行目の明細)について、以下のような集計を行ってもよい。図64において、全体合計額45,000円は、図63の上から1〜3行目の明細に含まれる金額の集計値であり、全体合計額70,000円は、図63の上から4〜5行目の明細に含まれる金額の集計値であり、全体合計額110,000円は、図63の上から6〜7行目の明細に含まれる金額の集計値であり、全体合計額420,000円は、図63の上から10〜13行目の明細に含まれる金額の集計値であり、全体合計額150,000円は、図63の上から8〜9行目の明細に含まれる金額の集計値である。   In the table of FIG. 63, when the “total total amount” is calculated, the amounts are totaled for all the details. Here, the "total sum" process is performed for each item in which the combination of the virtual organization management number, hierarchy level and node identification code and virtual segment management number, hierarchy level and node identification code, and subject code is the same. May be. That is, the following aggregation may be performed for all the details (details in the 1st to 13th lines) of the table in FIG. 63. In FIG. 64, the total total amount of 45,000 yen is the aggregate value of the amounts included in the details of the first to third lines of FIG. 63, and the total total amount of 70,000 yen is 4 from the upper part of FIG. 63. ~ The total amount of money included in the details of the 5th line, and the total total amount of 110,000 yen is the total value of the amounts of money included in the details of the 6th to 7th lines from the top of Fig. 63. The 420,000 yen is the aggregate value of the amounts of money included in the details of the 10th to 13th lines from the top of FIG. 63, and the total amount of 150,000 yen is the details of the 8th to 9th lines from the top of FIG. 63. It is the aggregate value of the included amounts.

図63の表において、「内部取引額(セグメント内)」の算出を行う場合、組織内外判定が「内部」かつセグメント内外判定が「内部」である明細は存在しないため、集計される金額は存在しない。   In the table of FIG. 63, when the “internal transaction amount (within a segment)” is calculated, there is no detail whose internal/external determination is “internal” and segment internal/external determination is “internal”. do not do.

図63の表において、「内部取引額(セグメント外)」の算出を行う場合、組織内外判定が「内部」かつセグメント内外判定が「外部」である、上から1〜2行目、6行目、8行目および12行目の明細について、金額を集計することとなる。ここで、「内部取引(セグメント外)」の処理は、仮想組織の管理番号、階層レベルおよびノード識別コードと仮想セグメントの管理番号、階層レベルおよびノード識別コードと科目コードとの組合せが同一である明細ごとに行ってもよい。すなわち、図63の表の上から1〜2行目、6行目、8行目および12行目の明細について、以下のような集計を行ってもよい。図64において、内部取引額(セグメント外)25,000円は、図63の上から1〜2行目の明細に含まれる金額の集計値であり、内部取引額(セグメント外)50,000円は、図63の上から6行目の明細に含まれる金額の集計値であり、内部取引額(セグメント外)110,000円は、図63の上から12行目の明細に含まれる金額の集計値であり、内部取引額(セグメント外)70,000円は、図63の上から8行目の明細に含まれる金額の集計値である。   In the table of FIG. 63, when the “internal transaction amount (outside the segment)” is calculated, the internal/external determination is “internal” and the segment internal/external determination is “external”. , 8th line and 12th line, the amounts are totaled. Here, in the "internal transaction (outside segment)" processing, the combination of the virtual organization management number, hierarchy level and node identification code and virtual segment management number, hierarchy level and node identification code, and subject code is the same. It may be performed for each item. That is, the following aggregation may be performed for the specifications of the first to second lines, the sixth line, the eighth line and the twelfth line from the top of the table in FIG. 63. In FIG. 64, the internal transaction amount (outside the segment) of 25,000 yen is the aggregate value of the amounts included in the details of the first and second rows from the top of FIG. 63, and the internal transaction amount (out of the segment) of 50,000 yen. Is the aggregate value of the amounts included in the sixth line from the top of FIG. 63, and the internal transaction amount (outside the segment) of 110,000 yen is the amount included in the details from the top line of FIG. 63. The internal transaction amount (outside the segment) of 70,000 yen is the aggregated value of the amounts included in the details of the eighth line from the top in FIG. 63.

なお、図64の集計結果データ106oにおいて、「外部取引額」については、「全体合計額」=「外部取引額」+「内部取引額(セグメント内)」+「内部取引額(セグメント外)」という式により算出可能であるため、記載を省略している。   In addition, in the aggregation result data 106o of FIG. 64, for the “external transaction amount”, “total total amount”=“external transaction amount”+“internal transaction amount (within segment)”+“internal transaction amount (outside segment)” Since it can be calculated by the formula, the description is omitted.

[3−4.データ変換処理]
次に、データ変換処理について、主に図69〜図74を用いて詳細に説明する。本項目[3−4]においては、データ変換処理の完了後のデータである変換完了データ106s(図73に示す)は、変換完了データ106sにおける変換先属性情報が未設定に設定された変換対象データ106r(図69に示す)を元にして、以下に示す手順で作成される。
[3-4. Data conversion process]
Next, the data conversion process will be described in detail mainly with reference to FIGS. 69 to 74. In this item [3-4], the conversion completion data 106s (shown in FIG. 73), which is the data after the completion of the data conversion process, is the conversion target for which the conversion destination attribute information in the conversion completion data 106s is not set. It is created based on the data 106r (shown in FIG. 69) by the following procedure.

抽出部102qは、変換元データを含む変換対象データ106rを参照して、変換元データと変換先データとを含む変換パターン設定情報106qに含まれる変換元データと同じ変換元データの抽出を行い、変換部102rは、抽出部102qで抽出した変換元データを、当該変換元データと紐付く変換パターン設定情報106qに含まれる変換先データに変換する。   The extraction unit 102q refers to the conversion target data 106r including the conversion source data to extract the same conversion source data as the conversion source data included in the conversion pattern setting information 106q including the conversion source data and the conversion destination data, The conversion unit 102r converts the conversion source data extracted by the extraction unit 102q into conversion destination data included in the conversion pattern setting information 106q associated with the conversion source data.

すなわち、抽出部102qは、変換項目設定情報106pと変換パターン設定情報106qを元に変換対象データを抽出し、変換部102rは、特定された変換先属性情報を更新する。この際、処理順は、会社順に判定順昇順で行うことが好ましい。また、変換対象データ106rとマッチングする際の条件として、以下の1〜3の手順で評価を行う。なお、以下の説明において、変換元属性とは、取引先コード、科目コード、事業所コード、部門コードおよび分析コードを指す。
1.変換元属性1の判定については、変換元属性1が必須項目の場合は、変換対象データ106rの変換元属性1=変換パターン設定情報106qの変換元属性1というマッチングを検索し、変換元属性1が任意項目の場合は、変換パターン設定情報106qの変換元属性1=予約語<ALL>となるか、または、変換対象データ106rの変換元属性1=変換パターン設定情報106qの変換元属性1というマッチングを検索する。
2.変換元属性2の判定については、変換元属性2が必須項目の場合は、変換対象データ106rの変換元属性2=変換パターン設定情報106qの変換元属性2というマッチングを検索し、変換元属性2が任意項目の場合は、変換パターン設定情報106qの変換元属性2=予約語<ALL>となるか、または、変換対象データ106rの変換元属性2=変換パターン設定情報106qの変換元属性2というマッチングを検索する。
3.そして、以下、システムが使用する変換元属性の数だけ評価を実行(すなわち、変換元属性3以降が存在する場合には、変換元属性1〜2と同様の処理を実行)する。
That is, the extraction unit 102q extracts the conversion target data based on the conversion item setting information 106p and the conversion pattern setting information 106q, and the conversion unit 102r updates the specified conversion destination attribute information. At this time, the processing order is preferably the company order and the determination order is ascending order. In addition, as a condition for matching with the conversion target data 106r, the evaluation is performed according to the following procedures 1 to 3. In the following description, the conversion source attribute means a supplier code, a subject code, a business place code, a department code and an analysis code.
1. Regarding the determination of the conversion source attribute 1, when the conversion source attribute 1 is a required item, the conversion source attribute 1 of the conversion target data 106r=the conversion source attribute 1 of the conversion pattern setting information 106q is searched for, and the conversion source attribute 1 is searched. Is an arbitrary item, the conversion source attribute 1 of the conversion pattern setting information 106q is a reserved word <ALL>, or the conversion source attribute 1 of the conversion target data 106r is the conversion source attribute 1 of the conversion pattern setting information 106q. Search for a match.
2. Regarding the determination of the conversion source attribute 2, if the conversion source attribute 2 is a required item, the conversion source attribute 2 of the conversion target data 106r=the conversion source attribute 2 of the conversion pattern setting information 106q is searched for, and the conversion source attribute 2 is searched. Is an arbitrary item, the conversion source attribute 2 of the conversion pattern setting information 106q is a reserved word <ALL>, or the conversion source attribute 2 of the conversion target data 106r is the conversion source attribute 2 of the conversion pattern setting information 106q. Search for a match.
3. Then, hereinafter, the evaluation is executed by the number of conversion source attributes used by the system (that is, if the conversion source attributes 3 and later exist, the same processing as the conversion source attributes 1 and 2 is executed).

具体的に、変換パターン設定情報106qの内容が図68に示すとおりであり、変換対象データ106rの内容が図69に示すとおりである場合に、抽出部102qおよび変換部102rがどのように変換対象データ106rにおける変換元データを変換し、変換完了データ106sを作成するか説明する。   Specifically, when the contents of the conversion pattern setting information 106q are as shown in FIG. 68 and the contents of the conversion target data 106r are as shown in FIG. 69, how the extraction unit 102q and the conversion unit 102r convert It will be described whether the conversion source data in the data 106r is converted to generate the conversion completion data 106s.

抽出部102qおよび変換部102rは、図68に示す変換パターン設定情報106qにおいて、会社コード100の3つレコードに含まれる変換元データの中で、より上位の判定順と紐付く変換元データから順に、抽出を行うことが好ましい。すなわち、抽出部102qは、まず、判定順1を含む上から1行目のレコードに含まれる変換元データ(会社コード100、取引先コードALL、科目コード1000:売上、事業所コードTokyo、部門コードEigyoおよび分析コードBuppan)について、以下の抽出処理および変換処理を行う。   In the conversion pattern setting information 106q shown in FIG. 68, the extraction unit 102q and the conversion unit 102r, in the conversion source data included in the three records of the company code 100, are in order from the conversion source data associated with the higher determination order. It is preferable to perform extraction. That is, the extraction unit 102q firstly converts the conversion source data (company code 100, supplier code ALL, subject code 1000: sales, establishment code Tokyo, department code) included in the first row from the top including the determination order 1. The following extraction processing and conversion processing are performed on Eigyo and the analysis code Buppan).

(抽出処理)
図70に示すように、変換パターン設定情報106qの上から1行目のレコード(矢印で示す)において、変換元データは、前段落で述べたとおり、(会社コード100、取引先コードALL、科目コード1000:売上、事業所コードTokyo、部門コードEigyoおよび分析コードBuppan)という組合せである。ここで、図70の変換対象データ106rを参照すると、この組合せを含むレコードは、上から1行目および3行目の2つのレコード(矢印で示す)である。このため、抽出部102qは、変換対象データ106rの当該2つのレコードに含まれる(会社コード100、取引先コードT1001、科目コード1000:売上、事業所コードTokyo、部門コードEigyoおよび分析コードBuppan)を抽出する。
(Extraction process)
As shown in FIG. 70, in the record (indicated by an arrow) in the first line from the top of the conversion pattern setting information 106q, the conversion source data is as described in the preceding paragraph (company code 100, supplier code ALL, subject). Code 1000: Sales, office code Tokyo, department code Eigyo, and analysis code Buppan). Here, referring to the conversion target data 106r in FIG. 70, the records including this combination are the two records (indicated by arrows) in the first and third rows from the top. Therefore, the extraction unit 102q includes the data (company code 100, supplier code T1001, subject code 1000: sales, office code Tokyo, department code Eigyo, and analysis code Buppan) included in the two records of the conversion target data 106r. Extract.

(変換処理)
次に、変換部102rが行う処理について説明する。図70に示す変換パターン設定情報106qにおいて、当該抽出した(会社コード100、取引先コードT1001、科目コード1000:売上、事業所コードTokyo、部門コードEigyoおよび分析コードBuppan)と紐付く変換先データは、(G_Hanbai)である。このため、変換部102rは、図70の変換対象データ106rの上から1行目および3行目(矢印で示す)に示すように、抽出部102qで取得した変換元コード(会社コード100、取引先コードT1001、科目コード1000:売上、事業所コードTokyo、部門コードEigyoおよび分析コードBuppan)を、変換先データ(G_Hanbai)に変換する。
(Conversion process)
Next, the processing performed by the conversion unit 102r will be described. In the conversion pattern setting information 106q shown in FIG. 70, the conversion destination data associated with the extracted (company code 100, supplier code T1001, subject code 1000: sales, office code Tokyo, department code Eigyo and analysis code Buppan) is , (G_Hanbai). Therefore, the conversion unit 102r, as shown in the first and third lines (indicated by arrows) from the top of the conversion target data 106r in FIG. 70, is the conversion source code (company code 100, transaction) acquired by the extraction unit 102q. Destination code T1001, subject code 1000: sales, establishment code Tokyo, department code Eigyo and analysis code Buppan) are converted into conversion destination data (G_Hanbai).

そして、抽出部102qおよび変換部102rは、図71に示すように、変換パターン設定情報106qにおいて、会社コード100の3つのレコードに含まれる変換元データの中で、2番目に若い判定順と紐付く変換元データ(すなわち、変換パターン設定情報106qの上から2行目のレコードに含まれる変換元データ)について、同様に抽出処理および変換処理を行う。これにより、変換部102rは、図71の変換対象データ106rの上から4行目および5行目(矢印で示す)に示すように、抽出部102qで抽出した変換元データを、変換先データ(G_Hanbai)に変換する。   Then, the extraction unit 102q and the conversion unit 102r, as shown in FIG. 71, in the conversion pattern setting information 106q, in the conversion source data included in the three records of the company code 100, the second youngest determination order and the string. The extraction processing and the conversion processing are similarly performed on the conversion source data to be attached (that is, the conversion source data included in the record in the second row from the top of the conversion pattern setting information 106q). As a result, the conversion unit 102r converts the conversion source data extracted by the extraction unit 102q into the conversion destination data (indicated by the fourth and fifth lines (indicated by arrows) from the top of the conversion target data 106r in FIG. 71. G_Hanbai).

更に、抽出部102qおよび変換部102rは、図72に示すように、変換パターン設定情報106qにおいて、会社コード100の3つレコードに含まれる変換元データの中で、3番目に若い判定順と紐付く変換元データ(すなわち、変換パターン設定情報106qの上から3行目のレコードに含まれる変換元データ)について、同様に抽出処理および変換処理を行う。これにより、変換部102rは、図72の上から2行目(矢印で示す)に示すように、抽出部102qで抽出した変換元データを、変換先データ(G_Sonota)に変換する。   Furthermore, as shown in FIG. 72, the extraction unit 102q and the conversion unit 102r associate the conversion pattern setting information 106q with the third youngest judgment order in the conversion source data included in the three records of the company code 100. Similarly, extraction processing and conversion processing are performed on the conversion source data to be attached (that is, the conversion source data included in the record in the third row from the top of the conversion pattern setting information 106q). As a result, the conversion unit 102r converts the conversion source data extracted by the extraction unit 102q into conversion destination data (G_Sonota), as shown in the second line (indicated by an arrow) from the top of FIG.

更に、抽出部102qおよび変換部102rは、変換パターン設定情報106qの上から4〜6行目のレコードに含まれる変換元データについても、同様に抽出処理および変換処理を行い、最終的に、図73に示す変換完了データ106sを作成する。   Further, the extraction unit 102q and the conversion unit 102r similarly perform the extraction process and the conversion process on the conversion source data included in the records in the 4th to 6th rows from the top of the conversion pattern setting information 106q, and finally, Conversion completion data 106s shown in 73 is created.

なお、仮想組織のように、各会社の事業所および部門をそのまま階層化構造として紐付可能なケースでは、本項目[3−4]の処理を行う必要性は乏しい。これに対して、仮想セグメントのように、グループ全体で共通の分析軸で集計を行いたい場合、個社のコードとの紐付を管理すると設定が煩雑となる。そこで、本項目[3−4]の処理によって、一旦共通セグメントコードに変換した後、仮想セグメントに共通セグメントコードを割り当てることにより、様々な切り口での分析軸を簡単に設定することが可能になる。   In addition, in the case where the offices and departments of each company can be directly linked as a hierarchical structure like a virtual organization, it is not necessary to perform the processing of this item [3-4]. On the other hand, when it is desired to perform aggregation using a common analysis axis for the entire group, such as a virtual segment, managing the association with the code of each company complicates the setting. Therefore, by the processing of this item [3-4], it is possible to easily set the analysis axis at various cuts by once converting to the common segment code and then assigning the common segment code to the virtual segment. .

仮想セグメントに共通セグメントコードを割り当てるとは、具体的には、例えば、以下のような処理を意味する。図74に示すように、A社のSI事業およびPKG開発ならびにB社の開発事業部に対して「システム事業」の共通セグメントコードを設定し、一方で、B社のサポート事業部に対して「サポート事業」の共通セグメントコードを設定する。そして、図74に示すように、仮想セグメントである「システム開発事業」に共通セグメントコード「システム事業」を割り当て、一方で、仮想セグメントである「サポート事業」に共通セグメントコード「サポート事業」を割り当てれば、事業内容という切り口に着目して経営分析を行うことができる。   Assigning a common segment code to a virtual segment specifically means the following processing, for example. As shown in FIG. 74, a common segment code of “system business” is set for the SI business and PKG development of the company A and the development business department of the company B, while “common” is set for the support business department of the company B. Set a common segment code for "support business". Then, as shown in FIG. 74, the common segment code “system business” is assigned to the virtual system “system development business”, while the common segment code “support business” is assigned to the virtual segment “support business”. If this is the case, it is possible to analyze the business focusing on the point of view of the business content.

このように、本実施形態に係る情報処理装置100によれば、複数のデータの組合せ(変換元データ)を共通データ(変換先データ)に変換できる。これにより、例えば、前段落で述べたように、各対象を共通セグメントコード「システム開発事業」「サポート事業」に分類して、事業内容に着目して経営分析を行うことができる。また、例えば、共通セグメントコード「システム開発事業」に属する「A社のSI事業およびPKG開発ならびにB社の開発事業部」の3対象間での取引は内部取引と判定して相殺消去し、一方で、共通セグメントコード「システム開発事業」に属する3対象と共通セグメントコード「サポート事業」に属するB社のサポート事業部との間での取引は外部取引と判定して相殺消去はしないといった会計処理を行うこともできる。   As described above, according to the information processing apparatus 100 according to the present embodiment, it is possible to convert a combination of a plurality of data (conversion source data) into common data (conversion destination data). Thereby, for example, as described in the preceding paragraph, each target can be classified into the common segment code “system development business” and “support business”, and the business analysis can be performed focusing on the business content. In addition, for example, the transactions between the three objects of “SI business of Company A and PKG development and development business department of Company B” belonging to the common segment code “System development business” are determined to be internal transactions and eliminated. Therefore, the accounting treatment that the transactions between the three targets that belong to the common segment code “System Development Business” and the support division of Company B that belongs to the common segment code “Support Business” are judged as external transactions and are not offset You can also do

また、本実施形態に係る情報処理装置100によれば、例えば、変換元データおよび変換先データの内容および数を任意に設定できるため、柔軟かつ自由なデータ変換を行うことができる。   Further, according to the information processing apparatus 100 according to the present embodiment, for example, the contents and number of the conversion source data and the conversion destination data can be set arbitrarily, so that flexible and free data conversion can be performed.

[3−5.これら以外の処理]
最後に、[3−1]〜[3−4]で説明した処理以外の処理について、図75および図76を用いて詳細に説明する。
[3-5. Processing other than these]
Finally, processes other than the processes described in [3-1] to [3-4] will be described in detail with reference to FIGS. 75 and 76.

本実施形態に係る情報処理装置100によれば、グループ企業の再編をシミュレーションすることができる。具体的には、本実施形態に係る情報処理装置100が、企業グループを扱う際には、グループ内企業の吸収合併による組織再編や、M&A(合併・買収)で外部会社を傘下に買収した場合の会社の変動等を考慮することが必要となる。この際、本実施形態に係る情報処理装置100によれば、図75に示すように、組織図を複写して組織変更を行うことで、組織改編前(図75の改編前組織(2))と組織改編後(図75の改編後組織(2)´)とを比較することができる。図75においては、会社2は、組織改編前ではグループ中核1に属する会社であったが、組織改編後ではグループ中核2に属する会社となっている。   According to the information processing apparatus 100 according to the present embodiment, it is possible to simulate reorganization of a group company. Specifically, when the information processing apparatus 100 according to the present embodiment handles a corporate group, when the corporate reorganization by absorption-type merger of companies within the group or acquisition of an external company by M&A (merger/acquisition) It is necessary to take into account changes in the company. At this time, according to the information processing apparatus 100 according to the present embodiment, as shown in FIG. 75, the organization chart is copied and the organization is changed, so that the organization is not changed (organization before change (2) in FIG. 75). Can be compared with the post-reorganization organization (reorganized organization (2)′ in FIG. 75). In FIG. 75, the company 2 is a company belonging to the group core 1 before the organizational restructuring, but is a company belonging to the group core 2 after the organizational restructuring.

また、本実施形態に係る情報処理装置100によれば、組織情報とセグメント情報の機能の組合せによって、組織×セグメント×科目の3軸による金額を集計し、経営分析を行うことができる。具体的には、本実施形態に係る情報処理装置100によれば、図76に示すように、縦軸に商品・ブランド、横軸に店舗に関する情報を配置し、収支に関するデータを収支の高さで可視化することにより、多元データを作成することができる。このような多元データを作成することにより、店舗別ブランド別収支の現状把握が可能となる。これにより、店舗ごとに各ブランドの販売戦略を立てることができる。   Further, according to the information processing apparatus 100 according to the present embodiment, it is possible to perform the business analysis by totaling the amount of money on the three axes of organization×segment×course by combining the functions of the organization information and the segment information. Specifically, according to the information processing apparatus 100 according to the present embodiment, as shown in FIG. 76, information about a product/brand is arranged on the vertical axis and information about a store is arranged on the horizontal axis, and the data on the income and expenditure is the income and expenditure. Multiple data can be created by visualizing with. By creating such multi-dimensional data, it is possible to grasp the current state of the income and expenditure by brand by store. As a result, a sales strategy for each brand can be established for each store.

[4.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[4. Other Embodiments]
The present invention may be implemented in various different embodiments within the scope of the technical idea described in the claims other than the above-described embodiments.

例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。   For example, of the processes described in the embodiment, all or part of the processes described as being automatically performed may be manually performed, or all of the processes described as manually performed. Alternatively, a part thereof can be automatically performed by a known method.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。   Unless otherwise specified, processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions of each processing, screen examples, and database configurations shown in this specification and the drawings are excluded. Can be changed arbitrarily.

また、情報処理装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。   Further, regarding the information processing apparatus 100, the illustrated constituent elements are functionally conceptual and do not necessarily have to be physically configured as illustrated.

例えば、情報処理装置100が備える処理機能、特に制御部102にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて情報処理装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。   For example, the processing functions of the information processing apparatus 100, particularly the respective processing functions performed by the control unit 102, are implemented in whole or in part by a CPU and a program interpreted and executed by the CPU. Alternatively, the hardware may be realized by wired logic. The program is recorded on a non-transitory computer-readable recording medium that includes programmed instructions for causing the information processing apparatus to execute the processing described in the present embodiment, and the information processing apparatus may be used as necessary. Mechanically read to 100. That is, a computer program for giving instructions to the CPU in cooperation with the OS and performing various processes is recorded in a storage unit such as a ROM or an HDD (Hard Disk Drive). This computer program is executed by being loaded into the RAM, and constitutes a control unit in cooperation with the CPU.

また、このコンピュータプログラムは、情報処理装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。   Further, this computer program may be stored in an application program server connected to the information processing apparatus 100 via an arbitrary network, and it is possible to download all or part of the computer program as necessary. is there.

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム商品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD−ROM(Compact Disk Read Only Memory)、MO(Magneto−Optical disk)、DVD(Digital Versatile Disk)、および、Blu−ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。したがって、本明細書で説明したような処理又は処理方法を実行するためのプログラムを格納した記録媒体もまた本発明を構成することとなる。   Further, the program for executing the processing described in this embodiment may be stored in a non-transitory computer-readable recording medium, or may be configured as a program product. Here, the “recording medium” includes a memory card, a USB (Universal Serial Bus) memory, an SD (Secure Digital) card, a flexible disk, a magneto-optical disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), and an EEPROM (registered). (Trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magneto-Optical disk), etc. (registered trademark), MO (Magneto-Optical disk), etc. It shall include any "portable physical medium". Therefore, a recording medium storing a program for executing the processing or the processing method described in the present specification also constitutes the present invention.

また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。   The "program" is a data processing method described in any language or description method, and may be in any form such as source code or binary code. Note that the "program" is not necessarily limited to a single configuration, and it achieves its function in cooperation with a plurality of modules or libraries that are distributed and configured, or with a separate program represented by an OS. Including things. Note that known configurations and procedures can be used for the specific configuration and reading procedure for reading the recording medium in each device shown in the embodiments, and the installation procedure after reading.

記憶部106に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。   Various databases and the like stored in the storage unit 106 are memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and storage means such as optical disks, and are used for various processes and website provision. Stores programs, tables, databases, files for web pages, and the like.

また、情報処理装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、情報処理装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。   Further, the information processing apparatus 100 may be configured as an information processing apparatus such as a known personal computer or workstation, or may be configured as the information processing apparatus to which any peripheral device is connected. Further, the information processing apparatus 100 may be realized by mounting software (including a program, data, or the like) for realizing the processing described in the present embodiment on the apparatus.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。   Further, the specific form of the dispersion/integration of the devices is not limited to that shown in the figure, and all or a part of them may be functionally or physically arranged in arbitrary units according to various additions or functional loads. It can be distributed and integrated. That is, the above-described embodiments may be implemented in any combination, or the embodiments may be selectively implemented.

本発明は、あらゆる業界において有用であるが、特に、管理会計分野、連結会計分野およびグループ管理会計分野等において極めて有用である。   INDUSTRIAL APPLICABILITY The present invention is useful in all industries, but is extremely useful particularly in the fields of management accounting, consolidated accounting, group management accounting and the like.

100 情報処理装置
102 制御部
102a 取得部
102a1 レコード取得部
102a2 最下位層レコード取得部
102a3 レコード作成部
102a4 最下位層データ取得部
102b 抽出部
102c 集計部
102d 第一取得部
102d1 グループ識別データ取得部
102d2 階層識別データ等取得部
102d3 レコード取得部
102d4 繰返部
102e 第二取得部
102f 展開データ作成部
102g レコード作成部
102h 最下位層データ取得部
102i 抽出部
102j 集計部
102k 主体取得部
102l 相手取得部
102m 判定部
102n 集計部
102o 集計対象作成部
102p 対象抽出作成部
102q 抽出部
102r 変換部
104 通信インターフェース部
106 記憶部
106a 階層化オブジェクト管理情報
106b 階層化オブジェクト展開情報
106c 階層化オブジェクト抽出情報
106d 集計対象データ
106e 集計結果データ
106f 集計キー情報データ
106g ユーザグループ所属情報
106h 権限設定情報
106i 権限抽出情報
106j 階層化オブジェクトセキュリティ展開情報
106k 取引先特定項目設定情報
106l 取引先特定パターン設定情報
106m 集計対象元データ
106n 集計対象データ
106o 集計結果データ
106p 変換項目設定情報
106q 変換パターン設定情報
106r 変換対象データ
106s 変換完了データ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 Information processing device
102 control unit
102a acquisition unit
102a1 record acquisition unit
102a2 lowest layer record acquisition unit
102a3 record creation section
102a4 lowest layer data acquisition unit
102b extractor
102c counting section
102d First acquisition unit
102d1 group identification data acquisition unit
102d2 layer identification data acquisition unit
102d3 record acquisition unit
102d4 repeat unit
102e Second acquisition unit
102f Development data creation unit
102g record creation section
102h lowest layer data acquisition unit
102i extractor
102j Counting unit
102k Subject acquisition unit
102l Opponent acquisition section
102m judgment section
102n counting section
102o Aggregation target creation unit
102p target extraction creation unit
102q extractor
102r converter
104 Communication interface section
106 storage unit
106a Hierarchical object management information
106b Hierarchical object expansion information
106c Hierarchical object extraction information
106d Data to be aggregated
106e Total result data
106f Aggregation key information data
106g User group affiliation information
106h authority setting information
106i authority extraction information
106j Hierarchical object security development information
106k Supplier specific item setting information
106l Business partner specific pattern setting information
106m Source data for aggregation
106n Data to be aggregated
106o Total result data
106p conversion item setting information
106q conversion pattern setting information
106r Conversion target data
106s conversion completed data
108 Input/output interface section
112 Input device
114 output device 200 server 300 network

Claims (8)

制御部を備えるデータ取得装置であって、
前記制御部は、
従属関係にある複数の対象についての情報を有するレコードを含む対象管理データであって、
前記レコードは、前記対象を識別するための対象識別データと前記対象が属する先の対象を識別するための従属先対象識別データとを含み、
前記対象であって当該対象に属する前記対象が存在しない非被従属対象についての情報を有するレコードである非被従属レコードは、前記非被従属対象を識別するための非被従属識別データを更に含む、
前記対象管理データを参照して、
前記非被従属レコードを取得する非被従属レコード取得手段と、
前記非被従属レコード取得手段で取得した非被従属レコードに含まれる従属先対象識別データと同じ対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記非被従属レコード取得手段で取得した非被従属レコードに含まれる非被従属識別データを追加したレコードを作成するレコード作成手段と、
前記非被従属レコード取得手段で取得した非被従属レコードおよび前記レコード作成手段で作成したレコードを参照して、入力された対象識別データを含むレコードを取得することにより、当該レコードに含まれる非被従属識別データを取得する非被従属データ取得手段
備えること、
を特徴とするデータ取得装置。
A data acquisition device including a control unit,
The control unit is
Object management data including a record having information about a plurality of dependent objects,
The record before SL and a dependent destination object identification data for said target object identification data for identifying to identify a previous target belonging to the target,
Non the subordinate record is a record with information about the non-target dependent subject the subject belonging to the subject a the subject does not exist, further comprising a non-be dependent identification data for identifying the non-target dependent subject ,
Referring to the target management data,
Non -dependent record acquisition means for acquiring the non-dependent record ,
The records that contain the same Target identification data and which depends on the object identification data contained in the non-non-target dependent records acquired in the subordinate record acquiring means acquires with reference to the target management data, to the acquired record A record creating means for creating a record to which non-dependent identification data included in the non- dependent record acquired by the non -dependent record acquiring means is added,
Above with reference to records created by the non-non-acquired by the subordinate record acquiring means to be dependent records and the record creation unit, by acquiring the record including the target identification data input, the non-included in the record Non-dependent data acquisition means for acquiring dependent identification data ,
It is provided with,
And a data acquisition device.
前記制御部は、The control unit is
非被従属識別データと数値とを含む集計対象データを参照して、前記非被従属データ取得手段で取得した非被従属識別データと紐付く数値を抽出する抽出手段を更に備えること、Further comprising an extracting means for extracting a numerical value associated with the non-dependent identification data acquired by the non-dependent data acquiring means, with reference to the aggregation target data including the non-dependent identification data and the numerical value.
を特徴とする請求項1に記載のデータ取得装置。The data acquisition device according to claim 1, wherein:
前記制御部は、The control unit is
前記抽出手段で抽出した数値を集計する集計手段を更に備えること、Further comprising an aggregating unit that aggregates the numerical values extracted by the extracting unit,
を特徴とする請求項2に記載のデータ取得装置。The data acquisition device according to claim 2.
前記集計手段は、The counting means is
前記抽出手段で抽出した数値と、前記非被従属データ取得手段で取得したレコードに含まれる対象識別データと、を含む明細を複数含む集計キーデータを参照して、前記対象識別データが同じである明細を特定し、当該特定した明細に含まれる数値を集計すること、The target identification data is the same by referring to the aggregate key data including a plurality of specifications including the numerical value extracted by the extraction unit and the target identification data included in the record acquired by the non-dependent data acquisition unit. Specify the details and aggregate the numerical values included in the specified details,
を特徴とする請求項3に記載のデータ取得装置。The data acquisition device according to claim 3, wherein
前記集計手段は、The counting means is
前記抽出手段で抽出した数値と、明細識別データと、を含む明細を複数含む集計キーデータを参照して、前記明細識別データが同じ明細が存在する場合、当該明細のうち1つの明細のみを残して他の明細は削除することにより前記集計キーデータを更新し、当該更新した集計キーデータに含まれる明細に含まれる数値を集計すること、When there is a description having the same specification identification data with reference to aggregate key data including a plurality of specifications including numerical values extracted by the extraction means and specification identification data, only one of the specifications is left. And updating the other key details by deleting the other details, and totaling the numerical values included in the details included in the updated key data,
を特徴とする請求項3または4に記載のデータ取得装置。The data acquisition device according to claim 3 or 4, characterized in that.
前記対象管理データが、The target management data is
最下位層の前記対象と上位層の前記対象とが階層を成すことにより形成される階層構造における最上位層から最下位層までの各階層の前記対象についての情報を有するレコードを含み、The target of the lowest layer and the target of the upper layer includes a record having information about the target of each layer from the highest layer to the lowest layer in the hierarchical structure formed by forming a layer
前記レコードは、前記対象識別データと前記対象より1つ上位の階層の対象を識別するための上位対象識別データとを含み、The record includes the target identification data and upper target identification data for identifying a target in a layer one level higher than the target,
前記最下位層の前記対象についての情報を有するレコードである最下位層レコードは、前記最下位層の対象を識別するための最下位層識別データを更に含み、The lowest layer record, which is a record having information about the object of the lowest layer, further includes lowest layer identification data for identifying the object of the lowest layer,
前記非被従属レコード取得手段は、前記対象管理データを参照して、前記最下位層レコードを取得し、The non-dependent record acquisition means refers to the target management data to acquire the lowest layer record,
前記レコード作成手段は、前記非被従属レコード取得手段で取得した最下位層レコードに含まれる上位対象識別データと同じ対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記非被従属レコード取得手段で取得した最下位層レコードに含まれる最下位層識別データを追加したレコードを作成し、The record creating unit acquires a record including the same target identification data as the upper target identification data included in the lowest layer record acquired by the non-dependent record acquisition unit by referring to the target management data, and acquires the record. A record to which the lowest layer identification data included in the lowest layer record acquired by the non-dependent record acquisition means is added,
前記非被従属データ取得手段は、前記非被従属レコード取得手段で取得した最下位層レコードおよび前記レコード作成手段で作成したレコードを参照して、前記入力された対象識別データを含むレコードを取得することにより、当該レコードに含まれる最下位層識別データを取得すること、The non-dependent data acquisition unit acquires the record including the input target identification data by referring to the lowest layer record acquired by the non-dependent record acquisition unit and the record created by the record creation unit. By acquiring the lowest layer identification data included in the record,
を特徴とする請求項1から5のいずれか一つに記載のデータ取得装置。The data acquisition device according to claim 1, wherein the data acquisition device is a data acquisition device.
制御部を備える情報処理装置で実行されるデータ取得方法であって、A data acquisition method executed by an information processing device including a control unit,
前記制御部で実行される、Executed by the control unit,
従属関係にある複数の対象についての情報を有するレコードを含む対象管理データであって、Object management data including a record having information about a plurality of dependent objects,
前記レコードは、前記対象を識別するための対象識別データと前記対象が属する先の対象を識別するための従属先対象識別データとを含み、The record includes target identification data for identifying the target and dependent destination target identification data for identifying a target to which the target belongs,
前記対象であって当該対象に属する前記対象が存在しない非被従属対象についての情報を有するレコードである非被従属レコードは、前記非被従属対象を識別するための非被従属識別データを更に含む、The non-dependent record, which is a record having information about the non-dependent subject that does not have the target that belongs to the target, further includes non-dependent identification data for identifying the non-dependent subject. ,
前記対象管理データを参照して、Referring to the target management data,
前記非被従属レコードを取得する非被従属レコード取得ステップと、A non-dependent record acquisition step of acquiring the non-dependent record,
前記非被従属レコード取得ステップで取得した非被従属レコードに含まれる従属先対象識別データと同じ対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記非被従属レコード取得ステップで取得した非被従属レコードに含まれる非被従属識別データを追加したレコードを作成するレコード作成ステップと、A record including the same target identification data as the dependent destination target identification data included in the non-dependent record acquired in the non-dependent record acquisition step is acquired by referring to the target management data, and the acquired record is A record creation step for creating a record to which the non-dependent record data included in the non-dependent record acquired in the non-dependent record acquisition step is added,
前記非被従属レコード取得ステップで取得した非被従属レコードおよび前記レコード作成ステップで作成したレコードを参照して、入力された対象識別データを含むレコードを取得することにより、当該レコードに含まれる非被従属識別データを取得する非被従属データ取得ステップと、By referring to the non-dependent record acquired in the non-dependent record acquisition step and the record created in the record creation step to acquire the record including the input target identification data, the non-dependent record included in the record is acquired. A non-dependent data acquisition step of acquiring dependent identification data,
を含むこと、Including,
を特徴とするデータ取得方法。Data acquisition method characterized by.
制御部を備える情報処理装置に実行させるためのデータ取得プログラムであって、A data acquisition program to be executed by an information processing device including a control unit,
前記制御部に実行させるための、In order for the control unit to execute,
従属関係にある複数の対象についての情報を有するレコードを含む対象管理データであって、Object management data including a record having information about a plurality of dependent objects,
前記レコードは、前記対象を識別するための対象識別データと前記対象が属する先の対象を識別するための従属先対象識別データとを含み、The record includes target identification data for identifying the target and dependent destination target identification data for identifying a target to which the target belongs,
前記対象であって当該対象に属する前記対象が存在しない非被従属対象についての情報を有するレコードである非被従属レコードは、前記非被従属対象を識別するための非被従属識別データを更に含む、The non-dependent record, which is a record having information about the non-dependent subject that does not have the target that belongs to the target, further includes non-dependent identification data for identifying the non-dependent subject. ,
前記対象管理データを参照して、Referring to the target management data,
前記非被従属レコードを取得する非被従属レコード取得ステップと、A non-dependent record acquisition step of acquiring the non-dependent record,
前記非被従属レコード取得ステップで取得した非被従属レコードに含まれる従属先対象識別データと同じ対象識別データを含むレコードを、前記対象管理データを参照して取得し、当該取得したレコードに、前記非被従属レコード取得ステップで取得した非被従属レコードに含まれる非被従属識別データを追加したレコードを作成するレコード作成ステップと、A record including the same target identification data as the dependent destination target identification data included in the non-dependent record acquired in the non-dependent record acquisition step is acquired by referring to the target management data, and the acquired record has the A record creation step for creating a record to which the non-dependent record data included in the non-dependent record acquired in the non-dependent record acquisition step is added,
前記非被従属レコード取得ステップで取得した非被従属レコードおよび前記レコード作成ステップで作成したレコードを参照して、入力された対象識別データを含むレコードを取得することにより、当該レコードに含まれる非被従属識別データを取得する非被従属データ取得ステップと、By referring to the non-dependent record acquired in the non-dependent record acquisition step and the record created in the record creation step to acquire the record including the input target identification data, the non-dependent record included in the record is acquired. A non-dependent data acquisition step of acquiring dependent identification data,
を含むこと、Including,
を特徴とするデータ取得プログラム。Data acquisition program characterized by.
JP2019051554A 2019-03-19 2019-03-19 Data aggregation device, data aggregation method, and data aggregation program Active JP6700452B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019051554A JP6700452B2 (en) 2019-03-19 2019-03-19 Data aggregation device, data aggregation method, and data aggregation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019051554A JP6700452B2 (en) 2019-03-19 2019-03-19 Data aggregation device, data aggregation method, and data aggregation program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018005969A Division JP6501931B2 (en) 2018-01-17 2018-01-17 Data aggregation device, data aggregation method and data aggregation program

Publications (2)

Publication Number Publication Date
JP2019145125A JP2019145125A (en) 2019-08-29
JP6700452B2 true JP6700452B2 (en) 2020-05-27

Family

ID=67772510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019051554A Active JP6700452B2 (en) 2019-03-19 2019-03-19 Data aggregation device, data aggregation method, and data aggregation program

Country Status (1)

Country Link
JP (1) JP6700452B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001216307A (en) * 2000-01-31 2001-08-10 Teijin Ltd Relational database management system and storage medium stored with same
JP2007012085A (en) * 2000-05-19 2007-01-18 Fujitsu Ltd Display system
JP2007122388A (en) * 2005-10-27 2007-05-17 Nec System Technologies Ltd Accounting system, accounting method, and program
JP5169258B2 (en) * 2008-01-31 2013-03-27 カシオ計算機株式会社 Data processing apparatus and program
JP2011248435A (en) * 2010-05-24 2011-12-08 Fujitsu Marketing Ltd Analysis support processing device and program for the same
JP2012181731A (en) * 2011-03-02 2012-09-20 Nec System Technologies Ltd Accounting system, accounting method and accounting program

Also Published As

Publication number Publication date
JP2019145125A (en) 2019-08-29

Similar Documents

Publication Publication Date Title
US11650854B2 (en) Executing algorithms in parallel
US10235334B2 (en) Structuring data
CN108228817A (en) Data processing method, device and system
CN107533453A (en) System and method for generating data visualization application
US11921737B2 (en) ETL workflow recommendation device, ETL workflow recommendation method and ETL workflow recommendation system
CN111414410A (en) Data processing method, device, equipment and storage medium
JP5033322B2 (en) Information management method and apparatus using connection relation information
JP6268435B2 (en) Database reconstruction method, database reconstruction program, and database reconstruction device
JP6280270B1 (en) Internal transaction determination device, internal transaction determination method, and internal transaction determination program
Bernard et al. Contextual and behavioral customer journey discovery using a genetic approach
JP6501932B2 (en) Internal transaction judging device, internal transaction judging method and internal transaction judging program
JP6634665B1 (en) Plant equipment information management system
JP6700452B2 (en) Data aggregation device, data aggregation method, and data aggregation program
JP6501931B2 (en) Data aggregation device, data aggregation method and data aggregation program
JP7089608B2 (en) Insider Trading Judgment Device, Insider Trading Judgment Method and Insider Trading Judgment Program
JP6841858B2 (en) Internal transaction judgment device, internal transaction judgment method and internal transaction judgment program
JP6472904B2 (en) Data reference authority management device, data reference authority management method, and data reference authority management program
JP6280268B1 (en) Data aggregation device, data aggregation method, and data aggregation program
JP6600368B2 (en) Data conversion apparatus, data conversion method, and data conversion program
JP6824303B2 (en) Data reference authority management device, data reference authority management method and data reference authority management program
JP6280269B1 (en) Data reference authority management device, data reference authority management method, and data reference authority management program
JP6280271B1 (en) Data conversion apparatus, data conversion method, and data conversion program
JP6974953B2 (en) Aggregate data creation device, aggregate data creation method, and aggregate data creation program
JP2021185534A (en) Information processing device, information processing method and program
US10430775B1 (en) Validation and lookup techniques for rule-based data categorization

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190416

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200309

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: 20200407

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200430

R150 Certificate of patent or registration of utility model

Ref document number: 6700452

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250