JP6046409B2 - Predictive value evaluation support system - Google Patents

Predictive value evaluation support system Download PDF

Info

Publication number
JP6046409B2
JP6046409B2 JP2012169999A JP2012169999A JP6046409B2 JP 6046409 B2 JP6046409 B2 JP 6046409B2 JP 2012169999 A JP2012169999 A JP 2012169999A JP 2012169999 A JP2012169999 A JP 2012169999A JP 6046409 B2 JP6046409 B2 JP 6046409B2
Authority
JP
Japan
Prior art keywords
predicted value
status
data
data mart
prediction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2012169999A
Other languages
Japanese (ja)
Other versions
JP2014029611A (en
Inventor
紀宏 津嶋
紀宏 津嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Systems Ltd
Original Assignee
Hitachi Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Systems Ltd filed Critical Hitachi Systems Ltd
Priority to JP2012169999A priority Critical patent/JP6046409B2/en
Publication of JP2014029611A publication Critical patent/JP2014029611A/en
Application granted granted Critical
Publication of JP6046409B2 publication Critical patent/JP6046409B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、予測値評価支援システムに関し、特に、OLAP(Online Analytical Processing:オンライン分析処理)データ分析において、項目に値が存在しない場合、及び既存値を予測値に置き換える必要がある場合、その項目に複数の予測値を外挿値として挿入して評価することを可能とする方式、及びそれら複数の外挿値を管理する方式、及びそれら複数の外挿値を各々含むOLAPキューブを作成して管理する方式、及びそれら複数の外挿値から最適な予測値を評価して選択できる装置の方式、及び最適な予測値を保存する装置の方式に関する。   The present invention relates to a predicted value evaluation support system, and in particular, in OLAP (Online Analytical Processing) data analysis, when a value does not exist in an item, and when an existing value needs to be replaced with a predicted value, the item A method that enables evaluation by inserting a plurality of predicted values as extrapolated values, a method for managing the plurality of extrapolated values, and an OLAP cube each including the plurality of extrapolated values The present invention relates to a management method, a device method capable of evaluating and selecting an optimum predicted value from a plurality of extrapolated values, and a device method for storing an optimum predicted value.

OLAPデータ分析においては、様々なシステムからデータを収集して分析可能な一つのデータマートを構築して、そのデータマートからOLAP分析可能なキューブを作成する。この様々なシステムからデータを取得する場合、各々のシステムによってデータの保管方法が異なることに起因して、OLAPの軸(ディメンジョン)の項目(レベル)によっては、値(メジャー)が欠損する場合がある。また、値は、既存値として存在するが、これを予測値に置き換えて分析する方が良い場合がある。例えば、値がイベントによって特異値となっている場合など、平均値という予測値に置き換えた方が、分析精度が上がる場合がある。   In OLAP data analysis, a data mart that can be analyzed by collecting data from various systems is constructed, and a cube that can be analyzed by OLAP is created from the data mart. When acquiring data from these various systems, the value (major) may be lost depending on the item (level) of the OLAP axis (dimension) due to the difference in the data storage method of each system. is there. Moreover, although a value exists as an existing value, it may be better to analyze by replacing this with a predicted value. For example, when the value is a singular value due to an event, the accuracy of analysis may be improved by replacing it with a predicted value called an average value.

以下に、欠損値がある場合の例を示す。   The following is an example when there are missing values.

あるチェーンストア本部において、本部が管理する複数の店舗における売上管理システムのデータを集めてOLAPキューブを作成した場合、売上管理システムは新旧型、及び異なるメーカ製が混在しており、各々の売上管理システムは売上金額データを独自の構成で持っていた場合、例えば、旧型の売上管理システムは1日単位の粒度でしか売上金額データを持っていないが、新型の売上管理システムでは1秒単位の粒度で売上金額データを持っている、などということがある。   When a chain store headquarters collects data from sales management systems at multiple stores managed by the headquarters to create an OLAP cube, the sales management system is a mix of new and old models and different manufacturers. If the system has sales amount data in a unique configuration, for example, the old sales management system has sales amount data only with a granularity of one day, but the new sales management system has a granularity of one second. I have sales amount data.

この場合、軸として、「日時」と「店舗」を選択した場合、「日時」の項目として「1時間単位」を選択した場合、新型の売上管理システムをもつ「店舗(A)」から取得した「売上金額」は存在して表示できるが、旧型の売上管理システムを持つ「店舗(B)」からは、売上金額の管理粒度が1日であることに起因して、「1時間」毎の「売上金額」は存在できないので表示できない(データの欠損)、などとなる。   In this case, when “date and time” and “store” are selected as the axes, “1 hour unit” is selected as the “date and time” item, the data is acquired from “store (A)” having a new sales management system. Although “sales amount” exists and can be displayed, from “store (B)” having the old sales management system, the management granularity of the amount of sales is one day, so that “every hour” “Sales amount” cannot be displayed because it cannot exist (data loss), etc.

この場合、チェーンストア本部は、全店舗について、「1時間」単位で売上を分析したい場合、そのままのデータでは、店舗(B)の1時間毎の売上データがNULL値となってしまい、正確な売上分析ができない。よって、チェーンストア本部では、欠損したデータを何らかの近似方法で計算して代入して、1時間毎の売上分析を行いたい。   In this case, if the chain store headquarters wants to analyze sales in units of “1 hour” for all stores, the sales data for each hour of the store (B) becomes a NULL value in the data as it is, Sales analysis is not possible. Therefore, the chain store headquarters wants to perform sales analysis every hour by calculating and substituting the missing data by some approximate method.

また、欠損したデータを補完する近似方法は様々あり、どの近似方法から得られた補完値が良いのかを決めなければならない。従来は、全ての予測値(補完値)毎に、データマートを作成して、OLAPキューブを作成していた。これでは、データの多重管理となるという問題があった。また、複数の近似方法から得られた近似値を管理する方法は確立されていない。   There are various approximation methods for complementing the missing data, and it is necessary to determine which approximation method the complement value obtained from is good. Conventionally, an OLAP cube is created by creating a data mart for every predicted value (complement value). This has a problem of multiple data management. In addition, a method for managing approximate values obtained from a plurality of approximation methods has not been established.

特許文献1には、OLAPシステムから、最適な需要予測を実現することが記載されている。即ち、販売実績データをOLAPデータベース構造からなるデータとして、各層別や販売期間パケット毎の組み合わせによって、実績データを様々な切り口で見直すことができるようにしておき、実績データに対するライフサイクルパラメータに最も近いライフサイクルパラメータを有する実績データを検索することが記載されている。   Patent Document 1 describes that optimum demand prediction is realized from an OLAP system. That is, the sales performance data is made up of the OLAP database structure, and the performance data can be reviewed from various viewpoints by the combination of each layer and each sales period packet, and is closest to the life cycle parameter for the performance data. Searching for performance data having life cycle parameters is described.

特開2008−21020号公報JP 2008-21020 A

特許文献1は、OLAPシステムから最適な需要予測を実現することが記載されている。しかし、欠損値を補って、OLAPシステムの本来機能である現状の把握を分析するシステムではない。また、既存値を予測値に置き換え、更に複数の予測値候補を保持して管理するシステムではない。   Patent Document 1 describes that optimum demand prediction is realized from an OLAP system. However, it is not a system that compensates for missing values and analyzes the grasp of the current state that is the original function of the OLAP system. Further, the system is not a system that replaces an existing value with a predicted value and holds and manages a plurality of predicted value candidates.

従来は、OLAP分析におけるOLAPキューブの欠損値を補うシステムは存在していない。従来は、OLAPキューブの欠損値を補うには、欠損値を補う予測値を用意して、その予測値をOLAPキューブの元となるデータマートに直接挿入していた。このため、予測値が複数ある場合、データマートは予測値毎に準備しなければならず、予測値以外の値(メジャー)は多重管理しなければならないという課題があった。   Conventionally, there is no system that compensates for missing values of OLAP cubes in OLAP analysis. Conventionally, in order to compensate for the missing value of the OLAP cube, a predicted value that compensates for the missing value is prepared, and the predicted value is directly inserted into the original data mart of the OLAP cube. For this reason, when there are a plurality of predicted values, the data mart must be prepared for each predicted value, and a value (major) other than the predicted value has to be managed in a multiple manner.

同様に、既存値に予測値を置き換える方法も存在せず、上記欠損値を補うシステムと同様に存在しない。   Similarly, there is no method for replacing the predicted value with the existing value, and there is no method similar to the system for compensating for the missing value.

更に、複数の予測方法から得られた予測値のうち、どの予測値が最適かは、現在のシステムでは人が憶えておかなければならず、システム的に管理されてはいない。よって、最適な予測値を変更する場合、再度人手を介して、データマートからキューブを作成して、最適な予測値を探して、それを再度人が憶えておかなければならない、という課題があった。   Furthermore, it is necessary for a current system to remember which prediction value is optimal among prediction values obtained from a plurality of prediction methods, and is not managed systematically. Therefore, when changing the optimal prediction value, there is a problem that a cube must be created manually from the data mart again, the optimal prediction value must be found, and the person must remember it again. It was.

本発明の目的は、最適な予測値を有する予測方法をシステム的に管理して、最適な予測値を人が憶えておくことのない予測値評価支援システムを提供することにある。   An object of the present invention is to provide a prediction value evaluation support system that systematically manages a prediction method having an optimal prediction value so that a person does not remember the optimal prediction value.

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

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

(1) 本発明の予測値評価支援システムは、元データを記憶する元データテーブルと、前記元データに基づき、予測方法を示す予測値ステータス番号のフィールドを有するデータマートからなるデータマートテーブルを作成するデータマートテーブル作成部と、前記予測方法を示す前記予測値ステータス番号及び前記データマートテーブルに記憶された前記データマートに基づき、予測して、予測値レコードを作成する予測値レコード作成部と、前記予測値レコードを前記データマートテーブルに挿入し、前記予測値レコードの前記予測値ステータス番号のフィールドに、前記予測方法に該当する予測値ステータス番号を設定する予測値レコード挿入部と、前記予測値レコードに基づいて、前記予測方法毎に、OLAPキューブを作成する評価用OLAPキューブ作成処理部と、前記予測方法毎の評価用OLAPキューブに基づいて、最適な予測方法によるOLAPキューブを判断する本稼働OLAPキューブ作成処理部とを具備したことを特徴とする予測値評価支援システムである。   (1) The predicted value evaluation support system of the present invention creates a data mart table including an original data table storing original data and a data mart having a predicted value status number field indicating a prediction method based on the original data. A data mart table creating unit that performs prediction based on the predicted value status number indicating the prediction method and the data mart stored in the data mart table, and a predicted value record creating unit that creates a predicted value record; A prediction value record insertion unit that inserts the prediction value record into the data mart table, and sets a prediction value status number corresponding to the prediction method in a field of the prediction value status number of the prediction value record; Create an OLAP cube for each prediction method based on records Predictive value characterized by comprising a value OLAP cube creation processing unit and a production OLAP cube creation processing unit for judging an OLAP cube by an optimal prediction method based on the evaluation OLAP cube for each prediction method Evaluation support system.

(2) 本発明の予測値評価支援方法は、元データを記憶する元データテーブルに記憶された前記元データに基づき、データマートテーブル作成部により、予測方法を示す予測値ステータス番号のフィールドを有するデータマートからなるデータマートテーブルを作成するステップを実行し、予測値レコード作成部により、前記予測方法を示す前記予測値ステータス番号及び前記データマートテーブルに記憶された前記データマートに基づき、予測して、予測値レコードを作成するステップを実行し、予測値レコード挿入部により、前記予測値レコードを前記データマートテーブルに挿入し、前記予測値レコードの前記予測値ステータス番号のフィールドに前記予測方法に該当する予測値ステータス番号を設定するステップを実行し、評価用OLAPキューブ作成処理部により、前記予測値レコードに基づいて、予測方法毎に、OLAPキューブを作成するステップを実行し、本稼働OLAPキューブ作成処理部により、前記予測方法毎のOLAPキューブに基づいて、最適な予測方法により、OLAPキューブを判断するステップを実行することを特徴とする予測値評価支援方法である。   (2) The predicted value evaluation support method of the present invention has a predicted value status number field indicating a predicted method by a data mart table creation unit based on the original data stored in the original data table storing the original data. Executing a step of creating a data mart table comprising a data mart, and predicting based on the predicted value status number indicating the prediction method and the data mart stored in the data mart table by a predicted value record creating unit; The predicted value record is inserted into the data mart table by the predicted value record insertion unit, and the predicted value status number field of the predicted value record corresponds to the predicted method. Execute the step to set the predicted value status number to be used for evaluation A step of creating an OLAP cube for each prediction method based on the prediction value record is performed by the LAP cube creation processing unit, and a production OLAP cube creation processing unit is performed based on the OLAP cube for each prediction method. The prediction value evaluation support method is characterized by executing a step of judging an OLAP cube by an optimal prediction method.

(3) 本発明の予測値評価支援プログラムは、集計された元データを記憶する元データテーブルを有するコンピュータを、前記元データに基づき、予測方法を示す予測値ステータス番号のフィールドを有するデータマートから成るデータマートテーブルを作成するデータマートテーブル作成部と、前記予測方法を示す前記予測値ステータス番号及び前記データマートテーブルに記憶されたデータマートに基づき、予測して、予測値レコードを作成する予測値レコード作成部と、前記予測値レコードを前記データマートテーブルに挿入し、前記予測値レコードの前記予測値ステータス番号のフィールドに前記予測方法に該当する予測値ステータス番号を設定する予測値レコード挿入部と、前記予測値レコードに基づいて、予測方法毎に、OLAPキューブを作成する評価用OLAPキューブ作成処理部と、前記予測方法毎の評価用OLAPキューブに基づいて、最適な予測方法により、OLAPを判断する本稼働OLAPキューブ作成処理部として、機能させることを特徴とする予測値評価支援プログラムである。   (3) The predicted value evaluation support program of the present invention uses a computer having an original data table for storing aggregated original data from a data mart having a predicted value status number field indicating a prediction method based on the original data. A data mart table creation unit that creates a data mart table, and a prediction value that predicts and creates a prediction value record based on the prediction value status number indicating the prediction method and a data mart stored in the data mart table A record creation unit; a prediction value record insertion unit that inserts the prediction value record into the data mart table; and sets a prediction value status number corresponding to the prediction method in the field of the prediction value status number of the prediction value record; , OL for each prediction method based on the prediction value record Based on the evaluation OLAP cube creation processing unit for creating a P-cube and the evaluation OLAP cube for each prediction method, it is allowed to function as a production OLAP cube creation processing unit for judging OLAP by an optimal prediction method. This is a characteristic predictive value evaluation support program.

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

本発明は、予測値毎に、データマートテーブルを作成するので、データの多重管理を避けることが解決可能となる。また、従来のシステムでは複数の予測値のうち、どの予測値が最適かを人が憶えていなければならなかったが、本発明ではデータマートに採用フラグを設定するので、システムに記憶させることを可能としている。   Since the present invention creates a data mart table for each predicted value, it is possible to avoid the multiple management of data. In addition, in the conventional system, a person had to remember which one of the plurality of predicted values is optimal, but in the present invention, since the adoption flag is set in the data mart, it is possible to store in the system. It is possible.

本発明では、各データマートの項目にステータス、ID、採用フラグを設けているので、ステータスに設定された予測方法に基づいて、予測方法毎に、予測することができて、予測値を評価して、最適な予測値とすることができる。   In the present invention, since the status, ID, and adoption flag are provided for each data mart item, it can be predicted for each prediction method based on the prediction method set in the status, and the predicted value is evaluated. Thus, the optimum predicted value can be obtained.

本発明の実施形態に係る予測値評価支援システムの全体構成図である。1 is an overall configuration diagram of a predicted value evaluation support system according to an embodiment of the present invention. 図1中の元データテーブルを示す図である。It is a figure which shows the original data table in FIG. 図2中の元データテーブル(値)の例を示す図である。It is a figure which shows the example of the original data table (value) in FIG. 図1中のデータマートテーブルを示す図である。It is a figure which shows the data mart table in FIG. 図4中のデータマートテーブル(値)の例を示す図である。It is a figure which shows the example of the data mart table (value) in FIG. 図1中の採用フラグマスタを示す図である。It is a figure which shows the employment flag master in FIG. 図6中の採用フラグマスタ(値)の例を示す図である。It is a figure which shows the example of the employment flag master (value) in FIG. 図1中の予測値ステータスマスタを示す図である。It is a figure which shows the predicted value status master in FIG. 図8中の予測値ステータスマスタ(値)の例を示す図である。It is a figure which shows the example of the predicted value status master (value) in FIG. 図1に示す予測値評価支援システムの全体処理の一例を示すフローチャートである。It is a flowchart which shows an example of the whole process of the predicted value evaluation assistance system shown in FIG. 図10中の元データをデータマートテーブルに挿入する処理を示すフローチャートである。It is a flowchart which shows the process which inserts the original data in FIG. 10 in a data mart table. 図10中のデータマートテーブルの各レコードにユニークなIDを付与する処理を示す図である。It is a figure which shows the process which provides unique ID to each record of the data mart table in FIG. 図10中のデータマートテーブルの全レコードにデフォルト値として、採用フラグ(adopt_status=1)を付与する処理である。This is a process of assigning an adoption flag (adopt_status = 1) as a default value to all records in the data mart table in FIG. 図10中のデータマートテーブルの全レコードにデフォルト値として、予測値ステータスが元データである(status=0)ステータスを付与する処理を示すフローチャートである。11 is a flowchart showing a process for assigning a status where a predicted value status is original data (status = 0) to all records of the data mart table in FIG. 10 as default values. 図10中のデータマートテーブルの全レコードにデフォルト値として、org_ID=IDを付与する処理を示す図である。It is a figure which shows the process which provides org_ID = ID as a default value to all the records of the data mart table in FIG. 図10中の予測値をデータマートテーブルに挿入する処理を示す図である。It is a figure which shows the process which inserts the predicted value in FIG. 10 into a data mart table. 図10中の予測値ステータス毎にキューブを作成する処理を示す図である。It is a figure which shows the process which produces a cube for every prediction value status in FIG. 図10中の各キューブをOLAPツールで評価して、最も良い予測値ステータスのキューブを選択する作業を示す図である。It is a figure which shows the operation | work which evaluates each cube in FIG. 10 with the OLAP tool, and selects the cube of the best predicted value status. 図10中の選択されたキューブの予測値ステータスのデータマートテーブル中のレコードに採用フラグ(adopt_status=1)を付与する処理を示す図である。It is a figure which shows the process which provides the employment | adoption flag (adopt_status = 1) to the record in the data mart table of the predicted value status of the selected cube in FIG. 図10中のデータマートテーブル中の採用フラグが1(adopt_status=1)のレコードを選択して、キューブを作成する処理を示す図である。FIG. 11 is a diagram showing a process of creating a cube by selecting a record whose adoption flag is 1 (adopt_status = 1) in the data mart table in FIG. 10.

以下、本発明の実施形態を図面に基づいて詳細に説明する。なお、実施形態を説明するために全図において、同一部材には原則として同一の符号を付し、その繰り返しの説明は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, in order to explain embodiment, the same code | symbol is attached | subjected to the same member in principle in all the figures, and the repeated description is abbreviate | omitted.

<予測値評価支援システムの構成>
図1は、本発明の実施形態による予測値評価支援システムの全体構成図を示す。図1に示すように、本発明の実施形態による予測値評価支援システムは、OLAPキューブテーブル作成端末8、元データテーブル10、データウェアハウス12、評価用OLAPキューブシステムサーバ30、評価用OLAPキューブ32、本稼働OLAPキューブシステムサーバ40、本稼働OLAPキューブ42及びOLAPキューブテーブル操作端末28を備える。
<Configuration of predicted value evaluation support system>
FIG. 1 is an overall configuration diagram of a predicted value evaluation support system according to an embodiment of the present invention. As shown in FIG. 1, the predicted value evaluation support system according to the embodiment of the present invention includes an OLAP cube table creation terminal 8, an original data table 10, a data warehouse 12, an evaluation OLAP cube system server 30, and an evaluation OLAP cube 32. The production OLAP cube system server 40, the production OLAP cube 42, and the OLAP cube table operation terminal 28 are provided.

元データテーブル10は、後述するように、例えば、OLAPキューブテーブル作成端末8を使用して、作成された店舗毎に売上高が記録されたテーブルである。   As will be described later, the original data table 10 is a table in which, for example, sales are recorded for each created store using the OLAP cube table creating terminal 8.

データウェアハウス12は、予測値評価支援装置14を備える。予測値評価支援装置14は、元データからデータマートの行からなるデータマートテーブル20を作成し、データマートのstatusフィールドが示す予測方法及びデータマートから予測値レコードを作成して、予測値レコードをデータマートテーブル20に挿入する。そして、予測方法及びデータマートテーブル20に格納されるテータマートに基づいて、予測方法毎に、OLAPキューブを作成して、予測方法毎のOLAPキューブからOLAPツールを用いて、最適な予測方法を判断する。   The data warehouse 12 includes a predicted value evaluation support device 14. The predicted value evaluation support device 14 creates a data mart table 20 including data mart rows from the original data, creates a predicted value record from the prediction method and data mart indicated by the status field of the data mart, and creates a predicted value record. Insert into the data mart table 20. Then, based on the prediction method and the data mart stored in the data mart table 20, an OLAP cube is created for each prediction method, and an optimal prediction method is determined from the OLAP cube for each prediction method using an OLAP tool. .

予測値評価支援装置14は、評価用OLAPキューブテーブル作成端末8、データマートテーブル作成部15、予測値ステータスマスタ16、予測値レコード作成部17、採用フラグマスタ18、予測値レコード挿入部19、データマートテーブル20、評価用OLAPキューブ作成処理部22、本稼働OLAPキューブ作成処理部24及びOLAPキューブテーブル操作端末28を備える。   The predicted value evaluation support device 14 includes an evaluation OLAP cube table creation terminal 8, a data mart table creation unit 15, a predicted value status master 16, a predicted value record creation unit 17, an adoption flag master 18, a predicted value record insertion unit 19, and data. A mart table 20, an evaluation OLAP cube creation processing unit 22, a production OLAP cube creation processing unit 24, and an OLAP cube table operation terminal 28 are provided.

データマートテーブル作成部15は、後述する元データからデータマートに変換して、データマートテーブル20を作成する。OLAPキューブテーブル作成端末8は、パーソナルコンピュータやPOS端末等から構成される。データ分析者は、OLAPキューブテーブル作成端末8を使用し、データウェアハウス12の中にある予測値評価支援装置14に、元データから、分析可能なデータマートテーブル20を作成する。   The data mart table creation unit 15 converts the original data, which will be described later, into a data mart, and creates the data mart table 20. The OLAP cube table creation terminal 8 includes a personal computer, a POS terminal, and the like. The data analyst uses the OLAP cube table creation terminal 8 to create a data mart table 20 that can be analyzed from the original data in the predicted value evaluation support device 14 in the data warehouse 12.

<元データテーブル10の構成>
図2は、図1中の元データデーブル10を示す図であり、図3は、元データテーブル10の値の例を示す図である。
<Configuration of the original data table 10>
FIG. 2 is a diagram showing the original data table 10 in FIG. 1, and FIG. 3 is a diagram showing an example of values in the original data table 10.

元データテーブル10は、例えば、OLAPキューブテーブル作成端末8を使用して、作成された店舗毎に売上高が記録されたテーブルである。元データテーブル10は、図2に示すように、Shop type(店舗タイプ)、Prefect(都道府県)、City(市区町村)、Address(住所)、Date(年月日)、Time(時間帯)、Shop name(店舗名)、Sales volume(売上金額)等の項目で構成される。   The original data table 10 is a table in which sales are recorded for each store created using the OLAP cube table creation terminal 8, for example. As shown in FIG. 2, the original data table 10 includes a Shop type (store type), a Prefect (prefecture), a City (city), an Address (address), a Date (date), and a Time (time zone). , Shop name (store name), Sales volume (sales amount), and the like.

図3に示すように、Shop typeは、フランチャイズ(FC)や直営等の店舗の種類等が格納される。Prefect及びCityは、店舗が存在する都道府県、市区町村が格納される。Addressは、店舗が存在する住所、Dateは、売上金額が集計された時間帯が格納される。例えば、時間帯として、1時間帯が指定されていれば、1時の時間において、集計された売上金額である。   As shown in FIG. 3, Shop type stores the type of store such as a franchise (FC) or directly managed store. Prefect and City store the prefecture and city where the store is located. “Address” stores the address where the store exists, and “Date” stores the time zone in which the sales amount is tabulated. For example, if a time zone is designated as the time zone, the sales amount is tabulated at one hour.

<データマートテーブル20の構成>
図4は、図1中のデータマートテーブル20を示す図であり、図5は、データマートテーブル20の値の例を示す図である。
<Configuration of Data Mart Table 20>
FIG. 4 is a diagram illustrating the data mart table 20 in FIG. 1, and FIG. 5 is a diagram illustrating an example of values in the data mart table 20.

データマートテーブル20は、元データテーブル10に基づいて、変換されたテーブルで有り、Id(項番)、Shop type(店舗タイプ)、Prefect(都道府県)、City(市区町村)、Address(住所)、Date(年月日)、Time(時間帯)、Shop name(店舗名)、Sales volume(売上金額)、status(予測方法)、org_ID(元ID)、adopt_status(採用ステータス)のフィールドから成る。   The data mart table 20 is a table converted based on the original data table 10, and includes Id (item number), Shop type (store type), Prefect (prefecture), City (city), Address (address). ), Date (date), Time (time zone), Shop name (store name), Sales volume (sales amount), status (prediction method), org_ID (former ID), adopt_status (adopting status) .

