JP2006221561A - Search program, recording medium therefor, search method, search device, and business process control program - Google Patents

Search program, recording medium therefor, search method, search device, and business process control program Download PDF

Info

Publication number
JP2006221561A
JP2006221561A JP2005036631A JP2005036631A JP2006221561A JP 2006221561 A JP2006221561 A JP 2006221561A JP 2005036631 A JP2005036631 A JP 2005036631A JP 2005036631 A JP2005036631 A JP 2005036631A JP 2006221561 A JP2006221561 A JP 2006221561A
Authority
JP
Japan
Prior art keywords
data
business
information
tree
search
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.)
Pending
Application number
JP2005036631A
Other languages
Japanese (ja)
Inventor
Yoshihide Nomura
佳秀 野村
Takeshi Kanai
剛 金井
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 JP2005036631A priority Critical patent/JP2006221561A/en
Publication of JP2006221561A publication Critical patent/JP2006221561A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To speed up search for a tree structure of data. <P>SOLUTION: An event data registering part 151 registers an event data and a business data related thereto when an event storage processing part 150 registers the event data into an event control DB 140, a related data update part 152 adds a pass cash to a business data-related table 142, when a parent-child relationship is generated newly between the business data by the registration of the even data, and the business data constituting a tree is searched using the business data-related table 142, based on the parent-child relationship in the event control DB 140, when searched by an event data searching part 160. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索プログラムおよびその記録媒体、検索方法、検索装置ならびに業務データに関する情報に該業務データに対する業務処理の実行によって発生するイベントに関するイベント情報を含めて業務データ情報として管理し、イベントにより結び付けられる業務データ情報間の関係に基づいて業務データ間にまたがる業務プロセスの進捗状況を管理する業務プロセス管理プログラムに関し、特に、ツリーの各パスをたどることなくツリー検索を高速に行うことができる検索プログラムおよびその記録媒体、検索方法、検索装置ならびにツリー検索を高速に行うことによって業務プロセスのトラッキングを高速に行うことができる業務プロセス管理プログラムに関するものである。   The present invention relates to a search program for performing a tree search for searching for data belonging to a tree structure data set which is a set of data constituting a tree, a recording medium thereof, a search method, a search apparatus, and information related to the business data. A business process management program that manages business data including event information related to events that occur as a result of processing, and manages the progress of business processes across business data based on the relationship between business data linked by events In particular, a search program capable of performing a tree search at high speed without following each path of the tree, a recording medium thereof, a search method, a search apparatus, and tracking a business process at high speed by performing the tree search at high speed be able to It relates to Tsutomu process management program.

近年、企業内業務のボトルネックを検出し、業務プロセスの改善を支援する業務プロセス管理プログラムが利用されている。かかる業務プロセス管理プログラムでは、複数の業務システムから抽出されるイベントに基づいて業務プロセスのトラッキングを行っている(例えば、特願2003−346271参照。)。   In recent years, business process management programs that detect bottlenecks in business and support improvement of business processes have been used. In such a business process management program, business processes are tracked based on events extracted from a plurality of business systems (for example, see Japanese Patent Application No. 2003-346271).

図12は、業務システムから抽出されるイベントに基づいて業務プロセス管理プログラムが行う業務プロセスのトラッキングを説明するための説明図である。同図において、業務プロセス管理プログラムは、受注システムA、発注システムB、配送システムCなどの業務システムからイベントを取得し、イベントと業務データに関する情報を対応付けてイベント管理DB140により管理する。   FIG. 12 is an explanatory diagram for explaining business process tracking performed by a business process management program based on an event extracted from a business system. In the figure, a business process management program acquires an event from a business system such as an order receiving system A, an ordering system B, and a delivery system C, and manages the event and business data in association with each other by the event management DB 140.

ここで、受注システムAから取得するイベントとしては、受注伝票の入力や照会などがあり、発注システムBから取得するイベントとしては、発注伝票の入力や発注品の受け入れなどがある。そして、業務プロセス管理プログラムは、業務システムから取得したイベントに関する情報を受注伝票や発注伝票などの業務データに関する情報に対応付けて業務データ情報としてイベント管理DB140により管理する。   Here, the event acquired from the order receiving system A includes input and inquiry of the order receiving slip, and the event acquired from the ordering system B includes input of the order receiving slip and acceptance of the ordered product. Then, the business process management program associates information related to the event acquired from the business system with information related to business data such as an order slip or an order slip and manages it as business data information by the event management DB 140.

なお、イベント管理DB140によって管理される情報は業務データに関する業務データ情報であるが、ここでは、説明の便宜上、「業務データ情報」を適宜「業務データ」と呼んで説明する。   The information managed by the event management DB 140 is business data information related to business data. Here, for convenience of explanation, “business data information” will be referred to as “business data” as appropriate.

図12において、業務データ「受注伝票A1」には「伝票入力」および「照会」のイベントが対応付けられており、「発注伝票B2」には「発注入力」および「受入」のイベントが対応付けられている。   In FIG. 12, business data “order receipt slip A1” is associated with “slip input” and “inquiry” events, and “order slip B2” is associated with “order input” and “acceptance” events. It has been.

また、業務データ間には親子間の関係があり、図12では、破線の矢印によって業務データ間の親子関係を示している。例えば、「受注伝票A1」は「発注伝票B1」および「発注伝票B2」を子として有する親であり、「受注伝票A2」は「発注伝票B2」および「発注伝票B1」を子として有する親である。   Further, there is a parent-child relationship between the business data, and in FIG. 12, the parent-child relationship between the business data is indicated by broken-line arrows. For example, “order slip A1” is a parent having “order slip B1” and “order slip B2” as children, and “order slip A2” is a parent having “order slip B2” and “order slip B1” as children. is there.

この例では、親子関係は、受注伝票とその受注伝票の受注品に対応して発注された発注品の発注伝票との関係を表わす。すなわち、「受注伝票A1」の受注品に対応して発注された発注品の発注伝票としては、「発注伝票B1」および「発注伝票B2」がある。なお、「発注伝票B1」は「受注伝票A2」の子でもあり、「発注伝票B1」には「受注伝票A2」の受注品に対応して発注された発注品も含まれる。   In this example, the parent-child relationship represents the relationship between the order slip and the order slip of the ordered product ordered corresponding to the ordered product in the order slip. That is, there are “order slip B1” and “order slip B2” as the order slips for the ordered items ordered in response to the order received in “order slip A1”. Note that “order slip B1” is also a child of “order slip A2”, and “order slip B1” includes orders placed in accordance with the orders received in “order slip A2”.

このように、業務データ間の親子関係には分岐と合流があり、親の業務データは複数の子を有し、子の業務データは複数の親を有することができる。   As described above, the parent-child relationship between the business data includes branching and merging, the parent business data can have a plurality of children, and the child business data can have a plurality of parents.

業務プロセス管理プログラムは、このような親子関係を有する業務データおよびイベントを用いて複数の業務システムにまたがる業務プロセスの進捗状況を管理する。例えば、図12のイベント管理DB140を用いて、業務プロセス管理プログラムは、受注−発注−配送という業務システムにまたがる業務プロセスの進捗状況を管理する。   The business process management program manages the progress of business processes across a plurality of business systems using business data and events having such a parent-child relationship. For example, using the event management DB 140 of FIG. 12, the business process management program manages the progress of business processes across business systems of order-order-delivery.

ここで、業務プロセスの進捗状況の管理として、例えば、「受注伝票A2」に関する業務プロセスの状況を確認するために、関連する「配送伝票C1」、「配送伝票C2」、「配送伝票C3」を取得する場合を考える。このとき、業務プロセス管理プログラムは、「受注伝票A2」から親子関係をたどって「配送伝票C1」、「配送伝票C2」、「配送伝票C3」を取得する。   Here, as management of the progress status of the business process, for example, in order to confirm the status of the business process related to the “order slip A2”, the related “delivery slip C1,” “delivery slip C2,” and “delivery slip C3” are displayed. Consider the case of getting. At this time, the business process management program obtains “delivery slip C1”, “delivery slip C2”, and “delivery slip C3” by following the parent-child relationship from “order slip A2”.

また、逆に、「配送伝票C3」の受注元を確認するために、関連する「受注伝票A1」、「受注伝票A2」を取得する場合を考える。このとき、業務プロセス管理プログラムは、「配送伝票C3」から親子関係を逆にたどって「受注伝票A1」、「受注伝票A2」を取得する。   Conversely, a case is considered in which related “order slip A1” and “order slip A2” are acquired in order to confirm the order originator of “delivery slip C3”. At this time, the business process management program obtains “order slip A1” and “order slip A2” from the “delivery slip C3” by tracing back the parent-child relationship.

このように、業務プロセス管理プログラムは、イベント管理DB140に含まれる業務データの親子関係をたどって、ある業務データからその業務データに関連する業務データの検索、すなわち、ある業務データをルートとするツリーに含まれる業務データを検索するツリー検索を行っている。   As described above, the business process management program traces the parent-child relationship of the business data included in the event management DB 140 and searches for business data related to the business data from a certain business data, that is, a tree having a certain business data as a root. A tree search is performed to search for business data contained in.

ここで、業務システムの数が少ない場合には、親子関係を順次たどって検索しても検索時間が問題となることはないが、業務システムの数が多くなると、親子関係を順次たどって検索したのでは多くの検索時間が必要になるという問題がある。   Here, if the number of business systems is small, the search time does not matter even if the parent-child relationship is sequentially searched, but if the number of business systems is large, the parent-child relationship is sequentially searched. However, there is a problem that a lot of search time is required.

また、図13に示すように、ツリーごとにIDを振ることによって検索を高速化しようとすると、業務データBの「B002」のように、複数の親を有する業務データはツリーが不定となるという問題がある。   Also, as shown in FIG. 13, when the search is speeded up by assigning an ID to each tree, the business data having a plurality of parents, such as “B002” of the business data B, has an indefinite tree. There's a problem.

この発明は、上述した従来技術による問題点を解消するためになされたものであり、ツリーの各パスをたどることなくツリー検索を高速に行うことができる検索プログラムおよびその記録媒体、検索方法、検索装置ならびにツリー検索を高速に行うことによって業務プロセスのトラッキングを高速に行うことができる業務プロセス管理プログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems caused by the prior art, and a search program capable of performing a tree search at high speed without following each path of the tree, its recording medium, search method, and search An object of the present invention is to provide a business process management program capable of tracking a business process at a high speed by performing a device and tree search at a high speed.

