Business process evolution identification method, device, terminal equipment and storage medium
By analyzing the similarity and clustering changes of cases in business processes, the evolution of business processes is identified, which solves the problem that existing technology cannot accurately identify evolving business processes, and provides accurate process improvement decision support.
Patent Information
- Application Number
- CN202210284095.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-22
AI Technical Summary
Existing business process mining techniques cannot accurately identify business processes that evolve as conditions and environments change, and often treat behavioral changes as outliers, leading to misleading and inaccurate results.
By analyzing the similarity changes between cases and the changes in cluster structure after clustering, the evolution of business processes is identified, a subset of cases is generated and the similarity is calculated, and a clustering model is used to generate new case clusters, thereby identifying the evolution of business processes.
Enables accurate identification of evolving business processes, providing valuable insights to improve processes and support decision-making.
Smart Images

Figure CN114897290B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, terminal equipment and storage medium for identifying the evolution of a business process. Background Art
[0002] Nowadays, with the continuous changes in conditions and environments in real life, the already very complex business processes will continue to evolve over time.
[0003] At present, there are some technologies for process mining based on business log files. However, these technologies usually assume that the business processes to be mined are structured and in a stable state without changes. Therefore, using current technologies to perform process mining often produces a large number of complex process displays and misleading results. In addition, because existing process mining technologies usually treat cases with behavioral changes as outliers, the mined business processes are often not accurate.
[0004] In summary, existing business process mining technologies cannot accurately mine business processes that evolve with changes in conditions and environment. Summary of the invention
[0005] The main purpose of the present invention is to provide a method, apparatus, terminal device and storage medium for identifying the evolution of business processes, aiming to identify the evolution of business processes by analyzing the changes in similarities between cases and the changes in cluster structure after case clustering, finding out the time points and causes of behavior changes, thereby obtaining valuable insights and providing decision support for improving processes.
[0006] To achieve the above object, the present invention provides a method for identifying the evolution of a business process, the method comprising:
[0007] Generate case subsets based on a preset sliding time window strategy;
[0008] Calculating the similarity between each case in the case subset, and clustering the case subset to obtain a new case cluster;
[0009] An evolution of a business process is identified based on the similarities and the new case clusters.
[0010] Furthermore, the step of identifying the evolution of the business process according to the similarity and the new case cluster includes:
[0011] comparing the first change of the similarity;
[0012] Comparing a second change in the structure between the case cluster to which each case belongs before clustering and the new case cluster;
[0013] The evolution of the business process is identified according to the first change situation, the second change situation and the preset visualization parameter configuration.
[0014] Furthermore, the step of generating a case subset according to a preset sliding time window strategy includes:
[0015] Determine a plurality of continuous time windows according to the sliding time window strategy;
[0016] An event log subset is generated according to the continuous time window, and cases are extracted from the event log subset to form a corresponding case subset.
[0017] Furthermore, the method further comprises:
[0018] Determine a sliding time window strategy, wherein the sliding time window strategy includes: a sliding equal time window strategy and a sliding unequal time window strategy;
[0019] The step of determining the sliding time window strategy includes:
[0020] Determine the sliding equal time window strategy according to a preset time period;
[0021] or,
[0022] The sliding unequal time window strategy is determined according to a preset number of cases.
[0023] Furthermore, the step of calculating the similarity between the cases in the case subset includes:
[0024] Extracting case features of each of the cases in the case subset;
[0025] Calculate the feature similarity of each of the case features according to the feature type to which each of the case features belongs;
[0026] The similarities between the cases are calculated based on the feature similarities.
[0027] Furthermore, the step of respectively calculating the feature similarity of each of the case features according to the feature type to which each of the case features belongs includes:
[0028] Determine the feature type to which each of the case features belongs;
[0029] The corresponding similarity calculation rules are called according to the feature types to respectively calculate the feature similarities of the case features.
[0030] Furthermore, the number of the case subsets is greater than one, and the step of clustering the case subsets to obtain new case clusters includes:
[0031] Call the preset density-based clustering model;
[0032] The clustering model is used to cluster each of the case subsets to obtain a new case cluster.
[0033] In addition, to achieve the above-mentioned purpose, the present invention further provides a business process evolution identification device, the business process evolution identification device of the present invention comprises:
[0034] A generation module, used to generate a case subset according to a preset sliding time window strategy;
[0035] A case processing module, used for calculating the similarity between each case in the case subset, and clustering the case subset to obtain a new case cluster;
[0036] An evolution identification module is used to identify the evolution of the business process according to the similarity and the new case cluster.
[0037] Each functional module of the device for identifying the evolution of a business process of the present invention implements the steps of the method for identifying the evolution of a business process as described above during operation.
[0038] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal device, which includes: a memory, a processor, and a business process evolution identification program stored in the memory and executable on the processor, and the business process evolution identification program, when executed by the processor, implements the steps of the business process evolution identification method as described above.
[0039] In addition, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a business process evolution identification program is stored, and when the business process evolution identification program is executed by a processor, the steps of the business process evolution identification method as described above are implemented.
[0040] In addition, to achieve the above objectives, the present invention also provides a business process evolution identification program product, including a business process evolution identification program, which, when executed by a processor, implements the steps of the business process evolution identification method as described above.
[0041] The present invention proposes a method, apparatus, terminal device and storage medium for identifying the evolution of business processes. The method includes: generating a case subset according to a preset sliding time window strategy; calculating the similarity between each case in the case subset, and clustering the case subset to obtain a new case cluster; identifying the evolution of the business process based on the similarity and the new case cluster.
[0042] The present invention first generates multiple case subsets corresponding to event logs according to a preset sliding time window strategy, then calculates the similarity between each case in the multiple case subsets, and performs clustering processing on the multiple case subsets to obtain new case clusters after clustering, and finally identifies the evolution of business processes based on the calculated similarity and the new case clusters.
[0043] In this way, the present invention can analyze the similarities between cases and the changes in cluster structure after case clustering, so as to find out the time points and causes of changes in process behavior in event logs and identify the evolution of the entire business process. Therefore, valuable insights can be obtained based on the identification and corresponding decision support can be provided for subsequent improvement of business processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of the structure of the hardware operation of the terminal device involved in the embodiment of the present invention;
[0045] Figure 2 It is a flow chart of an embodiment of a method for identifying evolution of a business process of the present invention;
[0046] Figure 3 It is a structural diagram of an embodiment of a device for identifying evolution of a business process of the present invention.
[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0049] like Figure 1 As shown, Figure 1 It is a structural diagram of the hardware operating environment of the terminal device involved in the embodiment of the present invention.
[0050] It should be noted that Figure 1 That is, it is a schematic diagram of the structure of the hardware operating environment of the terminal device. The terminal device in the embodiment of the present invention can be a PC, a portable computer and other terminal devices.
[0051] like Figure 1As shown, the terminal device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0052] Those skilled in the art will understand that Figure 1 The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0053] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a distributed task processing program. The operating system is a program that manages and controls the hardware and software resources of the sample terminal device, and supports the operation of the distributed task processing program and other software or programs.
[0054] exist Figure 1 In the terminal device shown, the user interface 1003 is mainly used for data communication with each terminal; the network interface 1004 is mainly used for connecting to the backend server and communicating data with the backend server; and the processor 1001 can be used to call the evolution recognition program of the business process stored in the memory 1005, and perform the following operations:
[0055] Generate case subsets based on a preset sliding time window strategy;
[0056] Calculating the similarity between each case in the case subset, and clustering the case subset to obtain a new case cluster;
[0057] An evolution of a business process is identified based on the similarities and the new case clusters.
[0058] Further, the processor 1001 may call the business process evolution identification program stored in the memory 1005, and further perform the following operations:
[0059] comparing the first change of the similarity;
[0060] Comparing a second change in the structure between the case cluster to which each case belongs before clustering and the new case cluster;
[0061] The evolution of the business process is identified according to the first change situation, the second change situation and the preset visualization parameter configuration.
[0062] Further, the processor 1001 may call the business process evolution identification program stored in the memory 1005, and further perform the following operations:
[0063] Determine a plurality of continuous time windows according to the sliding time window strategy;
[0064] An event log subset is generated according to the continuous time window, and cases are extracted from the event log subset to form a corresponding case subset.
[0065] Further, the processor 1001 may call the business process evolution identification program stored in the memory 1005, and further perform the following operations:
[0066] Determine a sliding time window strategy, wherein the sliding time window strategy includes: a sliding equal time window strategy and a sliding unequal time window strategy;
[0067] The processor 1001 may call the business process evolution identification program stored in the memory 1005, and further perform the following operations:
[0068] Determine the sliding equal time window strategy according to a preset time period;
[0069] or,
[0070] The sliding unequal time window strategy is determined according to a preset number of cases.
[0071] Further, the processor 1001 may call the business process evolution identification program stored in the memory 1005, and further perform the following operations:
[0072] Extracting case features of each of the cases in the case subset;
[0073] Calculate the feature similarity of each of the case features according to the feature type to which each of the case features belongs;
[0074] The similarities between the cases are calculated based on the feature similarities.
[0075] Further, the processor 1001 may call the business process evolution identification program stored in the memory 1005, and further perform the following operations:
[0076] Determine the feature type to which each of the case features belongs;
[0077] The corresponding similarity calculation rules are called according to the feature types to respectively calculate the feature similarities of the case features.
[0078] Furthermore, if the number of the case subsets is greater than one, the processor 1001 may call the business process evolution identification program stored in the memory 1005, and further perform the following operations:
[0079] Call the preset density-based clustering model;
[0080] The clustering model is used to cluster each of the case subsets to obtain a new case cluster.
[0081] Based on the above structure, various embodiments of the business process evolution identification method of the present invention are proposed.
[0082] Please refer to Figure 2 , Figure 2 It is a flowchart of the first embodiment of the method for identifying business process evolution of the present invention.
[0083] The embodiment of the present invention provides an embodiment of a method for identifying the evolution of a business process. It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.
[0084] The method for identifying the evolution of a business process in an embodiment of the present invention is applied to the above-mentioned terminal device. The terminal device in the embodiment of the present invention may be a PC, a portable computer or other terminal device, and no specific limitation is made here.
[0085] The business process evolution identification method of this embodiment includes:
[0086] Step S100, generating a case subset according to a preset sliding time window strategy;
[0087] When the terminal device starts to identify the evolution of the business process corresponding to the event log, it first generates multiple case subsets corresponding to the event log according to a pre-set sliding time window strategy.
[0088] It should be noted that in this embodiment, the sliding time window strategy is a strategy for the terminal device to classify the activities or behaviors in the business process corresponding to the event log based on the time dimension. In this embodiment, the sliding time window strategy includes: a sliding equal time window strategy and a sliding unequal time window strategy.
[0089] Furthermore, in some feasible embodiments, the above step S100 may include:
[0090] Step S101, determining a plurality of continuous time windows according to the sliding time window strategy;
[0091] Step S102: generating an event log subset according to the continuous time window, and extracting cases from the event log subset to form a corresponding case subset.
[0092] Feasibly, for example, in this embodiment, the terminal device obtains n continuous time windows W1,...,Wn through a determined sliding time window strategy. The event log that falls into the time window Wi in the event log corresponding to the entire business process may only contain part of the events or activities of a case, so the terminal device attributes all events of a case before the end of the time window Wi to the event log subset Li. Thus, the terminal device can split the entire event log L into n log subsets L1,...,Ln, and for each log subset Li, the terminal device extracts the corresponding case based on the identification ID of each case, thereby obtaining the corresponding case subsets C1,...,Cn. Based on this, different case subsets may have shared cases with each other.
[0093] In this embodiment, the business process evolution identification method of the present invention may further include:
[0094] Step A: Determine the sliding time window strategy.
[0095] In this embodiment, before the terminal device starts to identify the evolution of the business process corresponding to the event log, it extracts and determines the sliding time window strategy as the sliding time window strategy for subsequently generating the case subset.
[0096] Furthermore, in some feasible embodiments, the above step A may include:
[0097] Determine the sliding equal time window strategy according to a preset time period;
[0098] In this embodiment, the terminal device may determine a sliding equal time window strategy according to a time period as a sliding time window strategy for subsequently generating a case subset.
[0099] In this embodiment, for example, the time period may be weekly, monthly or quarterly. The terminal determines the sliding equal time window strategy to generate the case subsets, that is, dividing the time windows into multiple equal lengths according to weekly, monthly or quarterly time windows for subsequent division of the business processes corresponding to the event logs into multiple case subsets.
[0100] In addition, in some other feasible embodiments, the above step A may further include:
[0101] The sliding unequal time window strategy is determined according to a preset number of cases.
[0102] In this embodiment, in addition to determining the sliding equal time window strategy according to the time period, the terminal device can also determine the sliding unequal time window strategy according to the number of cases as the sliding time window strategy for subsequently generating a case subset.
[0103] Feasibly, for example, in this embodiment, the terminal device determines a sliding unequal time window strategy to generate a case subset, namely, by determining a time period with a high incidence of cases through statistical event logs, and then directly determining the time period as a time window and calculating the number of cases as a standard, and obtaining the corresponding remaining time windows for other time periods according to the number standard. In this way, multiple unequal time windows are obtained for the subsequent division of the event log corresponding to the business process to form multiple case subsets.
[0104] Step S200, calculating the similarity between each case in the case subset, and clustering the case subset to obtain a new case cluster;
[0105] After generating multiple case subsets, the terminal device further calculates the similarity between each case in the case subset in turn for each case subset, and performs clustering processing on the multiple case subsets to obtain new case clusters after clustering.
[0106] Further, in some feasible embodiments, in the above step S200, "calculating the similarity between the cases in the case subset" may include:
[0107] Step S201, extracting case features of each case in the case subset;
[0108] In this embodiment, when the terminal device generates multiple case subsets and calculates the similarity between each case contained in the multiple case subsets, the terminal device first extracts the case features of each of the multiple cases contained in the case subset for each case subset.
[0109] It should be noted that, in this embodiment, the case features of each of the multiple cases in the case subset extracted by the terminal device include two types of features: case trajectory fragments or activity sequences and numerical features derived from case attributes. Among them, the terminal device can extract case features of the type of "numerical features derived from case attributes" from multiple attribute perspectives, such as:
[0110] The terminal device can extract case features from the perspectives of the total duration of activities corresponding to the case, the average duration of activities, the duration of important activities in the trajectory, etc.: the duration of the case T; or, the terminal device can also extract case features from the perspectives of sales, cash flow, etc. corresponding to the case: the amount M involved in the case; and the terminal device can extract case features from the perspectives of human resources, capital investment, etc. corresponding to the case: the number of different resources of the case R.
[0111] Step S202, calculating the feature similarity of each of the case features according to the feature type to which each of the case features belongs;
[0112] After extracting the case features of each of the multiple cases included in the case subset, the terminal device further calls the corresponding similarity calculation method to perform feature similarity calculation on the case features according to the feature type to which the case features belong.
[0113] Furthermore, in some feasible embodiments, the above step S202 may include:
[0114] Determine the feature type to which each of the case features belongs;
[0115] The corresponding similarity calculation rules are called according to the feature types to respectively calculate the feature similarities of the case features.
[0116] It is feasible, for example, that after extracting the above two types of case features, the terminal device uses different similarity calculation methods to calculate the trajectory similarity S1 of case features such as case trajectory fragments or activity sequences, and calculates the attribute numerical similarity S2 of case features such as numerical features derived from case attributes. That is:
[0117] Terminal device for case trace fragment or activity sequence characteristics: trace =<a1,a2,..at> , based on the Jacobian (Jaccard) similarity measurement method and the longest common subsequence-LCSS dynamic programming algorithm to calculate trajectory similarity. Among them, the Jaccard coefficient is mainly used to calculate the similarity between individuals measured by symbolic or Boolean values. Because the characteristic attributes of individuals are all identified by symbolic measurements or Boolean values, it is impossible to measure the size of the specific value of the difference, and only the result of "whether they are the same" can be obtained. Therefore, the Jaccard coefficient only cares about whether the common features between individuals are consistent. For two objects X and Y, the terminal device uses Jaccard to calculate its similarity. The formula is as follows:
[0118]
[0119] However, since the numerator in the above formula is the number of elements in the intersection of two trajectories, the formula is not applicable to the calculation of the similarity between case trajectories or case behavior sequences. Therefore, calculating the similarity between cases cannot simply calculate the number of common behaviors of two case trajectories. Based on this, the terminal device converts the problem of calculating the similarity between case trajectories or case behavior sequences into the problem of solving the longest common subsequence LCSS of the two sequences, and solves the longest common subsequence LCSS problem by using a dynamic programming algorithm, thereby obtaining the intersection of the two case trajectories X and Y. The implementation steps of the LCSS dynamic programming algorithm are as follows:
[0120] Step 1: Organize the two strings into a two-dimensional matrix in rows and columns respectively;
[0121] Step 2: Compare the row and column characters of each point in the two-dimensional matrix to see if they are equal. If they are equal, set the value to 1, otherwise set the value to 0;
[0122] Step 3: By finding the longest diagonal with a value of 1, the longest common substring can be found.
[0123] In addition, in order to further optimize the algorithm's computational efficiency, the terminal device calculates the length of the current longest common substring when calculating the value of a two-dimensional matrix, that is, the value of a two-dimensional matrix element evolves from record[i][j]=1 to record[i][j]=1+record[i-1][j-1]. In this way, the subsequent operation of finding the length of the diagonal can be avoided, thereby optimizing the overall computational efficiency of the algorithm. In addition, in the process of constructing a two-dimensional matrix, the terminal device can actually use a one-dimensional array to replace the matrix in the program because the previous row of the matrix is useless after a row is obtained. The computational complexity is O(n^2).
[0124] The terminal device can obtain two case trajectories or behavior sequences X through the above algorithm.<x1,x2,...,xr> and Y =<y1,y2,...,ys> The longest common substring of<a1,a2,...,ak> ,In this way, the similarity calculation formula of the two case trajectories is changed accordingly:
[0125]
[0126] The terminal device uses one of a plurality of similarity measurement methods to calculate the similarity between any two cases in the same case subset for the numerical features derived from the case attributes. For example, the terminal device can specifically use the cosine of the angle to calculate the similarity. That is, two m-dimensional case attribute numerical feature vectors X =<x1,x2,...,xm> and Y =<y1,y2,...,ym> , the terminal devices use a concept similar to the cosine of the angle to measure the similarity between them. The cosine similarity S2 is given by the dot product and the vector length, that is:
[0127]
[0128] The value range of the angle cosine is [-1,1]. The larger the angle cosine is, the smaller the angle between the two vectors is. When the directions of the two vectors are completely opposite, the angle cosine takes the minimum value of -1.
[0129] Step S203, obtaining the similarity between the cases based on the feature similarity calculation.
[0130] In this embodiment, after the terminal device calculates the trajectory similarity S1 of case features such as case trajectory segments or activity sequences and the attribute value similarity S2 of case features such as numerical features derived from case attributes, the average of the two similarities is used as the similarity value between the two cases, that is, any two cases C i With C j The similarity S ij =(S1+S2) / 2.
[0131] Further, in some feasible embodiments, the number of the case subsets is greater than one, and in the above step S200, "clustering the case subsets to obtain new case clusters" may include:
[0132] Step S204, calling a preset density-based clustering model;
[0133] Step S205: clustering each of the case subsets using the clustering model to obtain a new case cluster.
[0134] In this embodiment, the terminal device performs clustering processing on multiple case subsets through a density-based clustering model to obtain new case clusters to which the multiple case subsets belong after clustering.
[0135] It should be noted that, in this embodiment, the density-based clustering model may be DBSCAN (Density-Based Spatial Clustering of Applications with Noise, a representative density-based clustering algorithm). The terminal device clusters the cases in each subset using the density-based clustering model DBSCAN. In the clustering algorithm, the terminal device defines the similarity S between two cases. ij That is, the sample distance measurement method.
[0136] In this embodiment, DBSCAN describes the compactness of a sample set based on a set of neighborhoods, and its parameters (∈, MinPts) are used to describe the compactness of sample distribution in the neighborhood. Here, ∈ describes the neighborhood distance threshold of a certain sample, and MinPts describes the threshold of the number of samples in the neighborhood of a certain sample whose distance is ∈.
[0137] Assuming that the case sample set to be clustered (the original case cluster) is C = (x1, x2, ..., xm), the specific density description of DBSCAN is defined as follows:
[0138] (1) ∈-neighborhood: For ∈xj∈C, its ∈-neighborhood contains the sub-sample set in the sample set C whose distance to xj is not greater than ∈, that is, N∈(xj)={xi∈C|distance(xi,xj)≤∈}, and the number of such sub-sample sets is denoted by |N∈(xj)|;
[0139] (2) Core object: For any sample xj∈C, if its ∈-neighborhood corresponding to N∈(xj) contains at least MinPts samples, that is, if |N∈(xj)|≥MinPts, then xj is a core object;
[0140] (3) Density direct access: If xi is in the ∈-neighborhood of xj, and xj is a core object, then xi is said to be density directly accessible from xj. Note that the opposite is not necessarily true, that is, in this case, xj cannot be said to be density directly accessible from xi, unless xi is also a core object;
[0141] (4) Density reachability: For xi and xj, if there exists a sample sequence p1, p2, ..., pT, satisfying p1 = xi, pT = xj, and pt+1 is directly accessible from pt, then xj is said to be density reachable from xi. In other words, density reachability satisfies transitivity. At this time, the transitive samples p1, p2, ..., pT-1 in the sequence are all core objects, because only core objects can make other samples density reachable. Note that density reachability does not satisfy symmetry either, which can be derived from the asymmetry of density accessibility.
[0142] (5) Density connection: For xi and xj, if there exists a core object sample xk such that both xi and xj are density-reachable by xk, then xi and xj are said to be density-connected. Note that the density connection relationship satisfies symmetry.
[0143] It should be noted that, in this embodiment, the clustering definition of DBSCAN adopted by the terminal device is: the sample set connected by the maximum density derived from the density-reachable relationship is a category of the final clustering, or a cluster. In addition, the method used by the terminal device for DBSCAN is to arbitrarily select a core object without a category as a seed, and then find all the sample sets that this core object can reach by density, that is, a cluster. Then continue to select another core object without a category to find a sample set that is reachable by density, so as to obtain another cluster. Keep running until all core objects have categories.
[0144] Optionally, for example, the process of the terminal device using the DBSCAN clustering algorithm is as follows:
[0145] Input: sample set, i.e., case subset C = (x1, x2, ..., xm), domain parameter (∈, MinPts), sample distance metric, i.e., case similarity;
[0146] Output: cluster partition D.
[0147] The specific steps can be:
[0148] Step 1: Initialize the core object collection Initialize the number of clusters k = 0, initialize the unvisited sample set F = C, and divide the clusters
[0149] Step 2: For j = 1, 2, ... m, find all core objects as follows:
[0150] a) Find the ∈-neighborhood subsample set N∈(xj) of sample xj through case similarity S;
[0151] b) If the number of samples in the sub-sample set satisfies |N∈(xj)|≥MinPts, add sample xj to the core object sample set: Ω=Ω∪{xj};
[0152] Step 3: If the core object collection The algorithm ends, otherwise it goes to step 4;
[0153] Step 4: Randomly select a core object o from the core object set Ω, initialize the current cluster core object queue Ωcur = {o}, initialize the category sequence k = k+1, initialize the current cluster sample set Dk = {o}, and update the unvisited sample set F = F-{o};
[0154] Step 5: If the current cluster core object queue Then the current cluster Dk is generated, update the cluster partition D = {D1, D2, ..., Dk}, update the core object set Ω = Ω-Dk, and go to step 3, otherwise update the core object set Ω = Ω-Dk;
[0155] Step 6: Take out a core object o′ from the current cluster core object queue Ωcur, find all ∈-neighborhood subsample sets N∈(o′) through the neighborhood distance threshold ∈, set Δ=N□(o′)∩Γ, update the current cluster sample set Dk=Dk∪Δ, update the unvisited sample set Γ=Γ-Δ, update Ωcur=Ωcur∪(Δ∩Ω)-o′, and go to step 5;
[0156] The output result is: cluster partition D = {D1, D2, ..., Dk}.
[0157] In this embodiment, the terminal device uses DBSCAN to cluster case subsets. Compared with the traditional K-Means (k-means clustering algorithm, K-means clustering algorithm, is an iterative clustering analysis algorithm) clustering algorithm, the biggest difference of DBSCAN is that it does not need to input the number of categories k. At the same time, the biggest advantage of DBSCAN is that it can find clusters of any shape, instead of being used only for convex sample set clustering like K-means. At the same time, DBSCAN can also find outliers while clustering. Furthermore, the initial value of clustering algorithms such as K-means has a great influence on the clustering results, while the clustering results of DBSCAN are not biased.
[0158] Step S300 , identifying the evolution of the business process according to the similarity and the new case cluster.
[0159] After the terminal device calculates the similarities between each case in each case subset and performs clustering processing on the multiple case subsets to obtain new case clusters, it further compares the similarities and the new clusters to obtain their respective changes, and thus identifies the evolution of the business process based on the changes with the help of visual display.
[0160] Further, in some feasible implementations, step S300 may specifically include:
[0161] Step S301, comparing the first change of the similarity;
[0162] Step S302, comparing the second change in structure between the case cluster to which each case belongs before clustering and the new case cluster;
[0163] Step S303: identifying the evolution of the business process according to the first change situation, the second change situation and the preset visualization parameter configuration.
[0164] In this embodiment, the terminal device compares the changes in similarities between cases and the changes in structure between the new case cluster to which the cases belong after clustering and the original case cluster. At the same time, the terminal device configures visualization parameters to perform a visual output display of the changes obtained from the comparison, thereby achieving the operation of identifying the evolution of business processes.
[0165] It should be noted that, in this embodiment, the terminal device identifies changes in business process behaviors based on the first change in the similarity between the comparison cases and the second change in the case cluster structure to which the cases belong after clustering. In addition, the size of the cluster formed after the cases are clustered shows the frequency of capturing behaviors in the business process, and the density-based clustering algorithm DBSCAN can find outliers, so that behaviors that were common in the past but are becoming less common over time will be clustered separately instead of being merged into clusters with different or common behaviors.
[0166] Optionally, for example, the terminal device uses visualization parameter configuration to represent the new case clusters after clustering the cases in the same time window as nodes in a partially connected undirected graph (the node size represents the number of cases included in the cluster), and at the same time, uses the edge connecting two nodes to indicate that there is a positive similarity between at least one pair of cases in the two clusters representing the case clusters.
[0167] It should be noted that, in this embodiment, the edge connecting two nodes can be weighted to represent the minimum, maximum or average similarity, so that the visualization output of these edges can intuitively display the similarity between clusters. In addition, the weight of the edge can also be used for the layout calculation of complex clustering graphs.
[0168] In addition, by comparing case clusters generated by different case subsets corresponding to continuous time windows, the terminal device can display what changes have occurred in the behavior of the business process before and after the time point, and analyze the reasons. For example, when a user clicks on a cluster (or clusters) Dj in the clustering result corresponding to the time window Wi, the terminal device can highlight the clusters (or clusters) with common behaviors or common cases in the corresponding clustering results in the time windows W(i-1) and W(i+1). In this way, the user can see how the cases are clustered, what behaviors are shared, and how the behaviors change over time, thereby achieving the purpose of identifying the evolution of the business process.
[0169] Thus, in combination with the various embodiments of the business process evolution identification method of the present invention, it can be seen that the present invention can achieve the following technical effects: in the case subset generation link, determine the sliding time window strategy, generate an event log subset according to the time window, and extract the cases in the subset in time sequence to form a case subset; in the case similarity calculation link, extract case features, and for two different categories of case features, use different methods to calculate the similarity of each case feature, and finally obtain the similarity between cases; in the case clustering link, cluster each case subset based on the density clustering model to generate case clusters; in the process evolution identification link, compare the changes in similarity between cases, compare the changes in cluster structure after case clustering, and identify process evolution with the aid of visualization display means. The present invention uses the time dimension to discover the time evolution in process behavior. By comparing the clusters between continuous time windows to study how the similarity between cases evolves over time, the behavioral differences can be analyzed, the process evolution can be identified, and better decision-making assistance for process optimization can be provided.
[0170] In addition, an embodiment of the present invention further provides a device for identifying the evolution of a business process. The device for identifying the evolution of a business process of the present invention includes:
[0171] A generation module, used to generate a case subset according to a preset sliding time window strategy;
[0172] A case processing module, used for calculating the similarity between each case in the case subset, and clustering the case subset to obtain a new case cluster;
[0173] An evolution identification module is used to identify the evolution of the business process according to the similarity and the new case cluster.
[0174] Optionally, the evolution identification module is also used to compare the first change of the similarity; compare the second change of the structure between the case cluster to which each case belongs before clustering and the new case cluster; and identify the evolution of the business process based on the first change, the second change and the preset visualization parameter configuration.
[0175] Optionally, the generating module is further used to determine a plurality of continuous time windows according to the sliding time window strategy;
[0176] An event log subset is generated according to the continuous time window, and cases are extracted from the event log subset to form a corresponding case subset.
[0177] Optionally, the business process evolution identification device of the present invention further includes:
[0178] A determination module, used to determine a sliding time window strategy, wherein the sliding time window strategy includes: a sliding equal time window strategy and a sliding unequal time window strategy;
[0179] The determining module is further used for:
[0180] Determine the sliding equal time window strategy according to a preset time period;
[0181] or,
[0182] The sliding unequal time window strategy is determined according to a preset number of cases.
[0183] Optionally, the case processing module includes:
[0184] A calculation unit is used to extract case features of each case in the case subset; calculate the feature similarity of each case feature according to the feature type to which each case feature belongs; and calculate the similarity between each case based on the feature similarity.
[0185] Optionally, the calculation unit is further used to: determine the feature type to which each of the case features belongs; and, according to the feature type, call the corresponding similarity calculation rule to calculate and obtain the feature similarities of each of the case features.
[0186] Optionally, the number of the case subsets is greater than one, and the case processing module further includes:
[0187] A clustering unit is used to call a preset density-based clustering model; and to cluster each of the case subsets using the clustering model to obtain a new case cluster.
[0188] The steps implemented by the functional modules of the device for identifying the evolution of a business process of the present invention during operation can refer to the various embodiments of the method for identifying the evolution of a business process of the present invention, and will not be described in detail here.
[0189] In addition, an embodiment of the present invention also proposes a terminal device, which includes: a memory, a processor, and a business process evolution identification program stored in the memory and executable on the processor, and when the business process evolution identification program is executed by the processor, the steps of the business process evolution identification method as described above are implemented.
[0190] Among them, the steps implemented when the business process evolution identification program running on the processor is executed can refer to the various embodiments of the business process evolution identification method of the present invention, and will not be repeated here.
[0191] In addition, an embodiment of the present invention also proposes a storage medium, which is applied to a computer. The storage medium may be a non-volatile computer-readable storage medium, which stores a business process evolution identification program. When the business process evolution identification program is executed by a processor, the steps of the business process evolution identification method as described above are implemented.
[0192] In addition, an embodiment of the present invention also proposes a business process evolution identification program product, which includes an architecture program for store visitor information. When the architecture program for store visitor information is executed by a processor, the steps of the store visitor information architecture method described above are implemented.
[0193] Among them, the steps implemented when the business process evolution identification program running on the processor is executed can refer to the various embodiments of the business process evolution identification method of the present invention, and will not be repeated here.
[0194] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0195] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0196] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0197] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for identifying the evolution of a business process, characterized in that: The business process evolution identification method includes: Generate case subsets based on a preset sliding time window strategy; Calculating the similarity between each case in the case subset, and clustering the case subset to obtain a new case cluster; identifying an evolution of a business process based on the similarities and the new case clusters; The step of identifying the evolution of the business process according to the similarity and the new case cluster includes: comparing the first change of the similarity; Comparing the second change of the case cluster structure before and after the clustering of each case; Identify the evolution of the business process according to the first change situation, the second change situation and the preset visualization parameter configuration, and perform a visualization output display; The step of generating a case subset according to a preset sliding time window strategy includes: Determine a plurality of continuous time windows according to the sliding time window strategy; An event log subset is generated according to the continuous time window, and cases are extracted from the event log subset to form a corresponding case subset.
2. The method for identifying the evolution of a business process according to claim 1, characterized in that: The method further comprises: Determine a sliding time window strategy, wherein the sliding time window strategy includes: a sliding equal time window strategy and a sliding unequal time window strategy; The step of determining the sliding time window strategy includes: Determine the sliding equal time window strategy according to a preset time period; or, The sliding unequal time window strategy is determined according to a preset number of cases.
3. The method for identifying the evolution of a business process according to claim 1, characterized in that: The step of calculating the similarity between the cases in the case subset comprises: Extracting case features of each of the cases in the case subset; Calculate the feature similarity of each of the case features according to the feature type to which each of the case features belongs; The similarities between the cases are calculated based on the feature similarities.
4. The method for identifying the evolution of a business process as claimed in claim 3, characterized in that: The step of respectively calculating the feature similarity of each of the case features according to the feature type to which each of the case features belongs comprises: Determine the feature type to which each of the case features belongs; The corresponding similarity calculation rules are called according to the feature types to respectively calculate the feature similarities of the case features.
5. The method for identifying the evolution of a business process according to claim 1, characterized in that: The number of the case subsets is greater than one, and the step of clustering the case subsets to obtain new case clusters comprises: Call the preset density-based clustering model; The clustering model is used to cluster each of the case subsets to obtain a new case cluster.
6. A device for identifying the evolution of a business process, characterized in that: The business process evolution identification device comprises: A generation module, used to generate a case subset according to a preset sliding time window strategy; A case processing module, used for calculating the similarity between each case in the case subset, and clustering the case subset to obtain a new case cluster; An evolution identification module, used for identifying the evolution of the business process according to the similarity and the new case cluster; Wherein, the evolution recognition module is also used for comparing the first change of the similarity; Comparing the second change of the case cluster structure before and after the clustering of each case; Identify the evolution of the business process according to the first change situation, the second change situation and the preset visualization parameter configuration, and perform a visualization output display; The generation module is also used for: Determine a plurality of continuous time windows according to the sliding time window strategy; An event log subset is generated according to the continuous time window, and cases are extracted from the event log subset to form a corresponding case subset.
7. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and a business process evolution identification program stored in the memory and executable on the processor. When the business process evolution identification program is executed by the processor, the steps of the business process evolution identification method as described in any one of claims 1 to 5 are implemented.
8. A storage medium, characterized in that: The storage medium stores a business process evolution identification program, and when the business process evolution identification program is executed by the processor, the steps of the business process evolution identification method as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Knowledge graph construction method for log data
CN112579707A
