A method and system for mining streamlined process models based on Petri net-based simplification rules
The process model is simplified through the preservation simplification rules of Petri net, which solves the problem of process model complexity and large state search space, improves the analysis efficiency, and evaluates the model quality through the F-measure value.
Patent Information
- Application Number
- CN202210573119.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-05-25
AI Technical Summary
The existing process model is complex and difficult to understand, the state search space is large, resulting in low analysis efficiency, and the invisible transitions in Petri nets add unnecessary complexity.
Based on the preservation simplification rules of Petri net, the initial process model is obtained through the Inductive Miner process discovery algorithm, the transition nodes are traversed to obtain the invisible transition location information, and 7 simplification rules are applied to simplify the model until it can no longer be simplified, and then combined with the event log Conduct compliance checks to evaluate the fit and accuracy of the simplified model.
The complexity and state search space of the process model are reduced, the analysis efficiency is improved, the simplified model is easier to understand, and its quality is evaluated through the F-measure value.
Smart Images

Figure CN114880379B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of process mining, and in particular to a method and system for mining a simplified process model based on Petri net property-preserving simplification rules. Background Art
[0002] Process mining is an active research discipline that aims to extract information about business processes from event logs. Process discovery allows process models (the most common process model is Petri nets) to be extracted from event logs and effectively analyzed. For example, compliance checking technology compares a process model with the event logs recorded in the business process, thereby emphasizing the differences between the process model and the actual behavior recorded in the event logs. Studying these differences helps to gain a deeper understanding of deviations, compliance, and performance. With the rapid development of data technology, larger event logs are recorded, and the resulting process models are more complex. Such process models have been proven to be difficult for humans to understand, which complicates people's analysis. In addition, such process models have a larger state search space and may also require exponentially longer processing time. The invisible transitions in Petri nets lead to unnecessary complexity and expand the state space. Therefore, the present invention provides a new mining method based on the property-preserving simplification rule, which obtains a more streamlined process model while ensuring that the behavior of the process model remains unchanged, thereby reducing the complexity of the process model and improving the efficiency of subsequent analysis. Summary of the invention
[0003] The first purpose of the present invention is to address the shortcomings of existing process models and provide a streamlined process model mining method based on Petri net property-preserving simplification rules. For unnecessary invisible changes in Petri nets, a set of simplification rules is provided to reduce the complexity of the process model and the state search space of the process model, while ensuring the visible behavior of the process model.
[0004] The second object of the present invention is to provide a simplified process model mining system based on Petri net preservation simplification rules.
[0005] The first object of the present invention is achieved by the following technical solution: a simplified process model mining method based on Petri net preservation simplification rules, comprising the following steps:
[0006] 1) The input event log is mined through the Inductive Miner process discovery algorithm to obtain the initial Petri net process model. The current process model contains a large number of invisible changes;
[0007] 2) Traverse the transition nodes of the process model in step 1) to obtain the location information of the invisible transition;
[0008] 3) According to the invisible transition position information obtained in step 2), whether the simplification conditions are met according to the process model simplification rules is determined, and the process model that meets the simplification conditions is simplified according to the simplification rules of its corresponding type;
[0009] 4) Repeat step 3) until the process model cannot be simplified any further, and the simplified process model can be obtained;
[0010] 5) Perform compliance check on the simplified process model and event log in step 4), measure the fit and accuracy, calculate the comprehensive index F-measure value of the two, and evaluate the quality of the simplified process model.
[0011] Further, in step 1), the event log refers to a series of event sets generated during the operation of the business information system, including the executor of the event and the time when the event occurred; the process discovery algorithm refers to a method for discovering a process model from the event log, wherein the most advanced process discovery algorithm currently is Inductive Miner; the process model refers to a visual representation of a process in a business information system, wherein the most common model is a Petri net, which is composed of three basic elements: places, transitions, and directed arcs. The transitions are connected to each place by directed arcs, and the places are connected to each transition by directed arcs. The previous place connected to the transition is called the predecessor place of the transition, the previous transition connected to the place is called the predecessor transition of the place, the next place connected to the transition is called the successor place of the transition, and the next transition connected to the place is called the successor transition of the place. The transition is a representation of an event in a business process.
[0012] Further, in step 2), the invisible transition refers to an event that cannot be observed in the business process. The visible transition corresponding to the invisible transition refers to an event that can be normally observed in the business process. By traversing the process model, the location information of the invisible transition can be obtained.
[0013] Further, in step 3), according to the position information of the invisible transition in step 2), whether the transition node meets the simplification condition is determined according to the following 7 process model simplification rules; the 7 process model simplification rules are as follows:
[0014] a. Rule 1: The invisible transition has only one incoming edge and one outgoing edge, the predecessor library of the invisible transition has multiple incoming edges and one outgoing edge, and the successor library of the invisible transition has multiple incoming edges and multiple outgoing edges;
[0015] Simplification rule 1: Add all the incoming edges of the predecessor place of the invisible transition that satisfies rule 1 to the incoming edges of the successor place, delete the invisible transition and the incoming and outgoing edges connecting the predecessor place and the successor place;
[0016] b. Rule 2: The invisible transition has only one incoming edge and one outgoing edge, the predecessor of the invisible transition has multiple incoming edges and multiple outgoing edges, and the successor of the invisible transition has only one incoming edge and multiple outgoing edges;
[0017] Simplification rule 2: Add all outgoing edges of the successor place of the invisible transition that satisfies rule 2 to the outgoing edges of the predecessor place, and delete the invisible transition as well as the incoming and outgoing edges connecting the predecessor place and the successor place;
[0018] c. Rule 3: An invisible transition has multiple incoming edges and only one outgoing edge. The successor place of the invisible transition has only one incoming edge and one outgoing edge. The successor transition of the successor place of the invisible transition is a visible transition with multiple incoming edges and multiple outgoing edges.
[0019] Simplification rule 3: Add all the incoming edges of the invisible transition that satisfy rule 3 to the incoming edge of the next visible transition, and delete the invisible transition, the successor place, and all the incoming and outgoing edges connecting the invisible transition and the successor place;
[0020] d. Rule 4: An invisible transition has one incoming edge and multiple outgoing edges, and its predecessor place has only one incoming edge and one outgoing edge. The predecessor transition of the predecessor place of the invisible transition is a visible transition, which has multiple incoming edges and multiple outgoing edges.
[0021] Simplification rule 4: Add all outgoing edges of the invisible transition that satisfy rule 4 to the outgoing edge of the last visible transition, and delete the invisible transition, its predecessor place, and all incoming and outgoing edges connecting the invisible transition and the predecessor place.
[0022] e. Rule 5: A visible transition has multiple incoming edges and multiple outgoing edges. The next visible transition can be reached through at least two places. The next visible transition also has multiple incoming edges and multiple outgoing edges. At least two places between two visible transitions have only one incoming edge and one outgoing edge.
[0023] Simplify Rule 5: Keep only one place between two visible transitions that satisfy Rule 5, and delete the other places and the in-edges and out-edges connecting the two visible transitions;
[0024] f. Rule 6: Multiple invisible transitions have only one incoming edge and one outgoing edge, and their predecessor places are the same place, their successor places are also the same place, and both the predecessor place and the successor place have multiple incoming edges and multiple outgoing edges;
[0025] Simplify Rule 6: Keep only one of the multiple invisible transitions between two places that satisfy Rule 6, and delete the other invisible transitions as well as the in-edges and out-edges connecting the two places.
[0026] g. Rule 7: The predecessor place and the successor place of an invisible transition can only be one and the same place;
[0027] Simplify rule 7: Delete the invisible transitions that satisfy rule 7, and delete the in-edge and out-edge of the invisible transitions.
[0028] Further, in step 5), the process model obtained in step 4) is subjected to compliance check with the event log, the fit and accuracy are measured, and the comprehensive index F-measure value of the two is calculated. The F-measure value is the harmonic mean of the fit and accuracy, and the calculation formula is as follows:
[0029]
[0030] Where, F-measure(L,M) is the F-measure value of the process model M relative to the original log L, fitness(L,M) is the fit of the process model M relative to the original log L, and precision(L,M) is the accuracy of the process model M relative to the original log L; the interpretations of fit and precision are as follows: a. Fit quantifies the degree to which the process model can accurately reproduce the trajectories recorded in the event log. It quantifies the ability of the process model to regenerate the trajectories recorded in the event log. A fit of 1 means that the process model can regenerate all trajectories in the event log, and a low fit indicates that most of the behaviors in the event log cannot be reproduced by the process model; b. Precision quantifies some behaviors that can be reproduced in the process model but cannot be seen in the event log. It measures the ability of the process model to only generate trajectories recorded in the event log. A precision of 1 means that all trajectories generated by the process model are included in the event log, and a low precision means that the process model allows more behaviors outside the event log.
[0031] The second object of the present invention is achieved by the following technical solution: a simplified process model mining system based on Petri net preservation simplification rules, comprising a process model discovery module, a transition location acquisition module, a process model simplification module, a simplified process model output module and a process model quality assessment module;
[0032] The process model discovery module obtains the process model by using the Inductive Miner process discovery algorithm to input the event log;
[0033] The transition location acquisition module acquires the location information of the invisible transition by traversing the transition nodes of the process model; wherein the invisible transition refers to an event that cannot be observed in the business process, and the visible transition corresponding to the invisible transition refers to an event that can be normally observed in the business process. By traversing the process model, the location information of the invisible transition can be acquired;
[0034] The property-preserving simplified process model module obtains the characteristics of the predecessor and successor places or transition nodes according to the position of the transition node, and observes whether they correspond to the corresponding simplification rules of the process model. If the characteristics of the transition node meet a certain simplification rule of the process model, the process model is simplified according to the corresponding rule;
[0035] The simplified process model output module again determines whether the simplified process model meets the corresponding simplification rules of the simplified process model module. If so, the simplification continues until the process model no longer has simplified structural features, and then the final simplified process model is output;
[0036] The process model quality assessment module is used to assess the quality of the simplified process model, perform compliance checks on the simplified process model and the original log, calculate the F-measure value of the comprehensive assessment index of fit and accuracy, and assess the quality of the simplified process model.
[0037] Furthermore, in the process model discovery module, the event log refers to a series of event sets generated during the operation of the business information system, including the executors of the events and the time when the events occurred; the process discovery algorithm refers to a method for discovering process models from event logs, among which the most advanced process discovery algorithm is Inductive Miner; the process model refers to a visual representation of the process in the business information system, among which the most common model is Petri net, which is composed of three basic elements: place, transition and directed arc. The transitions are connected to each place by directed arcs, and the places are connected to each transition by directed arcs. The previous place connected to the transition is called the predecessor place of the transition, the previous transition connected to the place is called the predecessor transition of the place, the next place connected to the transition is called the successor place of the transition, and the next transition connected to the place is called the successor transition of the place. The transition is a representation of an event in the business process.
[0038] Further, the simplified process model module performs the following operations:
[0039] According to the location information of the invisible transition in the transition location module, the following seven process model simplification rules are used to determine whether the transition node meets the simplification conditions; the seven process model simplification rules are as follows:
[0040] a. Rule 1: The invisible transition has only one incoming edge and one outgoing edge, the predecessor library of the invisible transition has multiple incoming edges and one outgoing edge, and the successor library of the invisible transition has multiple incoming edges and multiple outgoing edges;
[0041] Simplification rule 1: Add all the incoming edges of the predecessor place of the invisible transition that satisfies rule 1 to the incoming edges of the successor place, delete the invisible transition and all the remaining incoming and outgoing edges connecting the predecessor place and the successor place;
[0042] b. Rule 2: The invisible transition has only one incoming edge and one outgoing edge, the predecessor of the invisible transition has multiple incoming edges and multiple outgoing edges, and the successor of the invisible transition has only one incoming edge and multiple outgoing edges;
[0043] Simplification rule 2: Add all outgoing edges of the successor place of the invisible transition that satisfies rule 2 to the outgoing edges of the predecessor place, delete the invisible transition and all remaining incoming and outgoing edges connecting the predecessor place and the successor place;
[0044] c. Rule 3: An invisible transition has multiple incoming edges and only one outgoing edge. The successor place of the invisible transition has only one incoming edge and one outgoing edge. The successor transition of the successor place of the invisible transition is a visible transition with multiple incoming edges and multiple outgoing edges.
[0045] Simplification rule 3: Add all the incoming edges of the invisible transition that satisfy rule 3 to the incoming edge of the next visible transition, and delete the invisible transition, the successor place, and all the incoming and outgoing edges connecting the invisible transition and the successor place;
[0046] d. Rule 4: An invisible transition has one incoming edge and multiple outgoing edges, and its predecessor place has only one incoming edge and one outgoing edge. The predecessor transition of the predecessor place of the invisible transition is a visible transition, which has multiple incoming edges and multiple outgoing edges.
[0047] Simplification rule 4: Add all outgoing edges of the invisible transition that satisfy rule 4 to the outgoing edge of the last visible transition, and delete the invisible transition, its predecessor place, and all incoming and outgoing edges connecting the invisible transition and the predecessor place;
[0048] e. Rule 5: A visible transition has multiple incoming edges and multiple outgoing edges. The next visible transition can be reached through at least two places. The next visible transition also has multiple incoming edges and multiple outgoing edges. At least two places between two visible transitions have only one incoming edge and one outgoing edge.
[0049] Simplify Rule 5: Keep only one place between two visible transitions that satisfy Rule 5, and delete the other places and the in-edges and out-edges connecting the two visible transitions;
[0050] f. Rule 6: Multiple invisible transitions have only one incoming edge and one outgoing edge, and their predecessor places are the same place, their successor places are also the same place, and both the predecessor place and the successor place have multiple incoming edges and multiple outgoing edges;
[0051] Simplify Rule 6: Keep only one of the multiple invisible transitions between two places that satisfy Rule 6, and delete the other invisible transitions as well as the in-edges and out-edges connecting the two places.
[0052] g. Rule 7: The predecessor place and the successor place of an invisible transition can only be one and the same place;
[0053] Simplify rule 7: Delete the invisible transitions that satisfy rule 7, and delete the in-edge and out-edge of the invisible transitions.
[0054] Further, the output simplified process model module performs the following operations:
[0055] The process model obtained through the process model simplification rule module is then operated in turn by the definition change simplification rule module and the process model simplification rule module until the obtained process model no longer changes, and the obtained process model is output.
[0056] Further, the process model quality assessment module performs the following operations:
[0057] The process model obtained by the simplified process model module is output and checked for compliance with the event log, the fit and accuracy are measured, and the comprehensive index F-measure value of the two is calculated. The F-measure value is the harmonic mean of the fit and accuracy, and the calculation formula is as follows:
[0058]
[0059] Where, F-measure(L,M) is the F-measure value of the process model M relative to the original log L, fitness(L,M) is the fit of the process model M relative to the original log L, and precision(L,M) is the accuracy of the process model M relative to the original log L; the interpretations of fit and precision are as follows: a. Fit quantifies the degree to which the process model can accurately reproduce the trajectories recorded in the event log. It quantifies the ability of the process model to regenerate the trajectories recorded in the event log. A fit of 1 means that the process model can regenerate all trajectories in the event log, and a low fit indicates that most of the behaviors in the event log cannot be reproduced by the process model; b. Precision quantifies some behaviors that can be reproduced in the process model but cannot be seen in the event log. It measures the ability of the process model to only generate trajectories recorded in the event log. A precision of 1 means that all trajectories generated by the process model are included in the event log, and a low precision means that the process model allows more behaviors outside the event log.
[0060] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0061] 1. The present invention simplifies the structure of the Petri net containing invisible transitions for the first time, effectively reducing the structural complexity of such process models and narrowing the state search space of the process models.
[0062] 2. The present invention can be used as a pre-processing step for process model automation technology, or as a post-processing step for process discovery technology. At the same time, the reduction of model complexity makes it easier for people to analyze and understand process models more efficiently.
[0063] 3. The present invention can be extended to other process models besides Petri nets, such as BPMN model, EPC, etc., and has more general application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 The figure is a logical flow chart of the method of the present invention.
[0065] Figure 2 This is an interface diagram of the ProM tool plug-in implementation method of the present invention.
[0066] Figure 3 This is an event log diagram of the use case of the present invention.
[0067] Figure 4 This is the interface diagram of the Inductive Miner process discovery algorithm of the present invention.
[0068] Figure 5 Petri net input for the use case of the present invention.
[0069] Figure 6 It is the transition position information of 7 kinds of process models defined in the method of the present invention.
[0070] Figure 7 This is the intermediate output result diagram of the Petri net of the use case of the present invention.
[0071] Figure 8 The Petri net output for the use case of the present invention.
[0072] Fig. 9 This is the interface diagram of the quality assessment indicator Fitness of the present invention.
[0073] Fig.10 This is the interface diagram of the quality assessment indicator Precision of the present invention.
[0074] Fig.11 This is a system architecture diagram of the present invention. DETAILED DESCRIPTION
[0075] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0076] Example 1
[0077] This embodiment discloses a simplified process model mining method based on Petri net preservation simplification rules. The method has been implemented in the ProM tool as a plug-in, such as Figure 2 as shown; Figure 1 As shown in the figure, this method uses the InductiveMiner process discovery algorithm to discover the Petri net process model of the input event log, then traverses the transition nodes of the process model to obtain the location information of the invisible transition, and then judges whether the invisible transition node meets the conditions according to the 7 defined process model simplification rules, simplifies the invisible transition nodes that meet the conditions according to the corresponding simplification rules, and finally repeats the above steps for the obtained process model until the process model is no longer simplified, and obtains the final simplified process model. Finally, the obtained process model is checked for compliance with the original log to evaluate the quality of the simplified process model. Specifically, the following steps are included:
[0078] 1) The input event log is mined by the Inductive Miner process discovery algorithm to obtain a Petri net. The event log refers to a series of events generated during the operation of the business information system, including information such as the executor of the event and the time when the event occurred; the process discovery algorithm refers to a method for discovering a process model from an event log, and the most advanced process discovery algorithm is Inductive Miner; the process model refers to a visual representation of a process in a business information system, and the most common model is a Petri net. A Petri net is composed of three basic elements: places, transitions, and directed arcs. The front and back of each place are connected to the transitions by directed arcs, and the front and back of each transition are connected to the places by directed arcs. The previous place (or transition) connected to the transition (or place) is called the predecessor place (or transition) of the transition (or place), and the next place (or transition) connected to the transition (or place) is called the successor place (or transition) of the transition (or place). The transition is a representation of an event in a business process.
[0079] Using the above steps, the event log information entered is as follows: Figure 3 As shown, the process discovery algorithm Inductive Miner (such as Figure 4 As shown in the figure, a process model is found. Figure 5 shown.
[0080] 2) Traverse the transition nodes of the process model to obtain the location information of invisible transitions. The invisible transitions refer to events that cannot be observed in the business process. The visible transitions corresponding to the invisible transitions refer to events that can be observed normally in the business process. By traversing the process model, the location information of the invisible transitions can be obtained.
[0081] Using the above steps, Figure 5Traverse the process model shown in the figure. The black squares in the figure represent invisible transitions, the non-black squares represent visible transitions, and the circles represent places. Find the location of the invisible transitions in the figure.
[0082] 3) According to the location information of the invisible transition in step 2), whether the transition node meets the simplification conditions is determined according to 7 process model simplification rules; the 7 process model simplification rules are as follows:
[0083] a. Rule 1: The invisible transition has only one incoming edge and one outgoing edge. The predecessor of the invisible transition has multiple incoming edges and only one outgoing edge. The successor of the invisible transition has multiple incoming edges and multiple outgoing edges.
[0084] Simplification rule 1: Add all the incoming edges of the predecessor place of the invisible transition that satisfies rule 1 to the incoming edges of the successor place, delete the invisible transition and the incoming and outgoing edges connecting the predecessor place and the successor place;
[0085] b. Rule 2: The invisible transition has only one incoming edge and one outgoing edge, the predecessor of the invisible transition has multiple incoming edges and multiple outgoing edges, and the successor of the invisible transition has only one incoming edge and multiple outgoing edges;
[0086] Simplification rule 2: Add all outgoing edges of the successor place of the invisible transition that satisfies rule 2 to the outgoing edges of the predecessor place, and delete the invisible transition as well as the incoming and outgoing edges connecting the predecessor place and the successor place;
[0087] c. Rule 3: The invisible transition has multiple incoming edges and only one outgoing edge, the successor place of the invisible transition has only one incoming edge and one outgoing edge, and the successor place of the invisible transition has multiple incoming edges and multiple outgoing edges;
[0088] Simplification rule 3: Add all the incoming edges of the invisible transition that satisfy rule 3 to the incoming edges of the next visible transition, delete the invisible transition, the successor place, and all the edges connecting the invisible transition and the successor place;
[0089] d. Rule 4: The predecessor place of an invisible transition has only one incoming edge and one outgoing edge. The predecessor transition of the predecessor place of an invisible transition is a visible transition, which has multiple incoming edges and multiple outgoing edges.
[0090] Simplification rule 4: Add all outgoing edges of the invisible transition that satisfy rule 4 to the outgoing edges of the last visible transition, and delete the invisible transition, the predecessor place, and all the edges connecting the invisible transition and the predecessor place.
[0091] e. Rule 5: A visible transition has multiple incoming edges and multiple outgoing edges. The next visible transition can be reached through at least two places. The next visible transition also has multiple incoming edges and multiple outgoing edges. At least two places between two visible transitions have only one incoming edge and one outgoing edge.
[0092] Simplify Rule 5: Keep only one place between two visible transitions that satisfy Rule 5, and delete the other places as well as the in-edges and out-edges connecting the two visible transitions.
[0093] f. Rule 6: Multiple invisible transitions have only one incoming edge and one outgoing edge, and their predecessor places are the same place, their successor places are also the same place, and both the predecessor place and the successor place have multiple incoming edges and multiple outgoing edges;
[0094] Simplify Rule 6: Keep only one of the multiple invisible transitions between two places that satisfy Rule 6, and delete the other invisible transitions as well as the in-edges and out-edges connecting the two places.
[0095] g. Rule 7: The predecessor place and the successor place of an invisible transition can only be one and the same place;
[0096] Simplify rule 7: Delete the invisible transitions that satisfy rule 7, and delete the in-edge and out-edge of the invisible transitions;
[0097] Using this step, define 7 process model simplification rules such as Figure 6 As shown in the figure, there are 7 invisible transitions that meet the conditions. According to the simplification rules, the simplified process model is as follows: Figure 7 shown.
[0098] 4) Repeat step 3) for the process model obtained in step 3) until the obtained process model no longer changes, and the simplified process model can be obtained.
[0099] Using this step, there are still unsimplified rules in the simplified process model. Continue with step 3) to obtain the final process model result as shown below: Figure 8 shown.
[0100] 5) Perform compliance check on the process model and event log obtained in step 4), measure the fit and accuracy, and calculate the comprehensive index F-measure value of the two. The F-measure value is the harmonic mean of the fit and accuracy, and the calculation formula is as follows:
[0101]
[0102] Where, F-measure(L,M) is the F-measure value of the process model M relative to the original log L, fitness(L,M) is the fit of the process model M relative to the original log L, and precision(L,M) is the accuracy of the process model M relative to the original log L; the interpretations of fit and precision are as follows: a. Fit quantifies the degree to which the process model can accurately reproduce the trajectories recorded in the event log. It quantifies the ability of the process model to regenerate the trajectories recorded in the event log. A fit of 1 means that the process model can regenerate all trajectories in the event log, and a low fit indicates that most of the behaviors in the event log cannot be reproduced by the process model; b. Precision quantifies some behaviors that can be reproduced in the process model but cannot be seen in the event log. It measures the ability of the process model to only generate trajectories recorded in the event log. A precision of 1 means that all trajectories generated by the process model are included in the event log, and a low precision means that the process model allows more behaviors outside the event log.
[0103] By using this step, Figure 5 Unsimplified process model, Figure 7 The simplified process model is checked for compliance with the input event log and the fit is measured (e.g. Fig. 9 As shown in), accuracy indicators (such as Fig.10 As shown in the figure, the comprehensive index F-measure value of the two is calculated, and the unsimplified process model has a fitness of 1, an accuracy of 0.258, and an F-measure of 0.41, and the simplified process model has a fitness of 1, an accuracy of 0.324, and an F-measure of 0.489. The F-measure value is between 0 and 1, and the larger the F-measure value, the higher the quality of the process model. It can be seen that the quality of the process model is improved by the method of the present invention.
[0104] Example 2
[0105] This embodiment discloses a simplified process model mining system based on Petri net preservation simplification rules. The system architecture is as follows: Fig.11 As shown, it includes a process model discovery module, a transition location acquisition module, a process model simplification module, a simplified process model output module and a process model quality assessment module;
[0106] The process model discovery module obtains the process model by using the Inductive Miner process discovery algorithm to input the event log;
[0107] The transition position acquisition module acquires the position of the invisible transition by traversing the transition nodes of the process model;
[0108] The simplified process model module obtains the characteristics of the predecessor and successor places or transition nodes according to the position of the transition node, such as the number of outgoing and incoming edges, and observes whether it corresponds to the seven simplification rules of the process model. If the characteristics of the transition node meet one of the seven simplification rules of the process model, the process model is simplified according to the corresponding rule;
[0109] The simplified process model output module again determines whether the simplified process model meets the seven simplification rules of the transition simplification rule definition module. If so, the simplification continues until the process model no longer has the seven simplified structural features, and then the final simplified process model is output;
[0110] The process model quality assessment module is used to assess the quality of the simplified process model, perform compliance checks on the simplified process model and the original log, calculate the F-measure value of the comprehensive assessment index of fit and accuracy, and assess the quality of the simplified process model.
[0111] Furthermore, in the process model, the event log refers to a series of event collections generated during the operation of the business information system, including information such as the executor of the event and the time when the event occurred; the process discovery algorithm refers to a method for discovering a process model from an event log, among which the most advanced process discovery algorithm is Inductive Miner; the process model refers to a visual representation of a process in a business information system, among which the most common model is a Petri net, which is composed of three basic elements: places, transitions, and directed arcs. The transitions are connected to each place by directed arcs, and the places are connected to each transition by directed arcs. The previous place connected to the transition is called the predecessor place of the transition, the previous transition connected to the place is called the predecessor transition of the place, the next place connected to the transition is called the successor place of the transition, and the next transition connected to the place is called the successor transition of the place. The transition is a representation of an event in a business process.
[0112] Furthermore, in the module for obtaining the transition location, the invisible transition refers to an event that cannot be observed in the business process. The visible transition corresponding to the invisible transition refers to an event that can be normally observed in the business process. By traversing the process model, the location information of the invisible transition can be obtained.
[0113] Furthermore, the simplified process model module specifically performs the following operations:
[0114] According to the location information of the invisible transition in the transition location module, whether the transition node meets the simplification conditions is judged according to the 7 process model simplification rules; the 7 process model simplification rules are as follows:
[0115] a. Rule 1: The invisible transition has only one incoming edge and one outgoing edge. The predecessor of the invisible transition has multiple incoming edges and only one outgoing edge. The successor of the invisible transition has multiple incoming edges and multiple outgoing edges.
[0116] Simplification rule 1: Add all the incoming edges of the predecessor place of the invisible transition that satisfies rule 1 to the incoming edges of the successor place, delete the invisible transition and the incoming and outgoing edges connecting the predecessor place and the successor place;
[0117] b. Rule 2: The invisible transition has only one incoming edge and one outgoing edge, the predecessor of the invisible transition has multiple incoming edges and multiple outgoing edges, and the successor of the invisible transition has only one incoming edge and multiple outgoing edges;
[0118] Simplification rule 2: Add all outgoing edges of the successor place of the invisible transition that satisfies rule 2 to the outgoing edges of the predecessor place, and delete the invisible transition as well as the incoming and outgoing edges connecting the predecessor place and the successor place;
[0119] c. Rule 3: The invisible transition has multiple incoming edges and only one outgoing edge, the successor place of the invisible transition has only one incoming edge and one outgoing edge, and the successor place of the invisible transition has multiple incoming edges and multiple outgoing edges;
[0120] Simplification rule 3: Add all the incoming edges of the invisible transition that satisfy rule 3 to the incoming edges of the next visible transition, delete the invisible transition, the successor place, and all the edges connecting the invisible transition and the successor place;
[0121] d. Rule 4: The predecessor place of an invisible transition has only one incoming edge and one outgoing edge. The predecessor transition of the predecessor place of an invisible transition is a visible transition, which has multiple incoming edges and multiple outgoing edges.
[0122] Simplification rule 4: Add all outgoing edges of the invisible transition that satisfy rule 4 to the outgoing edges of the last visible transition, and delete the invisible transition, the predecessor place, and all the edges connecting the invisible transition and the predecessor place.
[0123] e. Rule 5: A visible transition has multiple incoming edges and multiple outgoing edges. The next visible transition can be reached through at least two places. The next visible transition also has multiple incoming edges and multiple outgoing edges. At least two places between two visible transitions have only one incoming edge and one outgoing edge.
[0124] Simplify Rule 5: Keep only one place between two visible transitions that satisfy Rule 5, and delete the other places as well as the in-edges and out-edges connecting the two visible transitions.
[0125] f. Rule 6: Multiple invisible transitions have only one incoming edge and one outgoing edge, and their predecessor places are the same place, their successor places are also the same place, and both the predecessor place and the successor place have multiple incoming edges and multiple outgoing edges;
[0126] Simplify Rule 6: Keep only one of the multiple invisible transitions between two places that satisfy Rule 6, and delete the other invisible transitions as well as the in-edges and out-edges connecting the two places.
[0127] g. Rule 7: The predecessor place and the successor place of an invisible transition can only be one and the same place;
[0128] Simplify rule 7: Delete the invisible transitions that satisfy rule 7, and delete the in-edge and out-edge of the invisible transitions.
[0129] Furthermore, the output simplified process model module specifically performs the following operations:
[0130] The process model obtained by the process model simplification rule module is then operated in turn by the definition change simplification rule module and the process model simplification rule module until the obtained process model no longer changes, and the obtained process model is output;
[0131] The process model quality assessment module performs the following operations:
[0132] The process model obtained by the simplified process model module is output and checked for compliance with the event log, the fit and accuracy are measured, and the comprehensive index F-measure value of the two is calculated. The F-measure value is the harmonic mean of the fit and accuracy, and the calculation formula is as follows:
[0133]
[0134] Where, F-measure(L,M) is the F-measure value of the process model M relative to the original log L, fitness(L,M) is the fit of the process model M relative to the original log L, and precision(L,M) is the accuracy of the process model M relative to the original log L; the interpretations of fit and precision are as follows: a. Fit quantifies the degree to which the process model can accurately reproduce the trajectories recorded in the event log. It quantifies the ability of the process model to regenerate the trajectories recorded in the event log. A fit of 1 means that the process model can regenerate all trajectories in the event log, and a low fit indicates that most of the behaviors in the event log cannot be reproduced by the process model; b. Precision quantifies some behaviors that can be reproduced in the process model but cannot be seen in the event log. It measures the ability of the process model to only generate trajectories recorded in the event log. A precision of 1 means that all trajectories generated by the process model are included in the event log, and a low precision means that the process model allows more behaviors outside the event log.
[0135] To sum up, after adopting the above scheme, the present invention provides a new solution to the problems that the existing process models are complex and difficult to understand and the state search space is large. It can effectively simplify the rules of the process model, reduce the structural complexity of the process model and reduce the state search space of the process model, while ensuring the visible behavior of the process model, making it easier for people to understand the behavior of the process model. It has practical promotion value and is worthy of promotion.
[0136] The above-described embodiments are only preferred embodiments of the present invention and are not intended to limit the scope of implementation of the present invention. Therefore, all changes made according to the shape and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A simplified process model mining method based on Petri net preservation simplification rules, characterized by: The following steps are involved: 1) The input event log is mined through the Inductive Miner process discovery algorithm to obtain the initial Petri net process model. The current process model contains a large number of invisible changes; 2) Traverse the transition nodes of the process model in step 1) to obtain the location information of the invisible transition; 3) According to the invisible transition position information obtained in step 2), whether the simplification condition is met according to the process model simplification rule, and the process model that meets the simplification condition is simplified according to the simplification rule of its corresponding type; wherein, whether the transition node meets the simplification condition is judged according to the following 7 process model simplification rules, and the 7 process model simplification rules are as follows: a. Rule 1: The invisible transition has only one incoming edge and one outgoing edge, the predecessor library of the invisible transition has multiple incoming edges and one outgoing edge, and the successor library of the invisible transition has multiple incoming edges and multiple outgoing edges; Simplification rule 1: Add all the incoming edges of the predecessor place of the invisible transition that satisfies rule 1 to the incoming edges of the successor place, delete the invisible transition and the incoming and outgoing edges connecting the predecessor place and the successor place; b. Rule 2: The invisible transition has only one incoming edge and one outgoing edge, the predecessor of the invisible transition has multiple incoming edges and multiple outgoing edges, and the successor of the invisible transition has only one incoming edge and multiple outgoing edges; Simplification rule 2: Add all outgoing edges of the successor place of the invisible transition that satisfies rule 2 to the outgoing edges of the predecessor place, and delete the invisible transition as well as the incoming and outgoing edges connecting the predecessor place and the successor place; c. Rule 3: An invisible transition has multiple incoming edges and only one outgoing edge. The successor place of the invisible transition has only one incoming edge and one outgoing edge. The successor transition of the successor place of the invisible transition is a visible transition with multiple incoming edges and multiple outgoing edges. Simplification rule 3: Add all the incoming edges of the invisible transition that satisfy rule 3 to the incoming edge of the next visible transition, and delete the invisible transition, the successor place, and all the incoming and outgoing edges connecting the invisible transition and the successor place; d. Rule 4: An invisible transition has one incoming edge and multiple outgoing edges, and its predecessor place has only one incoming edge and one outgoing edge. The predecessor transition of the predecessor place of the invisible transition is a visible transition, which has multiple incoming edges and multiple outgoing edges. Simplification rule 4: Add all outgoing edges of the invisible transition that satisfy rule 4 to the outgoing edge of the last visible transition, and delete the invisible transition, its predecessor place, and all incoming and outgoing edges connecting the invisible transition and the predecessor place. e. Rule 5: A visible transition has multiple incoming edges and multiple outgoing edges. The next visible transition can be reached through at least two places. The next visible transition also has multiple incoming edges and multiple outgoing edges. At least two places between two visible transitions have only one incoming edge and one outgoing edge. Simplify Rule 5: Keep only one place between two visible transitions that satisfy Rule 5, and delete the other places and the in-edges and out-edges connecting the two visible transitions; f. Rule 6: Multiple invisible transitions have only one incoming edge and one outgoing edge, and their predecessor place is the same place, the successor place is also the same place, and both the predecessor place and the successor place have multiple incoming edges and multiple outgoing edges; Simplify Rule 6: Keep only one of the multiple invisible transitions between two places that satisfy Rule 6, and delete the other invisible transitions as well as the in-edges and out-edges connecting the two places. g. Rule 7: The predecessor place and the successor place of an invisible transition can only be one and the same place; Simplify rule 7: Delete the invisible transitions that satisfy rule 7, and delete the in-edge and out-edge of the invisible transitions; 4) Repeat step 3) until the process model cannot be simplified any further, and the simplified process model can be obtained; 5) Perform compliance check on the simplified process model and event log in step 4), measure the fit and accuracy, calculate the comprehensive index F-measure value of the two, and evaluate the quality of the simplified process model.
2. The method for mining a simplified process model based on Petri net property-preserving simplification rules according to claim 1 is characterized in that: In step 1), the event log refers to a series of events generated during the operation of the business information system, including the executor of the event and the time when the event occurred; The process discovery algorithm refers to a method for discovering process models from event logs, among which the most advanced process discovery algorithm is Inductive Miner; the process model refers to a visual representation of a process in a business information system, among which the most common model is Petri nets, which are composed of three basic elements: places, transitions, and directed arcs. The transitions are connected to each place by directed arcs, and the places are connected to each transition by directed arcs. The previous place connected to the transition is called the predecessor place of the transition, the previous transition connected to the place is called the predecessor transition of the place, the next place connected to the transition is called the successor place of the transition, and the next transition connected to the place is called the successor transition of the place. The transitions are representations of events in the business process.
3. The method for mining a simplified process model based on Petri net property-preserving simplification rules according to claim 1, characterized in that: In step 2), the invisible transition refers to an event that cannot be observed in the business process. The visible transition corresponding to the invisible transition refers to an event that can be normally observed in the business process. By traversing the process model, the location information of the invisible transition can be obtained.
4. The method for mining a simplified process model based on Petri net property-preserving simplification rules according to claim 1, characterized in that: In step 5), the process model obtained in step 4) is subjected to compliance check with the event log, the fit and accuracy are measured, and the comprehensive index F-measure value of the two is calculated. The F-measure value is the harmonic mean of the fit and accuracy, and the calculation formula is as follows: Where, F-measure(L,M) is the F-measure value of the process model M relative to the original log L, fitness(L,M) is the fit of the process model M relative to the original log L, and precision(L,M) is the accuracy of the process model M relative to the original log L; where the interpretations of fit and precision are as follows: a. Fit quantifies the degree to which the process model can accurately reproduce the trajectories recorded in the event log. It quantifies the ability of the process model to regenerate the trajectories recorded in the event log. A fit of 1 means that the process model can regenerate all trajectories in the event log, and a low fit indicates that most of the behaviors in the event log cannot be reproduced by the process model; b. Precision quantifies some behaviors that can be reproduced in the process model but cannot be seen in the event log. It measures the ability of the process model to only generate trajectories recorded in the event log. A precision of 1 means that all trajectories generated by the process model are included in the event log, and a low precision means that the process model allows more behaviors outside the event log.
5. A simplified process model mining system based on Petri net preservation simplification rules, characterized by: It includes a process model discovery module, a transition location acquisition module, a process model simplification module, a simplified process model output module and a process model quality assessment module; The process model discovery module obtains the process model by using the Inductive Miner process discovery algorithm to input the event log; The transition location acquisition module acquires the location information of the invisible transition by traversing the transition nodes of the process model; wherein the invisible transition refers to an event that cannot be observed in the business process, and the visible transition corresponding to the invisible transition refers to an event that can be normally observed in the business process. By traversing the process model, the location information of the invisible transition can be acquired; The simplified process model module obtains the characteristics of the predecessor and successor places or transition nodes according to the position of the transition node, and observes whether it corresponds to the corresponding simplification rule of the process model. If the characteristics of the transition node meet a certain simplification rule of the process model, the process model is simplified according to the corresponding rule; The simplified process model output module again determines whether the simplified process model meets the corresponding simplification rules of the simplified process model module. If so, the simplification continues until the process model no longer has simplified structural features, and then the final simplified process model is output; The process model quality assessment module is used to assess the quality of the simplified process model, perform compliance checks on the simplified process model and the original log, calculate the F-measure value of the comprehensive assessment index of fit and accuracy, and assess the quality of the simplified process model; The simplified process model module performs the following operations: According to the location information of the invisible transition in the transition location module, the following seven process model simplification rules are used to determine whether the transition node meets the simplification conditions; the seven process model simplification rules are as follows: a. Rule 1: The invisible transition has only one incoming edge and one outgoing edge, the predecessor library of the invisible transition has multiple incoming edges and one outgoing edge, and the successor library of the invisible transition has multiple incoming edges and multiple outgoing edges; Simplification rule 1: Add all the incoming edges of the predecessor place of the invisible transition that satisfies rule 1 to the incoming edges of the successor place, delete the invisible transition and all the remaining incoming and outgoing edges connecting the predecessor place and the successor place; b. Rule 2: The invisible transition has only one incoming edge and one outgoing edge, the predecessor of the invisible transition has multiple incoming edges and multiple outgoing edges, and the successor of the invisible transition has only one incoming edge and multiple outgoing edges; Simplification rule 2: Add all outgoing edges of the successor place of the invisible transition that satisfies rule 2 to the outgoing edges of the predecessor place, delete the invisible transition and all remaining incoming and outgoing edges connecting the predecessor place and the successor place; c. Rule 3: An invisible transition has multiple incoming edges and only one outgoing edge. The successor place of the invisible transition has only one incoming edge and one outgoing edge. The successor transition of the successor place of the invisible transition is a visible transition with multiple incoming edges and multiple outgoing edges. Simplification rule 3: Add all the incoming edges of the invisible transition that satisfy rule 3 to the incoming edge of the next visible transition, and delete the invisible transition, the successor place, and all the incoming and outgoing edges connecting the invisible transition and the successor place; d. Rule 4: An invisible transition has one incoming edge and multiple outgoing edges, and its predecessor place has only one incoming edge and one outgoing edge. The predecessor transition of the predecessor place of the invisible transition is a visible transition, which has multiple incoming edges and multiple outgoing edges. Simplification rule 4: Add all outgoing edges of the invisible transition that satisfy rule 4 to the outgoing edge of the last visible transition, and delete the invisible transition, its predecessor place, and all incoming and outgoing edges connecting the invisible transition and the predecessor place; e. Rule 5: A visible transition has multiple incoming edges and multiple outgoing edges. The next visible transition can be reached through at least two places. The next visible transition also has multiple incoming edges and multiple outgoing edges. At least two places between two visible transitions have only one incoming edge and one outgoing edge. Simplify Rule 5: Keep only one place between two visible transitions that satisfy Rule 5, and delete the other places and the in-edges and out-edges connecting the two visible transitions; f. Rule 6: Multiple invisible transitions have only one incoming edge and one outgoing edge, and their predecessor place is the same place, the successor place is also the same place, and both the predecessor place and the successor place have multiple incoming edges and multiple outgoing edges; Simplify Rule 6: Keep only one of the multiple invisible transitions between two places that satisfy Rule 6, and delete the other invisible transitions as well as the in-edges and out-edges connecting the two places. g. Rule 7: The predecessor place and the successor place of an invisible transition can only be one and the same place; Simplify rule 7: Delete the invisible transitions that satisfy rule 7, and delete the incoming and outgoing edges of the invisible transitions.
6. The simplified process model mining system based on Petri net property preservation simplification rules according to claim 5 is characterized by: In the process model discovery module, the event log refers to a series of events generated during the operation of the business information system, including the executor of the event and the time when the event occurred; The process discovery algorithm refers to a method for discovering process models from event logs, among which the most advanced process discovery algorithm is Inductive Miner. The process model refers to a visual representation of a process in a business information system, among which the most common model is Petri nets. Petri nets are composed of three basic elements: places, transitions, and directed arcs. The transitions are connected to the front and back of each place by directed arcs, and the places are connected to the front and back of each transition by directed arcs. The previous place connected to the transition is called the predecessor place of the transition, the previous transition connected to the place is called the predecessor transition of the place, the next place connected to the transition is called the successor place of the transition, and the next transition connected to the place is called the successor transition of the place. The transition is a representation of an event in a business process.
7. The simplified process model mining system based on Petri net property preservation simplification rules according to claim 5 is characterized by: The output simplified process model module performs the following operations: The process model obtained through the process model simplification rule module is then operated in turn by the definition change simplification rule module and the process model simplification rule module until the obtained process model no longer changes, and the obtained process model is output.
8. The simplified process model mining system based on Petri net property preservation simplification rules according to claim 5 is characterized by: The process model quality assessment module performs the following operations: The process model obtained by the simplified process model module is output and checked for compliance with the event log, the fit and accuracy are measured, and the comprehensive index F-measure value of the two is calculated. The F-measure value is the harmonic mean of the fit and accuracy, and the calculation formula is as follows: Where, F-measure(L,M) is the F-measure value of the process model M relative to the original log L, fitness(L,M) is the fit of the process model M relative to the original log L, and precision(L,M) is the accuracy of the process model M relative to the original log L; where the interpretations of fit and precision are as follows: a. Fit quantifies the degree to which the process model can accurately reproduce the trajectories recorded in the event log. It quantifies the ability of the process model to regenerate the trajectories recorded in the event log. A fit of 1 means that the process model can regenerate all trajectories in the event log, and a low fit indicates that most of the behaviors in the event log cannot be reproduced by the process model; b. Precision quantifies some behaviors that can be reproduced in the process model but cannot be seen in the event log. It measures the ability of the process model to only generate trajectories recorded in the event log. A precision of 1 means that all trajectories generated by the process model are included in the event log, and a low precision means that the process model allows more behaviors outside the event log.