上述した課題を解決し、目的を達成するため、請求項1の発明に係る検索プログラムは、ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索プログラムであって、前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新手順と、前記データ関連情報更新手順により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手順と、をコンピュータに実行させることを特徴とする。   In order to solve the above-mentioned problems and achieve the object, a search program according to the invention of claim 1 is a search program for performing a tree search for searching for data belonging to a tree structure data set which is a set of data constituting a tree. Data-related information in which data-related information in which information related to direct paths to all data included in the tree structure data set is associated with the root data of the tree is updated together with the update of the tree structure data set. An update procedure and a tree search procedure for performing the tree search using the data related information updated by the data related information update procedure are executed by a computer.

この請求項1の発明によれば、ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報をツリー構造データ集合の更新とともに更新し、更新したデータ関連情報を用いてツリー検索を行うよう構成したので、ツリーの各パスをたどることなくツリー検索を行うことができる。   According to the first aspect of the present invention, the data related information in which the information about the direct path to all the data included in the tree structure data set is associated with the root data of the tree is updated together with the update of the tree structure data set. Since the tree search is performed using the updated data-related information, the tree search can be performed without following each path of the tree.

また、請求項2の発明に係る検索プログラムは、請求項1の発明において、前記ツリー構造データ集合は、データ間の親子関係に基づき階層構造を構成するデータの集合である階層構造データ集合の部分集合であることを特徴とする。   According to a second aspect of the present invention, there is provided a search program according to the first aspect, wherein the tree structure data set is a portion of a hierarchical structure data set that is a set of data constituting a hierarchical structure based on a parent-child relationship between data. It is a set.

この請求項2の発明によれば、ツリー構造データ集合は、データ間の親子関係に基づき階層構造を構成するデータの集合である階層構造データ集合の部分集合であるよう構成したので、階層構造データ集合に含まれる任意のツリー構造データ集合に対してツリー検索を行うことができる。   According to the invention of claim 2, the tree structure data set is configured to be a subset of the hierarchical structure data set, which is a set of data constituting the hierarchical structure based on the parent-child relationship between the data. A tree search can be performed on an arbitrary tree structure data set included in the set.

また、請求項3の発明に係る検索プログラムは、請求項2の発明において、前記階層構造データ集合に含まれるデータは、業務データに関する情報である業務データ情報であり、前記ツリー検索手順は、業務データ情報間の親子関係に基づいて、ある業務データ情報に関連する業務データ情報を親から子の方向または子から親の方向へ検索することを特徴とする。   According to a third aspect of the present invention, there is provided a search program according to the second aspect, wherein the data included in the hierarchical structure data set is business data information that is information related to business data, and the tree search procedure includes: Based on the parent-child relationship between data information, business data information related to a certain business data information is searched in a parent-to-child direction or a child-to-parent direction.

この請求項3の発明によれば、階層構造データ集合に含まれるデータは、業務データに関する情報である業務データ情報であり、業務データ情報間の親子関係に基づいて、ある業務データ情報に関連する業務データ情報を親から子の方向または子から親の方向へ検索するので、高速なツリー検索によって業務プロセスのトラッキングを行うことができる。   According to the third aspect of the present invention, the data included in the hierarchical structure data set is business data information that is information related to business data, and is related to certain business data information based on the parent-child relationship between the business data information. Since the business data information is searched from the parent to the child or from the child to the parent, the business process can be tracked by a high-speed tree search.

また、請求項4の発明に係る検索プログラムは、請求項3の発明において、各業務データ情報は、対応する業務データに対する業務処理の実行にともなって発生するイベントの情報であるイベント情報を含み、前記イベント情報は、各業務データ情報が属するツリー構造データ集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、前記最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するイベント関連情報検索手順をさらにコンピュータに実行させることを特徴とする。   According to a fourth aspect of the present invention, there is provided a search program according to the third aspect of the invention, wherein each business data information includes event information that is information on an event that occurs in response to execution of business processing on the corresponding business data, The event information includes the first event and the latest event among the events generated by the business process executed on the business data corresponding to all the business data information included in the tree structure data set to which each business data information belongs. And a computer further executing an event-related information search procedure for searching for business data information related to business data that is a target of execution of the business process that generated the first event and the latest event. To do.

この請求項4の発明によれば、各業務データ情報は、対応する業務データに対する業務処理の実行にともなって発生するイベントの情報であるイベント情報を含み、イベント情報は、各業務データ情報が属するツリー構造データ集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するよう構成したので、最初および最近処理された業務データを特定することができる。   According to the invention of claim 4, each business data information includes event information that is information of an event that occurs as a result of execution of business processing on the corresponding business data, and each business data information belongs to the event information. Contains information on the first event and the latest event among the events generated by the business process executed on the business data corresponding to all business data information included in the tree structure data set. Since the business data information related to the business data for which the business process that caused the event is executed is searched, it is possible to specify the business data that has been processed first and recently.

また、請求項5の発明に係る検索プログラムは、請求項2、3または4の発明において、前記データ関連情報更新手順により更新されるデータ関連情報は、前記階層構造データ集合に属するデータのうち高速検索が必要なデータのみを対象とすることを特徴とする。   According to a fifth aspect of the present invention, there is provided a search program according to the second, third, or fourth aspect, wherein the data-related information updated by the data-related information update procedure is a high-speed data among the data belonging to the hierarchical structure data set. It is characterized by only the data that needs to be searched.

この請求項5の発明によれば、更新するデータ関連情報は、階層構造データ集合に属するデータのうち高速検索が必要なデータのみを対象としたので、更新処理を高速に行うことができる。   According to the fifth aspect of the present invention, the data-related information to be updated is only for data that needs to be searched at high speed among the data belonging to the hierarchical structure data set, so that the update process can be performed at high speed.

また、請求項6の発明に係る業務プロセス管理プログラムは、業務データに関する情報に該業務データに対する業務処理の実行によって発生するイベントに関するイベント情報を含めて業務データ情報として管理し、イベントにより結び付けられる業務データ情報間の関係に基づいて業務データ間にまたがる業務プロセスの進捗状況を管理する業務プロセス管理プログラムであって、業務データ情報間の関係に基づいて構成される業務データ情報ネットワークの一部としてツリーを構成する業務データ情報ツリー集合に含まれる業務データ情報に対して該業務データ情報ツリー集合に含まれる業務データ情報への直接のパスを対応させた業務データ関連情報を該ツリーの更新とともに更新する業務データ関連情報更新手順と、前記業務データ関連情報更新手順により更新された業務データ関連情報を用いて、前記業務データ情報ツリー集合に含まれるある業務データ情報から該業務データ情報ツリー集合に含まれる業務データ情報を検索する業務プロセス検索を行う業務プロセス検索手順と、をコンピュータに実行させることを特徴とする。   The business process management program according to the invention of claim 6 manages business data as information related to business data including event information related to an event generated by execution of business processing on the business data, and is associated with the event. A business process management program that manages the progress of business processes across business data based on the relationship between data information, and is a tree as part of a business data information network configured based on the relationship between business data information The business data related information in which the direct path to the business data information included in the business data information tree set is associated with the business data information included in the business data information tree set constituting the business data is updated together with the update of the tree Business data related information update procedure and the business data Using the business data related information updated by the continuous information update procedure, a business process search is performed for searching business data information included in the business data information tree set from business data information included in the business data information tree set. A business process search procedure is executed by a computer.

この請求項6の発明によれば、業務データ情報間の関係に基づいて構成される業務データ情報ネットワークの一部としてツリーを構成する業務データ情報ツリー集合に含まれる業務データ情報に対して業務データ情報ツリー集合に含まれる業務データ情報への直接のパスを対応させた業務データ関連情報をツリーの更新とともに更新し、更新した業務データ関連情報を用いて、業務データ情報ツリー集合に含まれるある業務データ情報から業務データ情報ツリー集合に含まれる業務データ情報を検索する業務プロセス検索を行うよう構成したので、業務データ情報間の関係をたどることなく業務プロセス検索を行うことができる。   According to the invention of claim 6, the business data for business data information included in the business data information tree set constituting the tree as a part of the business data information network configured based on the relationship between the business data information. Update the business data related information corresponding to the direct path to the business data information included in the information tree set together with the tree update, and use the updated business data related information to use the updated business data related information. Since the business process search for searching the business data information included in the business data information tree set from the data information is performed, the business process search can be performed without following the relationship between the business data information.

また、請求項7の発明に係る業務プロセス管理プログラムは、請求項6の発明において、前記イベント情報は、各業務データ情報が属する業務データ情報ツリー集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、前記最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するイベント関連情報検索手順をさらにコンピュータに実行させることを特徴とする。   The business process management program according to claim 7 is the business process management program according to claim 6, wherein the event information corresponds to all business data information included in a business data information tree set to which each business data information belongs. Business information that includes information related to the first event and the latest event among the events generated by the business processing executed on the data, and that is the target of execution of the business processing that generated the first event and the latest event An event-related information search procedure for searching business data information related to data is further executed by a computer.

この請求項7の発明によれば、イベント情報は、各業務データ情報が属する業務データ情報ツリー集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するので、最初および最近処理された業務データを特定することができる。   According to the invention of claim 7, the event information is an event generated by a business process executed on business data corresponding to all business data information included in the business data information tree set to which each business data information belongs. Business data information about the business data that is the target of the execution of the business process that generated the first event and the latest event is retrieved. Specified business data can be identified.

また、請求項8の発明に係る記録媒体は、ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索プログラムを記録したコンピュータ読み取り可能な記録媒体であって、前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新手順と、前記データ関連情報更新手順により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手順と、をコンピュータに実行させる検索プログラムを記録したことを特徴とする。   A recording medium according to an eighth aspect of the invention is a computer-readable recording medium recording a search program for performing a tree search for searching for data belonging to a tree structure data set that is a set of data constituting a tree. A data related information update procedure for updating data related information in which information on direct paths to all data included in the tree structure data set is associated with the root data of the tree, together with the update of the tree structure data set And a tree search procedure for performing the tree search using the data related information updated by the data related information update procedure.

この請求項8の発明によれば、ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報をツリー構造データ集合の更新とともに更新し、更新したデータ関連情報を用いてツリー検索を行うよう構成したので、ツリーの各パスをたどることなくツリー検索を行うことができる。   According to the eighth aspect of the present invention, the data related information in which the information about the direct path to all the data included in the tree structure data set is associated with the root data of the tree is updated together with the update of the tree structure data set. Since the tree search is performed using the updated data-related information, the tree search can be performed without following each path of the tree.

