JP5664050B2 - Information processing method, program, and apparatus - Google Patents

Information processing method, program, and apparatus Download PDF

Info

Publication number
JP5664050B2
JP5664050B2 JP2010204914A JP2010204914A JP5664050B2 JP 5664050 B2 JP5664050 B2 JP 5664050B2 JP 2010204914 A JP2010204914 A JP 2010204914A JP 2010204914 A JP2010204914 A JP 2010204914A JP 5664050 B2 JP5664050 B2 JP 5664050B2
Authority
JP
Japan
Prior art keywords
flow
conversion
node
transition
data
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
JP2010204914A
Other languages
Japanese (ja)
Other versions
JP2012059232A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010204914A priority Critical patent/JP5664050B2/en
Publication of JP2012059232A publication Critical patent/JP2012059232A/en
Application granted granted Critical
Publication of JP5664050B2 publication Critical patent/JP5664050B2/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

本技術は、フローの処理技術に関する。   The present technology relates to a flow processing technology.

処理の流れを表すフロー、状態遷移やイベント間遷移を表すフロー、業務の流れを表す業務フローなど様々なフローが存在している。   There are various flows such as a flow representing a processing flow, a flow representing a state transition and a transition between events, and a business flow representing a business flow.

その中でも、例えば業務プロセス・リエンジニアリング等では、業務フローの分析が注目されている。例えば、業務システムの処理結果を格納するデータベースにおけるレコードを分析することによって、当該業務システムを用いて実際に実施されている業務フローを生成する技術が知られている。   Among them, for example, in business processes and reengineering, business flow analysis is attracting attention. For example, a technique for generating a business flow that is actually implemented using the business system by analyzing a record in a database that stores a processing result of the business system is known.

また、業務ルールを遵守した処理であるか否かを判断するための技術が存在している。すなわち、複数の処理によって構成されるワークフローをチェックする情報処理システムは、ワークフローを構成する処理の内容と当該処理を行うときに割り当てられるパラメータの性質を対にした変換表を記憶しておく。そして、この変換表を用いて、ワークフローを構成する処理指示情報とパラメータを対にしたワークフロー指示データから具体的なワークフローの実体データを生成する。また、ワークフローにおける処理をチェックする項目を記載したマニュアルからチェック項目を抽出してチェック表を生成しておく。このチェック表に基づいて、上で生成されたワークフローをチェックする。この変換表は、ワークフロー指示データからワークフローを1つ生成するためのデータに過ぎない。   There is also a technique for determining whether or not the process complies with business rules. In other words, an information processing system that checks a workflow constituted by a plurality of processes stores a conversion table in which the contents of the processes constituting the workflow and the properties of parameters assigned when the processes are performed are paired. Then, using this conversion table, specific workflow entity data is generated from the workflow instruction data in which the process instruction information and parameters constituting the workflow are paired. A check table is generated by extracting check items from a manual that describes items to be checked in the workflow. Based on this check table, the workflow generated above is checked. This conversion table is only data for generating one workflow from the workflow instruction data.

特開2008−27072号公報JP 2008-27072 A 特開2007−122651号公報JP 2007-122651 A 特開2009−3879号公報JP 2009-3879 A

上で述べたようなデータベースに格納されている業務処理結果からフローを生成するような場面では、同じデータから異なる観点で関連する複数のフローが生成できる場合がある。このような関連する複数のフローを、切り替えながら分析したいという要望があるが、フローに含まれるノード等の数が膨大であったり、フローの構造が複雑であったりすると、データ量が多くなりすぎるという問題がある。   In a situation where a flow is generated from the business process result stored in the database as described above, there may be a case where a plurality of flows related from different viewpoints can be generated from the same data. There is a desire to analyze such a plurality of related flows while switching, but if the number of nodes included in the flow is enormous or the flow structure is complicated, the amount of data becomes too large There is a problem.

従って、本技術の目的は、一側面として、関連する複数のフローのデータを保持する際に用いるリソースを効率化するための技術に関する。   Therefore, the objective of this technique is related with the technique for improving the efficiency of the resource used when hold | maintaining the data of several related flows as one side surface.

本情報処理方法は、(A)第1のフローを当該第1のフローに関連する第2のフローへ変換するための変換表のデータ量と第2のフロー自体のデータ量とを見積もり、変換表のデータ量の見積り値と第2のフロー自体のデータ量の見積り値とを記憶装置に格納するステップと、(B)記憶装置に格納されている変換表のデータ量の見積り値が第2のフロー自体のデータ量の見積り値よりも小さい場合には、上記変換表を生成し、記憶装置に格納する変換表生成ステップとを含む。   This information processing method (A) estimates and converts the data amount of the conversion table for converting the first flow into the second flow related to the first flow and the data amount of the second flow itself. A step of storing the estimated value of the data amount of the table and the estimated value of the data amount of the second flow itself in the storage device; and (B) the estimated value of the data amount of the conversion table stored in the storage device is the second value. A conversion table generating step of generating the conversion table and storing it in a storage device when it is smaller than the estimated value of the data amount of the flow itself.

関連する複数のフローのデータを保持する際に用いるリソースを効率化できるようになる。   Resources used when holding data of a plurality of related flows can be made efficient.

図1は、インスタンスを有するフローについて説明するための図である。FIG. 1 is a diagram for explaining a flow having an instance. 図2は、変換表を用いてフローを変換する一例を示す図である。FIG. 2 is a diagram illustrating an example of converting a flow using a conversion table. 図3Aは、変換表の1対1イベント変換部の一例を示す図である。FIG. 3A is a diagram illustrating an example of a one-to-one event conversion unit of a conversion table. 図3Bは、変換表の1対1遷移変換部の一例を示す図である。FIG. 3B is a diagram illustrating an example of a one-to-one transition conversion unit of the conversion table. 図3Cは、変換表の1対1以外の遷移変換部の一例を示す図である。FIG. 3C is a diagram illustrating an example of the transition conversion unit other than the one-to-one conversion table. 図4は、実施の形態におけるフロー分析装置の機能ブロック図である。FIG. 4 is a functional block diagram of the flow analysis apparatus according to the embodiment. 図5は、前処理の処理フローを示す図である。FIG. 5 is a diagram illustrating a processing flow of preprocessing. 図6Aは、分析対象データ格納部に格納されているデータの一例である。FIG. 6A is an example of data stored in the analysis target data storage unit. 図6Bは、テンポラリテーブルの一例を示す図である。FIG. 6B is a diagram illustrating an example of a temporary table. 図7は、変換表生成処理の処理フローを示す図である。FIG. 7 is a diagram illustrating a processing flow of conversion table generation processing. 図8は、変換表生成処理の処理フローを示す図である。FIG. 8 is a diagram showing a processing flow of conversion table generation processing. 図9は、変換表生成処理の処理フローを示す図である。FIG. 9 is a diagram illustrating a processing flow of conversion table generation processing. 図10は、フロー表示の場面の処理フローを示す図である。FIG. 10 is a diagram showing a processing flow of a flow display scene. 図11は、第1フロー格納部に格納されるデータの一例を示す図である。FIG. 11 is a diagram illustrating an example of data stored in the first flow storage unit. 図12は、変換前のフロー図の一例を示す図である。FIG. 12 is a diagram illustrating an example of a flowchart before conversion. 図13は、第2フロー格納部に格納されるデータの一例を示す図である。FIG. 13 is a diagram illustrating an example of data stored in the second flow storage unit. 図14は、変換後のフロー図の一例を示す図である。FIG. 14 is a diagram illustrating an example of a flowchart after conversion. 図15は、フロー変換処理の処理フローを示す図である。FIG. 15 is a diagram illustrating a processing flow of the flow conversion processing. 図16は、中間Mapデータの初期状態の一例を示す図である。FIG. 16 is a diagram illustrating an example of an initial state of intermediate Map data. 図17は、1対1イベント変換部の一例を示す図である。FIG. 17 is a diagram illustrating an example of a one-to-one event conversion unit. 図18は、1対1イベント変換部を処理した後の状態における中間Mapデータの一例を示す図である。FIG. 18 is a diagram illustrating an example of intermediate Map data in a state after processing the one-to-one event conversion unit. 図19は、フロー変換処理の処理フローを示す図である。FIG. 19 is a diagram illustrating a processing flow of the flow conversion processing. 図20は、1対1遷移変換部の一例を示す図である。FIG. 20 is a diagram illustrating an example of the one-to-one transition conversion unit. 図21は、1対1遷移変換部を処理した後の状態における中間Mapデータの一例を示す図である。FIG. 21 is a diagram illustrating an example of intermediate Map data in a state after processing the one-to-one transition conversion unit. 図22は、1対1以外の遷移変換部の一例を示す図である。FIG. 22 is a diagram illustrating an example of a transition conversion unit other than one-to-one. 図23は、1対1以外の遷移変換部を処理した後の状態における中間Mapデータの一例を示す図である。FIG. 23 is a diagram illustrating an example of intermediate Map data in a state after processing a transition conversion unit other than one-to-one. 図24は、フロー変換処理の処理フローを示す図である。FIG. 24 is a diagram illustrating a process flow of the flow conversion process. 図25は、変換前フローの他の例を示す図である。FIG. 25 is a diagram illustrating another example of the pre-conversion flow. 図26は、変換前フローの他の例についての変換前データの一例を示す図である。FIG. 26 is a diagram illustrating an example of pre-conversion data for another example of the pre-conversion flow. 図27は、変換後フローの他の例を示す図である。FIG. 27 is a diagram illustrating another example of the post-conversion flow. 図28は、変換後フローの他の例についての変換後データの一例を示す図である。FIG. 28 is a diagram illustrating an example of post-conversion data for another example of the post-conversion flow. 図29は、分析対象データの他の例を示す図である。FIG. 29 is a diagram illustrating another example of analysis target data. 図30は、テンポラリテーブルの他の例を示す図である。FIG. 30 is a diagram illustrating another example of the temporary table. 図31Aは、変換表の1対1イベント変換部の他の例を示す図である。FIG. 31A is a diagram illustrating another example of the one-to-one event conversion unit of the conversion table. 図31Bは、変換表の1対1遷移変換部の他の例を示す図である。FIG. 31B is a diagram illustrating another example of the one-to-one transition conversion unit of the conversion table. 図31Cは、変換表の1対1以外の遷移変換部の他の例を示す図である。FIG. 31C is a diagram illustrating another example of the transition conversion unit other than the one-to-one conversion table. 図32は、中間Mapデータの初期状態の他の例を示す図である。FIG. 32 is a diagram illustrating another example of the initial state of the intermediate map data. 図33は、1対1イベント変換部を処理した後の状態における中間Mapデータの他の例を示す図である。FIG. 33 is a diagram illustrating another example of the intermediate Map data in a state after processing the one-to-one event conversion unit. 図34は、1対1遷移変換部を処理した後の状態における中間Mapデータの他の例を示す図である。FIG. 34 is a diagram illustrating another example of the intermediate Map data in a state after processing the one-to-one transition conversion unit. 図35は、1対1以外の遷移変換部を処理した後の状態における中間Mapデータの他の例を示す図である。FIG. 35 is a diagram illustrating another example of intermediate Map data in a state after processing a transition conversion unit other than one-to-one. 図36は、コンピュータの機能ブロック図である。FIG. 36 is a functional block diagram of a computer.

背景技術の欄で述べたように業務システムのデータを用いて生成した業務フローは、手描きの業務フローと異なり、どの部分が何回実行されたかということを表す統計データを伴う場合がある。本実施の形態では、このようなフローを「インスタンスを有するフロー」と呼ぶことにする。一方、手描きのフローのように実行回数の情報を有しないフローを、本実施の形態では「インスタンスを有しないフロー」と呼ぶことにする。インスタンスを有するフローは、業務の実態を正確に示しており、そのフローを分析することにより、業務の問題点を発見し、改善に繋げることができる。   Unlike the hand-drawn business flow, the business flow generated using the business system data as described in the section of the background art may be accompanied by statistical data indicating which part is executed how many times. In the present embodiment, such a flow is referred to as a “flow having an instance”. On the other hand, a flow that does not have information on the number of executions, such as a hand-drawn flow, is referred to as a “flow that does not have an instance” in the present embodiment. The flow having instances accurately indicates the actual state of the business, and by analyzing the flow, problems of the business can be found and can be improved.

業務プロセス・リエンジニアリング等で行われる業務改善のための主要な分析対象は業務のフローである。しかし、その他にも、業務を実行した担当者や部門、業務が行われた場所など、業務以外の観点のフローについても分析することで、新たな問題点を発見できる場合があり、業務フローの分析による業務改善の効果を高めることが期待される。例えば、業務の流れに問題が無くても、担当者間の作業の引き継ぎ効率が悪い場合や、作業ライン上の物の流れが悪い場合などの問題を発見できれば、業務効率改善には有用である。   The main analysis target for business improvement performed in business processes and re-engineering is the business flow. However, there may be cases where new problems can be discovered by analyzing the flow from a viewpoint other than the business, such as the person who performed the business, the department, and the location where the business was performed. It is expected to improve the effect of business improvement by analysis. For example, even if there is no problem in the flow of work, it is useful for improving work efficiency if you can find problems such as when the work transfer efficiency between the persons in charge is bad or the flow of things on the work line is bad. .

インスタンスを有するフローの元データは例えば業務システムにおけるデータベースやログファイルであるが、業務システムにおけるデータベース等には、業務の種類だけでなく、担当者や部門、場所等の様々な情報を含んでいる場合が多く、これを利用して観点毎にフローを生成することが望ましい。   The original data of a flow having an instance is, for example, a database or log file in a business system, but the database in the business system includes not only the type of business but also various information such as the person in charge, department, location, etc. In many cases, it is desirable to use this to generate a flow for each viewpoint.