Id(項番)は、各データマートレコードに対して、データマートテーブル20内で付与される一意的な識別子である。Status(予測方法)は、売上金額などを予測する方法を示す識別子である。org_ID(元ID)は、当該データマートレコードが元データの場合、IDと同じ値が格納され、予測値の場合、予測した項番が格納される。   Id (item number) is a unique identifier assigned in the data mart table 20 to each data mart record. Status (prediction method) is an identifier indicating a method for predicting the sales amount. org_ID (original ID) stores the same value as the ID when the data mart record is the original data, and stores the predicted item number when it is the predicted value.

例えば、図5に示すように、ID=1のデータマートについて、status=0であるので、元データであり、ID=5のデータマートについて、status=1であるので、店舗タイプ平均であることを示す。   For example, as shown in FIG. 5, for the data mart with ID = 1, since status = 0, it is the original data, and for the data mart with ID = 5, since status = 1, it is the store type average. Indicates.

データ分析者は、上述したデータマートテーブル20、後述する予測値ステータスマスタ16、及び後述する採用フラグマスタ18から、評価用OLAPキューブ作成処理部22を利用して処理して、評価用OLAPキューブシステムサーバ30上に予測値ステータス毎の評価用OLAPキューブ32を作成する。   The data analyst performs processing using the evaluation OLAP cube creation processing unit 22 from the data mart table 20 described above, the predicted value status master 16 described later, and the adoption flag master 18 described later, and then uses the evaluation OLAP cube system. An OLAP cube 32 for evaluation for each predicted value status is created on the server 30.