また、請求項9の発明に係る検索方法は、ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索方法であって、前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新工程と、前記データ関連情報更新工程により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索工程と、を含んだことを特徴とする。   According to a ninth aspect of the present invention, there is provided a search method for performing a tree search for searching for data belonging to a tree structure data set, which is a set of data constituting a tree, for the root data of the tree. A data related information updating step for updating data related information corresponding to information related to direct paths to all data included in the tree structure data set together with the update of the tree structure data set, and the data related information updating step. And a tree search step for performing the tree search using the updated data-related information.

この請求項9の発明によれば、ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報をツリー構造データ集合の更新とともに更新し、更新したデータ関連情報を用いてツリー検索を行うよう構成したので、ツリーの各パスをたどることなくツリー検索を行うことができる。   According to the ninth aspect of the present invention, the data related information in which the information on the direct path to all the data included in the tree structure data set is associated with the root data of the tree is updated together with the update of the tree structure data set. Since the tree search is performed using the updated data-related information, the tree search can be performed without following each path of the tree.

また、請求項10の発明に係る検索装置は、ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索装置であって、前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させてデータ関連情報として記憶したデータ関連情報記憶手段と、前記データ関連情報記憶手段により記憶されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手段と、を備えたことを特徴とする。   According to a tenth aspect of the present invention, there is provided a search device for performing a tree search for searching for data belonging to a tree structure data set, which is a set of data constituting a tree, for the root data of the tree. Data-related information storage means for storing information related to direct paths to all data included in the tree-structured data set as data-related information, and data-related information stored by the data-related information storage means And tree search means for performing the tree search.

この請求項10の発明によれば、ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させて記憶したデータ関連情報を用いてツリー検索を行うよう構成したので、ツリーの各パスをたどることなくツリー検索を行うことができる。   According to the tenth aspect of the present invention, a tree search is performed using data-related information stored by associating information on direct paths to all data included in the tree structure data set with the root data of the tree. Since it is configured to do so, a tree search can be performed without following each path of the tree.

請求項1、8、9および10の発明によれば、ツリーの各パスをたどることなくツリー検索を行うので、ツリー検索を高速に行うことができるという効果を奏する。   According to the first, eighth, ninth, and tenth aspects of the present invention, the tree search is performed without following each path of the tree, so that the tree search can be performed at high speed.

また、請求項2の発明によれば、階層構造データ集合に含まれる任意のツリー構造データ集合に対してツリー検索を行うので、階層構造データ集合に対して高速なツリー検索を行うことができるという効果を奏する。   According to the invention of claim 2, since a tree search is performed on an arbitrary tree structure data set included in the hierarchical structure data set, a high-speed tree search can be performed on the hierarchical structure data set. There is an effect.

また、請求項3の発明によれば、高速なツリー検索によって業務プロセスのトラッキングを行うので、業務プロセスのトラッキングを高速に行うことができるという効果を奏する。   Further, according to the invention of claim 3, since the business process is tracked by high-speed tree search, the business process can be tracked at high speed.

また、請求項4および7の発明によれば、最初および最近処理された業務データを特定するので、業務プロセスの進行状況を管理することができるという効果を奏する。   In addition, according to the inventions of claims 4 and 7, since the first and recently processed business data is specified, the progress of the business process can be managed.

また、請求項5の発明によれば、更新処理を高速に行うので、ツリー処理全体を高速化することができるという効果を奏する。   According to the invention of claim 5, since the update process is performed at a high speed, there is an effect that the entire tree process can be speeded up.

また、請求項6の発明によれば、業務データ情報間の関係をたどることなく業務プロセス検索を行うので、業務プロセスのトラッキングを高速に行うことができるという効果を奏する。   Further, according to the invention of claim 6, since the business process search is performed without following the relationship between the business data information, the business process can be tracked at high speed.

以下に添付図面を参照して、この発明に係る検索プログラムおよびその記録媒体、検索方法、検索装置ならびに業務プロセス管理プログラムの好適な実施例を詳細に説明する。   Exemplary embodiments of a search program, a recording medium thereof, a search method, a search device, and a business process management program according to the present invention will be explained below in detail with reference to the accompanying drawings.

まず、本実施例に係るツリー検索高速化手法について説明する。図1は、本実施例に係るツリー検索高速化手法を説明するための説明図である。同図に示すように、本実施例では、業務データ「A001」は、子である業務データ「B001」へのパスだけではなく、孫である業務データ「C001」および「C002」への直接パスを有する。なお、ここでは、「C001」のパスのように、複数の親子関係によって間接的に関連がある業務データ間を結ぶ直接パスをパスキャッシュと呼ぶ。   First, the tree search speed-up method according to the present embodiment will be described. FIG. 1 is an explanatory diagram for explaining a tree search speed-up method according to the present embodiment. As shown in the figure, in this embodiment, the business data “A001” is not only a path to the child business data “B001”, but also a direct path to the grandchild business data “C001” and “C002”. Have Here, a direct path connecting business data indirectly related by a plurality of parent-child relationships, such as a path of “C001”, is called a path cache.

したがって、「A001」から「C001」および「C002」を検索する場合には、「A001」の子である「B001」を経由することなく、パスキャッシュを使って「C001」および「C002」を直接検索することができる。   Therefore, when searching for “C001” and “C002” from “A001”, “C001” and “C002” are directly used using the path cache without going through “B001” which is a child of “A001”. You can search.

同様に、業務データ「C001」は、親である業務データ「B001」へのパスだけではなく、「B001」の親である「A001」へのパスキャッシュを有する。したがって、「C001」から「A001」を検索する場合には、「C001」の親である「B001」を経由することなく、パスキャッシュを使って「A001」を直接検索することができる。   Similarly, the business data “C001” has a path cache to “A001” that is the parent of “B001” as well as the path to the business data “B001” that is the parent. Therefore, when searching for “A001” from “C001”, it is possible to directly search for “A001” using the path cache without going through “B001” which is the parent of “C001”.

このように、本実施例に係るツリー検索では、各業務データが子または親へのパスだけでなく、自分を含むツリーを構成する全ての業務データに対するパスキャッシュを有し、パスキャッシュを用いてツリー内のどの業務データも直接検索する。したがって、親子関係を順にたどって検索する必要がなく、ツリー内のどの業務データも高速に検索することができる。   Thus, in the tree search according to the present embodiment, each business data has a path cache for all business data constituting the tree including itself, not only the path to the child or parent, and the path cache is used. Search any business data directly in the tree. Therefore, it is not necessary to search the parent-child relationship in order, and any business data in the tree can be searched at high speed.

次に、本実施例に係る業務プロセス管理装置の構成について説明する。図2は、本実施例に係る業務プロセス管理装置の構成を示す機能ブロック図である。同図に示すように、この業務プロセス管理装置100は、プロセス定義部110と、プロセス情報記憶部120と、イベント抽出部130と、イベント管理DB140と、イベント格納処理部150と、イベント検索部160と、分析部170とを有する。   Next, the configuration of the business process management apparatus according to the present embodiment will be described. FIG. 2 is a functional block diagram illustrating the configuration of the business process management apparatus according to the present embodiment. As shown in the figure, the business process management apparatus 100 includes a process definition unit 110, a process information storage unit 120, an event extraction unit 130, an event management DB 140, an event storage processing unit 150, and an event search unit 160. And an analysis unit 170.

プロセス定義部110は、業務システム間に跨る業務プロセスの定義をユーザから受け付けてプロセス情報記憶部120に格納する処理部である。ここで、業務プロセスの定義には、業務データ間の親子関係の定義が含まれる。プロセス情報記憶部120は、業務システム間に跨る業務プロセスの定義を記憶する記憶部である。   The process definition unit 110 is a processing unit that receives a definition of a business process across business systems from a user and stores it in the process information storage unit 120. Here, the definition of the business process includes a definition of a parent-child relationship between business data. The process information storage unit 120 is a storage unit that stores business process definitions across business systems.

イベント抽出部130は、業務システムが業務データに対して実行する処理に起因して発生するイベントを抽出し、抽出したイベントに関連する業務データの情報をプロセス情報記憶部120から取得してイベントデータを生成する処理部である。   The event extraction unit 130 extracts an event that occurs due to processing executed by the business system on the business data, acquires business data information related to the extracted event from the process information storage unit 120, and acquires event data Is a processing unit for generating

イベント管理DB140は、イベントおよび業務データに関する情報を記憶するデータベースであり、このイベント管理DB140には、業務データに関する情報を記憶する業務データテーブル141と、パスキャッシュなどの業務データ間の関連(パス)を記憶する業務データ関連テーブル142と、イベントに関する情報を記憶するイベントデータテーブル143とが含まれる。   The event management DB 140 is a database that stores information related to events and business data. In the event management DB 140, a business data table 141 that stores information related to business data and a relationship (path) between business data such as a path cache. The business data related table 142 for storing the event information and the event data table 143 for storing information related to the event.

図3は、業務データテーブル141の一例を示す図である。同図に示すように、この業務データテーブル141は、業務データを識別するidと、業務データの種別を示すdataTypeと、業務データのキーを示すdataKeyと、パシキャッシュを有する(TRUE)か否(FALSE)かを示すpathCacheと、自分が含まれるツリーを構成する全ての業務データに属するイベントのうちで最も古いイベントの識別子であるfirstEventIdと、自分が含まれるツリーを構成する全ての業務データに属するイベントのうちで最も新しいイベントの識別子であるlatestEventIdとを業務データごとに記憶する。   FIG. 3 is a diagram illustrating an example of the business data table 141. As shown in the figure, this business data table 141 has an id for identifying business data, a dataType indicating the type of business data, a dataKey indicating the key of business data, and a cache cache (TRUE). FALSE), the firstEventId that is the identifier of the oldest event among the events belonging to all the business data that constitutes the tree in which it is included, and all the business data that constitute the tree in which it is included The latest event identifier, the latest event identifier among the events, is stored for each business data.

図4は、業務データ関連テーブル142の一例を示す図である。同図に示すように、この業務データ関連テーブル142は、関連元業務データを示すfromIdと、関連先業務データを示すtoIdと、業務データ間の階層差を示すpathDepthと、子から親への関連である(TRUE)か否(FALSE)かを示すisParentとをパスごとに記憶する。なお、この業務データ関連テーブル142は、同じ業務データ間のパスをpathDepthを「0」として記憶する。   FIG. 4 is a diagram illustrating an example of the business data relation table 142. As shown in the figure, this business data relation table 142 includes fromId indicating related business data, toId indicating related business data, pathDepth indicating a hierarchical difference between business data, and relationship from child to parent. IsParent indicating whether (TRUE) or not (FALSE) is stored for each path. The business data relation table 142 stores paths between the same business data with pathDepth set to “0”.