図1は、インスタンスを有する観点毎のフローの一例を示した図である。図1(b)は、業務システムの処理の記録の一例を示しており、このようなデータは、データベースのレコードやログファイル等から取得する。ここでインスタンスIDは、1つの案件(すなわちインスタンス)について実施される業務処理を識別するための識別子である。同一インスタンスIDのレコードを処理時刻順に並べ、「業務」カラムを用いてフローを生成すると図1(a)に示すようになる。なお、最初のノード「Initial」及び最後のノード「Final」については別途付加している。また、図1(a)では、2つのインスタンスを重ね合わせている。従って、ノード(イベントとも呼ぶ)間の遷移に、当該遷移を通過しているインスタンス数、すなわち遷移の実行回数が示されている。図1(a)の例では、「検査」と「修理」の間の遷移が実行回数「1」となっている他は、全インスタンス数「2」に対して実行回数「2」となっている。一方、「部門」カラムを用いてフローを生成すると図1(c)に示すようになる。   FIG. 1 is a diagram illustrating an example of a flow for each viewpoint having an instance. FIG. 1B shows an example of a business system process record, and such data is acquired from a database record, log file, or the like. Here, the instance ID is an identifier for identifying a business process to be executed for one item (that is, an instance). When records with the same instance ID are arranged in order of processing time and a flow is generated using the “business” column, the result is as shown in FIG. The first node “Initial” and the last node “Final” are added separately. In FIG. 1A, two instances are superimposed. Therefore, the number of instances passing through the transition, that is, the number of times the transition is executed is shown in the transition between nodes (also referred to as events). In the example of FIG. 1A, the number of executions is “2” for the total number of instances “2” except that the transition between “inspection” and “repair” is the number of executions “1”. Yes. On the other hand, when a flow is generated using the “department” column, it is as shown in FIG.

図1(c)の例では、「部品A」と「ライン1」等、業務と部門の対応関係はほぼ1対1になっている。しかし、「部品B」については、対応する部門の値が「ライン2」と「ライン4」の2種類になっており、その結果、業務フローと部門フローの形状が、その出現箇所で変化している。図1ではインスタンス数が2だが、典型的には数週間乃至数ヶ月の業務実績をフロー化して分析するため、インスタンス数が数万に及ぶ場合もある。そうすると、このような1対1関係が成り立たない部分も多くなる可能性がある。さらに、図1では、2種類のフローを示したが、より多くのフローを生成する場合もある。従って、インスタンスを有する観点毎のフローを生成して保持する場合には、データ量が膨大になる可能性がある。   In the example of FIG. 1C, the correspondence between the business and the department, such as “part A” and “line 1”, is almost one-to-one. However, for “Part B”, the values of the corresponding department are two types, “Line 2” and “Line 4”, and as a result, the shape of the business flow and department flow changes depending on the appearance location. ing. In FIG. 1, the number of instances is two. Typically, the number of instances may reach several tens of thousands because the business results of several weeks to several months are analyzed as a flow. Then, there may be many portions where such a one-to-one relationship is not established. Furthermore, although two types of flows are shown in FIG. 1, more flows may be generated. Therefore, when a flow for each viewpoint having an instance is generated and held, there is a possibility that the amount of data becomes enormous.

そこで、第1の観点に係る第1のフローから第1の観点とは異なる第2の観点に係るフローへ変換するための変換表を導入する。図2は、インスタンスを有するフローについて、変換前フローと変換表を用いて変換後フローを生成する例を示す。図2(a)は、変換前フローを表示するためのデータとして、遷移と実行回数を含む「変換前データ」を示している。この変換前データを、図2(c)に示す変換後フローを生成するためのデータである「変換後データ」に変換するために、図2(b)に示す「変換表」を用意する。この変換表は、変換前の各遷移に対し、変換後の遷移種及び実行回数の情報を含む。変換後データは、遷移種毎にその実行回数の情報を含む。   Therefore, a conversion table for converting from the first flow according to the first viewpoint to the flow according to the second viewpoint different from the first viewpoint is introduced. FIG. 2 shows an example of generating a post-conversion flow using a pre-conversion flow and a conversion table for a flow having instances. FIG. 2A shows “data before conversion” including transition and the number of executions as data for displaying the flow before conversion. In order to convert the pre-conversion data into “post-conversion data” that is data for generating the post-conversion flow shown in FIG. 2C, a “conversion table” shown in FIG. 2B is prepared. This conversion table includes information about the transition type after conversion and the number of executions for each transition before conversion. The post-conversion data includes information on the number of executions for each transition type.

図2の場合には、変換表のデータ量は変換後データのデータ量を上回ってしまっている。従って、本実施の形態では、変換表を生成する前に変換表のデータ量を見積り、さらに変換後データのデータ量も見積り、変換表のデータ量が、変換後データのデータ量より少ないと見積もられた場合に、変換表を生成して保持しておく。実際に変換後フローを表示する際には、変換前フローと変換表のデータを用いて、変換後フローを生成し、表示装置等に出力する。一方、変換後データのデータ量の見積値が変換表のデータ量の見積値以下であれば、変換後データを生成して保持しておく。このようにすれば、記憶リソースを効率的に活用できる。   In the case of FIG. 2, the data amount of the conversion table exceeds the data amount of the converted data. Therefore, in this embodiment, the amount of data in the conversion table is estimated before the conversion table is generated, the amount of data in the converted table is also estimated, and the amount of data in the conversion table is estimated to be smaller than the amount of data in the converted data. If there is, a conversion table is generated and held. When the post-conversion flow is actually displayed, the post-conversion flow is generated using the pre-conversion flow and the conversion table data, and is output to a display device or the like. On the other hand, if the estimated value of the data amount of the converted data is less than or equal to the estimated value of the data amount of the conversion table, the converted data is generated and held. In this way, storage resources can be used efficiently.

図2(b)の例では、変換表のデータ量が変換後データのデータ量を上回ってしまっているが、このような形式の変換表でなくてもよい。例えば、変換前のC→Dの遷移と、変換後のc→dの遷移とは、変換前後で1対1の関係であり、変換表中の遷移C→Dについて「105」という実行回数の情報は省略可能である。すなわち、図2(b)の変換表以外の変換表を採用することでデータ量を削減できる。但し、変換表のデータ量を削減しても、変換前データと変換後データを別々に保持した方がデータ量が少なくなる場合もある。従って、上で述べたように変換表を生成する前に変換表のデータ量を見積り、変換後データのデータ量を見積り、データ量の見積値が小さい方のデータを生成するものとする。   In the example of FIG. 2B, the data amount of the conversion table exceeds the data amount of the converted data, but the conversion table may not be in this format. For example, the C → D transition before the conversion and the c → d transition after the conversion have a one-to-one relationship before and after the conversion, and the number of executions “105” for the transition C → D in the conversion table. Information can be omitted. That is, the amount of data can be reduced by employing a conversion table other than the conversion table of FIG. However, even if the data amount of the conversion table is reduced, the data amount may be reduced if the pre-conversion data and the post-conversion data are held separately. Therefore, as described above, the data amount of the conversion table is estimated before the conversion table is generated, the data amount of the converted data is estimated, and the data with the smaller estimated value of the data amount is generated.

以下では、より効率的な変換表として、図3A乃至3Cに示すようなフォーマットを採用することとする。本実施の形態では3つの変換表を用いる。すなわち、図3Aに示す1対1イベント変換部と、図3Bに示す1対1遷移変換部と、図3Cに示す1対1以外の遷移変換部とを用いる。   In the following, a format as shown in FIGS. 3A to 3C is adopted as a more efficient conversion table. In this embodiment, three conversion tables are used. That is, the one-to-one event converter shown in FIG. 3A, the one-to-one transition converter shown in FIG. 3B, and the transition converter other than the one-to-one shown in FIG. 3C are used.

1対1イベント変換部は、変換前後でイベント種が1対1対応しているイベントの変換表であり、変換前のイベント名と変換後のイベント名とを対応付けて登録するようになっている。   The one-to-one event conversion unit is an event conversion table in which event types have a one-to-one correspondence before and after conversion, and an event name before conversion and an event name after conversion are registered in association with each other. Yes.

1対1遷移変換部は、変換前後で遷移種が1対1対応している遷移の変換表である。変換前の遷移種と変換後の遷移種とを対応付けて登録するようになっている。遷移種は、遷移元のイベント名と遷移先のイベント名とで表される。但し、遷移元のイベント名と遷移先のイベント名とが両方とも1対1イベント変換部に登録されている場合には、当該遷移については1対1遷移変換部には登録されない。また、遷移元のイベント名と遷移先のイベント名とのいずれかが1対1遷移変換部に登録されている場合には、変換前について値を登録するが、変換後については空欄にする。   The one-to-one transition conversion unit is a conversion table of transitions in which transition types have a one-to-one correspondence before and after conversion. The transition type before conversion and the transition type after conversion are registered in association with each other. The transition type is represented by a transition source event name and a transition destination event name. However, when both the transition source event name and the transition destination event name are registered in the one-to-one event conversion unit, the transition is not registered in the one-to-one transition conversion unit. In addition, when either the transition source event name or the transition destination event name is registered in the one-to-one transition conversion unit, a value is registered before the conversion, but is blank after the conversion.

1対1以外の遷移変換部は、変換前後で遷移の種類が1対1対応しない遷移の変換表である。変換前の遷移種と変換後の遷移種、及び変換後の各遷移について実行回数とを含む。本遷移変換部で対象とする遷移は変換前後で1対1にはならないので、1つの変換前遷移に対して複数の変換後遷移が対応する場合がある。このため、変換後に各遷移について実行回数を登録する。1対1イベントが含まれる場合に、変換後部分を空欄にすることで、データ量を削減する。なお、複数種類の変換前遷移に対し、1つの変換後遷移が対応する場合もあるが、あくまで変換前データを基準にした変換のためのデータ構造であるので、そのような場合には変換後遷移が同一である複数の変換前遷移の変換データが生成される。その場合の実行回数については空欄にしてよい。   The transition conversion unit other than one-to-one is a conversion table of transitions whose transition types do not correspond one-to-one before and after conversion. It includes the transition type before conversion, the transition type after conversion, and the number of executions for each transition after conversion. Since the transitions targeted by this transition conversion unit are not one-to-one before and after conversion, a plurality of post-conversion transitions may correspond to one pre-conversion transition. For this reason, the number of executions is registered for each transition after conversion. When a one-to-one event is included, the data amount is reduced by leaving the converted part blank. Note that one post-conversion transition may correspond to multiple types of pre-conversion transitions, but the data structure for conversion is based on pre-conversion data. Conversion data of a plurality of pre-conversion transitions having the same transition is generated. In this case, the number of executions may be left blank.

このような変換表を採用する場合に用いられるフロー分析装置について、図4乃至図35を用いて説明する。   A flow analyzer used when such a conversion table is employed will be described with reference to FIGS.

本実施の形態に係るフロー分析装置(図4)は、前処理部100と表示処理部300とを含む。なお、前処理部100と表示処理部300とは一部構成要素を共用するが、前処理部100を有する装置と表示処理部300を有する装置とを別々に用意するようにしても良い。例えば、前処理部100を有するサーバ等をネットワークに接続しておき、表示処理部300で用いられるデータを、表示処理部300を有する装置に読み込み、当該装置の表示処理部300で処理するようにしてもよい。   The flow analysis apparatus (FIG. 4) according to the present embodiment includes a preprocessing unit 100 and a display processing unit 300. The preprocessing unit 100 and the display processing unit 300 share some components, but a device having the preprocessing unit 100 and a device having the display processing unit 300 may be prepared separately. For example, a server or the like having the preprocessing unit 100 is connected to the network, and data used by the display processing unit 300 is read into a device having the display processing unit 300 and processed by the display processing unit 300 of the device. May be.

前処理部100は、分析対象データ格納部101と、フロー生成部102と、見積処理部103と、データ格納部104と、変換表生成部105と、第1フロー格納部202と、第2フロー格納部201と、変換表格納部203とを有する。   The preprocessing unit 100 includes an analysis target data storage unit 101, a flow generation unit 102, an estimation processing unit 103, a data storage unit 104, a conversion table generation unit 105, a first flow storage unit 202, and a second flow. A storage unit 201 and a conversion table storage unit 203 are included.

フロー生成部102は、分析対象データ格納部101に格納されているデータを用いて処理を行い、処理結果を第1フロー格納部202又は第2フロー格納部201に格納する。フロー生成部102は、変換前フロー及び変換後フローを生成する処理を実施するが、この処理内容については背景技術の欄で列挙した文献に開示されている処理と同じであるからここでは詳細には述べない。また、フロー生成部102は、見積処理部103で使用するデータをデータ格納部104に格納する。   The flow generation unit 102 performs processing using the data stored in the analysis target data storage unit 101 and stores the processing result in the first flow storage unit 202 or the second flow storage unit 201. The flow generation unit 102 performs a process of generating a pre-conversion flow and a post-conversion flow, but the details of this process are the same as the processes disclosed in the documents listed in the background art column, so here in detail. Does not say. Further, the flow generation unit 102 stores data used in the estimation processing unit 103 in the data storage unit 104.

見積処理部103は、データ格納部104に格納されているデータを用いて、処理途中のデータをデータ格納部104に格納し、変換後フローを生成すべき場合にはフロー生成部102に指示を出力し、そうでない場合には変換表生成部105に指示を出力する。   The estimation processing unit 103 uses the data stored in the data storage unit 104 to store the data being processed in the data storage unit 104, and instructs the flow generation unit 102 to generate a flow after conversion. If not, an instruction is output to the conversion table generation unit 105.

変換表生成部105は、第1フロー格納部202とデータ格納部104に格納されているデータを用いて変換表生成処理を実施し、生成された変換表を変換表格納部203に格納する。   The conversion table generation unit 105 performs conversion table generation processing using data stored in the first flow storage unit 202 and the data storage unit 104, and stores the generated conversion table in the conversion table storage unit 203.