<予測値ステータスマスタ16の構成>
図6は、図1中の予測値ステータスマスタ16の構成を示す図であり、図7は、図1中の予測値ステータスマスタ16の値の例を示す図である。図6,7に示すように、予測値ステータスレコードは、SID(ステータス管理番号)、status(予測方法に附番する番号)、Prediction method(予測方法)が格納される。
<Configuration of Predicted Value Status Master 16>
6 is a diagram showing a configuration of the predicted value status master 16 in FIG. 1, and FIG. 7 is a diagram showing an example of values of the predicted value status master 16 in FIG. As shown in FIGS. 6 and 7, the predicted value status record stores SID (status management number), status (number assigned to the prediction method), and Prediction method (prediction method).

SIDは、予測値ステータスマスタ16内でユニークに付与される識別子である。statusは、予測方法に附番する番号が格納される。Prediction methodは、予測方法、例えば、元データ、店舗タイプ平均、地域タイプ平均、店舗セグネンテーション方法1による平均及び店舗セグネンテーション方法2による平均などが格納される。   The SID is an identifier uniquely given in the predicted value status master 16. In status, a number assigned to the prediction method is stored. The prediction method stores a prediction method, for example, original data, store type average, region type average, store segmentation method 1 average, store segmentation method 2 average, and the like.