この業務データ関連テーブル142が、親子関係のパスだけでなく、複数の親子関係によって間接的に関連する業務データ間のパスキャッシュを記憶することによって、業務プロセス管理装置100は、関連する業務データを高速に検索することができる。   The business process management apparatus 100 stores not only the parent-child relationship path but also a path cache between business data indirectly related by a plurality of parent-child relationships, so that the business process management apparatus 100 stores related business data. You can search at high speed.

図5は、イベントデータテーブル143の一例を示す図である。同図に示すように、このイベントデータテーブル143は、イベントを識別するidと、イベントが属する業務データを示すbusinessDataIdと、イベントの名前を示すeventNameと、イベントの開始時刻を示すstartTimeと、イベントの終了時刻を示すfinishTimeとをイベントごとに記憶する。   FIG. 5 is a diagram illustrating an example of the event data table 143. As shown in the figure, this event data table 143 includes an id for identifying an event, businessDataId indicating business data to which the event belongs, eventName indicating the name of the event, startTime indicating the start time of the event, The finishTime indicating the end time is stored for each event.

イベント格納処理部150は、イベント抽出部130が作成したイベントデータをイベント管理DB140に格納するとともに、発生したイベントに関係する業務データの情報をイベント管理DB140に格納する処理部であり、イベントデータ登録部151と、関連データ更新部152と、イベント更新部153とを有する。   The event storage processing unit 150 is a processing unit that stores the event data created by the event extraction unit 130 in the event management DB 140 and stores business data information related to the event that has occurred in the event management DB 140. Unit 151, related data update unit 152, and event update unit 153.

イベントデータ登録部151は、イベントデータをイベントデータテーブルに登録するとともに、イベントデータに関連する業務データを業務データテーブル141に登録する処理部である。   The event data registration unit 151 is a processing unit that registers event data in the event data table and registers business data related to the event data in the business data table 141.

関連データ更新部152は、イベントデータの追加にともなって業務データ間に新たな関連が追加された場合に、業務データ関連テーブル142を更新する処理部である。この関連データ更新部152が、イベントデータの追加にともなって業務データ間に新たな関連が追加された場合に、業務データ関連テーブル142を更新することによって、業務プロセス管理装置100は、ツリー構造を構成する関連業務データを高速に検索することができる。   The related data update unit 152 is a processing unit that updates the business data relation table 142 when a new relation is added between business data as event data is added. When the related data update unit 152 updates the business data relation table 142 when a new relation is added between the business data as the event data is added, the business process management apparatus 100 changes the tree structure. The related business data can be searched at high speed.

イベント更新部153は、業務データテーブル141のfirstEventIdとlatestEventIdとを更新する処理部である。すなわち、このイベント更新部153は、業務データが属するツリーに含まれる全ての業務データのイベントのうち最も古いイベントと最も新しいイベントに関する情報を更新する。   The event update unit 153 is a processing unit that updates firstEventId and latestEventId in the business data table 141. In other words, the event updating unit 153 updates information regarding the oldest event and the newest event among all the business data events included in the tree to which the business data belongs.

イベント検索部160は、イベント管理DB140が記憶するイベントや業務データに関する情報を検索する処理部である。このイベント検索部160は、業務データ関連テーブル142を用いて、ツリーを構成する業務データのうちのある業務データからツリー内の残りの業務データを高速に検索する。   The event search unit 160 is a processing unit that searches for information related to events and business data stored in the event management DB 140. The event search unit 160 uses the business data relation table 142 to search the remaining business data in the tree from the business data of the business data constituting the tree at high speed.

このイベント検索部160が、業務データ関連テーブル142を用いて、ツリーを構成する業務データのうちのある業務データからツリー内の残りの業務データを高速に検索することによって、業務プロセス管理装置100は、業務プロセスのトラッキングを高速に行うことができる。   The event search unit 160 uses the business data relation table 142 to search the remaining business data in the tree from the business data of the business data constituting the tree at high speed. Business process tracking can be performed at high speed.

また、このイベント検索部160は、特定のツリーに属する業務データのうち業務データテーブル141のfirstEventIdおよびlatestEventIdのイベントが属する業務データを検索することによって、最初および最後に処理が行われた業務データを検索する。   In addition, the event search unit 160 searches for business data to which the firstEventId and latestEventId events of the business data table 141 belong among the business data belonging to a specific tree, thereby obtaining the business data processed first and last. Search for.

このイベント検索部160が、特定のツリーに属する業務データのうち最初および最後に処理が行われた業務データを検索することによって、特定の業務プロセスの中で最初および最後に処理が行われた業務データを特定することができる。   The event search unit 160 searches the business data processed first and last among the business data belonging to the specific tree, so that the business processed first and last in the specific business process is performed. Data can be identified.

分析部170は、イベント管理DB140に格納されたイベントや業務データに関する情報を用いて業務プロセスの分析を支援する情報をユーザに提供する処理部である。例えば、この分析部170は、イベント検索部160に対して業務プロセスのトラッキングを指示し、トラッキング結果を表示装置に表示する。   The analysis unit 170 is a processing unit that provides a user with information that supports analysis of a business process using information about events and business data stored in the event management DB 140. For example, the analysis unit 170 instructs the event search unit 160 to track the business process, and displays the tracking result on the display device.

次に、関連データ更新部152による業務データ関連テーブル142の更新について図6−1〜図6−6を用いて説明する。図6−1〜図6−6は、関連データ更新部152による業務データ関連テーブル142の更新を説明するための説明図(1)〜(6)である。なお、ここでは、ツリー構造の最上位層の業務データおよび最下位層の業務データにパスキャッシュを設ける場合について説明する。   Next, the update of the business data related table 142 by the related data update unit 152 will be described with reference to FIGS. 6A to 6D are explanatory views (1) to (6) for explaining the update of the business data related table 142 by the related data update unit 152. Here, a case will be described in which a path cache is provided for business data in the highest layer and business data in the lowest layer of the tree structure.

例えば、図6−1のような関係の業務データがある場合、業務データ「C002」に、「B001」への関連データを持ったイベントデータが登録されたとすると、図6−2のように業務データ間にパスが追加される。すなわち、業務データ関連テーブル142に、「B001」から「C002」へのパスと、「C002」から「B001」へのパスが追加される。   For example, when there is business data having a relationship as shown in FIG. 6A, if event data having related data to “B001” is registered in the business data “C002”, the business data as shown in FIG. A path is added between the data. That is, a path from “B001” to “C002” and a path from “C002” to “B001” are added to the business data relation table 142.