表示処理部300は、入力部301と、表示切替部302と、フロー変換部303と、変換後フロー格納部304と、表示装置や印刷装置などの出力装置305と、第1フロー格納部202と、第2フロー格納部201と、変換表格納部203とを有する。   The display processing unit 300 includes an input unit 301, a display switching unit 302, a flow conversion unit 303, a post-conversion flow storage unit 304, an output device 305 such as a display device or a printing device, and a first flow storage unit 202. The second flow storage unit 201 and the conversion table storage unit 203 are included.

入力部301は、ユーザからの指示を表示切替部302に出力する。表示切替部302は、変換前フローを表示する場合には、第1フロー格納部202に格納されているデータから変換前フローを生成し、出力装置305に出力する。また、変換後フローを表示する場合には、表示切替部302は、第2フロー格納部201又は変換表格納部203におけるデータ格納状態に応じて、第2フロー格納部201に格納されている変換後フローのデータを読み出して変換後フローを生成し、出力装置305に出力するか、フロー変換部303にフロー変換処理を実施させ、変換後フロー格納部304に格納される変換後フローを読み出して出力装置305に出力する。フロー変換部303は、変換表格納部203と第1フロー格納部202(場合によって第2フロー格納部201)とに格納されているデータを用いて、変換後フローを生成し、変換後フロー格納部304に格納する。   The input unit 301 outputs an instruction from the user to the display switching unit 302. When the pre-conversion flow is displayed, the display switching unit 302 generates the pre-conversion flow from the data stored in the first flow storage unit 202 and outputs the pre-conversion flow to the output device 305. Further, when displaying the converted flow, the display switching unit 302 converts the conversion stored in the second flow storage unit 201 according to the data storage state in the second flow storage unit 201 or the conversion table storage unit 203. The post-flow data is read out to generate a post-conversion flow and output to the output device 305, or the flow conversion unit 303 performs flow conversion processing, and the post-conversion flow stored in the post-conversion flow storage unit 304 is read out. Output to the output device 305. The flow conversion unit 303 generates a post-conversion flow using data stored in the conversion table storage unit 203 and the first flow storage unit 202 (in some cases, the second flow storage unit 201), and stores the post-conversion flow. Stored in the unit 304.

次に、図5乃至図24を用いて図4に示したフロー分析装置の処理内容について説明する。まず、図5乃至図9を用いて前処理部100の処理について説明する。   Next, processing contents of the flow analysis apparatus shown in FIG. 4 will be described with reference to FIGS. First, the processing of the preprocessing unit 100 will be described with reference to FIGS.

例えば最初に、フロー生成部102は、分析対象データ格納部101に格納されているデータを用いて変換前フローを生成し、当該変換前フローのデータを第1フロー格納部202に格納する。また、フロー生成部102は、見積処理部103でも用いるデータ量見積りのためのテンポラリテーブルを生成して、データ格納部104に格納する(図5:ステップS1)。変換前フローの生成処理については、既に知られているのでここでは詳細には述べない。   For example, first, the flow generation unit 102 generates a pre-conversion flow using data stored in the analysis target data storage unit 101, and stores the pre-conversion flow data in the first flow storage unit 202. In addition, the flow generation unit 102 generates a temporary table for estimating the amount of data used also in the estimation processing unit 103 and stores it in the data storage unit 104 (FIG. 5: step S1). The generation process of the pre-conversion flow is already known and will not be described in detail here.

例えば、分析対象データ格納部101に図6Aに示すような分析対象データが格納されている場合には、データ格納部104に格納されるテンポラリテーブルの内容は図6Bに示すようなものになる。なお、分析対象データについては、分析対象システムのデータベースやログファイルから取得する。図6Aに示した分析対象データから、インスタンス毎のイベント発生順序を判定し、変換前の観点でのイベント間遷移を、current_before(CB)の列及びnext_before(NB)の列に、変換後の観点でのイベント間遷移をcurrent_after(CA)の列及びnext_after(NA)の列に格納する。例えば、図6Aの第1及び第2のレコードを処理する場合には、業務の列の「部品A」から「部品B」への遷移については、CBの列に「部品A」を登録し、NBの列に「部品B」を登録する。一方、部門の列の「ライン1」から「ライン2」への遷移については、CAの列に「ライン1」を登録し、NAの列に「ライン2」を登録する。また、図6Aの第2及び第3のレコードを処理する場合には、業務の列の「部品B」から「組立」への遷移については、CBの列に「部品B」を登録し、NBの列に「組立」を登録する。一方、部門の列の「ライン2」から「ライン3」への遷移については、CAの列に「ライン2」を登録し、NAの列に「ライン3」を登録する。なお、末端イベントについては、CB及びCAの列に登録しておく。   For example, when the analysis target data as shown in FIG. 6A is stored in the analysis target data storage unit 101, the contents of the temporary table stored in the data storage unit 104 are as shown in FIG. 6B. The analysis target data is acquired from the database or log file of the analysis target system. The event generation order for each instance is determined from the analysis target data shown in FIG. 6A, and the transition between events in the viewpoint before conversion is converted into the current_before (CB) column and the next_before (NB) column after the conversion. The transition between events is stored in the current_after (CA) column and the next_after (NA) column. For example, when processing the first and second records in FIG. 6A, for the transition from “component A” to “component B” in the business column, “part A” is registered in the CB column, “Part B” is registered in the NB column. On the other hand, regarding the transition from “Line 1” to “Line 2” in the department column, “Line 1” is registered in the CA column and “Line 2” is registered in the NA column. When the second and third records in FIG. 6A are processed, regarding the transition from “component B” to “assembly” in the business column, “component B” is registered in the CB column, and NB Register "Assembly" in the column. On the other hand, regarding the transition from “Line 2” to “Line 3” in the department column, “Line 2” is registered in the CA column and “Line 3” is registered in the NA column. Note that the end event is registered in the CB and CA columns.

次に、見積処理部103は、テンポラリテーブルから所定のパラメータの値を算出し、データ格納部104に格納する(ステップS3)。所定のパラメータは、変換表のデータ量の見積値算出式と変換後フローのデータ量の見積値算出式とに用いられるものである。   Next, the estimation processing unit 103 calculates a value of a predetermined parameter from the temporary table and stores it in the data storage unit 104 (step S3). The predetermined parameter is used for an estimated value calculation formula for the data amount of the conversion table and an estimated value calculation formula for the data amount of the post-conversion flow.

具体的には、以下のようなパラメータの値を算出する。
b:1対1イベント種数
current_beforeの各値について、対応するcurrent_afterの値の種別数を計算する。結果が1であるものの数が1対1イベント種数である。
k:平均イベント名長
current_beforeとcurrent_afterの値の全種別を取得し、文字列長さの平均値が平均イベント名長である。なお、英数字=1,漢字かな=2とカウントする。
g:1対1イベントのみを含む遷移種数
bの計数過程で1対1イベントを取得する。そして、current_beforeとnext_beforeの全組み合わせについて、対応するcurrent_afterとnext_afterの組み合わせ数が1であるもののうち、1対1イベントのみを含むものの数を計数する。
y:1対1対応の遷移種数
先にgを計算。current_beforeとnext_beforeの全組み合わせについて、対応するcurrent_afterとnext_afterの組み合わせ数が1であるものの数からgを引くことにより算出する。
n:変換前の総イベント種数
current_beforeの値の全種別数を計数する。
r:1対1対応でない遷移種数
current_beforeとnext_beforeの全組み合わせについて、対応するcurrent_afterとnext_afterの組み合わせ数が2以上であるものの数を計数する。
x:1対1対応でない遷移の変換後平均分割数
current_beforeとnext_beforeの全組み合わせについて、対応するcurrent_afterとnext_afterの組み合わせ数が2以上であるものについて、その組み合わせ数の平均値を計算する。
l:回数格納容量
想定最大回数により異なるが、通常は4バイト程度で固定(Java(登録商標)のint等)
m:変換後総イベント種数
current_afterの値の全種別数
Specifically, the following parameter values are calculated.
b: 1 to 1 event type
For each value of current_before, the number of types of the corresponding current_after value is calculated. The number of results of 1 is the number of 1 to 1 event types.
k: Average event name length
All types of values of current_before and current_after are acquired, and the average value of the character string length is the average event name length. It is counted that alphanumeric characters = 1 and kanji = 2.
g: Transition type including only one-to-one event One-to-one event is acquired in the counting process of b. Then, for all combinations of current_before and next_before, the number of ones that include only one-to-one events is counted among the corresponding combinations of current_after and next_after.
y: Number of transition types corresponding to one-to-one. For all combinations of current_before and next_before, calculation is performed by subtracting g from the number of corresponding current_after and next_after combinations of one.
n: Total number of event types before conversion
Count the number of all types of current_before values.
r: Number of transition species not corresponding to 1 to 1
For all combinations of current_before and next_before, the number of corresponding current_after and next_after combinations of 2 or more is counted.
x: Average number of divisions after conversion of transitions that do not correspond to 1 to 1
For all combinations of current_before and next_before, the average value of the number of combinations is calculated for the corresponding combinations of current_after and next_after.
l: Number of times storage capacity Although it depends on the maximum number of times assumed, it is usually fixed at about 4 bytes (Java int etc.)
m: Total number of event types after conversion
Number of all types of current_after values

そして、見積処理部103は、データ格納部104に格納されているパラメータの値を用いて、予め定義されている見積値算出式を用いて、変換表のデータ量の見積値と、変換後フローのデータ量の見積値とを算出し、データ格納部104に格納する(ステップS5)。   Then, the estimation processing unit 103 uses the parameter value stored in the data storage unit 104 and uses a pre-defined estimation value calculation formula to calculate the estimated value of the data amount in the conversion table and the post-conversion flow. Is calculated and stored in the data storage unit 104 (step S5).

本実施の形態では、以下のような見積値算出式を採用する。
変換表:2bk+2yk(1+((n−b)/n))+r(2k+2kx((n−b)/n)+xl)
変換後フロー:(2k+l)(g+(rx+y)(m/n))
In this embodiment, the following estimated value calculation formula is adopted.
Conversion table: 2bk + 2yk (1 + ((n−b) / n)) + r (2k + 2kx ((n−b) / n) + xl)
Flow after conversion: (2k + 1) (g + (rx + y) (m / n))

この見積値算出式は、テンポラリテーブルを用いてイベント種数やイベント種の平均文字列長などが簡単に求められる前提で、比較的少ない種類の容易に得られるパラメータを用いて計算できるようにしている。従って、完全に正確なデータ量が算出できるわけではなく、他の式を導入してより正確なデータ量を見積もるようにしてもよい。或いは、より簡略化して簡易に見積るための式を導入して、パラメータの値を算出する処理負荷を下げるようにしても良い。   This estimated value calculation formula is calculated on the assumption that the number of event types and the average character string length of event types can be easily obtained using a temporary table, and can be calculated using relatively few types of easily obtained parameters. Yes. Therefore, a completely accurate data amount cannot be calculated, and another equation may be introduced to estimate a more accurate data amount. Alternatively, it is also possible to introduce a formula for simplifying the estimation more simply and reducing the processing load for calculating the parameter value.

そして、見積処理部103は、ステップS75で算出された変換表のデータ量の見積値と、変換後フローのデータ量の見積値とを比較して、変換表のデータ量の見積値の方が小さいか判断する(ステップS7)。変換表のデータ量の見積値の方が小さいと言えない場合、すなわち変換後フローのデータ量の見積値が変換表のデータ量の見積値以下である場合には、見積処理部103は、変換後フローの生成をフロー生成部102に指示する(ステップS11)。そしてステップS13に移行する。なお、フロー生成部102は、データ格納部104に格納されているテンポラリテーブル又は分析対象データ格納部101に格納されているデータを用いて、変換後フローを生成し、変換後フローのデータを第2フロー格納部201に格納する。具体的な処理内容については、変換前フローと同様で既に知られた方法であるから詳細な説明については省略する。   Then, the estimation processing unit 103 compares the estimated value of the data amount of the conversion table calculated in step S75 with the estimated value of the data amount of the converted flow, and the estimated value of the data amount of the conversion table is more It is determined whether it is small (step S7). When the estimated value of the data amount of the conversion table cannot be said to be smaller, that is, when the estimated value of the data amount of the converted flow is less than or equal to the estimated value of the data amount of the conversion table, the estimation processing unit 103 The flow generation unit 102 is instructed to generate a post-flow (step S11). Then, the process proceeds to step S13. The flow generation unit 102 generates a post-conversion flow using the temporary table stored in the data storage unit 104 or the data stored in the analysis target data storage unit 101, and converts the converted flow data into the first data. 2 stored in the flow storage unit 201. The specific processing content is the same as the pre-conversion flow and is a known method, and thus detailed description thereof is omitted.

一方、変換表のデータ量の見積値の方が小さい場合には、見積処理部103は、変換表生成部105に変換表の生成を指示する(ステップS9)。変換表生成部105の処理については、後に詳しく述べる。そして処理を終了する。   On the other hand, when the estimated value of the data amount of the conversion table is smaller, the estimation processing unit 103 instructs the conversion table generation unit 105 to generate a conversion table (step S9). The processing of the conversion table generation unit 105 will be described in detail later. Then, the process ends.

変換後フローの生成が完了した後に、フロー生成部102は、データ格納部104に格納されているテンポラリテーブルを破棄する(ステップS13)。   After the generation of the post-conversion flow is completed, the flow generation unit 102 discards the temporary table stored in the data storage unit 104 (step S13).

このようにすれば、データ量の見積値が小さい方のデータが生成されるので、データ記憶領域というリソースを有効活用できるようになる。   In this way, data with a smaller estimated value of the data amount is generated, so that a resource called a data storage area can be used effectively.