<採用フラグマスタ18の構成>
図8は、図1中の採用フラグマスタ18の構成を示す図であり、図9は、採用フラグマスタ18の値の例を示す図である。図8,9に示すように、採用フラグレコードには、adopt_Id(採用フラグ番号)、adopt_status(採用ステータス)及びadopt_name(採用ステータス名)が格納される。
<Configuration of Employment Flag Master 18>
8 is a diagram showing a configuration of the adoption flag master 18 in FIG. 1, and FIG. 9 is a diagram showing an example of values of the adoption flag master 18. In FIG. As shown in FIGS. 8 and 9, adopt_Id (adopting flag number), adopt_status (adopting status), and adopt_name (adopting status name) are stored in the adopting flag record.

データ分析者は、OLAPキューブテーブル操作端末28に記憶されたOLAPツールを用いて、予測値毎の評価用OLAPキューブ32を操作して、最適な値が含まれる評価用OLAPキューブ32を選択する。選択された予測値は、予測値評価支援装置14によって、採用フラグマスタ18の採用フラグに採用であることを意味する値を挿入し、不採用の値は、データマートテーブル20中の不採用フラグに不採用であることを意味する値を挿入する。   The data analyst operates the evaluation OLAP cube 32 for each predicted value using the OLAP tool stored in the OLAP cube table operation terminal 28, and selects the evaluation OLAP cube 32 including the optimum value. The selected predicted value is inserted by the predicted value evaluation support apparatus 14 into the hiring flag of the hiring flag master 18 so as to indicate that the hiring flag is hired. Insert a value that means not adopted in.

<評価用OLAPキューブ作成処理>
OLAPキューブテーブル作成端末8は、評価用OLAPキューブ作成処理部22を用いて、予測方法毎に、評価用OLAPキューブを作成する。
<Evaluation OLAP cube creation process>
The OLAP cube table creation terminal 8 creates an evaluation OLAP cube for each prediction method using the evaluation OLAP cube creation processing unit 22.

評価用OLAPキューブ作成処理部22は、予測方法毎に、評価用OLAPキューブシステムサーバ30上に評価用OLAPキューブ32を作成する。   The evaluation OLAP cube creation processing unit 22 creates an evaluation OLAP cube 32 on the evaluation OLAP cube system server 30 for each prediction method.

<本稼働OLAPキューブ作成処理>
本稼働OLAPキューブ作成処理部24は、採用フラグマスタ18を参照して、採用フラグのある列を選択して、本稼働OLAPキューブシステムサーバ40上に本稼働OLAPキューブ42を作成する。データ分析者は、OLAPキューブテーブル操作端末28で本稼働OLAPキューブ42を操作して、分析する。
<Production OLAP cube creation process>
The production OLAP cube creation processing unit 24 refers to the adoption flag master 18 and selects a column with the adoption flag, and creates a production OLAP cube 42 on the production OLAP cube system server 40. The data analyst operates and analyzes the production OLAP cube 42 with the OLAP cube table operation terminal 28.

<予測値評価支援装置の全体処理>
図10は、図1中の予測値評価支援装置14の全体処理を示すフローチャートであり、フローチャートに示す処理は、予測値評価支援プログラムをコンピュータ上で動作することにより実現される。全体フローチャートとしては、ステップS2からステップS14に示す評価用キューブ作成部分及びステップS16からステップS20で示す本稼働キューブ作成部分に分かれる。
<Whole process of predicted value evaluation support device>
FIG. 10 is a flowchart showing the overall processing of the predicted value evaluation support apparatus 14 in FIG. 1, and the processing shown in the flowchart is realized by operating a predicted value evaluation support program on a computer. The overall flowchart is divided into an evaluation cube creation part shown in steps S2 to S14 and a production cube creation part shown in steps S16 to S20.

評価用キューブ作成部分では、ステップS2で、データウェアハウス12のシステムが元データをデータマートデーブル20に挿入する。予測値評価支援装置14は、ステップS4で、データマートデーブル20の各レコードに、ユニークなIDを付与する。予測値評価支援装置14は、ステップS6で、データマートテーブル20の全レコードの採用フラグの項目に、デフォルト値として、採用フラグadopt_status=1を付与する。   In the evaluation cube creation part, the system of the data warehouse 12 inserts the original data into the data mart table 20 in step S2. The predicted value evaluation support apparatus 14 assigns a unique ID to each record of the data mart table 20 in step S4. In step S <b> 6, the predicted value evaluation support apparatus 14 assigns the adoption flag adopt_status = 1 as a default value to the items of the adoption flag of all records in the data mart table 20.