そして、「B001」と「C001」との間に関連ができたことによって、「A001」および「D001」のパスキャッシュを更新する。すなわち、図6−3のように、イベントを登録した業務データ「C002」よりも子(child)方向の業務データ「D001」、および、新しく登録された関連データ「B001」に対して、子(child)方向のパスキャッシュがある業務データ「A001」を検索する。そして、図6−4のように、「A001」のパスキャッシュとして、「C002」および「D001」へのパスを業務データ関連テーブル142に追加する。   Then, since the relationship between “B001” and “C001” is established, the path caches of “A001” and “D001” are updated. That is, as shown in FIG. 6-3, for the business data “D001” in the child direction from the business data “C002” in which the event is registered, and the newly registered related data “B001”, the child ( The business data “A001” having a path cache of “child” direction is searched. Then, as shown in FIG. 6-4, the paths to “C002” and “D001” are added to the business data relation table 142 as the path cache of “A001”.

同様に、図6−5のように、イベントを登録した業務データ「C002」よりも親(parent)方向の業務データ「A001」、および、イベントを登録した業務データ「C002」に対して、親(parent)方向のパスキャッシュがある業務データ「D001」を検索する。そして、図6−6のように、「D001」のパスキャッシュとして、「B001」および「A001」へのパスを業務データ関連テーブル142に追加する。   Similarly, as shown in FIG. 6-5, the parental business data “A001” and the business data “C002” in which the event is registered are parented to the business data “C002” in which the event is registered. The business data “D001” having a path cache in the (parent) direction is searched. Then, as shown in FIG. 6-6, the paths to “B001” and “A001” are added to the business data relation table 142 as the path cache of “D001”.

このような手順でパスキャッシュを更新することにより、関連データ更新部152は、イベントデータの登録順に左右されずにパスキャッシュを正しく更新していくことが可能となる。   By updating the path cache in such a procedure, the related data update unit 152 can correctly update the path cache without being influenced by the registration order of the event data.

また、図6−7は、パスキャッシュを使った高速検索例を示す図である。同図に示すように、イベント検索部160は、パスキャッシュを用いることによって、例えば業務データ「A001」に関連する業務データ、すなわち、「A001」をルートとするツリー構造に含まれる業務データ「B001」、「C001」、「C002」および「D001」を、ツリーを順番にたどることなく高速に取得することができる。   FIG. 6-7 is a diagram illustrating an example of high-speed search using a path cache. As shown in the figure, the event search unit 160 uses the path cache to, for example, business data related to the business data “A001”, that is, business data “B001” included in the tree structure having “A001” as a root. "," C001 "," C002 ", and" D001 "can be acquired at high speed without following the tree in order.

次に、図2に示したイベント格納処理部150によるイベント格納処理の処理手順について説明する。図7は、図2に示したイベント格納処理部150によるイベント格納処理の処理手順を示すフローチャートである。   Next, a processing procedure of event storage processing by the event storage processing unit 150 shown in FIG. 2 will be described. FIG. 7 is a flowchart showing a processing procedure of event storage processing by the event storage processing unit 150 shown in FIG.

同図に示すように、このイベント格納処理では、イベントデータ登録部151がイベント抽出部130から受け取ったイベントデータをイベント管理DB140に登録する(ステップS101)。ここで、イベントデータ登録部151は、登録するイベントデータに関連する業務データもイベント管理DB140に登録する。   As shown in the figure, in this event storage process, the event data registration unit 151 registers the event data received from the event extraction unit 130 in the event management DB 140 (step S101). Here, the event data registration unit 151 also registers business data related to the event data to be registered in the event management DB 140.

そして、関連データ更新部152がパスキャッシュを更新する(ステップS102)。すなわち、関連データ更新部152は、業務データ関連テーブル142にパスキャッシュを追加する。そして、イベント更新部153が業務データテーブル141のfirstEventIdとlatestEventIdを更新する(ステップS103)。   Then, the related data update unit 152 updates the path cache (step S102). That is, the related data update unit 152 adds a path cache to the business data related table 142. Then, the event update unit 153 updates firstEventId and latestEventId in the business data table 141 (step S103).

このように、イベント格納処理において関連データ更新部152がパスキャッシュを更新することによって、イベント検索部160は、業務データのツリーを検索する際に、ツリーを順番にたどることなく高速に検索することができる。   As described above, when the related data update unit 152 updates the path cache in the event storage process, the event search unit 160 can search the business data tree at high speed without sequentially tracing the tree. Can do.

次に、イベントデータ登録部151によるイベントデータ登録処理の処理手順について説明する。なお、このイベントデータ登録処理は、図7のステップS101の処理に対応する。   Next, a processing procedure of event data registration processing by the event data registration unit 151 will be described. This event data registration process corresponds to the process of step S101 in FIG.

図8は、イベントデータ登録部151によるイベントデータ登録処理の処理手順を示すフローチャートである。同図に示すように、イベントデータ登録部151は、イベントが属する業務データをイベント管理DB140から検索し(ステップS201)、業務データがイベント管理DB140にあるか否かを判定する(ステップS202)。   FIG. 8 is a flowchart showing a processing procedure of event data registration processing by the event data registration unit 151. As shown in the figure, the event data registration unit 151 searches the event management DB 140 for the business data to which the event belongs (step S201), and determines whether the business data is in the event management DB 140 (step S202).

その結果、業務データがイベント管理DB140にない場合には、業務データをイベント管理DB140に追加する(ステップS203)。また、イベントデータにイベントと関連する業務データがあるか否かを判定し(ステップS204)、関連する業務データがある場合には、関連する業務データおよび関連するパスをイベント管理DB140に追加する(ステップS205)。なお、関連する業務データがイベント管理DB140にある場合には、関連するパスの追加だけを行う。また、ここでは、関連するパスの追加は、イベントデータに含まれる直接の関連だけについて行う。   As a result, if the business data is not in the event management DB 140, the business data is added to the event management DB 140 (step S203). Also, it is determined whether or not there is business data related to the event in the event data (step S204). If there is related business data, the related business data and the related path are added to the event management DB 140 ( Step S205). Note that if the related business data is in the event management DB 140, only the related path is added. Further, here, the addition of the related path is performed only for the direct relation included in the event data.

そして、イベントデータをイベント管理DB140から検索し(ステップS206)、イベントデータがイベント管理DB140にあるか否かを判定する(ステップS207)。その結果、イベントデータがイベント管理DB140にない場合には、イベントデータをイベント管理DB140に追加する(ステップS208)。   Event data is searched from the event management DB 140 (step S206), and it is determined whether the event data is in the event management DB 140 (step S207). As a result, when the event data is not in the event management DB 140, the event data is added to the event management DB 140 (step S208).

このように、イベントデータ登録部151がイベント管理DB140にイベントデータおよび関連する業務データを登録することによって、業務プロセス管理装置100は、業務プロセスのトラッキングを行うことができる。   As described above, the event data registration unit 151 registers the event data and related business data in the event management DB 140, so that the business process management apparatus 100 can track the business process.

次に、関連データ更新部152によるパスキャッシュ更新処理の処理手順について説明する。なお、このパスキャッシュ更新処理は、図7のステップS102の処理に対応する。   Next, a processing procedure of path cache update processing by the related data update unit 152 will be described. This path cache update process corresponds to the process in step S102 of FIG.

図9は、関連データ更新部152によるパスキャッシュ更新処理の処理手順を示すフローチャートである。同図に示すように、関連データ更新部152は、パスキャッシュの更新が必要であるか否かを判定し(ステップS301)、パスキャッシュの更新が必要でない場合には、処理を終了する。   FIG. 9 is a flowchart showing a processing procedure of path cache update processing by the related data update unit 152. As shown in the figure, the related data update unit 152 determines whether or not the path cache needs to be updated (step S301). If the path cache needs not be updated, the process ends.

一方、パスキャッシュの更新が必要である場合には、関連が追加されて親子関係となった二つの業務データのうち子業務データに対して子業務データとなる業務データを検索し(ステップS302)、また、関連が追加されて親子関係となった業務データのうち親業務データに対して親業務データとなる業務データを検索する(ステップS303)。そして、ステップS303で検索した業務データからステップS302で検索した業務データへのパスキャッシュを追加する(ステップS304)。すなわち、ツリーの親側から子側へのパスキャッシュを追加する。   On the other hand, when the path cache needs to be updated, the business data that becomes the child business data is searched for the child business data out of the two business data that have been added to the parent-child relationship (step S302). In addition, the business data that becomes the parent business data is searched for the parent business data among the business data having the parent-child relationship by adding the relationship (step S303). Then, a path cache from the business data searched in step S303 to the business data searched in step S302 is added (step S304). That is, a path cache from the parent side to the child side of the tree is added.

また、関連が追加されて親子関係となった二つの業務データのうち親業務データに対して親業務データとなる業務データを検索し(ステップS305)、また、関連が追加されて親子関係となった業務データのうち子業務データに対して子業務データとなる業務データを検索する(ステップS306)。そして、ステップS306で検索した業務データからステップS305で検索した業務データへのパスキャッシュを追加する(ステップS307)。すなわち、ツリーの子側から親側へのパスキャッシュを追加する。   In addition, the business data that becomes the parent business data is searched for the parent business data among the two business data having the parent-child relationship by adding the relationship (step S305), and the parent-child relationship is obtained by adding the relationship. The business data that becomes the child business data is searched for the child business data among the obtained business data (step S306). Then, a path cache from the business data searched in step S306 to the business data searched in step S305 is added (step S307). That is, a path cache from the child side to the parent side of the tree is added.

このように、関連データ更新部152が、イベントの登録によって業務データ間に新たな親子関係が発生した場合に、親子関係の発生にともなって必要となるパスキャッシュを探索して業務データ関連テーブル142に追加することによって、イベント検索部160は、業務データのツリーを検索する際に、ツリーを順番にたどることなく高速に検索することができる。   As described above, when a new parent-child relationship occurs between business data due to event registration, the related data update unit 152 searches a path cache necessary for the occurrence of the parent-child relationship and searches the business data related table 142. By adding to the event search unit 160, when searching the business data tree, the event search unit 160 can search at high speed without tracing the tree in order.

次に、イベント更新部153によるイベント更新処理の処理手順について説明する。ここで、イベント更新処理とは、業務プロセスの中で最初に発生したイベント(最初のイベント)と最も新しいイベント(最後のイベント)を記録する処理であり、具体的には、業務データテーブル141のfirstEventIdとlatestEventIdを更新する処理である。また、このイベント更新処理は、図7のステップS103の処理に対応する。   Next, a processing procedure of event update processing by the event update unit 153 will be described. Here, the event update process is a process for recording the first event (first event) and the newest event (last event) in the business process. This is a process for updating firstEventId and latestEventId. This event update process corresponds to the process in step S103 of FIG.

図10は、イベント更新部153によるイベント更新処理の処理手順を示すフローチャートである。同図に示すように、イベント更新部153は、関連が追加されて親子関係となった二つの業務データのグループのうち子グループの業務データの中での最初と最後のイベントを検索し(ステップS401)、親グループのそれぞれの業務データテーブル141のfirstEventIdおよびlatestEventIdと比較する(ステップS402)。   FIG. 10 is a flowchart showing a processing procedure of event update processing by the event update unit 153. As shown in the figure, the event update unit 153 searches for the first and last events in the business data of the child group out of the two business data groups that have been added to the parent-child relationship. S401), the first eventId and latestEventId of the respective business data table 141 of the parent group are compared (step S402).

そして、親グループのそれぞれの業務データテーブル141のfirstEventIdおよびlatestEventIdの更新が必要であるか否かを判定し(ステップS403)、更新の必要なものがある場合には、業務データテーブル141のfirstEventIdおよびlatestEventIdを更新する(ステップS404)。   Then, it is determined whether or not the firstEventId and latestEventId of each business data table 141 of the parent group need to be updated (step S403). If there is something that needs to be updated, the firstEventId of the business data table 141 and latestEventId is updated (step S404).

また、関連が追加されて親子関係となった二つの業務データのグループのうち親グループの業務データの中での最初と最後のイベントを検索し(ステップS405)、子グループのそれぞれの業務データテーブル141のfirstEventIdおよびlatestEventIdと比較する(ステップS406)。   In addition, the first and last events in the business data of the parent group are retrieved from the two business data groups that have been added to the parent-child relationship (step S405), and each business data table of the child group is retrieved. 141 is compared with firstEventId and latestEventId of step 141 (step S406).

そして、子グループのそれぞれの業務データテーブル141のfirstEventIdおよびlatestEventIdの更新が必要であるか否かを判定し(ステップS407)、更新の必要なものがある場合には、親グループのそれぞれの業務データの最初のイベントと最後のイベントを更新する(ステップS408)。   Then, it is determined whether or not the firstEventId and latestEventId in the business data table 141 of each child group need to be updated (step S407). If there is any data that needs to be updated, the business data of each parent group is determined. The first event and the last event are updated (step S408).

このように、イベント更新部153が、イベントの登録によって業務データ間に新たな親子関係が発生した場合に、業務データテーブル141のfirstEventIdおよびlatestEventIdを更新することによって、業務プロセス管理装置100は、業務プロセスで最初に発生したイベントおよび最新のイベントを把握することができる。   As described above, when the event update unit 153 updates the firstEventId and latestEventId in the business data table 141 when a new parent-child relationship occurs between the business data due to the registration of the event, the business process management apparatus 100 can Know the first event that occurred in the process and the latest event.

上述してきたように、本実施例では、イベント格納処理部150がイベントデータをイベント管理DB140に登録する際に、イベントデータ登録部151がイベントデータおよび関連する業務データを登録し、イベントデータの登録によって、業務データ間に新たな親子関係が発生した場合に、関連データ更新部152が業務データ関連テーブル142にパスキャッシュを追加することとしたので、イベント検索部160が業務データのツリーを検索する際に、業務データ関連テーブル142を用いて、ツリーを順番にたどることなく高速に検索することができる。   As described above, in this embodiment, when the event storage processing unit 150 registers event data in the event management DB 140, the event data registration unit 151 registers event data and related business data, and registers event data. Thus, when a new parent-child relationship occurs between the business data, the related data update unit 152 adds a path cache to the business data related table 142, so the event search unit 160 searches the business data tree. At this time, the business data related table 142 can be used to search at high speed without tracing the tree in order.