次に、図7乃至図9を用いて、変換表生成部105の処理内容について説明する。変換表生成部105は、データ格納部104からテンポラリテーブルを取得する(ステップS21)。次に、変換表生成部105は、テンポラリテーブルから、CB(current_before)値の種類を抽出し、例えばメインメモリなどの記憶装置に格納する(ステップS23)。例えば、CB値の種類のリストを生成する。   Next, processing contents of the conversion table generating unit 105 will be described with reference to FIGS. The conversion table generation unit 105 acquires a temporary table from the data storage unit 104 (step S21). Next, the conversion table generating unit 105 extracts the type of the CB (current_before) value from the temporary table and stores it in a storage device such as a main memory (step S23). For example, a list of CB value types is generated.

そして、変換表生成部105は、未処理のCB値を1つ特定する(ステップS25)。変換表生成部105は、テンポラリテーブルにおいて、特定されたCB値に対応するCA(current_after)値の種類を特定すると共に、種類数を計数する(ステップS27)。これによって1対1イベントであるか否かを特定できる。従って、変換表生成部105は、特定されたCB値に対応するCA値の種類が1であるか判断する(ステップS29)。特定されたCB値に対応するCA値の種類が1でない場合にはステップS33に移行する。一方、特定されたCB値に対応するCA値の種類が1である場合には、変換表生成部105は、変換表格納部203における1対1イベント変換部における変換前値に、特定されたCB値を設定すると共に、1対1イベント変換部における1対1イベント変換部の変換後値に、対応するCA値を設定する(ステップS31)。そしてステップS33に移行する。   And the conversion table production | generation part 105 specifies one unprocessed CB value (step S25). The conversion table generating unit 105 specifies the type of CA (current_after) value corresponding to the specified CB value in the temporary table and counts the number of types (step S27). As a result, it is possible to specify whether the event is a one-to-one event. Therefore, the conversion table generation unit 105 determines whether the type of CA value corresponding to the specified CB value is 1 (step S29). When the type of CA value corresponding to the specified CB value is not 1, the process proceeds to step S33. On the other hand, when the type of CA value corresponding to the specified CB value is 1, the conversion table generation unit 105 is specified as the pre-conversion value in the one-to-one event conversion unit in the conversion table storage unit 203. A CB value is set, and a corresponding CA value is set as the converted value of the one-to-one event conversion unit in the one-to-one event conversion unit (step S31). Then, control goes to a step S33.

ステップS33では、変換表生成部105は、ステップS23で抽出されたCB値の種類のうち未処理のCB値が存在するか判断する(ステップS33)。未処理のCB値が存在する場合にはステップS25に戻る。一方、未処理のCB値が存在しない場合には端子Aを介して図8の処理に移行する。これによって、1対1イベント変換部が完成する。   In step S33, the conversion table generation unit 105 determines whether there is an unprocessed CB value among the types of CB values extracted in step S23 (step S33). If there is an unprocessed CB value, the process returns to step S25. On the other hand, when there is no unprocessed CB value, the processing shifts to the processing in FIG. This completes the one-to-one event conversion unit.

図8の処理の説明に移行して、変換表生成部105は、テンポラリテーブルにおいて、CB値とNB(next_before)値との組み合わせ種別(すなわち遷移種別)を抽出し、例えばメインメモリなどの記憶装置に格納する(ステップS35)。例えば、CB値とNB値の組み合わせのリストを生成する。   Shifting to the description of the processing in FIG. 8, the conversion table generation unit 105 extracts a combination type (that is, a transition type) of the CB value and the NB (next_before) value in the temporary table, and stores, for example, a storage device such as a main memory. (Step S35). For example, a list of combinations of CB values and NB values is generated.

そして、変換表生成部105は、抽出された組み合わせの内、未処理の組み合わせを1つ特定する(ステップS37)。その後、変換表生成部105は、特定された組み合わせに含まれるCB値及びNB値が、両方とも1対1イベント変換部に登録済みであるか確認する(ステップS39)。これによって、この組み合わせについて1対1遷移変換部又は1対1以外の遷移変換部に登録するか否かを判断する。特定された組み合わせに含まれるCB値及びNB値の両方が1対1イベント変換部に登録済みであれば(ステップS41:Yesルート)、変換表生成部105は、特定された組み合わせについては何もせずにステップS37に戻る。1対1イベント変換部で対応可能であるため、他の変換部には登録しない。   And the conversion table production | generation part 105 specifies one unprocessed combination among the extracted combinations (step S37). Thereafter, the conversion table generating unit 105 checks whether both the CB value and the NB value included in the specified combination have been registered in the one-to-one event conversion unit (step S39). Accordingly, it is determined whether or not this combination is registered in the one-to-one transition converter or a transition converter other than one-to-one. If both the CB value and the NB value included in the identified combination are already registered in the one-to-one event conversion unit (step S41: Yes route), the conversion table generation unit 105 does nothing about the identified combination. Return to step S37. Since the one-to-one event conversion unit can handle it, it is not registered in other conversion units.

一方、登録済みではない場合(ステップS41:Noルート)、変換表生成部105は、特定された組み合わせに対応するCA値とNA値の組み合わせを、テンポラリテーブルから抽出する(ステップS43)。CA値とNA値の組み合わせの種類毎に出現頻度を計数しておく。処理は端子Bを介して図9の処理に移行する。   On the other hand, when not registered (step S41: No route), the conversion table generating unit 105 extracts the combination of the CA value and the NA value corresponding to the identified combination from the temporary table (step S43). The appearance frequency is counted for each type of combination of CA value and NA value. The processing shifts to the processing in FIG.

図9の処理の説明に移行して、変換表生成部105は、ステップS43で抽出された、CA値とNA値との組み合わせが1種類のみであるか判断する(ステップS45)。CA値とNA値との組み合わせが1種類のみ抽出された場合には、変換前後で遷移種が1対1対応していることを表している。従って、変換表生成部105は、変換表格納部203における1対1遷移変換部の変換前の値として、特定された組み合わせ(CB値とNB値)を登録すると共に、変換後の値として、対応する組み合わせ(CA値とNA値)を登録する(ステップS47)。そしてステップS51に移行する。   Shifting to the description of the processing in FIG. 9, the conversion table generating unit 105 determines whether there is only one type of combination of the CA value and the NA value extracted in step S43 (step S45). If only one type of combination of CA value and NA value is extracted, it indicates that there is a one-to-one correspondence between transition types before and after conversion. Therefore, the conversion table generation unit 105 registers the specified combination (CB value and NB value) as the value before conversion of the one-to-one transition conversion unit in the conversion table storage unit 203, and as the value after conversion, Corresponding combinations (CA value and NA value) are registered (step S47). Then, control goes to a step S51.

一方、ステップS43で抽出された組み合わせが2種類以上であれば、変換表生成部105は、変換表格納部203における1対1以外の遷移変換部において、変換前の値として、特定された組み合わせ(CB値とNB値)を登録すると共に、変換後の値として、対応する組み合わせ(CA値とNA値)を登録し、さらにステップS43で計数された出現頻度を実行回数として登録する(ステップS49)。対応する組み合わせについてはステップS43で抽出された組み合わせの種類を全て登録し、その種類について出現頻度を実行回数として登録する。このようにすれば、1対1以外の遷移変換部にデータが登録されてゆく。   On the other hand, if there are two or more combinations extracted in step S43, the conversion table generation unit 105 uses the transition conversion unit other than the one-to-one combination in the conversion table storage unit 203 as the combination specified as the value before conversion. (CB value and NB value) are registered, the corresponding combination (CA value and NA value) is registered as the converted value, and the appearance frequency counted in step S43 is registered as the number of executions (step S49). ). For the corresponding combinations, all the types of combinations extracted in step S43 are registered, and the appearance frequency is registered as the number of executions for that type. In this way, data is registered in transition conversion units other than one-to-one.

ステップS51に移行して、変換表生成部105は、ステップS43で抽出された、対応する組み合わせに含まれるCA値又はNA値のいずれかが1対1イベント変換部に登録済みであるか確認し、該当する場合には該当部分を空欄に変更する(ステップS51)。これによってデータ量を削減することができる。   In step S51, the conversion table generation unit 105 confirms whether either the CA value or the NA value included in the corresponding combination extracted in step S43 has been registered in the one-to-one event conversion unit. If applicable, the corresponding part is changed to a blank (step S51). As a result, the amount of data can be reduced.

その後、変換表生成部105は、ステップS35で抽出された、CB値とNB値の組み合わせのうち未処理の組み合わせが存在するか(ステップS53)。未処理の組み合わせが存在する場合には端子Cを介してステップS37に戻る。一方、ステップS35で抽出された組み合わせの全てについて処理した場合には、変換表生成部105は、データ格納部104に格納されているテンポラリテーブルを破棄して(ステップS55)、元の処理に戻る。   Thereafter, the conversion table generating unit 105 determines whether there is an unprocessed combination among the combinations of the CB value and the NB value extracted in step S35 (step S53). If there is an unprocessed combination, the process returns to step S37 via the terminal C. On the other hand, when all the combinations extracted in step S35 have been processed, the conversion table generating unit 105 discards the temporary table stored in the data storage unit 104 (step S55) and returns to the original process. .

これによって、データ量の少ないと見積もられた変換表が生成され、変換表格納部203に格納されたことになる。   As a result, a conversion table estimated to have a small amount of data is generated and stored in the conversion table storage unit 203.

なお、上で述べた例では変換前フローが1種類で変換後フローが1種類である例を示したが、変換前フロー及び変換後フローのいずれも複数の場合もある。   In the example described above, an example in which there is one type of pre-conversion flow and one type of post-conversion flow is shown, but there may be a plurality of pre-conversion flows and post-conversion flows.

次に、図10乃至図24を用いて、上で述べた処理で生成されたデータを用いる場面について説明する。   Next, with reference to FIGS. 10 to 24, a scene in which data generated by the above-described processing is used will be described.

例えば、入力部301を介してユーザから指示を受けると、表示切替部302は、第1フロー格納部202から変換前フローのデータを読み出し、フロー図に変換した後、表示装置等の出力装置305に出力する(図10:ステップS61)。以下の説明では、第1フロー格納部202には、例えば図11に示すようなデータが格納されているものとする。各遷移は出現順に並べられているので、そのまま並べて連結してゆけばフロー図が生成できる。図11のようなデータの場合、ステップS61で表示装置等の出力装置305から出力されるフロー図は、図12に示すようなデータとなる。   For example, when receiving an instruction from the user via the input unit 301, the display switching unit 302 reads the data of the flow before conversion from the first flow storage unit 202, converts it to a flow diagram, and then outputs the output device 305 such as a display device. (FIG. 10: Step S61). In the following description, it is assumed that the first flow storage unit 202 stores data as shown in FIG. Since the transitions are arranged in the order of appearance, a flow diagram can be generated by connecting them as they are. In the case of data as shown in FIG. 11, the flow diagram output from the output device 305 such as a display device in step S61 is data as shown in FIG.

そして、入力部301は、ユーザから観点切替指示を受け付ける(ステップS63)。そうすると、入力部301は、表示切替部302に対して切替後の観点を示すデータ(例えば「部門」など)を出力する。そうすると、表示切替部302は、切替後の観点(すなわち変換後)についてのフローデータを第1フロー格納部202又は第2フロー格納部201に保持しているか確認する(ステップS65)。この判断については、切替前の観点(すなわち変換前)から切替後の観点(すなわち変換後)への変換表を変換表格納部203に保持しているか確認するようにしても良い。   And the input part 301 receives a viewpoint switching instruction | indication from a user (step S63). Then, the input unit 301 outputs data (for example, “department”) indicating the viewpoint after switching to the display switching unit 302. Then, the display switching unit 302 confirms whether or not the flow data regarding the viewpoint after switching (that is, after conversion) is held in the first flow storage unit 202 or the second flow storage unit 201 (step S65). Regarding this determination, it may be confirmed whether the conversion table storage section 203 holds a conversion table from the viewpoint before switching (that is, before conversion) to the viewpoint after switching (that is, after conversion).

切替後の観点についてのフローデータを保持している場合には、表示切替部302は、第1フロー格納部202又は第2フロー格納部201から、該当するフローデータを読み出し、当該フローデータからフロー図を生成して、出力装置305に出力する(ステップS67)。そしてステップS73に移行する。   When the flow data regarding the viewpoint after switching is held, the display switching unit 302 reads out the corresponding flow data from the first flow storage unit 202 or the second flow storage unit 201, and flows from the flow data. A diagram is generated and output to the output device 305 (step S67). Then, control goes to a step S73.

例えば、第2フロー格納部201に図13に示すようなデータを保持しており、これが切替後の観点についてのフローデータであれば、図14に示すようなフロー図を生成し、表示装置等に出力する。これによって、ユーザは直ぐに切替後の観点についてのフローを確認することができる。場合によっては、切替前後のフロー図を並べて表示するようにしても良い。   For example, if data as shown in FIG. 13 is held in the second flow storage unit 201 and this is flow data regarding the viewpoint after switching, a flow diagram as shown in FIG. 14 is generated and a display device or the like is generated. Output to. As a result, the user can immediately confirm the flow regarding the viewpoint after switching. In some cases, flow diagrams before and after switching may be displayed side by side.

一方、切替後の観点についてのフローデータを第1フロー格納部202及び第2フロー格納部201に保持していない場合、表示切替部302は、フロー変換部303に、切替前の観点と切替後の観点とを含むフロー変換指示を出力し、フロー変換部303は、このフロー変換指示に応じて、フロー変換処理を実施する(ステップS69)。このフロー変換処理については、図15乃至図24を用いて説明する。   On the other hand, when the flow data regarding the viewpoint after switching is not held in the first flow storage unit 202 and the second flow storage unit 201, the display switching unit 302 causes the flow conversion unit 303 to switch the viewpoint before switching and after switching. A flow conversion instruction including the above viewpoint is output, and the flow conversion unit 303 performs a flow conversion process according to the flow conversion instruction (step S69). This flow conversion process will be described with reference to FIGS.