予測値評価支援装置14は、ステップS8で、データマートテーブル20の全レコードにデフォルト値として、org_ID=IDを付与する。その後、ステップS10で、データマートテーブル20の全レコードにデフォルト値として、予測値ステータスが、元データであるstatus=0を付与し、ステップS12で、予測値をデータマートテーブル20に挿入する。そして、ステップS14で、予測値ステータス毎にOLAPキューブ32を作成する。   The predicted value evaluation support apparatus 14 assigns org_ID = ID as a default value to all records in the data mart table 20 in step S8. Then, in step S10, the predicted value status is assigned with status = 0, which is the original data, as a default value for all records in the data mart table 20, and the predicted value is inserted into the data mart table 20 in step S12. In step S14, an OLAP cube 32 is created for each predicted value status.

「本稼働キューブ作成」部分では、ステップS16で、上記の予測値ステータス毎の各キューブをOLAPツールで評価して、最も良い予測値ステータスのキューブを選択(人が目視で確認)して、データ分析者が最適な予測値を選択する。   In the “production cube creation” part, in step S 16, each cube for each predicted value status is evaluated by the OLAP tool, and the cube having the best predicted value status is selected (manually confirmed), and the data is The analyst selects the best predicted value.

予測値評価支援装置14は、ステップS18で、選択されたキューブの予測値ステータスのデータマートテーブル20中のレコードに、採用フラグadopt_status=1を付与する。そして、ステップS20で、本稼働OLAPキューブ作成処理部24は、データマートテーブル中の採用フラグが1(adopt_status=1)のレコードを選択して、本稼働OLAPキューブ42を作成する。そして、データ分析者は、本発明の目的である最適な予測値が挿入された本稼働OLAPキューブ42で分析を実行できる。   In step S18, the predicted value evaluation support apparatus 14 assigns the adoption flag adopt_status = 1 to the record in the data mart table 20 of the predicted value status of the selected cube. In step S20, the production OLAP cube creation processing unit 24 selects a record whose adoption flag is 1 (adopt_status = 1) in the data mart table, and creates a production OLAP cube 42. Then, the data analyst can perform analysis with the production OLAP cube 42 in which the optimum predicted value, which is the object of the present invention, is inserted.

図11は、図10中の元データをデータマートデーブルに挿入する処理フローを記す。データウェアハウス12のシステムは、ステップS50で、図1で示した元データをロードする。ステップS51で、予測値評価支援装置14は、ロードされた元データの行を示すnに1を代入する。予測値評価支援装置14は、ステップS52で、図1で示したデータマートテーブル20に挿入する。   FIG. 11 shows a processing flow for inserting the original data in FIG. 10 into the data mart table. In step S50, the system of the data warehouse 12 loads the original data shown in FIG. In step S51, the predicted value evaluation support apparatus 14 substitutes 1 for n indicating the row of the loaded original data. The predicted value evaluation support apparatus 14 inserts into the data mart table 20 shown in FIG. 1 in step S52.

元データテーブル10、及びデータマートテーブル20のテーブル構造及び値の例を図2、図3、図4及び図5に示す。ステップS54で、データウェアハウス12のシステムは、nが元データテーブル10のレコード数に達したか否かを判断する。達していなければ、nをインクリメントして、ステップS52に戻り、達した時点で処理を終了する。   Examples of table structures and values of the original data table 10 and the data mart table 20 are shown in FIG. 2, FIG. 3, FIG. 4, and FIG. In step S54, the system of the data warehouse 12 determines whether n has reached the number of records in the original data table 10. If not reached, n is incremented, the process returns to step S52, and the process is terminated when it is reached.

図12は、図10中のデータマートデーブルの各レコードにユニークなIDを付与する処理フローを記す。予測値評価支援装置14は、ステップS100で、図1で示したデータマートテーブル20をロードする。予測値評価支援装置14は、ステップS101で、ロードされた元データの行を示すnに1を代入する。   FIG. 12 shows a processing flow for assigning a unique ID to each record of the data mart table in FIG. The predicted value evaluation support apparatus 14 loads the data mart table 20 shown in FIG. 1 in step S100. In step S101, the predicted value evaluation support apparatus 14 substitutes 1 for n indicating the row of the loaded original data.

予測値評価支援装置14は、ステップS102で、データマートテーブル20のn行目のIDフィールドにユニークな値を挿入する。予測値評価支援装置14は、ステップS104で、全てのnがデータマートテーブル20のレコード数に達したか否かを判定し、達していなければ、nをインクリメントして、ステップS102に戻り、達した時点で処理を終了する。   The predicted value evaluation support apparatus 14 inserts a unique value in the ID field of the nth row of the data mart table 20 in step S102. In step S104, the predicted value evaluation support apparatus 14 determines whether all n have reached the number of records in the data mart table 20, and if not, increments n and returns to step S102. The process is terminated at that point.

図13は、図10中のデータマートテーブル20の全レコードにデフォルト値として「採用フラグ(adopt_status=1)を付与する処理フローを記す。予測値評価支援装置14は、ステップS150で、図1中のデータマートテーブル20をロードする。予測値評価支援装置14は、ステップS151で、ロードされたデータマートテーブル20の行を示すnに1を代入する。   FIG. 13 shows a processing flow for assigning “adoption flag (adopt_status = 1) as a default value to all records of the data mart table 20 in FIG. 10. The predicted value evaluation support apparatus 14 in FIG. The predicted value evaluation support apparatus 14 substitutes 1 for n indicating the row of the loaded data mart table 20 in step S151.

予測値評価支援装置14は、ステップS152で、データマートテーブルのID行目のadopt_statusフィールドに1を挿入する。予測値評価支援装置14は、ステップS152で、adopt_statusを図8中の採用フラグマスタ18のadopt_statusフィールドから選択して挿入する。   In step S152, the predicted value evaluation support apparatus 14 inserts 1 in the adopt_status field of the ID row of the data mart table. In step S152, the predicted value evaluation support apparatus 14 selects and inserts adopt_status from the adopt_status field of the adoption flag master 18 in FIG.

図13のフローチャートは、初期化であるので、予測値評価支援装置14は、ステップS152で、採用フラグマスタ18(値)の例に従って、1(採用)であることを示すステータス値をデータマートテーブル20のadopt_statusフィールドに挿入する。予測値評価支援装置14は、ステップS154で、全てのIDがデータマートテーブル20のレコード数に達したか否かを判定する。達していなければ、IDをインクリメントして、ステップS152に戻り、達した時点で処理を終了する。   Since the flowchart of FIG. 13 is initialization, the predicted value evaluation support apparatus 14 sets the status value indicating 1 (adopted) in the data mart table in step S152 according to the example of the adopted flag master 18 (value). Insert into 20 adopt_status fields. The predicted value evaluation support apparatus 14 determines whether or not all IDs have reached the number of records in the data mart table 20 in step S154. If not reached, the ID is incremented, and the process returns to step S152.

図14は、図10中のデータマートテーブルの全レコードのstatusの項目値として、デフォルト値、即ち、予測値ステータスが元データである(status=0)を付与する処理フローを記す。予測値評価支援装置14は、ステップS200で、データマートテーブル20をロードする。予測値評価支援装置14は、ステップS201で、ロードされたデータマートテーブル20の行を示すIDに1を代入する。   FIG. 14 shows a processing flow in which a default value, that is, the predicted value status is the original data (status = 0) as the status item value of all the records in the data mart table in FIG. The predicted value evaluation support apparatus 14 loads the data mart table 20 in step S200. The predicted value evaluation support apparatus 14 substitutes 1 for the ID indicating the row of the loaded data mart table 20 in step S201.

予測値評価支援装置14は、ステップS202で、データマートテーブルのID行目のstatusフィールドに0を挿入する。予測値評価支援装置14は、ステップS204で、全てのIDがデータマートテーブル20のレコード数に達したか否かを判定する。達していなければ、IDをインクリメントして、ステップS202に戻る。   In step S202, the predicted value evaluation support apparatus 14 inserts 0 in the status field of the ID row of the data mart table. The predicted value evaluation support apparatus 14 determines whether all IDs have reached the number of records in the data mart table 20 in step S204. If not, the ID is incremented and the process returns to step S202.

図15は、図10中のデータマートテーブル20の全レコードにデフォルト値として、org_IDを付与する処理フローを記す。予測値評価支援装置14は、ステップS250で、図1中のデータマートテーブル20をロードする。   FIG. 15 shows a processing flow for assigning org_ID as a default value to all records in the data mart table 20 in FIG. The predicted value evaluation support apparatus 14 loads the data mart table 20 in FIG. 1 in step S250.