なお、本実施例では、業務プロセス管理装置においてツリー構造のデータを検索する場合について説明したが、本発明はこれに限定されるものではなく、一般的に、ツリー構造のデータを検索する場合に同様に適用することができる。   In this embodiment, the case where the business process management apparatus searches for tree-structured data has been described. However, the present invention is not limited to this, and in general, when searching for tree-structured data. The same can be applied.

また、本実施例では、業務プロセス管理装置について説明したが、業務プロセス管理装置が有する構成をソフトウェアによって実現することで、同様の機能を有する業務プロセス管理プログラムを得ることができる。そこで、この業務プロセス管理プログラムを実行するコンピュータについて説明する。   Further, although the business process management apparatus has been described in the present embodiment, a business process management program having the same function can be obtained by realizing the configuration of the business process management apparatus with software. A computer that executes this business process management program will be described.

図11は、本実施例に係る業務プロセス管理プログラムを実行するコンピュータの構成を示す機能ブロック図である。同図に示すように、このコンピュータ200は、RAM210と、CPU220と、HDD230と、LANインタフェース240と、入出力インテフェース250と、DVDドライブ260とを有する。   FIG. 11 is a functional block diagram illustrating the configuration of a computer that executes a business process management program according to the present embodiment. As shown in the figure, the computer 200 includes a RAM 210, a CPU 220, an HDD 230, a LAN interface 240, an input / output interface 250, and a DVD drive 260.

RAM210は、プログラムやプログラムの実行途中結果などを記憶するメモリであり、CPU220は、RAM210からプログラムを読み出して実行する中央処理装置である。   The RAM 210 is a memory that stores a program and a program execution result, and the CPU 220 is a central processing unit that reads the program from the RAM 210 and executes the program.

HDD230は、プログラムやデータを格納するディスク装置であり、LANインタフェース240は、コンピュータ200をLAN経由で他のコンピュータに接続するためのインタフェースである。   The HDD 230 is a disk device that stores programs and data, and the LAN interface 240 is an interface for connecting the computer 200 to other computers via the LAN.

入出力インタフェース250は、マウスやキーボードなどの入力装置および表示装置を接続するためのインタフェースであり、DVDドライブ260は、DVDの読み書きを行う装置である。   The input / output interface 250 is an interface for connecting an input device such as a mouse or a keyboard and a display device, and the DVD drive 260 is a device for reading / writing a DVD.

そして、このコンピュータ200において実行される業務プロセス管理プログラム211は、DVDに記憶され、DVDドライブ260によってDVDから読み出されてコンピュータ200にインストールされる。   The business process management program 211 executed in the computer 200 is stored in the DVD, read from the DVD by the DVD drive 260, and installed in the computer 200.

あるいは、この業務プロセス管理プログラム211は、LANインタフェース240を介して接続された他のコンピュータシステムのデータベースなどに記憶され、これらのデータベースから読み出されてコンピュータ200にインストールされる。   Alternatively, the business process management program 211 is stored in a database or the like of another computer system connected via the LAN interface 240, read from these databases, and installed in the computer 200.

そして、インストールされた業務プロセス管理ログラム211は、HDD230に記憶され、RAM210に読み出されてCPU220によって業務プロセス管理プロセス221として実行される。   The installed business process management program 211 is stored in the HDD 230, read into the RAM 210, and executed by the CPU 220 as the business process management process 221.

(付記1)ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索プログラムであって、
前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新手順と、
前記データ関連情報更新手順により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手順と、
をコンピュータに実行させることを特徴とする検索プログラム。
(Supplementary Note 1) A search program for performing a tree search for searching for data belonging to a tree structure data set, which is a set of data constituting a tree,
A data related information update procedure for updating data related information in which information related to direct paths to all data included in the tree structure data set is associated with the root data of the tree, together with the update of the tree structure data set; ,
A tree search procedure for performing the tree search using the data related information updated by the data related information update procedure;
A search program characterized by causing a computer to execute.

(付記2)前記ツリー構造データ集合は、データ間の親子関係に基づき階層構造を構成するデータの集合である階層構造データ集合の部分集合であることを特徴とする付記1に記載の検索プログラム。 (Supplementary note 2) The search program according to supplementary note 1, wherein the tree structure data set is a subset of a hierarchical structure data set which is a collection of data constituting a hierarchical structure based on a parent-child relationship between data.

(付記3)前記階層構造データ集合に含まれるデータは、業務データに関する情報である業務データ情報であり、
前記ツリー検索手順は、業務データ情報間の親子関係に基づいて、ある業務データ情報に関連する業務データ情報を親から子の方向または子から親の方向へ検索することを特徴とする付記2に記載の検索プログラム。
(Supplementary Note 3) Data included in the hierarchical structure data set is business data information that is information related to business data,
The supplementary note 2 is characterized in that the tree search procedure searches business data information related to a certain business data information in a parent-to-child direction or a child-to-parent direction based on a parent-child relationship between business data information. The listed search program.

(付記4)各業務データ情報は、対応する業務データに対する業務処理の実行にともなって発生するイベントの情報であるイベント情報を含み、
前記イベント情報は、各業務データ情報が属するツリー構造データ集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、
前記最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するイベント関連情報検索手順をさらにコンピュータに実行させることを特徴とする付記3に記載の検索プログラム。
(Supplementary Note 4) Each business data information includes event information that is information on events that occur when business processing is performed on the corresponding business data.
The event information includes the first event and the latest event among the events generated by the business process executed on the business data corresponding to all the business data information included in the tree structure data set to which each business data information belongs. Including information about
The event-related information search procedure for searching for business data information related to business data for which the business process that generated the first event and the latest event has been executed is further executed by the computer. Search program.

(付記5)前記データ関連情報更新手順により更新されるデータ関連情報は、前記階層構造データ集合に属するデータのうち高速検索が必要なデータのみを対象とすることを特徴とする付記2、3または4に記載の検索プログラム。 (Supplementary note 5) The data-related information updated by the data-related information update procedure targets only data that requires high-speed search among data belonging to the hierarchical structure data set. 4. The search program according to 4.

(付記6)業務データに関する情報に該業務データに対する業務処理の実行によって発生するイベントに関するイベント情報を含めて業務データ情報として管理し、イベントにより結び付けられる業務データ情報間の関係に基づいて業務データ間にまたがる業務プロセスの進捗状況を管理する業務プロセス管理プログラムであって、
業務データ情報間の関係に基づいて構成される業務データ情報ネットワークの一部としてツリーを構成する業務データ情報ツリー集合に含まれる業務データ情報に対して該業務データ情報ツリー集合に含まれる業務データ情報への直接のパスを対応させた業務データ関連情報を該ツリーの更新とともに更新する業務データ関連情報更新手順と、
前記業務データ関連情報更新手順により更新された業務データ関連情報を用いて、前記業務データ情報ツリー集合に含まれるある業務データ情報から該業務データ情報ツリー集合に含まれる業務データ情報を検索する業務プロセス検索を行う業務プロセス検索手順と、
をコンピュータに実行させることを特徴とする業務プロセス管理プログラム。
(Supplementary note 6) Information related to business data is managed as business data information including event information related to an event generated by execution of business processing on the business data, and between business data based on the relationship between business data information linked by the event A business process management program for managing the progress of business processes across
Business data information included in the business data information tree set for business data information included in the business data information tree set that forms a tree as part of the business data information network configured based on the relationship between the business data information A business data related information update procedure for updating the business data related information corresponding to the direct path to
A business process for retrieving business data information included in the business data information tree set from business data information included in the business data information tree set using the business data related information updated by the business data related information update procedure Business process search procedure for searching,
A business process management program characterized by causing a computer to execute.

(付記7)前記イベント情報は、各業務データ情報が属する業務データ情報ツリー集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、
前記最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するイベント関連情報検索手順をさらにコンピュータに実行させることを特徴とする付記6に記載の業務プロセス管理プログラム。
(Additional remark 7) The said event information is the first of the events which generate | occur | produce by the business process performed with respect to the business data corresponding to all the business data information contained in the business data information tree set to which each business data information belongs. Contains information about the event and the latest event,
The computer further executes an event-related information search procedure for searching for business data information related to business data for which the business process that generated the first event and the latest event has been executed. Business process management program.

(付記8)前記業務データ関連情報更新手順により更新される業務データ関連情報は、前記業務データ情報ネットワークを構成する業務データ情報のうち最上位階層または最下位階層に属する業務データ情報のみを対象とすることを特徴とする付記6または7に記載の業務プロセス管理プログラム。 (Supplementary Note 8) The business data related information updated by the business data related information update procedure targets only business data information belonging to the highest hierarchy or the lowest hierarchy among the business data information constituting the business data information network. The business process management program according to appendix 6 or 7, wherein:

(付記9)ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索プログラムを記録したコンピュータ読み取り可能な記録媒体であって、
前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新手順と、
前記データ関連情報更新手順により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手順と、
をコンピュータに実行させる検索プログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。
(Supplementary note 9) A computer-readable recording medium recording a search program for performing a tree search for searching for data belonging to a tree structure data set, which is a set of data constituting a tree,
A data related information update procedure for updating data related information in which information related to direct paths to all data included in the tree structure data set is associated with the root data of the tree, together with the update of the tree structure data set; ,
A tree search procedure for performing the tree search using the data related information updated by the data related information update procedure;
A computer-readable recording medium on which a search program for causing a computer to execute is recorded.

(付記10)ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索方法であって、
前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新工程と、
前記データ関連情報更新工程により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索工程と、
を含んだことを特徴とする検索方法。
(Supplementary note 10) A search method for performing a tree search for searching for data belonging to a tree structure data set which is a set of data constituting a tree,
A data related information updating step for updating data related information in which information on direct paths to all data included in a tree structure data set is associated with the root data of the tree, together with the update of the tree structure data set; ,
A tree search step for performing the tree search using the data related information updated by the data related information update step;
The search method characterized by including.

(付記11)前記ツリー構造データ集合は、データ間の親子関係に基づき階層構造を構成するデータの集合である階層構造データ集合の部分集合であることを特徴とする付記10に記載の検索方法。 (Supplementary note 11) The search method according to supplementary note 10, wherein the tree structure data set is a subset of a hierarchical structure data set which is a collection of data constituting a hierarchical structure based on a parent-child relationship between data.