フロー変換部303は、例えば第1フロー格納部202から観点切替前のフローデータ(図11)を読み出し、変換表格納部203から変換表のデータを読み出す(図15:ステップS81)。例えば、変換表格納部203には、図3A乃至3Cに示すようなデータが格納されている。   For example, the flow conversion unit 303 reads the flow data before the viewpoint switching (FIG. 11) from the first flow storage unit 202, and reads the conversion table data from the conversion table storage unit 203 (FIG. 15: Step S81). For example, the conversion table storage unit 203 stores data as shown in FIGS. 3A to 3C.

そうすると、フロー変換部303は、観点切替前(すなわち変換前)のフローデータから、中間Mapデータを生成し、例えばメインメモリなどの記憶装置に格納する(ステップS83)。   Then, the flow conversion unit 303 generates intermediate Map data from the flow data before viewpoint switching (that is, before conversion) and stores it in a storage device such as a main memory (step S83).

中間Mapデータは、キー(Key)とそれに対応する値(Value)を格納可能なMapオブジェクトであり、例えばJava(登録商標)のjava.util.HashMap等を利用できる。このような中間Mapデータに、観点切替前のフローデータの遷移種をKeyに設定し、実行回数とMap(観点切替後の遷移種)とをValueに設定するオブジェクトを格納する。図16に示すように、Keyについては、図11の観点切替前の遷移種(変換前の遷移種)がそのまま登録される。一方、Value内の実行回数については、観点切替前の各遷移種の実行回数がそのまま登録される。Value内のMapについては空の状態となる。   The intermediate Map data is a Map object that can store a key (Key) and a value (Value) corresponding to the key (Key). For example, Java (registered trademark) java.util.HashMap can be used. In such intermediate Map data, an object in which the transition type of the flow data before viewpoint switching is set to Key and the number of executions and Map (transition type after viewpoint switching) is set to Value is stored. As shown in FIG. 16, for Key, the transition type before the viewpoint switching (transition type before conversion) in FIG. 11 is registered as it is. On the other hand, for the number of executions in Value, the number of executions of each transition type before viewpoint switching is registered as it is. Map in Value is empty.

次に、フロー変換部303は、変換表に含まれる1対1イベント変換部における未処理の変換前イベントを1つ特定する(ステップS85)。そして、フロー変換部303は、特定された変換前イベントで、中間MapデータのKeyを検索し、ヒットしたKeyに対応するValue側のMapのKeyに、1対1イベント変換部における対応する変換後イベントを登録する(ステップS87)。図17に1対1イベント変換部を再度示すが、例えばEvent-BをステップS85で特定したとすると、図16の中間MapデータのKeyでは、1行目の遷移、4行目の遷移及び5行目の遷移に出現しているので、対応するValue側のMapのKeyに、対応する変換後イベント「Event-b」を登録する。このような処理を図17の1対1イベント変換部に登録されている3つの変換前イベントについて実施すれば、図16の中間Mapデータは、図18に示すように変化する。図18から分かるように、Value側のMapのKeyは2分されて先行するイベント(すなわち遷移元イベント)と後続のイベント(すなわち遷移先イベント)とを登録できるようにしている。さらに、Value側の実行回数を、Value側のMapにおけるKeyに値が登録された場合にはValueに設定する。   Next, the flow conversion unit 303 identifies one unprocessed pre-conversion event in the one-to-one event conversion unit included in the conversion table (step S85). Then, the flow conversion unit 303 searches for the key of the intermediate map data using the identified pre-conversion event, and converts the key of the value-side Map corresponding to the hit key to the post-conversion corresponding to the one-to-one event conversion unit. An event is registered (step S87). FIG. 17 shows the one-to-one event conversion unit again. For example, if Event-B is specified in step S85, the key of the intermediate map data in FIG. Since it appears at the transition of the line, the corresponding post-conversion event “Event-b” is registered in the corresponding Map key on the Value side. When such a process is performed for the three pre-conversion events registered in the one-to-one event conversion unit in FIG. 17, the intermediate Map data in FIG. 16 changes as shown in FIG. As can be seen from FIG. 18, the Map key on the Value side is divided into two so that the preceding event (that is, the transition source event) and the subsequent event (that is, the transition destination event) can be registered. In addition, the number of executions on the Value side is set to Value when a value is registered in the Key in the Map on the Value side.

図15の処理の説明に戻って、フロー変換部303は、1対1イベント変換部において全ての変換前イベントを処理したか判断する(ステップS89)。未処理の変換前イベントが存在する場合にはステップS85に戻る。一方、1対1イベント変換部において全ての変換前イベントを処理した場合には、端子Dを介して図19の処理に移行する。   Returning to the description of the processing in FIG. 15, the flow conversion unit 303 determines whether all the pre-conversion events have been processed in the one-to-one event conversion unit (step S <b> 89). If there is an unprocessed pre-conversion event, the process returns to step S85. On the other hand, when all the pre-conversion events have been processed in the one-to-one event conversion unit, the processing shifts to the processing in FIG.

図19の処理の説明に移行して、フロー変換部303は、1対1遷移変換部における未処理の変換前遷移を1つ特定する(ステップS91)。そして、フロー変換部303は、特定された変換前遷移で、中間MapデータのKeyを検索し、ヒットしたKeyに対応するValue側のMapにおけるValueに、1対1遷移変換部における対応する変換後遷移を登録する(ステップS93)。図20に再度1対1遷移変換部を示すが、例えばEvent-AとEvent-Cとを含む遷移を特定したとすると、図18の中間MapデータのKeyでは、2行目の遷移が該当する。従って、対応するValue側のMapにおけるKeyに、対応する変換後遷移の先行イベント「Event-a2」を登録する。1対1遷移変換部における変換後遷移の後続イベントは未登録になっているが、1対1イベント変換部で対処可能であることを表しており、既に登録されている。但し、変換後遷移の先行イベント及び後続イベントが両方共に1対1遷移変換部に登録されていれば、両方とも対応するValue側のMapにおけるKeyに登録する。このような処理を図20の1対1遷移変換部に登録されている2つの変換前遷移について実施すれば、図18の中間Mapデータは、図21に示すように変換される。図18の場合には該当しないが、本ステップでValue側のMapにおけるKeyに変換後遷移が新規に登録された場合には、Value側の実行回数を、Value側のMapにおけるValueに登録する。   Shifting to the description of the processing in FIG. 19, the flow conversion unit 303 identifies one unprocessed pre-conversion transition in the one-to-one transition conversion unit (step S <b> 91). Then, the flow conversion unit 303 searches for the key of the intermediate map data in the specified pre-conversion transition, and converts the value in the Map on the Value side corresponding to the hit key to the post-conversion corresponding to the one-to-one transition conversion unit. A transition is registered (step S93). FIG. 20 shows the one-to-one transition conversion unit again. For example, if a transition including Event-A and Event-C is specified, the transition of the second row corresponds to the key of the intermediate map data in FIG. . Accordingly, the preceding event “Event-a2” of the corresponding post-conversion transition is registered in the Key of the corresponding Map on the Value side. The subsequent event of the transition after conversion in the one-to-one transition converter is unregistered, but this indicates that the one-to-one event converter can handle it, and has already been registered. However, if both the preceding event and the subsequent event of the post-conversion transition are registered in the one-to-one transition conversion unit, both are registered in the Key in the Map on the corresponding Value side. If such a process is performed for two pre-conversion transitions registered in the one-to-one transition conversion unit in FIG. 20, the intermediate Map data in FIG. 18 is converted as shown in FIG. Although not applicable in the case of FIG. 18, when a post-conversion transition is newly registered in the key on the Value side Map in this step, the number of executions on the Value side is registered in the Value on the Value side Map.

そして、フロー変換部303は、1対1遷移変換部における全ての変換前遷移を処理したか判断する(ステップS95)。未処理の変換前遷移が存在する場合にはステップS91に戻る。一方、1対1遷移変換部における全ての変換前遷移を処理した場合には、フロー変換部303は、1対1以外の遷移変換部における未処理の変換前遷移を1つ特定する(ステップS97)。そして、フロー変換部303は、特定された変換前遷移で、中間MapデータのKeyを検索し、ヒットしたKeyに対応するValue側のMapにおけるKeyに、対応する変換後遷移を登録する(ステップS99)。図22に再度1対1以外の遷移変換部を示すが、例えばEvent-AとEvent-Bとを含む遷移を特定したとすると、図21の中間MapデータのKeyでは、1行目の遷移が該当する。従って、対応するValue側のMapにおけるKeyに、対応する変換後遷移の先行イベント「Event-a2」及び「Event-a2」を登録する。1対1以外の遷移変換部における変換後遷移の後続イベントは未登録になっているが、1対1イベント変換部で対処可能であることを表しており、既に中間Mapデータに登録されている。但し、変換後遷移の先行イベント及び後続イベントが両方共に1対1以外の遷移変換部に登録されていれば、両方とも対応するValue側のMapにおけるKeyに登録する。このような処理を図22の1対1以外の遷移変換部に登録されている2つの変換前遷移について実施すれば、図21の中間Mapデータは、図23に示すように変換される。本ステップで登録された変換後遷移については、1対1以外の遷移変換部における実行回数をそのまま、Value側のMapにおけるValueに登録する。   Then, the flow conversion unit 303 determines whether all pre-conversion transitions in the one-to-one transition conversion unit have been processed (step S95). If there is an unprocessed pre-conversion transition, the process returns to step S91. On the other hand, when all pre-conversion transitions in the one-to-one transition conversion unit have been processed, the flow conversion unit 303 identifies one unprocessed pre-conversion transition in a transition conversion unit other than one-to-one (step S97). ). Then, the flow conversion unit 303 searches for the key of the intermediate map data in the specified pre-conversion transition, and registers the corresponding post-conversion transition in the key of the value-side map corresponding to the hit key (step S99). ). FIG. 22 shows a transition conversion unit other than one-to-one again. For example, if a transition including Event-A and Event-B is specified, the transition of the first row is changed in the key of the intermediate map data in FIG. Applicable. Accordingly, the preceding events “Event-a2” and “Event-a2” of the corresponding post-conversion transition are registered in the Key of the corresponding Map on the Value side. The subsequent event of the transition after conversion in the transition conversion unit other than one-to-one is unregistered, but this indicates that the one-to-one event conversion unit can handle it, and it has already been registered in the intermediate map data. . However, if both the preceding event and the subsequent event of the post-conversion transition are registered in a transition conversion unit other than one-to-one, both are registered in the Key in the Map on the corresponding Value side. If such a process is performed for two pre-conversion transitions registered in a transition conversion unit other than one-to-one in FIG. 22, the intermediate Map data in FIG. 21 is converted as shown in FIG. For the post-conversion transition registered in this step, the number of executions in the transition conversion unit other than one-to-one is registered as it is in the Value in the Map on the Value side.

図19の処理の説明に戻って、フロー変換部303は、1対1以外の遷移変換部の全ての変換前遷移について処理したか判断する(ステップS101)。未処理の変換前遷移が存在する場合には、ステップS97に戻る。一方、1対1以外の遷移変換部の全ての変換前遷移について処理した場合には、端子Eを介して図24の処理に移行する。   Returning to the description of the processing in FIG. 19, the flow conversion unit 303 determines whether all pre-conversion transitions of the transition conversion unit other than one-to-one have been processed (step S <b> 101). If there is an unprocessed pre-conversion transition, the process returns to step S97. On the other hand, when all the pre-conversion transitions of the transition conversion unit other than one-to-one are processed, the process proceeds to the process of FIG.

図24の処理の説明に移行して、フロー変換部303は、中間MapデータのValue側のMapから、変換後フローデータを生成し、変換後フロー格納部304に格納する(ステップS103)。図23に示した中間MapデータのValue側のMapには、図13に示した変換後(観点切替後)のフローデータと同様のデータが生成されているので、中間MapデータのValue側からデータを読み出し、変換後フロー格納部304に格納する。なお、Value側のKeyが遷移種を示しており、Valueが実行回数を表している。また、同種のKeyが複数存在するような場合には、それぞれの回数を合計して1レコードに統合する。そして、フロー変換部303は、メインメモリなどの記憶装置に格納している中間Mapデータを破棄する(ステップS105)。そして元の処理に戻る。   24, the flow conversion unit 303 generates post-conversion flow data from the Map on the Value side of the intermediate Map data, and stores it in the post-conversion flow storage unit 304 (step S103). In the Map on the Value side of the intermediate Map data shown in FIG. 23, the same data as the flow data after conversion (after viewpoint switching) shown in FIG. 13 is generated, so the data from the Value side of the intermediate Map data Is stored in the post-conversion flow storage unit 304. Note that the Key on the Value side indicates the transition type, and the Value indicates the number of executions. When there are a plurality of keys of the same type, the respective times are totaled and integrated into one record. Then, the flow conversion unit 303 discards the intermediate map data stored in the storage device such as the main memory (step S105). Then, the process returns to the original process.

図10の処理の説明に戻って、表示切替部302は、変換後フロー格納部304に格納されている変換後(観点切替後)のフローデータからフロー図を生成し、出力装置305に出力する(ステップS71)。これによって、例えば図14に示すフロー図が表示される。   Returning to the description of the processing in FIG. 10, the display switching unit 302 generates a flow diagram from the flow data after conversion (after viewpoint switching) stored in the post-conversion flow storage unit 304 and outputs the flow diagram to the output device 305. (Step S71). Thereby, for example, the flowchart shown in FIG. 14 is displayed.

そして、ステップS67又はステップS71の後に、表示切替部302は、入力部301を介してユーザから処理終了が指示されたか判断する(ステップS73)。処理終了が指示されていない場合には、さらなる観点の切替が指示される可能性があるのでステップS63に戻る。一方、処理終了が指示された場合には、指示のとおり処理を終了する。   Then, after step S67 or step S71, the display switching unit 302 determines whether the user has instructed to end the process via the input unit 301 (step S73). If the end of the process is not instructed, there is a possibility of further instructing switching of viewpoints, and the process returns to step S63. On the other hand, when the end of the process is instructed, the process ends according to the instruction.