予測値評価支援装置14は、ステップS251で、データマートテーブル20の行IDに1を代入する。予測値評価支援装置14は、ステップS252で、データマートテーブル20のID行目のorg_IDフィールドにIDと同じ値を挿入する。   The predicted value evaluation support apparatus 14 substitutes 1 for the row ID of the data mart table 20 in step S251. The predicted value evaluation support apparatus 14 inserts the same value as the ID in the org_ID field of the ID row of the data mart table 20 in step S252.

予測値評価支援装置14は、ステップS254で、全てのIDがデータマートテーブル20のレコード数に達したか否かを判定する。達していなければ、IDをインクリメントして、ステップS252に戻り、達した時点で処理を終了する。   The predicted value evaluation support apparatus 14 determines whether or not all IDs have reached the number of records in the data mart table 20 in step S254. If not reached, the ID is incremented, and the process returns to step S252.

図16は、図10中の予測値をデータマートテーブル20に挿入する処理フローを記す。予測値評価支援装置14は、ステップS300で、全ての予測値をロードする。ここで、予測値は、自動的又はデータ分析者による操作により、データマートテーブル20中のデータマートに基づいて、データマートに格納されたstatusが示す予測方法に従って、予測されたものである。予測値レコードは、データマートと同じフィールドを有している。   FIG. 16 shows a processing flow for inserting the predicted value in FIG. 10 into the data mart table 20. The predicted value evaluation support apparatus 14 loads all predicted values in step S300. Here, the predicted value is predicted according to the prediction method indicated by the status stored in the data mart based on the data mart in the data mart table 20 automatically or by an operation by a data analyst. The predicted value record has the same fields as the data mart.

予測値評価支援装置14は、ステップS301で、予測値のレコードの行を示すLに1を代入する。予測値評価支援装置14は、ステップS302で、データマートテーブル20の中で予測値を挿入する行のIDを取得して、元IDとして記憶する。   In step S301, the predicted value evaluation support apparatus 14 substitutes 1 for L indicating the record row of the predicted value. In step S302, the predicted value evaluation support apparatus 14 acquires the ID of the row in which the predicted value is inserted in the data mart table 20, and stores it as the original ID.

予測値評価支援装置14は、ステップS304で、データマートテーブル20に予測値レコードを挿入する。   The predicted value evaluation support apparatus 14 inserts a predicted value record into the data mart table 20 in step S304.

予測値評価支援装置14は、ステップS306で、図7に示す予測値ステータスマスタ(値)16の例に従って、予測値を示すステータス値をデータマートテーブル20のstatusフィールドに挿入する。   In step S306, the predicted value evaluation support apparatus 14 inserts a status value indicating a predicted value into the status field of the data mart table 20 in accordance with the example of the predicted value status master (value) 16 shown in FIG.

予測値評価支援装置14は、ステップS308で、データマートテーブル20に挿入した予測値レコードのorg_IDに記憶しておいた、元IDの値を挿入する。これで、予測値評価支援装置14は、欠損値及び予測値を当てはめたい既存値のある元データの項目に「予測値」を当てはめたことになる。   The predicted value evaluation support apparatus 14 inserts the value of the original ID stored in org_ID of the predicted value record inserted in the data mart table 20 in step S308. Thus, the predicted value evaluation support apparatus 14 applies the “predicted value” to the item of the original data having the existing value to which the missing value and the predicted value are to be applied.

この時点では、予測値レコードをデータマートテーブル20に挿入したに過ぎず、予測方法を評価しておらず、まだ、予測値が最適な値であるかは判断がつかないので、予測値評価支援装置14は、ステップS310で、データマートテーブル20に挿入した予測値レコードのadopt_statusに0(不採用フラグ)を挿入する。   At this point, the prediction value record is only inserted into the data mart table 20, the prediction method has not been evaluated, and it is not yet possible to determine whether the prediction value is the optimum value. In step S310, the device 14 inserts 0 (non-adopted flag) into adopt_status of the prediction value record inserted into the data mart table 20.

予測値評価支援装置14は、adopt_statusを図8に示す採用フラグマスタ18のadopt_statusフィールドから選択して挿入する。図16のフローチャートでは、上記の通り未だ不採用であるので、予測値評価支援装置14は、ステップS310で、図9に示す採用フラグマスタ(値)の例に従って、0(不採用)であることを示すステータス値をデータマートテーブル20のadopt_statusフィールドに挿入する。   The predicted value evaluation support apparatus 14 selects and inserts adopt_status from the adopt_status field of the adoption flag master 18 shown in FIG. In the flowchart of FIG. 16, the prediction value evaluation support apparatus 14 is 0 (not adopted) in step S310 according to the example of the adoption flag master (value) shown in FIG. Is inserted into the adopt_status field of the data mart table 20.

予測値評価支援装置14は、ステップS312で、予測値レコードセットを全て処理したか否かを判定する。予測値レコードセットを全て処理していなければ、Lをインクリメントして、ステップS302に戻り、全て処理した時点で処理を終了する。   In step S312, the predicted value evaluation support apparatus 14 determines whether or not all predicted value record sets have been processed. If all the predicted value record sets have not been processed, L is incremented, the process returns to step S302, and the process is terminated when all the predicted value record sets have been processed.

図17は、図10の予測値ステータス毎にキューブを作成する処理フローを記す。評価用OLAPキューブ作成処理部22は、ステップS350で、図1に示したデータマートテーブル20をロードする。ステップS351で、org_IDに1を代入する。ステップS352で、SIDに0を代入する。   FIG. 17 shows a processing flow for creating a cube for each predicted value status of FIG. The evaluation OLAP cube creation processing unit 22 loads the data mart table 20 shown in FIG. 1 in step S350. In step S351, 1 is substituted into org_ID. In step S352, 0 is substituted for SID.

評価用OLAPキューブ作成処理部22は、ステップS353で、データマートテーブル20のorg_IDのうち、データマートテーブル20中のstatus=予測値ステータスマスタ16中のstatusが存在するか否かを判定する。データマートテーブル20中のstatus=予測値ステータスマスタ16中のstatusが存在する場合、ステップS354で、該当するデータマートテーブル20のID行をキューブ番号がstatus番目の評価用OLAPキューブ32に挿入する。   In step S353, the evaluation OLAP cube creation processing unit 22 determines whether status in the data mart table 20 = status in the predicted value status master 16 among the org_IDs in the data mart table 20. If status in the data mart table 20 = status in the predicted value status master 16 exists, the ID row of the corresponding data mart table 20 is inserted into the evaluation OLAP cube 32 whose cube number is status in step S354.

データマートテーブル20中のstatus=予測値ステータスマスタ16のstatusが存在しない場合、ステップS356で、データマートテーブル20のstatus=0の列をキューブ番号がstatusの評価用OLAPキューブ32に挿入する。   If the status of the status = predicted value status master 16 in the data mart table 20 does not exist, the column of status = 0 of the data mart table 20 is inserted into the evaluation OLAP cube 32 whose cube number is status in step S356.

ここで、予測値ステータスマスタ16の構造及び値の例は、図6及び図7の通りである。評価用OLAPキューブ作成処理部22は、ステップS358で、全ての予測値ステータスマスタ16中のSIDを処理したか否かを判断し、全てのSIDを処理していなければ、SIDをインクリメントして、ステップS353に戻り、全てのSIDを処理したならば、ステップS360に進み、ステップS360で、全てのデータマートテーブル20のorg_IDを処理したか否かを判断して、全てのorg_IDについて、処理していなければ、org_IDをインクリメントして、ステップS352に戻り、全てのorg_IDに達した時点で処理を終了する。これにより、予測方法がorg_IDについて、評価用OLAPキューブ32が作成される。   Here, examples of the structure and values of the predicted value status master 16 are as shown in FIGS. In step S358, the evaluation OLAP cube creation processing unit 22 determines whether or not the SIDs in all the predicted value status masters 16 have been processed. If all the SIDs have not been processed, the SID is incremented. Returning to step S353, if all the SIDs have been processed, the process proceeds to step S360. In step S360, it is determined whether or not the org_IDs of all the data mart tables 20 have been processed, and all the org_IDs have been processed. If not, org_ID is incremented, the process returns to step S352, and the process ends when all org_IDs are reached. Thereby, the OLAP cube 32 for evaluation is created for the prediction method org_ID.

以上が、評価用キューブ作成部分の説明である。   The above is the description of the evaluation cube creation part.

次に、本稼働キューブ作成部分について、説明する。   Next, the production cube creation part will be described.