(付記12)前記階層構造データ集合に含まれるデータは、業務データに関する情報である業務データ情報であり、
前記ツリー検索工程は、業務データ情報間の親子関係に基づいて、ある業務データ情報に関連する業務データ情報を親から子の方向または子から親の方向へ検索することを特徴とする付記11に記載の検索方法。
(Supplementary Note 12) The data included in the hierarchical structure data set is business data information that is information related to business data,
Appendix 11 is characterized in that the tree search step searches business data information related to a certain business data information in a parent-to-child direction or a child-to-parent direction based on a parent-child relationship between business data information. Search method described.

(付記13)各業務データ情報は、対応する業務データに対する業務処理の実行にともなって発生するイベントの情報であるイベント情報を含み、
前記イベント情報は、各業務データ情報が属するツリー構造データ集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、
前記最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するイベント関連情報検索工程をさらに含んだことを特徴とする付記12に記載の検索方法。
(Supplementary note 13) Each piece of business data information includes event information that is information about an event that occurs in response to execution of business processing on the corresponding business data,
The event information includes the first event and the latest event among the events generated by the business process executed on the business data corresponding to all the business data information included in the tree structure data set to which each business data information belongs. Including information about
The search according to appendix 12, further comprising an event-related information search step for searching for business data information related to business data that is a target of execution of the business process that generated the first event and the latest event. Method.

(付記14)前記データ関連情報更新工程により更新されるデータ関連情報は、前記階層構造データ集合に属するデータのうち高速検索が必要なデータのみを対象とすることを特徴とする付記10、11または12に記載の検索方法。 (Supplementary note 14) The data-related information updated by the data-related information update step targets only data that requires high-speed search among data belonging to the hierarchical structure data set. 12. The search method according to 12.

(付記15)業務データに関する情報に該業務データに対する業務処理の実行によって発生するイベントに関するイベント情報を含めて業務データ情報として管理し、イベントにより結び付けられる業務データ情報間の関係に基づいて業務データ間にまたがる業務プロセスの進捗状況を管理する業務プロセス管理方法であって、
業務データ情報間の関係に基づいて構成される業務データ情報ネットワークの一部としてツリーを構成する業務データ情報ツリー集合に含まれる業務データ情報に対して該業務データ情報ツリー集合に含まれる業務データ情報への直接のパスを対応させた業務データ関連情報を該ツリーの更新とともに更新する業務データ関連情報更新工程と、
前記業務データ関連情報更新工程により更新された業務データ関連情報を用いて、前記業務データ情報ツリー集合に含まれるある業務データ情報から該業務データ情報ツリー集合に含まれる業務データ情報を検索する業務プロセス検索を行う業務プロセス検索工程と、
を含んだことを特徴とする業務プロセス管理方法。
(Supplementary Note 15) Information related to business data is managed as business data information including event information related to an event generated by execution of business processing on the business data. Based on the relationship between business data information linked by events, A business process management method for managing the progress of business processes across
Business data information included in the business data information tree set for business data information included in the business data information tree set that forms a tree as part of the business data information network configured based on the relationship between the business data information A business data related information update step for updating business data related information corresponding to a direct path to the data along with the update of the tree;
A business process for retrieving business data information included in the business data information tree set from business data information included in the business data information tree set using the business data related information updated in the business data related information update step Business process search process to search,
Business process management method characterized by including

(付記16)ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索装置であって、
前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させてデータ関連情報として記憶したデータ関連情報記憶手段と、
前記データ関連情報記憶手段により記憶されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手段と、
を備えたことを特徴とする検索装置。
(Supplementary note 16) A search device for performing a tree search for searching for data belonging to a tree structure data set which is a set of data constituting a tree,
Data-related information storage means for storing information related to direct paths to all data included in the tree-structured data set with respect to the root data of the tree and stored as data-related information;
Tree search means for performing the tree search using data related information stored by the data related information storage means;
A search device comprising:

(付記17)前記ツリー構造データ集合は、データ間の親子関係に基づき階層構造を構成するデータの集合である階層構造データ集合の部分集合であることを特徴とする付記16に記載の検索装置。 (Supplementary note 17) The search device according to supplementary note 16, wherein the tree structure data set is a subset of a hierarchical structure data set which is a collection of data constituting a hierarchical structure based on a parent-child relationship between data.

(付記18)前記階層構造データ集合に含まれるデータは、業務データに関する情報である業務データ情報であり、
前記ツリー検索手段は、業務データ情報間の親子関係に基づいて、ある業務データ情報に関連する業務データ情報を親から子の方向または子から親の方向へ検索することを特徴とする付記17に記載の検索装置。
(Supplementary Note 18) The data included in the hierarchical structure data set is business data information that is information related to business data,
Supplementary note 17 characterized in that the tree search means searches business data information related to a certain business data information in a parent-to-child direction or a child-to-parent direction based on a parent-child relationship between business data information. The described search device.

(付記19)各業務データ情報は、対応する業務データに対する業務処理の実行にともなって発生するイベントの情報であるイベント情報を含み、
前記イベント情報は、各業務データ情報が属するツリー構造データ集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、
前記最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するイベント関連情報検索手段をさらに備えたことを特徴とする付記18に記載の検索装置。
(Supplementary note 19) Each business data information includes event information which is information of an event that occurs in response to execution of business processing on the corresponding business data,
The event information includes the first event and the latest event among the events generated by the business process executed on the business data corresponding to all the business data information included in the tree structure data set to which each business data information belongs. Including information about
The search according to appendix 18, further comprising event-related information search means for searching for business data information related to business data for which the business process that generated the first event and the latest event has been executed. apparatus.

(付記20)前記データ関連情報記憶手段により記憶されるデータ関連情報は、前記階層構造データ集合に属するデータのうち高速検索が必要なデータのみを対象とすることを特徴とする付記17、18または19に記載の検索装置。 (Supplementary note 20) Supplementary notes 17, 18 or 18, wherein the data-related information stored by the data-related information storage means is only for data that needs high-speed search among data belonging to the hierarchical structure data set. 19. The search device according to 19.

(付記21)業務データに関する情報に該業務データに対する業務処理の実行によって発生するイベントに関するイベント情報を含めて業務データ情報として管理し、イベントにより結び付けられる業務データ情報間の関係に基づいて業務データ間にまたがる業務プロセスの進捗状況を管理する業務プロセス管理装置であって、
業務データ情報間の関係に基づいて構成される業務データ情報ネットワークの一部としてツリーを構成する業務データ情報ツリー集合に含まれる業務データ情報に対して該業務データ情報ツリー集合に含まれる業務データ情報への直接のパスを対応させて業務データ関連情報として記憶した業務データ関連情報記憶手段と、
前記業務データ関連情報記憶手段により記憶された業務データ関連情報を用いて、前記業務データ情報ツリー集合に含まれるある業務データ情報から該業務データ情報ツリー集合に含まれる業務データ情報を検索する業務プロセス検索を行う業務プロセス検索手段と、
を備えたことを特徴とする業務プロセス管理装置。
(Supplementary note 21) Information related to business data is managed as business data information including event information related to an event generated by execution of business processing on the business data, and between business data based on the relationship between business data information linked by the event A business process management device that manages the progress of business processes across
Business data information included in the business data information tree set for business data information included in the business data information tree set that forms a tree as part of the business data information network configured based on the relationship between the business data information Business data related information storage means for storing the business data related information corresponding to the direct path to
A business process for retrieving business data information included in the business data information tree set from business data information included in the business data information tree set using the business data related information stored by the business data related information storage unit A business process search means for searching;
A business process management apparatus characterized by comprising:

以上のように、本発明に係る検索プログラムおよびその記録媒体、検索方法ならびに検索装置は、業務プロセス管理プログラムなど、ツリー構造のデータの検索に有用であり、特に、高速な検索が必要な場合に適している。   As described above, the search program, the recording medium thereof, the search method, and the search device according to the present invention are useful for searching tree-structured data such as business process management programs, especially when high-speed search is required. Is suitable.

本実施例に係るツリー検索高速化手法を説明するための説明図である。It is explanatory drawing for demonstrating the tree search speed-up technique which concerns on a present Example. 本実施例に係る業務プロセス管理装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the business process management apparatus which concerns on a present Example. 業務データテーブルの一例を示す図である。It is a figure which shows an example of the business data table. 業務データ関連テーブルの一例を示す図である。It is a figure which shows an example of the business data related table. イベントデータテーブルの一例を示す図である。It is a figure which shows an example of an event data table. 関連データ更新部による業務データ関連テーブルの更新を説明するための説明図(1)である。It is explanatory drawing (1) for demonstrating the update of the business data related table by a related data update part. 関連データ更新部による業務データ関連テーブルの更新を説明するための説明図(2)である。It is explanatory drawing (2) for demonstrating the update of the business data related table by a related data update part. 関連データ更新部による業務データ関連テーブルの更新を説明するための説明図(3)である。It is explanatory drawing (3) for demonstrating the update of the business data related table by a related data update part. 関連データ更新部による業務データ関連テーブルの更新を説明するための説明図(4)である。It is explanatory drawing (4) for demonstrating the update of the business data related table by a related data update part. 関連データ更新部による業務データ関連テーブルの更新を説明するための説明図(5)である。It is explanatory drawing (5) for demonstrating the update of the business data related table by a related data update part. 関連データ更新部による業務データ関連テーブルの更新を説明するための説明図(6)である。It is explanatory drawing (6) for demonstrating the update of the business data related table by a related data update part. パスキャッシュを使った高速検索例を示す図である。It is a figure which shows the example of a high-speed search using a path cache. 図2に示したイベント格納処理部によるイベント格納処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the event storage process by the event storage process part shown in FIG. イベントデータ登録部によるイベントデータ登録処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the event data registration process by an event data registration part. 関連データ更新部によるパスキャッシュ更新処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the path cache update process by a related data update part. イベント更新部によるイベント更新処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the event update process by an event update part. 本実施例に係る業務プロセス管理プログラムを実行するコンピュータの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the computer which performs the business process management program which concerns on a present Example. 業務システムから抽出されるイベントに基づいて業務プロセス管理プログラムが行う業務プロセスのトラッキングを説明するための説明図である。It is explanatory drawing for demonstrating the tracking of the business process which a business process management program performs based on the event extracted from a business system. ツリーごとにIDを振るツリー検索を示す図である。It is a figure which shows the tree search which assigns ID for every tree.

符号の説明Explanation of symbols