なお、変換前(すなわち観点切替前)のフローに戻すような指示が入力される場合もあれば、第3の観点に切り換えるように指示される場合もある。   An instruction to return to the flow before conversion (that is, before viewpoint switching) may be input, or there may be an instruction to switch to the third viewpoint.

以上のような処理を実施すれば、変換表が採用された場合においても変換後のフローを生成することができる。変換後のフローがそのまま記憶されていれば、直ぐにユーザに提示することができる。このように、記憶領域というリソースを有効活用しつつ観点の切替を行って複数の観点のフローを提示できるようになる。   By performing the processing as described above, a converted flow can be generated even when a conversion table is adopted. If the converted flow is stored as it is, it can be immediately presented to the user. In this way, it is possible to present a flow of a plurality of viewpoints by switching viewpoints while effectively using the resource of the storage area.

なお、3つ以上のフローを取り扱う場合には、いずれを変換前フローとして選択し、残りのフローを変換表又はそれ自身で保持するのかについて、最も効率的なパターンを見積もる。例えば、第1乃至第3のフローが存在する場合には、第1のフローを変換前フローとして選択して、第2のフロー及び第3のフローを共に変換表にした場合、第2のフローを変換表で保持し且つ第3のフローをそれ自身で保持した場合、第2のフローをそれ自身で保持し且つ第3のフローを変換表で保持した場合、第2及び第3のフローをそれ自身で保持した場合といったようにパターン毎にデータ量の見積値合計で、最も効率的なパターンを選択する。   When three or more flows are handled, the most efficient pattern is estimated as to which one is selected as the pre-conversion flow and the remaining flow is held in the conversion table or itself. For example, when the first to third flows exist, the first flow is selected as the pre-conversion flow, and the second flow and the third flow are both converted into the conversion table. Is held in the conversion table and the third flow is held by itself, the second flow is held by itself and the third flow is held in the conversion table, the second and third flows are The most efficient pattern is selected based on the total estimated amount of data for each pattern, such as when it is held by itself.

例えば図25に示すような変換前フロー(フローデータは図26)を、図27に示すような変換後フロー(フローデータは図28)に変換する場合を考える。なお、例えば図29に示すような分析対象データ(全324インスタンスのうちの一部)が得られており、テンポラリテーブルは図30に示すような形で得られるものとする。   For example, consider a case where a flow before conversion as shown in FIG. 25 (flow data is FIG. 26) is converted into a flow after conversion as shown in FIG. 27 (flow data is FIG. 28). For example, it is assumed that data to be analyzed as shown in FIG. 29 (part of all 324 instances) is obtained, and the temporary table is obtained in the form shown in FIG.

上で述べた見積値算出式を用いると、変換表を生成する方式が約336バイト、変換後フローのデータを保持する方式が約406バイトとなる。変換後フローのデータを保持する方式を100%とすると、変換表を生成する方式では約83%のデータ量で済むことになり、約17%の容量節約が可能となる。また、見積り結果と実際の容量とを比較してみる。まず図31A乃至31Cの変換表で、文字列データは英数字1文字につき1バイト、漢字かな文字は1文字につき2バイトとしてカウントし、実行回数データはJava(登録商標)のintとして4バイトとしてカウントすると、変換表全体で340バイトとなり、見積りの336バイトとの差は4バイトである。また、図28は変換後フローデータであるが、これを変換表と同様のルールでカウントすると412バイトとなり、見積りの406バイトとの差は6バイトとなる。よって、見積りの誤差は少なく、実用的なものになっていると判断することができる。   Using the estimated value calculation formula described above, the method for generating the conversion table is about 336 bytes, and the method for holding the converted flow data is about 406 bytes. Assuming that the method for holding the flow data after conversion is 100%, the method for generating the conversion table requires only about 83% of the data amount, and the capacity can be saved by about 17%. Also, compare the estimation result with the actual capacity. First, in the conversion tables of FIGS. 31A to 31C, the character string data is counted as 1 byte for each alphanumeric character, the kanji character is counted as 2 bytes per character, and the execution frequency data is set as 4 bytes as Java int. When counted, the total conversion table is 340 bytes, and the difference from the estimated 336 bytes is 4 bytes. FIG. 28 shows the post-conversion flow data. If this is counted according to the same rules as those in the conversion table, it is 412 bytes, and the difference from the estimated 406 bytes is 6 bytes. Therefore, it can be determined that the estimation error is small and practical.

このように変換表の方が有利であることが分かり、変換表生成部105は、図7乃至図9で説明した変換表生成処理を実施して、図31Aに示す1対1イベント変換部、図31Bに示す1対1遷移変換部、図31Cに示す1対1以外の遷移変換部を生成して、変換表格納部203に格納する。1対1以外の遷移変換部のデータ量が多いが、1対1イベント変換部の効果があり、比較的多くの空欄が生じている。   In this way, it is understood that the conversion table is more advantageous, and the conversion table generation unit 105 performs the conversion table generation processing described with reference to FIGS. 7 to 9, and performs the one-to-one event conversion unit illustrated in FIG. A one-to-one transition converter shown in FIG. 31B and a transition converter other than the one-to-one shown in FIG. 31C are generated and stored in the conversion table storage unit 203. Although the data amount of the transition conversion unit other than one-to-one is large, there is an effect of the one-to-one event conversion unit and a relatively large number of blanks are generated.

次にフロー変換部303がフロー変換処理を行う際には、初期的には図32に示すような中間Mapデータが生成される。次に、1対1イベント変換部について処理すると、図33に示すような中間Mapデータが生成される。さらに、1対1遷移変換部について処理すると、図34に示すような中間Mapデータが生成される。さらに、1対1以外の遷移変換部について処理すると、図35に示すような中間Mapデータが生成される。なお、1対1以外の遷移変換部では、変換前1行に対し、変換後には複数行が対応付けられているので、中間MapデータのValue側におけるMapの既存行を1対1以外の遷移変換部内の変換後の行数と同じ行数になるようにコピーする。コピーするのは、既存行に1対1イベントの変換結果が含まれている可能性があるためである。そして、1対1以外の遷移変換部の変換後の値を、中間MapデータのValue側におけるKey及びValue部分に格納する。なお、図35は図28に示した変換後のフローデータと実質的に同じデータが得られたことを示している。   Next, when the flow conversion unit 303 performs the flow conversion process, initial intermediate map data as shown in FIG. 32 is generated. Next, when the one-to-one event conversion unit is processed, intermediate Map data as shown in FIG. 33 is generated. Further, when the one-to-one transition conversion unit is processed, intermediate Map data as shown in FIG. 34 is generated. Further, when the transition conversion unit other than one-to-one is processed, intermediate Map data as shown in FIG. 35 is generated. In the transition conversion unit other than one-to-one, since a plurality of rows are associated with one row before conversion after conversion, an existing row of Map on the Value side of the intermediate Map data is changed to a transition other than one-to-one. Copy so that the number of lines after conversion in the conversion part is the same. The reason for copying is that the conversion result of the one-to-one event may be included in the existing line. Then, the converted value of the transition conversion unit other than one-to-one is stored in the Key and Value portions on the Value side of the intermediate Map data. FIG. 35 shows that substantially the same data as the converted flow data shown in FIG. 28 is obtained.

以上本技術の実施の形態を説明したが、本技術はこれに限定されるものではない。上で述べた実施の形態は、業務フロー以外のフローについても適用可能である。   Although the embodiment of the present technology has been described above, the present technology is not limited to this. The embodiment described above can also be applied to flows other than business flows.

さらに、上で述べた機能ブロック図は一例であって、実際のプログラムモジュール構成と一致しない場合もある。処理フローについても結果が変化しない限り、処理順番を入れ替えたり、並列実行することも可能である。さらに、上で述べたデータ保持方法は一例に過ぎず、他のフォーマットでデータを保持するようにしても良い。   Furthermore, the functional block diagram described above is merely an example, and may not match the actual program module configuration. As long as the result does not change for the processing flow, it is possible to change the processing order or to execute in parallel. Furthermore, the data holding method described above is merely an example, and data may be held in other formats.

変換表についても他のフォーマットの変換表を採用するようにしても良い。さらに、見積値算出式に対しても他の式を採用するようにしても良い。   A conversion table of another format may be adopted for the conversion table. Further, other formulas may be adopted for the estimated value calculation formula.

なお、上で述べたフロー分析装置は、コンピュータ装置であって、図36に示すように、メモリ2501とCPU2503とハードディスク・ドライブ(HDD)2505と表示装置2509に接続される表示制御部2507とリムーバブル・ディスク2511用のドライブ装置2513と入力装置2515とネットワークに接続するための通信制御部2517とがバス2519で接続されている。オペレーティング・システム(OS:Operating System)及び本実施例における処理を実施するためのアプリケーション・プログラムは、HDD2505に格納されており、CPU2503により実行される際にはHDD2505からメモリ2501に読み出される。CPU2503は、アプリケーション・プログラムの処理内容に応じて表示制御部2507、通信制御部2517、ドライブ装置2513を制御して、所定の動作を行わせる。また、処理途中のデータについては、主としてメモリ2501に格納されるが、HDD2505に格納されるようにしてもよい。本技術の実施例では、上で述べた処理を実施するためのアプリケーション・プログラムはコンピュータ読み取り可能なリムーバブル・ディスク2511に格納されて頒布され、ドライブ装置2513からHDD2505にインストールされる。インターネットなどのネットワーク及び通信制御部2517を経由して、HDD2505にインストールされる場合もある。このようなコンピュータ装置は、上で述べたCPU2503、メモリ2501などのハードウエアとOS及びアプリケーション・プログラムなどのプログラムとが有機的に協働することにより、上で述べたような各種機能を実現する。   The flow analysis apparatus described above is a computer apparatus, and as shown in FIG. 36, a memory 2501, a CPU 2503, a hard disk drive (HDD) 2505, a display control unit 2507 connected to the display device 2509, and a removable device. A drive device 2513 for the disk 2511, an input device 2515, and a communication control unit 2517 for connecting to a network are connected by a bus 2519. An operating system (OS) and an application program for executing the processing in this embodiment are stored in the HDD 2505, and are read from the HDD 2505 to the memory 2501 when executed by the CPU 2503. The CPU 2503 controls the display control unit 2507, the communication control unit 2517, and the drive device 2513 according to the processing content of the application program, and performs a predetermined operation. Further, data in the middle of processing is mainly stored in the memory 2501, but may be stored in the HDD 2505. In an embodiment of the present technology, an application program for performing the above-described processing is stored in a computer-readable removable disk 2511 and distributed, and installed from the drive device 2513 to the HDD 2505. In some cases, the HDD 2505 may be installed via a network such as the Internet and the communication control unit 2517. Such a computer apparatus realizes various functions as described above by organically cooperating hardware such as the CPU 2503 and the memory 2501 described above and programs such as the OS and application programs. .

以上述べた本実施の形態をまとめると、以下のようになる。   The above-described embodiment can be summarized as follows.

本実施の形態に係る情報処理方法は、(A)第1のフローを当該第1のフローに関連する第2のフローへ変換するための変換表のデータ量と第2のフロー自体のデータ量とを見積もり、変換表のデータ量の見積り値と第2のフロー自体のデータ量の見積り値とを記憶装置に格納するステップと、(B)記憶装置に格納されている変換表のデータ量の見積り値が第2のフロー自体のデータ量の見積り値よりも小さい場合には、上記変換表を生成し、記憶装置に格納する変換表生成ステップとを含む。   In the information processing method according to the present embodiment, (A) the data amount of the conversion table for converting the first flow into the second flow related to the first flow and the data amount of the second flow itself Storing the estimated value of the data amount of the conversion table and the estimated value of the data amount of the second flow itself in the storage device, and (B) the data amount of the conversion table stored in the storage device When the estimated value is smaller than the estimated value of the data amount of the second flow itself, a conversion table generating step of generating the conversion table and storing it in the storage device is included.

このようにすれば、関連する複数のフローを保持する際に用いる記憶リソースを効率化できるようになる。   In this way, the storage resource used when holding a plurality of related flows can be made more efficient.

なお、本実施の形態に係る情報処理方法は、(C)第1のフローを表示するステップと、(D)第2のフローを表示する指示をユーザから受け付けると、記憶装置に第1のフローを第2のフローへ変換するための変換表が格納されているか又は第2のフローのデータが格納されていないか確認するステップと、(E)記憶装置に第1のフローから第2のフローへ変換するための変換表が格納されている又は第2のフローのデータが格納されていない場合には、当該変換表を記憶装置から読み出して、第1のフローのデータを当該変換表により第2のフローへ変換することにより第2のフローを生成する第2フロー生成ステップと、(F)生成された第2のフローを表示するステップとをさらに含むようにしてもよい。   Note that in the information processing method according to the present embodiment, (C) the step of displaying the first flow and (D) the instruction to display the second flow are received from the user, the first flow is stored in the storage device. A step of confirming whether a conversion table for converting the data into the second flow is stored or whether the data of the second flow is stored, and (E) the second flow from the first flow to the storage device When the conversion table for converting to the second flow data is stored or when the second flow data is not stored, the conversion table is read from the storage device, and the first flow data is read by the conversion table. You may make it further include the 2nd flow production | generation step which produces | generates a 2nd flow by converting into 2 flows, and the step which displays the (F) produced | generated 2nd flow.

このようにすれば、観点の異なるフローを変換表を用いて提示することができるようになる。なお、フローが業務フローであればイベントという文言がふさわしい場合があるが、一般的にはノードと呼ぶものとする。   In this way, flows with different viewpoints can be presented using the conversion table. If the flow is a business flow, the term event may be appropriate, but it is generally called a node.