図18は、図10中の各キューブをOLAPツールで評価して、最も良い予測値ステータスのキューブを選択(人が目視で確認)する処理フローを記す。評価用OLAPキューブ32は、図9で示した通り、予測値ステータスマスタ16のstatus(もしくはステータス番号SID)で構成されている。データ分析者は、ステップS398で、SIDに0を代入する。ステップS400で、図1のOLAPキューブテーブル操作端末28を用いて、各statusもしくは、ステータス番号SIDの評価用OLAPキューブ32を下記方法で評価する。   FIG. 18 shows a processing flow in which each cube in FIG. 10 is evaluated by the OLAP tool and a cube having the best predicted value status is selected (a person visually confirms). The evaluation OLAP cube 32 is configured by the status (or status number SID) of the predicted value status master 16 as shown in FIG. The data analyst assigns 0 to the SID in step S398. In step S400, the OLAP cube 32 for evaluation of each status or status number SID is evaluated by the following method using the OLAP cube table operation terminal 28 of FIG.

(1) 該当するstatus(もしくはステータス番号[SID])の評価用OLAPキューブ32をOLAPツールで評価する。   (1) The OLAP cube 32 for evaluation of the corresponding status (or status number [SID]) is evaluated with the OLAP tool.

(2) データ分析者が目視して、前のステータス番号のキューブよりも現在のステータス番号のキューブの方が、評価が高いか、もしくは低いかを確認する。   (2) The data analyst visually checks whether the cube with the current status number is higher or lower than the cube with the previous status number.

(3) もし、前のステータス番号のキューブよりも現在のステータス番号のキューブの方が、評価が高ければ、現在のステータス番号を採用ステータスとする。   (3) If the cube with the current status number has a higher evaluation than the cube with the previous status number, the current status number is set as the adoption status.

データ分析者は、ステップS402で、全てのorg_IDについて、全ての予測値ステータスマスタ16中のSIDを処理したか否かを判定する。全ての予測値ステータスマスタ16のSIDを処理していなければ、SIDをインクリメントして、ステップS400に戻って、処理を繰り返す。   In step S402, the data analyst determines whether or not SIDs in all predicted value status masters 16 have been processed for all org_IDs. If the SIDs of all the predicted value status masters 16 are not processed, the SID is incremented, the process returns to step S400, and the process is repeated.

図19は、図10中の選択されたキューブの予測値ステータスのデータマートテーブル20中のレコードに採用フラグadopt_status=1を付与する処理フローを記す。予測値評価支援装置14は、ステップS450で、図10において評価された最適なステータスを採用番号=最も良い予測値であると選択されたキューブの予測値ステータスマスタ16中のstatusと設定する。   FIG. 19 shows a processing flow for assigning the adoption flag adopt_status = 1 to the record in the data mart table 20 of the predicted value status of the selected cube in FIG. In step S450, the predicted value evaluation support apparatus 14 sets the optimum status evaluated in FIG. 10 as “status” in the predicted value status master 16 of the cube selected as adoption number = best predicted value.

予測値評価支援装置14は、ステップS451で、org_IDに0を設定する。予測値評価支援装置14は、ステップS452で、予測値ステータスマスタ16中のstatus=0を設定する。予測値評価支援装置14は、ステップS453で、データマートテーブル20のorg_IDにおいて、データマートテーブル20中のstatus=採用番号であるか否かを判断する。予測評価支援装置14は、データマートテーブル20中のstatus=採用番号であれば、ステップS454で、データマートテーブル20のstatus=採用ステータスの列のadopt_statusを1にする。   The predicted value evaluation support apparatus 14 sets 0 to org_ID in step S451. The predicted value evaluation support apparatus 14 sets status = 0 in the predicted value status master 16 in step S452. In step S453, the predicted value evaluation support apparatus 14 determines whether or not “status” in the data mart table 20 is the adoption number in the org_ID of the data mart table 20. If status = adoption number in the data mart table 20, the prediction evaluation support apparatus 14 sets adopt_status in the status = adoption status column of the data mart table 20 to 1 in step S454.

予測値評価支援装置14は、ステップS455で、データマートテーブル20中のstatus=採用番号でないならば、データマートテーブル20のstatus=採用ステータスの列のadopt_statusを0にする。   In step S455, the predicted value evaluation support apparatus 14 sets adopt_status in the status = adoption status column of the data mart table 20 to 0 if status = adoption number in the data mart table 20 is not satisfied.

予測値評価支援装置14は、ステップS456で、全てのstatusを処理したか否かを判断し、全てのstatusを処理していなければ、statusをインクリメントして、ステップS453に戻り、全てのstatusを処理した時点で、ステップS458へ進む。   In step S456, the predicted value evaluation support apparatus 14 determines whether all the statuses have been processed. If all the statuses have not been processed, the predicted value evaluation support apparatus 14 increments the status, returns to step S453, and returns all the statuses. When the processing is completed, the process proceeds to step S458.

予測値評価支援装置14は、ステップS458で、全てのデータマートテーブル20のorg_IDを処理したか否かを判断して、未処理であれば、org_IDをインクリメントして、ステップS452に戻り、全てのorg_IDを処理した時点で処理を終了する。   The predicted value evaluation support apparatus 14 determines whether or not org_ID of all the data mart tables 20 has been processed in step S458, and if not processed, increments org_ID and returns to step S452, When the org_ID is processed, the process is terminated.

図20は、図10中のデータマートテーブル20中の採用フラグが1(adopt_status=1)のレコードを選択して、本稼働OLAPキューブテーブル42を作成する処理フローを記す。本稼働OLAPキューブ作成処理部24は、ステップS500で、図1中のデータマートテーブル20をロードする。   FIG. 20 shows a processing flow for selecting the record whose adoption flag is 1 (adopt_status = 1) in the data mart table 20 in FIG. 10 and creating the production OLAP cube table 42. The production OLAP cube creation processing unit 24 loads the data mart table 20 in FIG. 1 in step S500.

本稼働OLAPキューブ作成処理部24は、ステップS501で、IDに0に代入する。本稼働OLAPキューブ作成処理部24は、ステップS502で、データマートテーブル20のID行目がadopt_status=1であるか否かを判定する。adopt_status=1であれば、ステップS502に進む。adopt_status=1でなければ、ステップS506に進む。   The production OLAP cube creation processing unit 24 substitutes 0 for ID in step S501. In step S502, the production OLAP cube creation processing unit 24 determines whether the ID row of the data mart table 20 is adopt_status = 1. If adopt_status = 1, the process proceeds to step S502. If it is not adopt_status = 1, the process proceeds to step S506.

本稼働OLAPキューブ作成処理部24は、ステップS504で、データマートテーブル20のID行目がadopt_status=1ならば、本稼働OLAP用のOLAPキューブ42にデータマートテーブル20のID行を挿入する。   If the ID row of the data mart table 20 is adopt_status = 1 in step S504, the production OLAP cube creation processing unit 24 inserts the ID row of the data mart table 20 into the OLAP cube 42 for production OLAP.

本稼働OLAPキューブ作成処理部24は、ステップS506で、全てのIDがデータマートテーブル20のレコード数に達したか否かを判断し、レコード数に達していなければ、IDをインクリメントして、ステップS502に戻り、レコード数に達した時点で処理を終了する。   In step S506, the production OLAP cube creation processing unit 24 determines whether or not all IDs have reached the number of records in the data mart table 20, and if not, the ID is incremented. Returning to S502, the process ends when the number of records is reached.

以上説明した本実施形態による予測値評価支援システムは、予測値ステータス毎に、OLAPキューブを算出するので、最適な予測値をデータ分析者が判断できる。従って、自動販売機ビジネスにおいて、新旧や機器メーカの異なる自動販売機の売上データを収集して、管理するので、自動販売機全体の売上分析が可能である。   Since the predicted value evaluation support system according to the present embodiment described above calculates an OLAP cube for each predicted value status, the data analyst can determine an optimal predicted value. Accordingly, in the vending machine business, the sales data of the vending machines of different old and new machines and equipment manufacturers are collected and managed, so that it is possible to analyze the sales of the entire vending machine.

また、チェーン展開している小売業において、店舗ごとに異なる売上管理システムを採用している場合でも、売上管理システムに適用する予測方法により、予測及び評価が可能であり、チェーン全体の売上分析及び顧客分析が可能である。   In addition, even if the retail business that operates the chain employs a different sales management system for each store, it can be predicted and evaluated by the prediction method applied to the sales management system. Customer analysis is possible.