100 業務プロセス管理装置
110 プロセス定義部
120 プロセス情報記憶部
130 イベント抽出部
140 イベント管理DB
141 業務データテーブル
142 業務データ関連テーブル
143 イベントデータテーブル
150 イベント格納処理部
151 イベントデータ登録部
152 関連データ更新部
153 イベント更新部
160 イベント検索部
170 分析部
200 コンピュータ
210 RAM
211 業務プロセス管理プログラム
220 CPU
221 業務プロセス管理プロセス
230 HDD
240 LANインタフェース
250 入出力インタフェース
260 DVDドライブ
100 Business Process Management Device 110 Process Definition Unit 120 Process Information Storage Unit 130 Event Extraction Unit 140 Event Management DB
141 Business data table 142 Business data related table 143 Event data table 150 Event storage processing unit 151 Event data registration unit 152 Related data update unit 153 Event update unit 160 Event search unit 170 Analysis unit 200 Computer 210 RAM
211 Business process management program 220 CPU
221 Business process management process 230 HDD
240 LAN interface 250 I / O interface 260 DVD drive

Claims (10)

ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索プログラムであって、
前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新手順と、
前記データ関連情報更新手順により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手順と、
をコンピュータに実行させることを特徴とする検索プログラム。
A search program for performing a tree search for searching for data belonging to a tree structure data set, which is a set of data constituting a tree,
A data related information update procedure for updating data related information in which information related to direct paths to all data included in the tree structure data set is associated with the root data of the tree, together with the update of the tree structure data set; ,
A tree search procedure for performing the tree search using the data related information updated by the data related information update procedure;
A search program characterized by causing a computer to execute.
前記ツリー構造データ集合は、データ間の親子関係に基づき階層構造を構成するデータの集合である階層構造データ集合の部分集合であることを特徴とする請求項1に記載の検索プログラム。   2. The search program according to claim 1, wherein the tree structure data set is a subset of a hierarchical structure data set that is a set of data constituting a hierarchical structure based on a parent-child relationship between data. 前記階層構造データ集合に含まれるデータは、業務データに関する情報である業務データ情報であり、
前記ツリー検索手順は、業務データ情報間の親子関係に基づいて、ある業務データ情報に関連する業務データ情報を親から子の方向または子から親の方向へ検索することを特徴とする請求項2に記載の検索プログラム。
The data included in the hierarchical structure data set is business data information that is information related to business data,
3. The tree search procedure searches business data information related to a certain business data information in a parent-to-child direction or a child-to-parent direction based on a parent-child relationship between business data information. Search program described in.
各業務データ情報は、対応する業務データに対する業務処理の実行にともなって発生するイベントの情報であるイベント情報を含み、
前記イベント情報は、各業務データ情報が属するツリー構造データ集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、
前記最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するイベント関連情報検索手順をさらにコンピュータに実行させることを特徴とする請求項3に記載の検索プログラム。
Each business data information includes event information that is information on events that occur as a result of execution of business processing on the corresponding business data,
The event information includes the first event and the latest event among the events generated by the business process executed on the business data corresponding to all the business data information included in the tree structure data set to which each business data information belongs. Including information about
4. The event related information search procedure for searching for business data information related to business data that is a target of execution of the business process that generated the first event and the latest event is further executed by the computer. The listed search program.
前記データ関連情報更新手順により更新されるデータ関連情報は、前記階層構造データ集合に属するデータのうち高速検索が必要なデータのみを対象とすることを特徴とする請求項2、3または4に記載の検索プログラム。   5. The data related information updated by the data related information update procedure targets only data that requires high-speed search among data belonging to the hierarchical structure data set. Search program. 業務データに関する情報に該業務データに対する業務処理の実行によって発生するイベントに関するイベント情報を含めて業務データ情報として管理し、イベントにより結び付けられる業務データ情報間の関係に基づいて業務データ間にまたがる業務プロセスの進捗状況を管理する業務プロセス管理プログラムであって、
業務データ情報間の関係に基づいて構成される業務データ情報ネットワークの一部としてツリーを構成する業務データ情報ツリー集合に含まれる業務データ情報に対して該業務データ情報ツリー集合に含まれる業務データ情報への直接のパスを対応させた業務データ関連情報を該ツリーの更新とともに更新する業務データ関連情報更新手順と、
前記業務データ関連情報更新手順により更新された業務データ関連情報を用いて、前記業務データ情報ツリー集合に含まれるある業務データ情報から該業務データ情報ツリー集合に含まれる業務データ情報を検索する業務プロセス検索を行う業務プロセス検索手順と、
をコンピュータに実行させることを特徴とする業務プロセス管理プログラム。
Business data that is managed as business data information including event information related to events that occur due to the execution of business processing on the business data, and that spans business data based on the relationship between business data information linked by events A business process management program for managing the progress of
Business data information included in the business data information tree set for business data information included in the business data information tree set that forms a tree as part of the business data information network configured based on the relationship between the business data information A business data related information update procedure for updating the business data related information corresponding to the direct path to
A business process for retrieving business data information included in the business data information tree set from business data information included in the business data information tree set using the business data related information updated by the business data related information update procedure Business process search procedure for searching,
A business process management program characterized by causing a computer to execute.
前記イベント情報は、各業務データ情報が属する業務データ情報ツリー集合に含まれる全ての業務データ情報に対応する業務データに対して実行された業務処理によって発生するイベントのうちの最初のイベントおよび最新のイベントに関する情報を含み、
前記最初のイベントおよび最新のイベントを発生させた業務処理の実行の対象となった業務データに関する業務データ情報を検索するイベント関連情報検索手順をさらにコンピュータに実行させることを特徴とする請求項6に記載の業務プロセス管理プログラム。
The event information includes the first event and the latest event among the events generated by the business process executed on the business data corresponding to all the business data information included in the business data information tree set to which each business data information belongs. Contains information about the event,
7. The computer according to claim 6, further comprising an event related information search procedure for searching for business data information related to business data for which the business process that generated the first event and the latest event has been executed. The business process management program described.
ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索プログラムを記録したコンピュータ読み取り可能な記録媒体であって、
前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新手順と、
前記データ関連情報更新手順により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手順と、
をコンピュータに実行させる検索プログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。
A computer-readable recording medium recording a search program for performing a tree search for searching for data belonging to a tree structure data set, which is a set of data constituting a tree,
A data related information update procedure for updating data related information in which information related to direct paths to all data included in the tree structure data set is associated with the root data of the tree, together with the update of the tree structure data set; ,
A tree search procedure for performing the tree search using the data related information updated by the data related information update procedure;
A computer-readable recording medium on which a search program for causing a computer to execute is recorded.
ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索方法であって、
前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させたデータ関連情報を該ツリー構造データ集合の更新とともに更新するデータ関連情報更新工程と、
前記データ関連情報更新工程により更新されたデータ関連情報を用いて前記ツリー検索を行うツリー検索工程と、
を含んだことを特徴とする検索方法。
A search method for performing a tree search for searching for data belonging to a tree structure data set, which is a set of data constituting a tree,
A data related information updating step for updating data related information in which information on direct paths to all data included in a tree structure data set is associated with the root data of the tree, together with the update of the tree structure data set; ,
A tree search step for performing the tree search using the data related information updated by the data related information update step;
The search method characterized by including.
ツリーを構成するデータの集合であるツリー構造データ集合に属するデータを検索するツリー検索を行う検索装置であって、
前記ツリーのルートのデータに対してツリー構造データ集合に含まれる全てのデータへの直接のパスに関する情報を対応させてデータ関連情報として記憶したデータ関連情報記憶手段と、
前記データ関連情報記憶手段により記憶されたデータ関連情報を用いて前記ツリー検索を行うツリー検索手段と、
を備えたことを特徴とする検索装置。
A search device for performing a tree search for searching for data belonging to a tree structure data set, which is a set of data constituting a tree,
Data-related information storage means for storing information related to direct paths to all data included in the tree-structured data set with respect to the root data of the tree and stored as data-related information;
Tree search means for performing the tree search using data related information stored by the data related information storage means;
A search device comprising:
JP2005036631A 2005-02-14 2005-02-14 Search program, recording medium therefor, search method, search device, and business process control program Pending JP2006221561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005036631A JP2006221561A (en) 2005-02-14 2005-02-14 Search program, recording medium therefor, search method, search device, and business process control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005036631A JP2006221561A (en) 2005-02-14 2005-02-14 Search program, recording medium therefor, search method, search device, and business process control program

Publications (1)

Publication Number Publication Date
JP2006221561A true JP2006221561A (en) 2006-08-24

Family

ID=36983844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005036631A Pending JP2006221561A (en) 2005-02-14 2005-02-14 Search program, recording medium therefor, search method, search device, and business process control program

Country Status (1)

Country Link
JP (1) JP2006221561A (en)

Similar Documents

Publication Publication Date Title
US9646030B2 (en) Computer-readable medium storing program and version control method
US8671084B2 (en) Updating a data warehouse schema based on changes in an observation model
US7886028B2 (en) Method and system for system migration
CN103782295B (en) Query explain plan in a distributed data management system
CN103890709B (en) Key value database based on caching maps and replicates
US20090030880A1 (en) Model-Based Analysis
US9262552B2 (en) Apparatus and methods for organizing data items by directed graph
JP5033322B2 (en) Information management method and apparatus using connection relation information
JP5284064B2 (en) Product ID server device and method for controlling product ID server device
JP5106062B2 (en) File search method, file search device, search system, and file search program
Kong et al. Real-manufacturing-oriented big data analysis and data value evaluation with domain knowledge
JP2005242904A (en) Document group analysis device, document group analysis method, document group analysis system, program and storage medium
JP4989761B2 (en) Event history storage device, event history tracking device, event history storage method, and event history storage program
JP2011215984A (en) Apparatus and method for processing data and program
CN107004036A (en) Method and system to search for the daily record for including a large amount of entries
JP7381290B2 (en) Computer system and data management method
JP2006221561A (en) Search program, recording medium therefor, search method, search device, and business process control program
JP7131106B2 (en) Transaction management device, transaction management method and program
JP2013171447A (en) Information processor and information processing program
US20140279869A1 (en) Transaction-Based Traversal-Free Data Synchronization Among Multiple Sites
US9208224B2 (en) Business content hierarchy
JP2014215894A (en) Terminal device, information processing method, and information processing program
Cancellieri et al. Building scalable digital library ingestion pipelines using microservices
JP5197128B2 (en) Dependency Estimation Device, Dependency Estimation Program, and Recording Medium
JP2007041915A (en) Profit/loss management system and management method, and program of the same

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090526

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091006