なお、上で述べた変換表は、(a)第1のフローに出現するノード種と第2のフローに出現するノード種との関係が1対1関係であるノード種のペアを登録する第1テーブルと、(b)第1のフローに出現する、第1のノードから第2のノードへの遷移種と、第2のフローに出現する、第3のノードから第4のノードへの遷移種との関係が1対1関係である遷移種のペアを登録する第2テーブルと、(c)第1テーブル及び第2テーブルで特定される遷移種のペア以外の遷移種の対応関係を登録する第3テーブルとを含むようにしてもよい。   In the conversion table described above, (a) a node type pair in which the relationship between the node type appearing in the first flow and the node type appearing in the second flow is a one-to-one relationship is registered. 1 table, (b) the transition type from the first node to the second node appearing in the first flow, and the transition from the third node to the fourth node appearing in the second flow A second table for registering a pair of transition types having a one-to-one relationship with the species, and (c) registering a correspondence relationship of transition types other than the pair of transition types specified in the first table and the second table The third table may be included.

このようなテーブル構成であれば、変換表のデータ量をより削減することができる。   With such a table configuration, the data amount of the conversion table can be further reduced.

また、第2テーブル及び第3テーブルにおいて、第1テーブルから導き出されるノード種については空を登録するようにしてもよい。変換表のデータ量をさらに削減できる。   Further, in the second table and the third table, the node type derived from the first table may be registered as empty. The data amount of the conversion table can be further reduced.

さらに、上で述べた変換表が、上で述べた3つのテーブルを含むようにしてもよい。また、上で述べた第2フロー生成ステップにおいて、第1テーブル、第2テーブル、第3テーブルの順番で、第1のフローに対して適用することで、第2のフローを生成するようにしてもよい。効率的に第2のフローを生成することができるようになる。   Further, the conversion table described above may include the three tables described above. Further, in the second flow generation step described above, the second flow is generated by applying to the first flow in the order of the first table, the second table, and the third table. Also good. The second flow can be generated efficiently.

また、上で述べた変換表生成ステップが、(B1)データベースに格納されているレコードに含まれ且つ第1のフローのノードとして用いられる第1の属性の属性値を案件毎に時系列に並べることによって得られる第1のフローインスタンスにおける各遷移と、同一のレコードに含まれ且つ第2のフローのノードとして用いられる第2の属性の属性値を案件毎に並べることによって得られる第2のフローインスタンスにおける各遷移とを、ノードの抽出元のレコードを基に対応付けてテンポラリテーブルに格納するステップと、(B2)テンポラリテーブルから、第1のフローに出現するノード種と第2のフローに出現するノード種との関係が1対1関係であるノード種のペアを抽出し、第1テーブルに登録するステップと、(B3)テンポラリテーブルから、第1のフローに出現する、第1のノードから第2のノードへの第1の遷移種と、第2のフローに出現する、第3のノードから第4のノードへの第2の遷移種との関係が1対1関係である遷移種のペアを抽出し、第2テーブルに登録するステップと、(B3)テンポラリテーブルから、第1のフローに出現する、第1のノードから第2のノードへの遷移種と、第2のフローに出現する、第3のノードから第4のノードへの遷移種との関係が1対多である場合には、当該遷移種との対応関係を、第3テーブルに登録するステップとを含むようにしてもよい。効率的に、変換表を生成することができる。   In addition, the conversion table generation step described above arranges the attribute values of the first attribute used in the record stored in the database (B1) and used as the first flow node in time series for each case. The second flow obtained by arranging the attribute values of the second attribute included in the same record and used as the nodes of the second flow for each item in the first flow instance obtained by Storing each transition in the instance in the temporary table in association with the record from which the node is extracted; and (B2) appearing in the first flow and the node type appearing in the first flow from the temporary table. Extracting a pair of node types having a one-to-one relationship with the node type to be registered in the first table, and (B3) tempo From the table, the first transition type from the first node to the second node appearing in the first flow, and the third transition from the third node to the fourth node appearing in the second flow. A step of extracting a pair of transition types having a one-to-one relationship with the two transition types and registering them in the second table; and (B3) a first node appearing in the first flow from the temporary table If there is a one-to-many relationship between the transition type from the first node to the second node and the transition type from the third node to the fourth node that appears in the second flow, The correspondence relationship may include a step of registering in the third table. A conversion table can be generated efficiently.

なお、上で述べたような処理をコンピュータに実施させるためのプログラムを作成することができ、当該プログラムは、例えばフレキシブル・ディスク、CD−ROMなどの光ディスク、光磁気ディスク、半導体メモリ(例えばROM)、ハードディスク等のコンピュータ読み取り可能な記憶媒体又は記憶装置に格納される。なお、処理途中のデータについては、RAM等の記憶装置に一時保管される。   It is possible to create a program for causing a computer to carry out the processing described above, such as a flexible disk, an optical disk such as a CD-ROM, a magneto-optical disk, and a semiconductor memory (for example, ROM). Or a computer-readable storage medium such as a hard disk or a storage device. Note that data being processed is temporarily stored in a storage device such as a RAM.

以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。   The following supplementary notes are further disclosed with respect to the embodiments including the above examples.

(付記1)
第1のフローを当該第1のフローに関連する第2のフローへ変換するための変換表のデータ量と前記第2のフロー自体のデータ量とを見積もり、前記変換表のデータ量の見積り値と前記第2のフロー自体のデータ量の見積り値とを記憶装置に格納するステップと、
前記記憶装置に格納されている前記変換表のデータ量の見積り値が前記第2のフロー自体のデータ量の見積り値よりも小さい場合には、前記変換表を生成し、前記記憶装置に格納する変換表生成ステップと、
を含み、コンピュータにより実行される情報処理方法。
(Appendix 1)
Estimating the data amount of the conversion table for converting the first flow into the second flow related to the first flow and the data amount of the second flow itself, and the estimated value of the data amount of the conversion table Storing an estimated value of the data amount of the second flow itself in a storage device;
If the estimated value of the data amount of the conversion table stored in the storage device is smaller than the estimated value of the data amount of the second flow itself, the conversion table is generated and stored in the storage device A conversion table generation step;
An information processing method executed by a computer.

(付記2)
前記第1のフローを表示するステップと、
前記第2のフローを表示する指示をユーザから受け付けると、前記記憶装置に前記第1のフローを前記第2のフローへ変換するための変換表が格納されているか又は前記第2のフローのデータが格納されていないか確認するステップと、
前記記憶装置に前記第1のフローから前記第2のフローへ変換するための変換表が格納されている又は前記第2のフローのデータが格納されていない場合には、当該変換表を前記記憶装置から読み出して、前記第1のフローのデータを当該変換表により前記第2のフローへ変換することにより前記第2のフローを生成する第2フロー生成ステップと、
生成された前記第2のフローを表示するステップと、
をさらに含む付記1記載の情報処理方法。
(Appendix 2)
Displaying the first flow;
When an instruction to display the second flow is received from a user, a conversion table for converting the first flow into the second flow is stored in the storage device, or data of the second flow To check if is stored,
If the conversion table for converting the first flow to the second flow is stored in the storage device or if the data of the second flow is not stored, the conversion table is stored in the storage device. A second flow generation step of generating the second flow by reading from the device and converting the data of the first flow into the second flow by the conversion table;
Displaying the generated second flow;
The information processing method according to appendix 1, further comprising:

(付記3)
前記変換表は、
前記第1のフローに出現するノード種と前記第2のフローに出現するノード種との関係が1対1関係であるノード種のペアを登録する第1テーブルと、
前記第1のフローに出現する、第1のノードから第2のノードへの遷移種と、前記第2のフローに出現する、第3のノードから第4のノードへの遷移種との関係が1対1関係である遷移種のペアを登録する第2テーブルと、
前記第1テーブル及び前記第2テーブルで特定される遷移種のペア以外の遷移種の対応関係を登録する第3テーブルと、
を含む付記1又は2記載の情報処理方法。
(Appendix 3)
The conversion table is
A first table for registering a pair of node types having a one-to-one relationship between a node type appearing in the first flow and a node type appearing in the second flow;
The relationship between the transition type from the first node to the second node that appears in the first flow and the transition type from the third node to the fourth node that appears in the second flow is as follows: A second table for registering pairs of transition types having a one-to-one relationship;
A third table for registering correspondences of transition types other than the pair of transition types specified in the first table and the second table;
The information processing method according to supplementary note 1 or 2 including:

(付記4)
前記第2テーブル及び前記第3テーブルにおいて、前記第1テーブルから導き出されるノード種については空を登録する
付記3記載の情報処理方法。
(Appendix 4)
The information processing method according to claim 3, wherein in the second table and the third table, the node type derived from the first table is registered as empty.

(付記5)
前記変換表は、
前記第1のフローに出現するノード種と前記第2のフローに出現するノード種との関係が1対1関係であるノード種のペアを登録する第1テーブルと、
前記第1のフローに出現する、第1のノードから第2のノードへの遷移種と、前記第2のフローに出現する、第3のノードから第4のノードへの遷移種との関係が1対1関係である遷移種のペアを登録する第2テーブルと、
前記第1テーブル及び前記第2テーブルで特定される遷移種のペア以外の遷移種の対応関係を登録する第3テーブルと、
を含み、
前記第2フロー生成ステップにおいて、前記第1テーブル、前記第2テーブル、前記第3テーブルの順番で、前記第1のフローに対して適用することで、前記第2のフローを生成する
付記2記載の情報処理方法。
(Appendix 5)
The conversion table is
A first table for registering a pair of node types having a one-to-one relationship between a node type appearing in the first flow and a node type appearing in the second flow;
The relationship between the transition type from the first node to the second node that appears in the first flow and the transition type from the third node to the fourth node that appears in the second flow is as follows: A second table for registering pairs of transition types having a one-to-one relationship;
A third table for registering correspondences of transition types other than the pair of transition types specified in the first table and the second table;
Including
In the second flow generation step, the second flow is generated by applying to the first flow in the order of the first table, the second table, and the third table. Information processing method.

(付記6)
前記変換表生成ステップが、
データベースに格納されているレコードに含まれ且つ前記第1のフローのノードとして用いられる第1の属性の属性値を案件毎に時系列に並べることによって得られる第1のフローインスタンスにおける各遷移と、同一のレコードに含まれ且つ前記第2のフローのノードとして用いられる第2の属性の属性値を前記案件毎に並べることによって得られる第2のフローインスタンスにおける各遷移とを、前記ノードの抽出元のレコードを基に対応付けてテンポラリテーブルに格納するステップと、
前記テンポラリテーブルから、前記第1のフローに出現するノード種と前記第2のフローに出現するノード種との関係が1対1関係であるノード種のペアを抽出し、前記第1テーブルに登録するステップと、
前記テンポラリテーブルから、前記第1のフローに出現する、第1のノードから第2のノードへの第1の遷移種と、前記第2のフローに出現する、第3のノードから第4のノードへの第2の遷移種との関係が1対1関係である遷移種のペアを抽出し、前記第2テーブルに登録するステップと、
前記テンポラリテーブルから、前記第1のフローに出現する、第1のノードから第2のノードへの遷移種と、前記第2のフローに出現する、第3のノードから第4のノードへの遷移種との関係が1対多である場合には、当該遷移種との対応関係を、前記第3テーブルに登録するステップと、
を含む、付記3記載の情報処理方法。
(Appendix 6)
The conversion table generation step includes:
Each transition in the first flow instance obtained by arranging the attribute values of the first attribute included in the record stored in the database and used as a node of the first flow in time series for each case; Each transition in the second flow instance obtained by arranging the attribute values of the second attribute included in the same record and used as the node of the second flow for each case is extracted from the source of the node Storing them in a temporary table in association with the records of
A node type pair in which the relationship between the node type appearing in the first flow and the node type appearing in the second flow is a one-to-one relationship is extracted from the temporary table and registered in the first table. And steps to
From the temporary table, the first transition type from the first node to the second node that appears in the first flow, and the third node to the fourth node that appears in the second flow. Extracting a pair of transition types having a one-to-one relationship with the second transition type and registering them in the second table;
From the temporary table, a transition type appearing in the first flow from the first node to the second node, and a transition appearing in the second flow from the third node to the fourth node. If the relationship with the species is one-to-many, registering the correspondence with the transition species in the third table;
The information processing method of supplementary note 3 including this.

(付記7)
第1のフローを当該第1のフローに関連する第2のフローへ変換するための変換表のデータ量と前記第2のフロー自体のデータ量とを見積もり、前記変換表のデータ量の見積り値と前記第2のフロー自体のデータ量の見積り値とを記憶装置に格納するステップと、
前記記憶装置に格納されている前記変換表のデータ量の見積り値が前記第2のフロー自体のデータ量の見積り値よりも小さい場合には、前記変換表を生成し、前記記憶装置に格納する変換表生成ステップと、
を、コンピュータに実行させるプログラム。
(Appendix 7)
Estimating the data amount of the conversion table for converting the first flow into the second flow related to the first flow and the data amount of the second flow itself, and the estimated value of the data amount of the conversion table Storing an estimated value of the data amount of the second flow itself in a storage device;
If the estimated value of the data amount of the conversion table stored in the storage device is smaller than the estimated value of the data amount of the second flow itself, the conversion table is generated and stored in the storage device A conversion table generation step;
A program that causes a computer to execute.

(付記8)
第1のフローを当該第1のフローに関連する第2のフローへ変換するための変換表のデータ量と前記第2のフロー自体のデータ量とを見積もり、前記変換表のデータ量の見積り値と前記第2のフロー自体のデータ量の見積り値とを記憶装置に格納する見積処理部と、
前記記憶装置に格納されている前記変換表のデータ量の見積り値が前記第2のフロー自体のデータ量の見積り値よりも小さい場合には、前記変換表を生成し、前記記憶装置に格納する変換表生成部と、
を有する情報処理装置。
(Appendix 8)
Estimating the data amount of the conversion table for converting the first flow into the second flow related to the first flow and the data amount of the second flow itself, and the estimated value of the data amount of the conversion table And an estimation processing unit that stores an estimated value of the data amount of the second flow itself in a storage device;
If the estimated value of the data amount of the conversion table stored in the storage device is smaller than the estimated value of the data amount of the second flow itself, the conversion table is generated and stored in the storage device A conversion table generator,
An information processing apparatus.