本発明は、元データからデータマートに変換し、予測方法毎に、データマートから予測値レコードを作成し、予測値を評価し、OLAPキューブを作成する予測値評価支援システムに適用可能である。   The present invention is applicable to a predicted value evaluation support system that converts original data into a data mart, creates a predicted value record from the data mart for each prediction method, evaluates the predicted value, and creates an OLAP cube.

8 OLAPキューブテーブル作成端末
10 元データテーブル
12 データウェアハウス
14 予測値評価支援装置
15 データマートテーブル作成部
16 予測値ステータスマスタ
17 予測値レコード作成部
18 採用フラグマスタ
19 予測値レコード挿入部
20 データマートテーブル
22 評価用OLAPキューブ作成処理部
24 本稼働OLAPキューブ作成処理部
28 OLAPキューブテーブル操作端末
30 評価用OLAPキューブシステムサーバ
32 評価用OLAPキューブ
40 本稼働OLAPキューブシステムサーバ
42 本稼働OLAPキューブ
8 OLAP cube table creation terminal 10 original data table 12 data warehouse 14 predicted value evaluation support device 15 data mart table creation unit 16 predicted value status master 17 predicted value record creation unit 18 adoption flag master 19 predicted value record insertion unit 20 data mart Table 22 Evaluation OLAP cube creation processing unit 24 Production OLAP cube creation processing unit 28 OLAP cube table operation terminal 30 Evaluation OLAP cube system server 32 Evaluation OLAP cube 40 Production OLAP cube system server 42 Production OLAP cube

Claims (1)

ユーザの操作に基づいてコンピュータでプログラムに基づいてOLAPデータ分析のための予測値評価支援のための情報処理を行う予測値評価支援システムであって、
集計された元データを記憶する元データテーブルと、
前記元データに基づき、予測対象フィールドに予測値を格納する際の予測方法を示す予測値ステータス番号を格納するための予測値ステータスフィールドと、前記元データのレコードのIDを格納するための元IDフィールドと、採用ステータスフィールドと、を含むデータマートからなるデータマートテーブルを作成するデータマートテーブル作成部と、
前記予測方法を示す前記予測値ステータス番号及び前記データマートテーブルに記憶された前記データマートに基づき、予測して、前記予測対象フィールドに前記予測値を設定し、前記予測値ステータスフィールドに前記予測方法に該当する前記予測値ステータス番号を設定し、前記元IDフィールドに前記元データのレコードのIDを設定した、予測値レコードを作成し、前記予測値レコードを前記データマートテーブルに挿入する、予測値レコード作成挿入部と、
前記予測値レコード作成挿入部により作成された、前記データマートテーブルの前記予測方法が異なる複数の各々の前記予測値レコードに基づいて、前記予測方法毎の複数の各々の評価用OLAPキューブを作成する評価用OLAPキューブ作成処理部と、
前記予測方法毎の前記複数の各々の評価用OLAPキューブに基づいて、OLAPツールを用いて、最適な予測方法による前記予測値レコードに基づいた評価用OLAPキューブを判断し、前記最適な予測方法による評価用OLAPキューブを本稼働OLAPキューブとして稼動させる本稼働OLAPキューブ作成処理部と、
を具備し
前記判断に基づいて、前記データマートテーブルの前記最適な予測方法に対応する前記予測値ステータスフィールドを有する前記予測値レコードにおける前記採用ステータスフィールドに、採用を示すステータスを格納する、
予測値評価支援システム。
A predicted value evaluation support system that performs information processing for predictive value evaluation support for OLAP data analysis based on a program based on a user's operation,
An original data table for storing the aggregated original data;
Based on the original data, a predicted value status field for storing a predicted value status number indicating a prediction method when storing a predicted value in the prediction target field, and an original ID for storing the ID of the record of the original data A data mart table creation unit that creates a data mart table including a data mart including a field and a recruitment status field ;
Prediction based on the predicted value status number indicating the prediction method and the data mart stored in the data mart table, setting the predicted value in the prediction target field, and the prediction method in the predicted value status field The predicted value status number corresponding to the above is set, the predicted value record is created by setting the ID of the record of the original data in the original ID field, and the predicted value record is inserted into the data mart table. A record creation insert ,
A plurality of evaluation OLAP cubes for each prediction method are created based on a plurality of the prediction value records created by the prediction value record creation / insertion unit and different in the prediction method of the data mart table. OLAP cube creation processing unit for evaluation,
Based on each of the plurality of evaluation OLAP cubes for each of the prediction methods, an OLAP tool is used to determine an evaluation OLAP cube based on the prediction value record by the optimal prediction method, and by the optimal prediction method and production OLAP cube creation processing unit that the OLAP cube for evaluation Ru is operated as a production OLAP cube,
Equipped with,
Based on the determination, a status indicating adoption is stored in the adoption status field in the prediction value record having the prediction value status field corresponding to the optimal prediction method of the data mart table.
Predictive value evaluation support system.
JP2012169999A 2012-07-31 2012-07-31 Predictive value evaluation support system Expired - Fee Related JP6046409B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012169999A JP6046409B2 (en) 2012-07-31 2012-07-31 Predictive value evaluation support system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012169999A JP6046409B2 (en) 2012-07-31 2012-07-31 Predictive value evaluation support system

Publications (2)

Publication Number Publication Date
JP2014029611A JP2014029611A (en) 2014-02-13
JP6046409B2 true JP6046409B2 (en) 2016-12-14

Family

ID=50202134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012169999A Expired - Fee Related JP6046409B2 (en) 2012-07-31 2012-07-31 Predictive value evaluation support system

Country Status (1)

Country Link
JP (1) JP6046409B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7093267B2 (en) * 2018-08-21 2022-06-29 株式会社オービック Data generator, data generation method and data generation program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3654193B2 (en) * 2001-01-22 2005-06-02 日本電気株式会社 Missing data interpolation method and missing data interpolation system
JP2003122572A (en) * 2001-10-18 2003-04-25 Fujitsu Ltd Data analyzer and recording medium
US7447718B2 (en) * 2004-04-26 2008-11-04 Right90, Inc. Real-time operating plan data aggregation
US8788306B2 (en) * 2007-03-05 2014-07-22 International Business Machines Corporation Updating a forecast model
JP5397370B2 (en) * 2008-03-18 2014-01-22 日本電気株式会社 Dynamic topic analysis system, dynamic topic analysis method, and medium on which dynamic topic analysis program is recorded

Also Published As

Publication number Publication date
JP2014029611A (en) 2014-02-13

Similar Documents

Publication Publication Date Title
JP6055285B2 (en) Data security apparatus and method and system
US20080208660A1 (en) System and Method for Analyzing and Managing Business Performance
JP4736713B2 (en) Systems and methods to support the selection of project members
JP2007034700A (en) Prediction program and prediction device
JP6642090B2 (en) Quality control equipment and quality control program
JP2012069098A5 (en) Method for managing quality of service for network participants in a networked business process, and computer readable recording medium storing instructions that can cause a computer to perform operations for managing
US20180174090A1 (en) Production Management Support Apparatus, Production Management Support Method, and Production Management Support Program
Jiang et al. An investigation on the variation of software development productivity
JP6475469B2 (en) Diagnostic job generation system, diagnostic job generation method, and diagnostic job generation display method
JP4309803B2 (en) Maintenance support program
JP6046409B2 (en) Predictive value evaluation support system
US7702544B2 (en) Method for assisting selection of a build ahead configuration for use in supplying an ordered product
JP6186797B2 (en) Manufacturing management program, manufacturing management apparatus, and manufacturing management method
CN110689278A (en) Sheet metal material management method and system, storage medium and electronic equipment
JP5133012B2 (en) Inventory parts setting system, inventory parts setting method, and inventory parts setting program
JP2006155344A (en) Data analyzer, data analysis program, and data analysis method
JP2009140417A (en) Data tabulating method and data tabulating device
JP2008165597A (en) Business parameter determination system
Liebers An architecture for cost control in manufacturing: The use of cost information in order-related decisions.
JP2011108021A (en) Support system for comparative analysis of manufacturing cost in cost planning
JP2002073142A (en) Production schedule generating device and recording medium with recorded production schedule generating program of production schedule generating device
JP2010128841A (en) Process management system, management method, and program
JP7436854B2 (en) Information processing device, control method, program
JP7302434B2 (en) COST PREDICTION METHOD AND COST PREDICTION PROGRAM
JP4533711B2 (en) Lead time / yield management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150501

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160229

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160517

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161117

R150 Certificate of patent or registration of utility model

Ref document number: 6046409

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees