Method for mining indirect dependency relationship among different structures based on Petri network
By using methods based on Petri nets to identify and express indirect dependencies in the process model, the problem of low efficiency in the existing technology is solved, accurate mining and expression of indirect dependencies between different structures are achieved, and the accuracy of the process model is improved. and workflow optimization.
Patent Information
- Application Number
- CN202410565274.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When existing process mining algorithms deal with process models that contain indirect dependencies, especially when mining process models that contain indirect dependencies between different structures, they are inefficient and difficult to accurately obtain the correct process model.
A method based on Petri net is adopted to identify the cyclic structure and selection sequence in the process model, propose association rules, extend the Petri net model to express indirect dependencies, and use the AlphaID algorithm to mine the indirect dependencies in the process model.
Effectively identify and express indirect dependencies between different structures, improve the accuracy and mining efficiency of process models, optimize workflow, and reduce potential risks and hazards.
Smart Images

Figure CN118550953A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of information processing, and in particular relates to a method for mining indirect dependency relationships between different structures based on Petri nets. Background Art
[0002] The importance of computer information systems to industry development is increasing. At the same time, a large amount of data information will be generated in the process of industry development and information system operation. Most of these data are unstructured and contain valuable information for system updates and enterprise development. How to efficiently extract valuable data information from massive amounts of data information is a concern for modern enterprises. As one of the core technologies of BPM, process mining technology has solved the scientific problem of how to extract valuable process information from complex event logs. Mining process models from event logs generated by information systems can provide the following two advantages: First, it can further reveal and clearly display the knowledge hidden behind the event logs, and can use the data information contained in the event logs to drive the development design and supervision and management of the project, which is conducive to improving the success of project development; second, it can discover deviations, delays, cooperation methods and task execution time in the project execution process from different perspectives, so as to improve the execution of the project process, allocate various resources more reasonably, make the degree of cooperation between personnel more balanced, further improve the overall process of the entire project, and enhance the smoothness of project progress. Many scholars have conducted relevant research on process mining technology applied in different fields and proposed effective process mining algorithms. However, when dealing with process models containing indirect dependencies, especially when mining process models containing indirect dependencies between different structures, the existing mining algorithms still have certain shortcomings and cannot effectively obtain the correct process model.
[0003] In recent years, people have proposed some process mining algorithms. Aalst et al. first proposed a classic process mining algorithm called α algorithm, which mines process models based on the sequential dependencies between activities. However, α algorithm is not efficient in mining short loops or non-free choice structures with no more than two activities and in dealing with noise problems. Therefore, in order to solve this problem, Medeiros et al. proposed α+ algorithm, which can obtain process models containing short loop structures when the loop sequence is complete. Wen et al. proposed α ++ Algorithms for solving the problem of non-free choice structures and implicit dependencies between activities in process models; α $The algorithm proposed by Guo et al. is used to solve the problem of discovering invisible transitions from non-freely chosen structures. A heuristic mining algorithm (HM) was proposed by Cook et al. to mine causal networks and deal with noise. Werf et al. proposed integer linear programming (ILP), which can mine process models with short loop structures. Leemans et al. proposed an inductive miner (IM) algorithm, which can mine block structures. The process model obtained by the IM algorithm has a high degree of fit.
[0004] There are two types of dependencies between activities: direct dependencies and indirect dependencies. Currently, most process mining algorithms are based on direct dependencies, while effectively mining indirect dependencies between activities is still a difficult problem in process mining. At the same time, there is almost no research on mining indirect dependencies between different structures in process models. Summary of the invention
[0005] The purpose of the present invention is to provide a method for mining indirect dependencies between different structures based on Petri nets, which can not only correctly mine a process model that conforms to the log behavior from a given event log, but also correctly and clearly express the indirect dependencies between different structures in the process model, so as to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention adopts the following technical solution: a method for mining indirect dependency relationships between different structures based on Petri nets, comprising:
[0007] Identify loop structures in process models: redefine the loop activity set SLA and use the loop sequence set SLS to identify behavior patterns that satisfy the loop structure;
[0008] Identify cyclic and selective sequences in event logs: Separate cyclic and selective sequences from event logs;
[0009] Propose association rules between different structures: Establish an association rule system suitable for identifying loops and selecting indirect dependencies between loop structures;
[0010] Extended Petri net model: Extend the ordinary Petri net model to adapt to the indirect dependency relationship in the complex process model, and formulate the activity sequence initiation rules corresponding to the extended Petri net model to constrain the execution path of the new process model;
[0011] Representing indirect dependency relationships: Using the extended Petri net model and rules, the indirect dependency relationships between loop and selection structures and loop structures in the process model mined by the AlphaID algorithm are represented.
[0012] Preferably, the method for identifying loop structures in process models includes: defining a loop activity set SLA and dividing it into a loop start activity set Als, a loop end activity set Ale and other loop activity sets; and determining a loop sequence set SLS that meets loop structure conditions by analyzing activity sequences.
[0013] Preferably, the method for identifying cyclic sequences and selection sequences in event logs includes: performing statistical analysis on activities in event logs to identify recurring activity sequences as candidate cyclic sequences; applying a selection sequence recognition algorithm to identify selection sequences in event logs based on conditional branching relationships between activities.
[0014] Preferably, the association rules between the different structures include: clarifying the triggering conditions between the loop sequence and the selection sequence, including under what circumstances the execution of the loop sequence will lead to the occurrence of the selection sequence; defining the time, sequence or resource constraint relationship between the activities within the loop sequence and between the loop sequence and the selection sequence.
[0015] Preferably, the extended Petri net model includes: introducing additional tags or place types to indicate special states of loop structures and selection structures; designing new transition rules to reflect the iterative process of loop structures and the decision logic of selection structures; and determining the connection relationship between the newly added elements in the extended Petri net and the elements of the original model.
[0016] Preferably, the activity sequence triggering rules include: stipulating that after a specific loop activity or selection activity is triggered, subsequent activities are determined to be activated or disabled, as well as the conditions for activation or disablement; defining the activity sequence to determine the response to external events or internal state changes during execution to adjust the execution path to reflect indirect dependencies.
[0017] Preferably, the method for representing indirect dependencies includes: using the newly added elements and transition rules of the extended Petri net to depict the control flow and data flow relationship between loop and selection structures and loop structures; through activity sequence initiation rules, clearly identifying the actual execution trajectory of the process model affected by indirect dependencies under specific conditions.
[0018] Preferably, the method further includes: visually presenting the indirect dependency relationships among the identified loop structures, loop sequences, and selection sequences.
[0019] Technical effects and advantages of the present invention: Compared with the prior art, the method for mining indirect dependencies between different structures based on Petri nets proposed by the present invention has the following advantages:
[0020] The present invention first proposes two effective algorithms to identify loop sequences and selection sequences in event logs; secondly, it proposes association rules between different structures to effectively identify indirect dependencies between different structures; then, it extends the ordinary Petri net from a new perspective, and proposes activity sequence triggering rules corresponding to the extended Petri net model to constrain the execution of the new process model, which is used to clearly represent the process model mined by the AlphaID algorithm; finally, a process model that clearly represents the indirect dependencies between different structures is obtained. This method makes up for the problem that the current method cannot accurately mine the process model of the indirect dependencies between different structures in the process model, and can effectively improve the ability to mine high-value information and reveal and reduce potential risks or hidden dangers, further optimize the work process, improve the work efficiency of the enterprise, and make the mined process model more accurate and more in line with actual work requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 There are two loop structures in the branch of the concurrent structure in the embodiment of the present invention;
[0022] Figure 2 A simple process model with a selection structure in an embodiment of the present invention;
[0023] Figure 3 Indirect dependency relationship between X and Y in the embodiment of the present invention;
[0024] Figure 4 The process model in the embodiment of the present invention contains two loop structures and one selection structure;
[0025] Figure 5 The IPN model containing indirect dependencies in the embodiment of the present invention;
[0026] Figure 6 The production process of steel bearing balls in the embodiment of the present invention;
[0027] Figure 7 In the embodiment of the present invention, the AlphaID algorithm is used from the log L 07 –L 15 Mined IPN process model;
[0028] Figure 8 In the embodiment of the present invention, the IM algorithm is used from the log L 07 –L 15 Process model of mining;
[0029] Fig. 9 Event log L in the embodiment of the present invention 07 -L 15 The values of goodness of fit between different models;
[0030] Fig.10 Event log L in the embodiment of the present invention 07 -L 15 The values of accuracy between different models;
[0031] Fig.11 It is a flow diagram of the method for mining indirect dependency relationships between different structures based on Petri nets in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0033] The present invention provides a method for mining indirect dependency relationships between different structures based on Petri nets, comprising the following steps:
[0034] Identify the loop structure in the process model: redefine the loop activity set SLA, and use the loop sequence set SLS to identify the behavior pattern that satisfies the loop structure; further, the method for identifying the loop structure in the process model includes: define the loop activity set SLA, and divide it into the loop start activity set Als, the loop end activity set Ale and other loop activity sets; by analyzing the activity sequence, determine the loop sequence set SLS that satisfies the loop structure conditions.
[0035] Identify cyclic sequences and selection sequences in event logs: separate cyclic sequences and selection sequences from event logs; further, the method for identifying cyclic sequences and selection sequences in event logs includes: performing statistical analysis on activities in event logs to identify recurring activity sequences as candidate cyclic sequences; applying a selection sequence recognition algorithm to identify selection sequences in event logs based on conditional branching relationships between activities.
[0036] Propose association rules between different structures: establish an association rule system suitable for identifying indirect dependencies between loop and selection structures and loop structures; further, the association rules between different structures include: clarifying the triggering conditions between loop sequences and selection sequences, including under what circumstances the execution of loop sequences will lead to the occurrence of selection sequences; defining the time, sequence or resource constraints between the activities within the loop sequence and between the loop sequence and the selection sequence.
[0037] Extended Petri net model: Extend the ordinary Petri net model to adapt to the indirect dependency relationship in the complex process model, and formulate the activity sequence initiation rules corresponding to the extended Petri net model to constrain the execution path of the new process model; further, the extended Petri net model includes: introducing additional tags or place types to indicate the special states of the loop structure and the selection structure; designing new transition rules to reflect the iterative process of the loop structure and the decision logic of the selection structure; determining the connection relationship between the newly added elements in the extended Petri net and the elements of the original model.
[0038] Exemplarily, the activity sequence triggering rules include: specifying that after a specific loop activity or selection activity is triggered, subsequent activities are activated or disabled, as well as the conditions for activation or disablement; defining the activity sequence to determine the response to external events or internal state changes during execution to adjust the execution path to reflect indirect dependencies.
[0039] Representing indirect dependencies: using the extended Petri net model and rules, representing the indirect dependencies between loop and selection structures and loop structures in the process model mined by the AlphaID algorithm; further, the method of representing indirect dependencies includes: using the newly added elements and transition rules of the extended Petri net to depict the control flow and data flow relationship between the loop and selection structures and the loop structure; triggering rules through activity sequences to clearly identify the actual execution trajectory of the process model affected by indirect dependencies under specific conditions.
[0040] The step also includes: visually presenting the identified loop structure, loop sequence, and indirect dependency relationship between the selection sequences. The specific implementation example is as follows:
[0041] First, two effective algorithms are proposed to identify loop sequences and selection sequences in event logs; second, association rules between different structures are proposed to effectively identify indirect dependencies between different structures; then, the ordinary Petri net is extended from a new perspective, and the activity sequence initiation rules corresponding to the extended Petri net model are proposed to constrain the execution of the new process model, which is used to clearly represent the process model mined by the AlphaID algorithm; finally, a process model that clearly represents the indirect dependencies between different structures is obtained. The specific steps are as follows, Figure 1-Figure 11 As shown:
[0042] a. Identify loop structures in process models.
[0043] A general idea for identifying loop structures is proposed, which is helpful for the generalization of the algorithm and improves the robustness of the algorithm. That is, the loop activity set SLA is redefined and the loop activity set is defined as the loop start activity set Als and the loop end activity set Ale.
[0044] and other loop activity sets, and obtain the loop sequence set SLS that satisfies the loop structure.
[0045] Define multisets;
[0046] S is a set. The mapping function corresponding to the multiset K on the set S is K:S→N + . Where B(S) represents the set of multisets of set S.
[0047] Define tuple;
[0048] S is a set. A tuple m consisting of n elements on the set S = (a 1 ,a 2 ,...,a n )∈(S×...×S). Among them, π a (m) represents the a-th element in tuple m.
[0049] Define the sequence;
[0050] S is a set, σ=<σ[1],σ[2],···,σ[n]> is a sequence on S, where σ[a]∈S represents the ath element in σ. |σ|=n represents the length of the sequence σ. If σ[a]=a, then σ(a) represents the number of times activity a appears in the sequence σ. S * represents the set of all finite sequences on the set S. For all σ∈S * And 1≤a≤j≤|σ|,σaj represents the subsequence from σ[a] to σ[j] in σ.
[0051] Define activity traces, event logs;
[0052] set up is an activity set, that is, the set of all activity identifiers. If the activity sequence in Represents a collection of activities The set of all finite sequences on , then the activity sequence σ is called a trace. At the same time, if It is a trace in the collection If L is a multiset on , then L is called an event log.
[0053] Define trace activities;
[0054] set up is a set of activities, L is an event log, σ∈L is a trace on the log L, and Denote the set of activities contained in the trace σ, and use Represents the set of activities contained in the log L.
[0055] Define the network;
[0056] Assume that a triplet N is a network, that is, N = (P, T; F), where:
[0057] (1)P is a finite set of places;
[0058] (2) T is a finite set of transitions;
[0059] (3)
[0060] (4) is a finite set of arcs (i.e., a set of flow relations).
[0061] Among them, P×T represents the set of directed arcs that directly point from library place P to transition T. Similarly, T×P represents the set of directed arcs that directly point from transition T to library place P.
[0062] Define Petri nets;
[0063] Assume that PN = (P, T; F, M) is a four-tuple, PN is called a Petri net if and only if:
[0064] (1) N = (P, T; F) represents a network;
[0065] (2)M:P→N+, M represents a marker of PN, where M 0 represents the initial identifier of PN, M(p) represents the number of tokens contained in place p, and R represents the set of all identifiers M;
[0066] (3)dom(F)∪cod(F)=P∪T, where
[0067]
[0068]
[0069] According to the definition, a Petri net is a net with an initial identifier M. 0 The Petri net can be defined as PN = (P, T; F, M 0 ). The flow of tokens in Petri nets can be used to simulate the execution process of business. According to the definition of flow relations, tokens can only flow from place P to transition T, or from transition T to place P through flow relations, but cannot flow between places or transitions. In order to formally model Petri nets, hollow transparent circles are generally used to represent places P, hollow transparent boxes are used to represent transitions T, directed arrows are used to represent arcs or flow relations F, and black solid dots are used to represent tokens.
[0070] Define the antecedent and the posterior set;
[0071] Let PN = (P, T; F, M) be a Petri net.
[0072] ·x={y|y∈P∪T∧(y,x)∈F},
[0073] x·={y|y∈P∪T∧(x,y)∈F};
[0074] Here, ·x represents the set of x's predecessors (pre-set), and x· represents the set of x's successors (post-set). In particular, if and Then x is called the initial node; if and Then x is said to represent a terminal node. Similarly, if σ mn Is a collection of activities is a subsequence of , then σ· mn ={p∈P|p=t a ·-·t j , where t a ,t j ∈σ mn ,a∈{1,2,…,|σ mn |},j∈{a+1,…,|σ mn |}} and ·σ mn ={p∈P|p=·t a -t j ·, where t a ,t j ∈σ mn ,a∈{1,2,…,|σ mn |},j∈{a,…,|σ mn |-1}}.
[0075] Define the change triggering rules;
[0076] Let PN = (P, T; F, M) be a Petri net with the following transition initiation rules:
[0077] (1) For any transition t∈T, if the predecessor of transition t satisfies Then it means that transition t is enabled under the flag M, that is, M[t>;
[0078] (2) If transition t is enabled under the flag M, i.e., M[t>, indicating that transition t can be executed, thus obtaining a new flag M′, i.e., M[t>M′, then
[0079]
[0080] Define deadlock flag;
[0081] Let PN = (P, T; F, M) be a Petri net. for If transition t cannot be enabled, M is called a deadlock indicator. 0 ) indicates that from the initial mark M 0 The set of reachable identifiers obtained.
[0082] Define security;
[0083] Let PN = (P, T; F, M) be a Petri net. If Said the PN was safe.
[0084] Define workflow network;
[0085] Let WFN = (PN, a, o) be a workflow network, where
[0086] (1) PN = (P, T; F, M) is a Petri net containing four elements;
[0087] (2) There exists a unique initial place a∈P that satisfies
[0088] (3) There exists a unique terminating place o∈P that satisfies
[0089] (4) Yes The nodes x are distributed on the path from the initial place a to the final place o.
[0090] The workflow net WFN is actually a subcategory of the ordinary Petri net. It has a special initial place a and a terminal place o. The entire workflow net work process originates from the initial place a and ends at the terminal place o.
[0091] Define the process model;
[0092] set up is a process model in which
[0093] (1) WFN represents a workflow network with a unique initial place a and terminal place o;
[0094] (2) Represents a finite set of transitions in a process model;
[0095] (3) is a function where Represents invisible changes;
[0096] (4)M a ′ and M o ′ respectively represent the initial mark and the end mark, that is, M a ′(a)=1,M o ′(o)=1.
[0097] Define activity sequence relationships;
[0098] set up Based on the activity collection Event log for any activity
[0099] · Direct follow-up relationship. If and only if there is a trace σ∈L, if σ= <t 1 ,t 2 ,t 3 ,…,t n >,a∈{1,2,…,n-1},t a =m and t a+1 =n, define the relationship between activities m and n as a direct follow-up relationship, with m> L n represents;
[0100] Causality. In log L, if activities m, n satisfy m > L n and n≯ L m, then define the relationship between activities m and n as a causal relationship, using m→ L n represents;
[0101] · Concurrency relation. In log L, if activities m, n satisfy m> L n and n> L m, then the relationship between activities m and n is defined as a concurrent relationship, using m|| L n represents;
[0102] · Exclusive relation. In log L, if activities m, n, satisfy m≯ L n and n≯ L m, then define the relationship between activities m and n as an exclusive relationship, using m# L n indicates.
[0103] Define the number of activities;
[0104] make is an event log, namely L = <σ 1 ,σ 2 ,σ 3 ,…,σ j ,…,σ q >,b∈σj is the trace σ j Activities on, where a,j∈N + , then use Sum(b,σ j ) indicates that activity b is in the trace σ j Sum(b,L) represents the total number of times activity b appears in event log L, that is,
[0105] Define the sequence number;
[0106] make is an event log, that is, L=<σ 1 ,σ 2 ,σ 3 ,…,σ j ,…,σ n >, is the trace σ j A sequence subset on , where j,n∈N+, then use Num(s,σ j ) represents the trace σ j Num(s,L) represents the total number of times sequence s appears in event log L, that is,
[0107] Define recurring activities;
[0108] make is an event log, that is, L=<σ 1 ,σ 2 ,σ 3 ,…,σ j ,…,σ n >, and the event log L does not contain duplicated activities. If activity a satisfies Sum(a,σ)>1, then activity a is called a cyclic activity. The set SLA represents the set of cyclic activities, that is,
[0109] Define the loop sequence;
[0110] make is an event log, that is, L=<σ 1 ,σ 2 ,σ 3 ,…,σ j ,…,σ n>, where j,n∈N+. Let the set SLA be a set of cyclic activities in log L, f=<f[1],f[2],…,f[j],…,f[n]> , and f∈SLA* is a cyclic sequence about SLA, that is, f[j]∈SLA, j∈{1,2,…,n-1}. If |f|=1, then the cyclic sequence f is called a self-loop sequence; if |f|≥2, then it must satisfy f[j]> L f[j+1] and f[n]> L f[1]. The set of cyclic sequences is represented by the set SLS, that is,
[0111] SLS={f∈SLA*||f|=1∪(f[j]> L f[j+1]∧f[n]> L f[1],j∈{1,2,…,n-1})}.
[0112] For a sequence s, adding activities at the head or tail of the sequence can form two different sequence structures. For example, adding activity a at the head of sequence s can form a sequence<a,s> , and adding activity a at the end of sequence s will form a sequence<s,a> The following is a complete event log definition for the loop structure.
[0113] Define a cycle-complete event log;
[0114] Let WFN = (PN, a, o) be a workflow network, L be an event log about WFN, L is a cycle completeness event log if and only if L is a completeness event log and for any event log L′ about WFN, the following condition is satisfied: if there exists an executable sequence σ′∈L′, where σ′= <t 1 ,t 2 ,t 3 ,…,t n >, there exists a cyclic sequence f∈σ′, where f= <t a ,t a+1 ,…,t j >, a<j, and a,j∈{1,2,3,…,n′}, that is, the cyclic sequence f is a subsequence of the trace σ′, then So that the cyclic sequence f is a subset of the trace σ.
[0115] like Figure 1 As shown, there are two loop structures located on two branches of a concurrent structure. When the process model is executed, an incomplete loop event log may appear.
[0116] For example, according to the transition sequence triggering rules, we will get a complete event log L 1 , that is, L1 ={<m,n,l,f> ,<m,e,n,l,f> ,<m,n,e,l,e,d,n,l,f> ,<m,n,l,e,f> ,<m,n,e,l,d,n,l,f>}.Depend on Figure 1 It can be seen that there are two loop structures in the process model, which can be expressed by the loop sequence f 1 and f 2 Indicates that f 1 =<n,l,d> and f 2 = <e>However, it can be seen from the event log L that the cyclic sequence f 1 No event occurs, causing the event log L 1 There are many factors that may lead to incomplete event logs, and the research object of the present invention is mainly the cycle completeness event log.
[0117] To provide a general process discovery method for identifying different structures, the activities in the process model are redefined.
[0118] Define the loop start and end activity sets;
[0119] make is an event log, that is, L=<σ 1 ,σ 2 ,σ 3 ,…,σ j ,…,σ n >, where j,n∈N+. The set SLA is a set of cyclic activities in log L, f=<f[1],f[2],…,f[j],…,f[n]> , and f∈SLA* is a cyclic sequence about SLA, that is, f[j]∈SLA,j∈{1,2,…,n-1}. Sets Als and Ale represent the set of cycle start activities and the set of cycle end activities, respectively.
[0120] (1)Als={b∈SLA|b=f a (1)};
[0121] (2) Ale = {b∈SLA|b = f a (n)},a∈{1,2,…,m};
[0122] In particular, if there is an activity a that belongs to both the loop start activity set Als and the loop end activity set Ale, that is, a∈Als and a∈Ale, then the cyclic sequence f containing activity a is called a self-loop sequence.
[0123] According to the contents of the redefined loop activity start set and loop activity end set, an algorithm for obtaining the loop start activity set Als and the loop end activity set Ale from the event log L is given, in which the activity pairs that satisfy the direct follow-up relationship are represented by the set Adar_all, that is, for any activity If activities c and d satisfy c> L d, then the activity pair (c, d) is an element of the set Adar_all, that is, Adar_all = {(c, d)|c, d∈Ψ∧c> L d}.
[0124] The specific algorithm process for obtaining the loop start activity set Als and the loop end activity set Ale in the event log L is:
[0125] a.1.1. Declare and initialize some variables, including the directly following activity pair set Adar_all, the loop start activity set Als, the loop end activity set Ale, and the loop activity set SLA, that is and
[0126] a.1.2. According to the order relationship between activities, traverse the entire cycle completeness event log L, and store the activity pairs (a, b) that satisfy the direct follow-up relationship into the set Adar_all, that is, Adar_all←Adar_all+(a,b);
[0127] a.1.3. From the number characteristics of activities in the trace, we can know that if activity a exists in a trace σ and satisfies Sum(a,σ)>1, then activity a is a cyclic activity and activity a is temporarily stored in the cyclic activity set SLA. By traversing the entire cyclic completeness event log L, we can get all cyclic activities and the final cyclic activity set SLA;
[0128] a.1.4. If the activity pair (c, d) belongs to the set of directly following activity pairs Adar_all, activity d∈SLA and activity Then activity d is the loop start activity, and activity d is temporarily stored in the loop start activity set Als. Traverse all follow-up activity sets Adar_all and loop activity set SLA to obtain all loop start activities and add them to the loop start activity set Als;
[0129] a.1.5. If the activity pair (m,n) belongs to the set of directly following activity pairs Adar_all, activity m∈SLA and activity n∈Als, then activity m is a loop-ending activity, and activity m is temporarily stored in the loop-ending activity set Ale. Traverse all the following activity sets Adar_all, the loop activity set SLA, and the loop-starting activity set Als to obtain all the loop-ending activities and add them to the loop-ending activity set Ale;
[0130] a.1.6. Return to the loop start activity set Als and the loop end activity set Ale.
[0131] In order to identify the loop structure in the process model, that is, to obtain the loop sequence, the loop start activity set Als and the loop end activity set Ale are taken as input, and an algorithm for obtaining the loop sequence set SLS in the event log is proposed. The activity pair (a, b) is an element in the set of directly following activity pairs, that is, (a, b) ∈ Adar_all. If activities a, b ∈ SLA, the activity pair (a, b) is called a cyclic direct activity pair, and the set consisting of cyclic direct activity pairs is called a cyclic direct activity pair set, denoted by Aloop_dar, that is, Aloop_dar = {(a, b) ∈ Adar_all | a, b ∈ SLA}.
[0132] The specific algorithm process for obtaining the cyclic sequence set SLS in the event log is as follows:
[0133] a.2.1. Initialize the parameters used in the execution process, that is, initialize the loop direct activity pair set Aloop_dar and the loop sequence f respectively, and input the loop activity start set Als, the loop activity end set Ale and the direct follow-up activity pair set Adar_all;
[0134] a.2.2. If activities a, b ∈ SLA, and the activity pair (a, b) ∈ Adar_all, add the activity pair (a, b) to the loop direct activity pair set Aloop_dar; if the activity pair (b, a) ∈ Adar_all also holds true, it means that activities a and b satisfy the concurrent structure and do not belong to the loop direct follow-up activity pair set Aloop_dar. The activity pairs (a, b) and (b, a) should be deleted from Aloop_dar to ensure that the set Aloop_dar contains only loop direct activity pairs;
[0135] a.2.3. If activity a∈Als, then add activity a to the loop sequence f; if activity a∈Ale, then activity a belongs to a self-loop activity, and the loop sequence is f←f+a; if the activity pair (m,n)∈Adar_all, where activity m∈Als, n∈SLA, then the loop sequence is f←f+n; then, if the activity pair (n,d)∈Aloop_dar, and Then the loop sequence f←f+d continues to execute the loop; if the activity pair (d,m)∈Aloop_dar, and m∈Ale, then the loop sequence f←f+m jumps out of the loop and returns to the current loop sequence f;
[0136] a.2.4. Add all obtained cyclic sequences f to the cyclic sequence set SLS, i.e. SLS←SLS+f;
[0137] a.2.5. Return the cyclic sequence set SLS.
[0138] b. Identify the selection structure in the process model.
[0139] If a process model contains a non-free choice structure, then there may be indirect dependencies between different structures in the process model. The following introduces a method for discovering non-free choice structures from event logs, paving the way for discovering indirect dependencies between non-free choice structures. First, the activities in the non-free choice structure are redefined, and then the selection branch sequence is proposed to assist in identifying the non-free choice structure.
[0140] Define selection activities;
[0141] make is an event log, trace σ∈L. If there are two traces σ 1 ,σ 2 ∈L, satisfying activity b∈σ 1 and At the same time, activities Then the activity b∈σ is called a selection activity. The set of selection activities is called a selection activity set, which is represented by SCA, that is,
[0142] Define the selection start and end activity sets;
[0143] make is an event log, that is, L=<σ 1 ,σ 2 ,σ 3 ,…,σ j ,…,σ n >, SCA represents the set of selected activities of event log L, where j,n∈N+. Set Acs represents the set of selected start activities, and set Ace represents the set of selected end activities, i.e.
[0144] (1)
[0145] (2)
[0146] The specific algorithm process for obtaining the start activity set Acs and the end activity set Ace in the event log L is:
[0147] b.1.1. Initialize the parameters and intermediate variables, and respectively initialize the selection start activity set Acs, the selection end activity set Aes, and the selection activity set SCA, that is,
[0148] b.1.2. By Get a collection of all events in the event log using Get the set of activities contained in the trace σ, It can be used to obtain activities that do not appear in the trace σ, traverse all traces σ, and Activities are stored in the collection SCA, that is
[0149] b.1.3. Traverse all activities in the set SCA. If activity a belongs to both the set SCA and the set SLA, activity a should be deleted from the set SLA, that is, SCA←SCA-a;
[0150] b.1.4. If activity a is a selection activity, the activity pair (a, m) is an element of the set of directly following activity pairs and activity m does not belong to the set SCA, that is, a∈SCA,(m,a)∈Adar_all and Then activity a is a choice start activity, that is, Acs←Acs+a;
[0151] b.1.5. If activity b is a selection activity that does not belong to Acs, the activity pair (b,n) is an element of the set of directly following activity pairs and activity n does not belong to the set SCA, that is, b∈SCA,(b,n)∈Adar_all and Then activity b is a selection-ending activity, i.e. Ace←Ace+b;
[0152] b.1.6. Return to the selected start activity set Acs and the selected end activity set Ace.
[0153] Define the selection branch sequence;
[0154] make is an event log, that is, L=<σ 1 ,σ 2 ,σ 3 ,…,σ j ,…,σ n >,SCA represents a selection activity set of the event log L, where j,n∈N+. χ=<χ[1],χ[2],…,χ[a],…,χ[n]>∈SCA* is a selection branch sequence consisting of activities belonging to the set SCA, where χ[a]∈SCA. If the length of the sequence χ is 1, that is, |χ|=1, it indicates that there is only one activity on the branch of the selection structure; if the length of the sequence χ is greater than or equal to 2, that is, |χ|≥2, it indicates that there are at least two activities on the branch of the selection structure. And the activities in the selection branch sequence satisfy the direct follow-up relationship, that is, χ[a]> L χ[a+1],a∈{1,2,…,n-1}. SCS represents the set of selection branch sequences, that is, SCS={χ∈SCA*||χ|=1∪(χ[a]> L χ[a+1],a∈{1,2,…,n-1})}.
[0155] The specific process of the algorithm for obtaining the selection branch sequence set SCS in the completeness event log L is:
[0156] b.2.1. Initialize the relevant parameters and intermediate variables, and initialize the selection branch sequence χ and the selection branch sequence set SCS respectively, that is, At the same time, the selection start activity set Acs, the selection end activity set Ace, the directly following activity pair set Adar_all and the selection activity set SCA are taken as input;
[0157] b.2.2. If activity a is a selection start activity, first add activity a to the selection branch sequence χ, that is, a∈Acs, χ←χ+a; then, traverse the entire set of directly following activity pairs Adar_all, if there is (a,n)∈Adar_all, and activity n is also a selection activity, add activity n to the selection branch sequence χ, that is, n∈Acs, χ←χ+n; if activity n does not belong to the selection end activity set Ace, that is Then add activity n to the selection branch sequence χ, and then continue to traverse the set Adar_all, and add the qualified activities to the selection branch sequence χ; if activity n belongs to the selection end activity set Ace, that is, n∈Ace, add activity n to the selection branch sequence χ, and at the same time, jump out of the loop, return to the selection branch sequence χ, and add it to the selection branch sequence set SCS, that is, SCS←SCS∪χ;
[0158] b.2.3. Return the selection branch sequence set SCS.
[0159] c. Identify indirect dependencies between different structures.
[0160] In a process model, the relationships between different activities can be divided into direct dependencies and indirect dependencies. If there is a special indirect dependency between different structural units in a process model, it may be directly related to the optimal operation of the process model. By analyzing the indirect dependencies between different structures, the process model and actual production efficiency can be effectively improved. The following first gives a formal definition of the indirect dependencies between different activities, and then analyzes the indirect dependencies between different structures.
[0161] Define indirect dependencies between activities;
[0162] make is an activity set, i.e. the set of all activity identifiers, Is an event log for Activity If the activity t 1 ∈σ holds, then there exists an activity t 2 ∈σ holds and satisfies as well as Right now Activity t 1 and t 2 There is an indirect dependency between them.
[0163] Define association pairs;
[0164] make is an event log, σ∈L is a trace in the event log L, activities a, b∈Ale and activity c∈Acs, where the sequence f 1 and f 2 Represents two cyclic sequences, namely f 1 ,f 2 ∈SLS, the sequence χ represents a selection branch sequence, that is, χ∈SCS, then ω=(X,Y) is called an association pair, which means that if X is enabled, then Y is also enabled, where X=f 1 Sum(a,σ) ∧χ Sum(c,σ) And Y = f 2 Sum(b,σ) The set consisting of association pairs ω=(X,Y) is called the association pair set Aps, that is, Aps={(x,y)|x∈X,y∈Y,X=f 1 Sum(a,σ) ∧χ Sum(c,σ) ,Y=f 2 Sum(b,σ) }.
[0165] From the definition of the association pair ω = (X, Y), we can see that X and Y are not directly connected, that is, there are other activities or structures between X and Y, so the association pair (X, Y) can be said to be indirectly related. Figure 3 It shows the indirect dependency between X and Y, where ′Ω indicates that there are other activities or structures between X and Y.
[0166] Define sub-trace;
[0167] make is an event log, σ∈L is a trace in the event log L, where sequence f represents a loop sequence, i.e., f∈SLS; sequence χ represents a selection branch sequence, i.e., χ∈SCS; if as well as Then the sequences f and χ are called subtraces of the trace σ.
[0168] Define the number of subtraces;
[0169] make is an event log, σ∈L is a trace in the event log L, where sequence f represents a cyclic sequence, i.e., f∈SLS, and sequence f is a subtrace of trace σ, i.e., The number of times a sequence f appears in a trace σ is called the subtrace number, denoted as num(f,σ).
[0170] Define the segmentation trace;
[0171] make is an event log, σ 1 =<β 1 ,f,f,β 2 ,β 3 ,β 4 ,…,β n >∈L is a trace of the event log L if the cyclic sequence f∈SLS is a trace σ 1 The sub-trace of Then the trace σ is segmented by the cyclic sequence f 1 It can be expressed as η = division (f, σ 1 )={<β 1 >,<β 2 ,β 3 ,β 4 ,…,β n >}, that is, the loop sequence f is deleted and the trace σ 1 is divided into two sub-traces bounded by the cyclic sequence f; similarly, for the trace σ 2 =<β 1 ,β 2 ,β 3 ,χ,β 4 ,…,β n >∈L, the selected branch sequence χ∈SCS is the trace σ 2 The sub-trace of Then by selecting the branch sequence χ, the segmentation trace σ 2 It can be expressed as η=division(χ,σ)={<β 1 ,β 2 ,β 3 >,<β 4 ,…,β n >}, that is, the selection branch sequence χ is deleted, and the trace σ 2 It is divided into two sub-trajectories bounded by the selection branch sequence χ.
[0172] Theorem The equivalence theorem between cyclic sequence number and activity number;
[0173] For any trace σ belonging to the event log L, the cyclic sequence f m and f n is a subtrace of the trace σ, that is and f m ,f n ∈SLS. If there is an activity c, d∈Ale, c∈f m ,d∈f n and C# L d, then num(f m ,σ)=Sum(c,σ) and num(f n ,σ)=Sum(d,σ).
[0174] Proof: For and f m ,f n ∈SLS, that is, the sequence f m ,f n are all subtraces of trace σ, dividing any loop structure into two parts, namely the main loop structure and the callback loop structure. If a loop structure is executed n times in the process model, that is, the loop sequence f m and f n appears n times in the trace σ, and the main loop structure will be executed n+1 times, and the callback loop structure will be executed n times. m ,d∈f n and C# L d, activities c and d exist in the callback loop structure of the corresponding loop structure. Therefore, the number of times the loop end activity appears in the trace σ can be used to represent the number of times the loop sequence appears in the trace σ, that is, num(f m ,σ)=Sum(c,σ) and num(f n ,σ)=num(d,σ). The proof is complete.
[0175] Based on the content of the above association rules, taking mining the indirect dependency relationship between the loop-selection structure and the loop structure as an example, the process of mining the set of associated activity pairs between the loop-selection structure and the loop structure is as follows:
[0176] c.1.1. Initialize the relevant parameters, including the association pair ω, the segmentation trace η and the association pair set A ps ,Right now as well as Take Ale, Acs, SLS and SCS as input;
[0177] c.1.2. Traverse the set of cyclic sequences SLS and the trace σ. If a cyclic sequence f a is a subtrace of the trace σ, then the trace σ can be represented by the cyclic sequence f a Divide into two sub-trajectories η, that is, η = {η[1], η[2]} = division(f,σ), and if activity a∈f a And a∈Ale, then the cyclic sequence f a The number of times it appears in the trace σ can be obtained by Sum(a,σ);
[0178] c.1.3. Traverse the selection branch sequence set SCS and obtain the loop sequence f a If a selection sequence χ is a subtrace of trace η[2], then trace η[2] can be split into two subtrace η by the cyclic sequence χ. 1 , that is, η 1 ={η 1 [1],η 1 [2]} = division(χ,η[2]), and if the activities b∈χ and b∈Acs, then the number of times the selection branch sequence χ appears in the trace η[2] can be obtained by Sum(b,η[2]);
[0179] c.1.4. Traverse the set of cyclic sequences SLS. If a cyclic sequence f j It is a trace 1 [2] is a subtrace, then the trace activity e∈f a And e∈Ale, then the cyclic sequence f j In the trace 1 The number of occurrences in [2] can be obtained by Sum(a,η 1 [2]) get;
[0180] c.1.5. Obtain the cyclic sequence f a 、f j And select the sequence χ, match the number of times the sequence appears in the trace, and construct the association pair ω, that is, ω←ω+ <f a Sum(a,σ) ∧χ Sum(b,σ) ,f j Sum(e,σ) >
[0181] c.1.6. Return the associated pair set A ps .
[0182] The purpose of learning association rules is to discover a relationship of potential association between various data in a data set object, similar to finding a sufficient condition relationship, that is, if X occurs, then Y will occur, during which some indirect dependency information that is beneficial to the research is revealed. Association rules can be used To represent, X is usually called the antecedent of the association rule, and Y is usually called the consequence of the association rule. X and Y are highly abstract and generalized concepts, and the combination of X and Y can be any combination of variables. Based on the above understanding of association rules, association pairs can be combined into corresponding association rules to represent the indirect dependency between different structures in the process model. The association rules between different structures are defined as in, In addition, the set of association rules is denoted by P R Indicates that the set consisting of association rule antecedents X is denoted by R_pre and the set consisting of association rule consequences Y is denoted by R_pos.
[0183] In data mining, three evaluation indicators are often used to evaluate the quality of association rules, namely confidence, support, and lift. In order to obtain association rules that are effective for the research problem, two boundary parameters are usually introduced: minimum confidence (minconf) and minimum support (minsup). If an association rule is valid, the confidence represented by the association rule should be greater than the minimum confidence; similarly, the support represented by the association rule should be greater than the minimum support. Now, in order to mine the indirect dependencies between different structures, the association rules are transplanted and applied to the field of process mining. At the same time, the two evaluation indicators of confidence and support in the association rules are expanded, and the association rules between different structures in the process model satisfy Support (Minsup). ω )≥minsup and confidence(M ω )≥minconf. The following is a specific definition of extended support and extended confidence that meet the needs of process mining.
[0184] Define extension support;
[0185] make is an event log, σ∈L is a trace in the event log L, ω represents an association pair, A ps is a set of associated pairs. ω is an association rule, namely, M ω ∈Ρ R and the number of times the associated pair ω appears in the event log L is represented by A ps (ω) indicates Extended-support(M ω ) represents the association rule M ω The extended support of is defined as follows:
[0186]
[0187] The extended support can reflect the applicability of the association rules, that is, whether the discovered association rules are meaningful or the probability of the existence of an association relationship. Generally speaking, the larger the value of the extended support, the more effective or meaningful the association rules mined are. The value range of the extended support is between 0 and 1.
[0188] Define extended confidence;
[0189] make is an event log, σ∈L is a trace in the event log L, is an association rule, where N X (ω) represents the number of occurrences of X in the associated pair ω in the event log L, and A ps (ω) represents the number of occurrences of the association pair ω in the event log L. Extended-confidence represents the association rule M ω The extended confidence level is defined as follows:
[0190]
[0191] The extended confidence indicates the reliability of the association rule. If an association rule has a high extended confidence, it means that the association rule is very reliable, that is, if X appears, then Y will appear.
[0192] From Extended-support(M ω ) and Extended-confidence(M ω ) definition, if the association pair ω appears in a given event log L, it satisfies Extended-support (M ω )>0, and in the event log L, the confidence of the association rule is 1, that is, Extended-confidence (M ω )=1, it indicates that the association rule M found ω is effective.
[0193] Get the associated pair ω and the associated pair set P in the event log L R The specific process of generating valuable association rules is as follows:
[0194] c.2.1. Initialize the parameters and intermediate variables used in the algorithm execution process, including the association rule set P R , association rule antecedent set R_pre, association rule consequence set R_pos, the number of times X appears in the association pair ω N X (ω) and the number of times the associated pair ω appears in the event log L ps (ω), that is N X (ω)←0 and A ps (ω)←0;
[0195] c.2.2. Obtain the number of occurrences of X in the associated pair ω in the event log L, that is, obtain N X The value of (ω);
[0196] c.2.3. Get the number of occurrences of the associated pair ω in the event log L, i.e. A ps (ω);
[0197] c.2.4. Obtain the extended confidence (M) of each association pair ω in the event log ω )) and Extended-support (M ω ))'s value;
[0198] c.2.5. If Extended-support(M ω )>0 and Extended-confidence(M ω )=1, then the association rule set P R , the association rule antecedent set R_pre and the association rule consequence set R_pos can be obtained;
[0199] c.2.6. Return the set P R ,R_pre and R_pos.
[0200] d. Improve the ordinary Petri net;
[0201] As a formalized representation method, Petri net can be used to describe common process models and can dynamically represent the execution of process models through token replay technology. It has been widely used in various industries. However, ordinary Petri nets cannot directly express the indirect dependencies in process models. Therefore, to solve this problem, the present invention improves the definition of ordinary Petri and proposes new transition occurrence rules. The definition of improved Petri net (IPN) is given below.
[0202] Define Improved Petri Net - IPN;
[0203] A four-tuple IPN = (PN, R_pre, R_pos, R ) is called an improved Petri net, in which,
[0204] (1) PN = (P, T; F, M 0 ) is a common Petri net;
[0205] (2) R_pre is the antecedent of the association rule A set of , where a∈{1,2,…,n-1};
[0206] (3) R_pos is the consequence of the association rule The set of , where j∈{1,2,…,n-1} and a<j;
[0207] (4) R is a set of association rules;
[0208] (5) Rules for changes:
[0209] 1) For sequence f a and f j are all cyclic sequences, sequence χ is a selection sequence, and f a n ∧χ 1 ∈R_pre and f j m ∈R_pos, represents the cyclic sequence f a has been executed n times and the selection sequence χ has also been executed if it satisfies the library place p∈·t, where the transition t satisfies t∈f j And t∈Als:M(p)≥1, then it represents the cyclic sequence f j Enabled under the flag M, it is defined as M[f j m >, then it means that the cyclic sequence f j Can be executed m times;
[0210] 2) For Then the transition occurrence rules are consistent with the transition occurrence rules of ordinary Petri nets.
[0211] e-process discovery algorithm--AlphaID
[0212] According to the above content, the loop sequence and selection sequence contained in the event log can be correctly discovered. It is necessary to propose an algorithm to correctly mine the process model and further use the newly proposed IPN to represent the obtained process model. Therefore, the present invention proposes an algorithm for mining the indirect dependency relationship between the loop-selection structure and the loop structure, namely the AlphaID algorithm. The formal definition of the AlphaID algorithm is given below.
[0213] Define the AlphaID algorithm; (key points)
[0214] Let L be a The event log of , then the formal definition of the algorithm AlphaID(L) is as follows:
[0215] Get all the activities that appear in log L, that is
[0216] Get T a , T a is the set of starting activities, that is, the set of activities that first appear in any trace in the event log L, that is,
[0217] Get T O , T O is the end activity set, that is, the set of activities that appear last in any trace in the event log L, that is,
[0218] Get all the cyclic activities and put them into the cyclic activity set SLA, that is,
[0219] Get the starting activity set Als of the loop sequence, that is, Als = {b∈SLA|b = f a (1)};
[0220] Get the end activity set Ale of the loop sequence, that is, Ale = {b∈SLA|b = f a (n)},a∈{1,2,…,n};
[0221] Get the cyclic sequence set SLS in the log L, that is, SLS = {f∈SLA*||f|=1∪(f[a]> L f[a+1]∧f[n]> L f[1],a∈{1,2,…,n-1})};
[0222] Analyze the selection branch activities in the event log L and obtain the selection branch activity set SCA, that is,
[0223] Get the starting active set Acs of the selection branch, that is
[0224] Get the ending activity set Ace of the selection branch, that is
[0225] Get the selection branch sequence set SCS in the event log L, that is, SCS = {χ∈SCA*||χ|=1∪(χ[a]> L χ[a+1],a∈{1,2,…,n-1})};
[0226] Get the set X of adjacent activity pairs in the log L ,Right now
[0227] Further narrow the scope of the activity pair set and obtain the activity pair set Y that meets the conditions L ,Right now
[0228] Get the set of places P that meet the conditions L Each place p(A,B) connects activities A and B, and contains a unique start place aL and a unique end place, namely P L ={p(A,B)|(A,B)∈Y L ∪{aL,oL}};
[0229] Get all arcs F of the process model L , that is, F L ={(a,p(A,B))|(A,B)∈Y L ∧a∈A}∪{(p(A,B),b)|(A,B)∈Y L ∧b∈B}∪{(a L ,t)|t∈T a }∪{(a o ,t)|t∈T o };
[0230] Get the association rule antecedent set R_pre, that is
[0231] Get the association rule consequence set R_pos, that is
[0232] Get the association rule set that meets the conditions R ,
[0233] Right now
[0234] Extended-support(M ω )>0,Extended-confidence(M ω )=1};
[0235] The final process model is obtained, namely AlphaID(L)=(P L ,T L ,F L ,R_pre,R_pos,Ρ R ). The AlphaID process mining method has certain advantages in processing process models containing loop-selection structures and indirect dependencies between loop structures, which improves the efficiency and accuracy of discovering indirect dependencies between different structures in the process model.
[0236] Process Discovery Method - AlphaID:
[0237] According to the above content, the loop sequence and selection sequence contained in the event log can be correctly discovered. It is necessary to propose an algorithm to correctly mine the process model and further use the newly proposed IPN to represent the obtained process model. Therefore, the present invention proposes an algorithm for mining the indirect dependency relationship between the loop-selection structure and the loop structure, namely the AlphaID method.
[0238] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.< / e>
Claims
1. A method for mining indirect dependencies between different structures based on Petri nets, characterized in that: include: Identify loop structures in process models: redefine the loop activity set SLA and use the loop sequence set SLS to identify behavior patterns that satisfy the loop structure; Identify cyclic and selective sequences in event logs: Separate cyclic and selective sequences from event logs; Propose association rules between different structures: Establish an association rule system suitable for identifying loops and selecting indirect dependencies between loop structures; Extended Petri net model: Extend the ordinary Petri net model to adapt to the indirect dependency relationship in the complex process model, and formulate the activity sequence initiation rules corresponding to the extended Petri net model to constrain the execution path of the new process model; Representing indirect dependency relationships: Using the extended Petri net model and rules, the indirect dependency relationships between loop and selection structures and loop structures in the process model mined by the AlphaID algorithm are represented.
2. The method for mining indirect dependencies between different structures based on Petri nets according to claim 1, characterized in that: The method for identifying a loop structure in a process model comprises: Define the cyclic activity set SLA and divide it into the cycle start activity set Als, the cycle end activity set Ale and other cycle activity sets; By analyzing the activity sequence, the loop sequence set SLS that meets the loop structure conditions is determined.
3. The method for mining indirect dependencies between different structures based on Petri nets according to claim 1, characterized in that: The method for identifying a cyclic sequence and a selection sequence in an event log includes: Perform statistical analysis on the activities in the event log and identify recurring activity sequences as candidate cyclic sequences; The selection sequence recognition algorithm is applied to identify the selection sequences in the event log based on the conditional branching relationship between activities.
4. The method for mining indirect dependencies between different structures based on Petri nets according to claim 1, characterized in that: The association rules between different structures include: Clarify the triggering conditions between the loop sequence and the selection sequence, including under what circumstances the execution of the loop sequence will lead to the occurrence of the selection sequence; Define the time, sequence, or resource constraints between activities within a loop sequence and between the loop sequence and the selection sequence.
5. The method for mining indirect dependencies between different structures based on Petri nets according to claim 1, characterized in that: The extended Petri net model includes: Introduce additional tags or place types to indicate special states of loop and selection structures; Design new transition rules to reflect the iterative process of the loop structure and the decision logic of the selection structure; Determine the connection relationship between the newly added elements in the extended Petri net and the original model elements.
6. The method for mining indirect dependencies between different structures based on Petri nets according to claim 1, characterized in that: The activity sequence triggering rules include: Specify the conditions for activating or disabling subsequent activities after a specific recurring activity or selection activity is triggered; Defines the sequence of activities that determine during execution the response to external events or internal state changes to adjust the execution path to reflect indirect dependencies.
7. The method for mining indirect dependencies between different structures based on Petri nets according to claim 1, characterized in that: The method for expressing indirect dependency relationship includes: By using the newly added elements and transition rules of the extended Petri net, the control flow and data flow relationship between loop and selection structures and loop structures is depicted; Through the activity sequence initiation rules, it is clearly identified that the indirect dependencies affect the actual execution trajectory of the process model under specific conditions.
8. The method for mining indirect dependencies between different structures based on Petri nets according to claim 1, characterized in that: Also includes: Visualize the identified loop structures, loop sequences, and indirect dependencies between selection sequences.