101 分析対象データ格納部 102 フロー生成部
103 見積処理部 104 データ格納部
105 変換表生成部
201 第2フロー格納部 202 第1フロー格納部
203 変換表格納部
301 入力部 302 表示切替部
303 フロー変換部 304 変換後フロー格納部
305 出力装置
101 Analysis target data storage unit 102 Flow generation unit
DESCRIPTION OF SYMBOLS 103 Estimation processing part 104 Data storage part 105 Conversion table production | generation part 201 2nd flow storage part 202 1st flow storage part 203 Conversion table storage part
DESCRIPTION OF SYMBOLS 301 Input part 302 Display switching part 303 Flow conversion part 304 After-conversion flow storage part 305 Output device

Claims (8)

第1のフローを当該第1のフローに関連する第2のフローへ変換するための変換表のデータ量の見積り値を、変換前後のフローの形状の類似性及びノード名の文字列長の平均に基づいて算出し、前記第2のフロー自体のデータ量の見積り値を、当該フローの遷移種数及びノード名の文字列長の平均に基づいて算出し、前記変換表のデータ量の見積り値と前記第2のフロー自体のデータ量の見積り値とを記憶装置に格納するステップと、
前記記憶装置に格納されている前記変換表のデータ量の見積り値が前記第2のフロー自体のデータ量の見積り値よりも小さい場合には、前記変換表を生成し、前記記憶装置に格納する変換表生成ステップと、
を含み、コンピュータにより実行される情報処理方法。
The estimated value of the data amount of the conversion table for converting the first flow into the second flow related to the first flow is the average of the similarity of the flow shape before and after the conversion and the character string length of the node name. calculated based on the second flow data of estimated values of itself, is calculated based on the average string length of transient species numbers and node names of the flow, the data amount of the estimated value of the conversion table Storing an estimated value of the data amount of the second flow itself in a storage device;
If the estimated value of the data amount of the conversion table stored in the storage device is smaller than the estimated value of the data amount of the second flow itself, the conversion table is generated and stored in the storage device A conversion table generation step;
An information processing method executed by a computer.
前記第1のフローを表示するステップと、
前記第2のフローを表示する指示をユーザから受け付けると、前記記憶装置に前記第1のフローを前記第2のフローへ変換するための変換表が格納されているか又は前記第2のフローのデータが格納されていないか確認するステップと、
前記記憶装置に前記第1のフローから前記第2のフローへ変換するための変換表が格納されている又は前記第2のフローのデータが格納されていない場合には、当該変換表を前記記憶装置から読み出して、前記第1のフローのデータを当該変換表により前記第2のフローへ変換することにより前記第2のフローを生成する第2フロー生成ステップと、
生成された前記第2のフローを表示するステップと、
をさらに含む請求項1記載の情報処理方法。
Displaying the first flow;
When an instruction to display the second flow is received from a user, a conversion table for converting the first flow into the second flow is stored in the storage device, or data of the second flow To check if is stored,
If the conversion table for converting the first flow to the second flow is stored in the storage device or if the data of the second flow is not stored, the conversion table is stored in the storage device. A second flow generation step of generating the second flow by reading from the device and converting the data of the first flow into the second flow by the conversion table;
Displaying the generated second flow;
The information processing method according to claim 1, further comprising:
前記変換表は、
前記第1のフローに出現するノード種と前記第2のフローに出現するノード種との関係が1対1関係であるノード種のペアを登録する第1テーブルと、
前記第1のフローに出現する、第1のノードから第2のノードへの遷移種と、前記第2のフローに出現する、第3のノードから第4のノードへの遷移種との関係が1対1関係である遷移種のペアを登録する第2テーブルと、
前記第1テーブル及び前記第2テーブルで特定される遷移種のペア以外の遷移種の対応関係を登録する第3テーブルと、
を含む請求項1又は2記載の情報処理方法。
The conversion table is
A first table for registering a pair of node types having a one-to-one relationship between a node type appearing in the first flow and a node type appearing in the second flow;
The relationship between the transition type from the first node to the second node that appears in the first flow and the transition type from the third node to the fourth node that appears in the second flow is as follows: A second table for registering pairs of transition types having a one-to-one relationship;
A third table for registering correspondences of transition types other than the pair of transition types specified in the first table and the second table;
The information processing method according to claim 1 or 2, comprising:
前記第2テーブル及び前記第3テーブルにおいて、前記第1テーブルから導き出されるノード種については空を登録する
請求項3記載の情報処理方法。
4. The information processing method according to claim 3, wherein in the second table and the third table, the node type derived from the first table is registered as empty.
前記変換表は、
前記第1のフローに出現するノード種と前記第2のフローに出現するノード種との関係が1対1関係であるノード種のペアを登録する第1テーブルと、
前記第1のフローに出現する、第1のノードから第2のノードへの遷移種と、前記第2のフローに出現する、第3のノードから第4のノードへの遷移種との関係が1対1関係である遷移種のペアを登録する第2テーブルと、
前記第1テーブル及び前記第2テーブルで特定される遷移種のペア以外の遷移種の対応関係を登録する第3テーブルと、
を含み、
前記第2フロー生成ステップにおいて、前記第1テーブル、前記第2テーブル、前記第3テーブルの順番で、前記第1のフローに対して適用することで、前記第2のフローを生成する
請求項2記載の情報処理方法。
The conversion table is
A first table for registering a pair of node types having a one-to-one relationship between a node type appearing in the first flow and a node type appearing in the second flow;
The relationship between the transition type from the first node to the second node that appears in the first flow and the transition type from the third node to the fourth node that appears in the second flow is as follows: A second table for registering pairs of transition types having a one-to-one relationship;
A third table for registering correspondences of transition types other than the pair of transition types specified in the first table and the second table;
Including
3. The second flow generation step generates the second flow by applying to the first flow in the order of the first table, the second table, and the third table. The information processing method described.
前記変換表生成ステップが、
データベースに格納されているレコードに含まれ且つ前記第1のフローのノードとして用いられる第1の属性の属性値を案件毎に時系列に並べることによって得られる第1のフローインスタンスにおける各遷移と、同一のレコードに含まれ且つ前記第2のフローのノードとして用いられる第2の属性の属性値を前記案件毎に並べることによって得られる第2のフローインスタンスにおける各遷移とを、前記ノードの抽出元のレコードを基に対応付けてテンポラリテーブルに格納するステップと、
前記テンポラリテーブルから、前記第1のフローに出現するノード種と前記第2のフローに出現するノード種との関係が1対1関係であるノード種のペアを抽出し、前記第1テーブルに登録するステップと、
前記テンポラリテーブルから、前記第1のフローに出現する、第1のノードから第2のノードへの第1の遷移種と、前記第2のフローに出現する、第3のノードから第4のノードへの第2の遷移種との関係が1対1関係である遷移種のペアを抽出し、前記第2テーブルに登録するステップと、
前記テンポラリテーブルから、前記第1のフローに出現する、第1のノードから第2のノードへの遷移種と、前記第2のフローに出現する、第3のノードから第4のノードへの遷移種との関係が1対多である場合には、当該遷移種との対応関係を、前記第3テーブルに登録するステップと、
を含む、請求項3記載の情報処理方法。
The conversion table generation step includes:
Each transition in the first flow instance obtained by arranging the attribute values of the first attribute included in the record stored in the database and used as a node of the first flow in time series for each case; Each transition in the second flow instance obtained by arranging the attribute values of the second attribute included in the same record and used as the node of the second flow for each case is extracted from the source of the node Storing them in a temporary table in association with the records of
A node type pair in which the relationship between the node type appearing in the first flow and the node type appearing in the second flow is a one-to-one relationship is extracted from the temporary table and registered in the first table. And steps to
From the temporary table, the first transition type from the first node to the second node that appears in the first flow, and the third node to the fourth node that appears in the second flow. Extracting a pair of transition types having a one-to-one relationship with the second transition type and registering them in the second table;
From the temporary table, a transition type appearing in the first flow from the first node to the second node, and a transition appearing in the second flow from the third node to the fourth node. If the relationship with the species is one-to-many, registering the correspondence with the transition species in the third table;
The information processing method according to claim 3, comprising:
第1のフローを当該第1のフローに関連する第2のフローへ変換するための変換表のデータ量の見積り値を、変換前後のフローの形状の類似性及びノード名の文字列長の平均に基づいて算出し、前記第2のフロー自体のデータ量の見積り値を、当該フローの遷移種数及びノード名の文字列長の平均に基づいて算出し、前記変換表のデータ量の見積り値と前記第2のフロー自体のデータ量の見積り値とを記憶装置に格納するステップと、
前記記憶装置に格納されている前記変換表のデータ量の見積り値が前記第2のフロー自体のデータ量の見積り値よりも小さい場合には、前記変換表を生成し、前記記憶装置に格納する変換表生成ステップと、
を、コンピュータに実行させるプログラム。
The estimated value of the data amount of the conversion table for converting the first flow into the second flow related to the first flow is the average of the similarity of the flow shape before and after the conversion and the character string length of the node name. calculated based on the second flow data of estimated values of itself, is calculated based on the average string length of transient species numbers and node names of the flow, the data amount of the estimated value of the conversion table Storing an estimated value of the data amount of the second flow itself in a storage device;
If the estimated value of the data amount of the conversion table stored in the storage device is smaller than the estimated value of the data amount of the second flow itself, the conversion table is generated and stored in the storage device A conversion table generation step;
A program that causes a computer to execute.
第1のフローを当該第1のフローに関連する第2のフローへ変換するための変換表のデータ量の見積り値を、変換前後のフローの形状の類似性及びノード名の文字列長の平均に基づいて算出し、前記第2のフロー自体のデータ量の見積り値を、当該フローの遷移種数及びノード名の文字列長の平均に基づいて算出し、前記変換表のデータ量の見積り値と前記第2のフロー自体のデータ量の見積り値とを記憶装置に格納する見積処理部と、
前記記憶装置に格納されている前記変換表のデータ量の見積り値が前記第2のフロー自体のデータ量の見積り値よりも小さい場合には、前記変換表を生成し、前記記憶装置に格納する変換表生成部と、
を有する情報処理装置。
The estimated value of the data amount of the conversion table for converting the first flow into the second flow related to the first flow is the average of the similarity of the flow shape before and after the conversion and the character string length of the node name. calculated based on the second flow data of estimated values of itself, is calculated based on the average string length of transient species numbers and node names of the flow, the data amount of the estimated value of the conversion table And an estimation processing unit that stores an estimated value of the data amount of the second flow itself in a storage device;
If the estimated value of the data amount of the conversion table stored in the storage device is smaller than the estimated value of the data amount of the second flow itself, the conversion table is generated and stored in the storage device A conversion table generator,
An information processing apparatus.
JP2010204914A 2010-09-13 2010-09-13 Information processing method, program, and apparatus Expired - Fee Related JP5664050B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010204914A JP5664050B2 (en) 2010-09-13 2010-09-13 Information processing method, program, and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010204914A JP5664050B2 (en) 2010-09-13 2010-09-13 Information processing method, program, and apparatus

Publications (2)

Publication Number Publication Date
JP2012059232A JP2012059232A (en) 2012-03-22
JP5664050B2 true JP5664050B2 (en) 2015-02-04

Family

ID=46056205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010204914A Expired - Fee Related JP5664050B2 (en) 2010-09-13 2010-09-13 Information processing method, program, and apparatus

Country Status (1)

Country Link
JP (1) JP5664050B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5813021B2 (en) * 2013-01-04 2015-11-17 株式会社パラダイムシフト Value chain improvement support system, value chain improvement support method, and value chain improvement support program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010004643A1 (en) * 2008-07-11 2010-01-14 富士通株式会社 Workflow analysis program, method, and device

Also Published As

Publication number Publication date
JP2012059232A (en) 2012-03-22

Similar Documents

Publication Publication Date Title
JP5251623B2 (en) Flow comparison processing method and apparatus
JP5629239B2 (en) Apparatus and method for testing operation of software
JP4736713B2 (en) Systems and methods to support the selection of project members
JPWO2010116613A1 (en) Access control policy template generation apparatus, system, method and program
JP4908073B2 (en) Service-based software design support method and apparatus therefor
US20120124110A1 (en) Database, management server, and management program
WO2017158802A1 (en) Data conversion system and data conversion method
US10360208B2 (en) Method and system of process reconstruction
US20100318389A1 (en) Business flow processing method and apparatus
JP2013214148A (en) Message conversion device, and message conversion program
JP2019016287A (en) Platform system, data conversion method, and data conversion program
JP5664050B2 (en) Information processing method, program, and apparatus
JP4973738B2 (en) Business flow processing program, method and apparatus
JP6079780B2 (en) Program, mapping apparatus and mapping method
JP6723893B2 (en) Data integration device and data integration method
GB2509853A (en) Method for generating workflow from business specification; program; and system
JP2013054433A (en) Data editing device and data editing method
JP5609681B2 (en) Test data generation program, method and apparatus
JPWO2017221857A1 (en) Similar arithmetic device, method and storage medium
WO2020017037A1 (en) Log analysis device, log analysis method, and program
JP2016081229A (en) Abnormal system test data generating device, method, and program, for multiple input variables
JP7444930B2 (en) Index calculation device, index calculation method and program
JP6007220B2 (en) Normal test data generation apparatus, method and program for multiple input variables
JP6413597B2 (en) Analysis program, analysis method, and analysis apparatus
WO2021210099A1 (en) Pattern extracting device, pattern extracting method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140304

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140502

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141124

R150 Certificate of patent or registration of utility model

Ref document number: 5664050

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees