Abnormal activity filtering method, device, terminal equipment and medium for business process
By constructing and comparing adjacency relationships between active nodes of business processes, calculating information entropy and gain, identifying and filtering abnormal activities, the problem of inaccurate identification of abnormal activities in the existing technology is solved, and the quality and accuracy of the process model are improved. .
Patent Information
- Application Number
- CN202210284086.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-22
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-03-22
AI Technical Summary
Existing technology is difficult to accurately identify and filter abnormal activities caused by chaos, resulting in adverse effects on the quality of the process model, and cannot effectively solve the adverse effects caused by abnormal activities.
By determining the active node set of the business process, constructing the adjacency relationship of the active nodes, calculating the adjacency weight and information entropy, and iteratively comparing to determine the abnormal active nodes that meet the preset information gain conditions for filtering.
It achieves accurate identification and filtering of abnormal activities in business process log data, improves the quality of process models, and provides decision support for more accurate process model discovery and optimization.
Smart Images

Figure CN114841505B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of business process processing, and in particular to a method, device, terminal equipment and storage medium for filtering abnormal activities of a business process. Background Art
[0002] Nowadays, with the continuous operation of the system for managing business processes, the business process logs and other data accumulated by the system are becoming more and more, so there is an urgent need to analyze and utilize the log data. However, since event logs in real life often contain some abnormal activities that are independent of the process and may occur at any time, and these abnormal activities will have a serious impact on the quality of the process model used to identify in process mining, such abnormal activities have to be filtered out in the log data.
[0003] The existing operation of filtering abnormal activities is to simply filter out infrequent activities as abnormal activities based on frequency. In this way, abnormal activities that are actually caused by confusion cannot be accurately filtered, and the adverse effects caused by abnormal activities cannot be effectively resolved. Summary of the invention
[0004] The main purpose of the present invention is to provide a method, device, terminal device and storage medium for filtering abnormal activities of business processes, aiming to accurately identify and filter abnormal activities caused by confusion in business process log data, thereby effectively avoiding the adverse effects of abnormal activities on the identification of process models, and providing decision support for discovering more accurate process models and optimization.
[0005] To achieve the above object, the present invention provides a method for filtering abnormal activities of a business process, the method comprising:
[0006] Determine the set of activity nodes corresponding to the business process;
[0007] Constructing an adjacency relationship between each active node in the active node set and calculating an adjacency weight;
[0008] Obtaining the adjacency information entropy of each of the active nodes according to the adjacency weight calculation;
[0009] An iterative comparison is performed on the adjacency information entropy to determine abnormal activity nodes that meet a preset adjacency information gain condition, and the abnormal activity nodes are filtered.
[0010] Further, the preset adjacency information gain condition is: the adjacency information gain of the active node is the largest;
[0011] The step of iteratively comparing the adjacency information entropy to determine abnormal activity nodes that meet the preset adjacency information gain condition, and filtering the abnormal activity nodes includes:
[0012] Comparing the adjacency information entropy of each of the active nodes to determine an abnormal active node with the largest adjacency information gain among the active nodes;
[0013] After filtering the abnormal active nodes, the active node set is updated, and the steps of constructing the adjacency relationship of each active node in the active node set and calculating the adjacency weight, and the step of calculating the adjacency information entropy of each active node based on the adjacency weight are re-executed to iteratively compare the adjacency information entropy to determine new abnormal active nodes for filtering.
[0014] Furthermore, the step of determining the set of activity nodes corresponding to the business process includes:
[0015] Analyze the event data in the event log corresponding to the business process to extract all the trajectory information;
[0016] An activity node set corresponding to the business process is generated based on all the trajectory information.
[0017] Furthermore, the step of calculating the adjacency information entropy of each active node according to the adjacency weight includes:
[0018] For a target active node in each of the active nodes, the adjacency information entropy of the target active node is calculated according to the adjacency weight of the target active node.
[0019] Furthermore, the step of calculating the adjacency information entropy of the target active node according to the adjacency weight of the target active node includes:
[0020] Calculating the selection probability of each of the target activity nodes according to the adjacency weights of the target activity nodes;
[0021] The adjacency information entropy of the target active node is calculated based on the selection probability.
[0022] Furthermore, after the step of calculating the adjacency information entropy of the target active node based on the selection probability, the method further includes:
[0023] The adjacency information gain of the target active node is calculated according to the adjacency information entropy of the target active node.
[0024] Furthermore, the step of calculating the adjacency weight includes:
[0025] The upper adjacency weight and the lower adjacency weight are calculated according to the adjacency relationship.
[0026] In addition, to achieve the above-mentioned purpose, the present invention further provides a device for filtering abnormal activities of a business process. The device for filtering abnormal activities of a business process of the present invention comprises:
[0027] A determination module is used to determine the set of activity nodes corresponding to the business process;
[0028] A first calculation module is used to construct an adjacency relationship between each active node in the active node set and calculate an adjacency weight;
[0029] A second calculation module, configured to calculate the adjacency information entropy of each of the active nodes according to the adjacency weight;
[0030] The filtering module is used to iteratively compare the adjacency information entropy to determine abnormal activity nodes that meet the preset adjacency information gain conditions, and filter the abnormal activity nodes.
[0031] Each functional module of the device for filtering abnormal activities of a business process of the present invention implements the steps of the method for filtering abnormal activities of a business process as described above during operation.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal device, which includes: a memory, a processor, and an abnormal activity filtering program for business processes stored in the memory and executable on the processor, wherein the abnormal activity filtering program for business processes implements the steps of the abnormal activity filtering method for business processes as described above when executed by the processor.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a business process abnormal activity filtering program is stored, and when the business process abnormal activity filtering program is executed by a processor, the steps of the business process abnormal activity filtering method as described above are implemented.
[0034] In addition, to achieve the above objectives, the present invention also provides an abnormal activity filtering program product for a business process, including an abnormal activity filtering program for a business process, which, when executed by a processor, implements the steps of the abnormal activity filtering method for a business process as described above.
[0035] The present invention proposes a method, device, terminal device and storage medium for filtering abnormal activities of a business process. The method includes: determining a set of activity nodes corresponding to the business process; constructing an adjacency relationship between each activity node in the set of activity nodes and calculating an adjacency weight; calculating the adjacency information entropy of each activity node based on the adjacency weight; iteratively comparing the adjacency information entropy to determine abnormal activity nodes that meet preset adjacency information gain conditions, and filtering the abnormal activity nodes.
[0036] The present invention first determines the set of active nodes corresponding to the business process, then constructs the adjacency relationship of each active node in the set of active nodes to calculate the adjacency weight of each active node, and then calculates the adjacency information entropy of each active node according to the adjacency weight, so as to filter the abnormal active nodes in the business process based on the adjacency information entropy, that is, iteratively compares the adjacency information entropy of each active node to first identify and determine the abnormal active node that meets the preset adjacency information gain condition among the multiple active nodes, and then filters the determined abnormal active node.
[0037] In this way, the present invention can accurately identify and filter abnormal activities with high randomness caused by chaos in business process log data by calculating and comparing the adjacent information entropy of active nodes, thereby effectively avoiding the adverse effects of abnormal activities on the identification of process models, thereby improving the overall quality of the process model, and providing decision support for discovering more accurate process models and optimization. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] 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;
[0039] Figure 2 It is a flowchart of an embodiment of a method for filtering abnormal activities of a business process of the present invention;
[0040] Figure 3 It is a structural diagram of an embodiment of a device for filtering abnormal activities of a business process according to the present invention.
[0041] 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
[0042] 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.
[0043] 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.
[0044] 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.
[0045] like Figure 1 As 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.
[0046] 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.
[0047] 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. Among them, 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.
[0048] 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 abnormal activity filtering program of the business process stored in the memory 1005, and perform the following operations:
[0049] Determine the set of activity nodes corresponding to the business process;
[0050] Constructing an adjacency relationship between each active node in the active node set and calculating an adjacency weight;
[0051] Obtaining the adjacency information entropy of each of the active nodes according to the adjacency weight calculation;
[0052] An iterative comparison is performed on the adjacency information entropy to determine abnormal activity nodes that meet a preset adjacency information gain condition, and the abnormal activity nodes are filtered.
[0053] Further, the preset adjacency information gain condition is: the adjacency information gain of the active node is the largest;
[0054] The processor 1001 may call the abnormal activity filtering program of the business process stored in the memory 1005, and further perform the following operations:
[0055] Comparing the adjacency information entropy of each of the active nodes to determine an abnormal active node with the largest adjacency information gain among the active nodes;
[0056] After filtering the abnormal active nodes, the active node set is updated, and the steps of constructing the adjacency relationship of each active node in the active node set and calculating the adjacency weight, and the step of calculating the adjacency information entropy of each active node based on the adjacency weight are re-executed to iteratively compare the adjacency information entropy to determine new abnormal active nodes for filtering.
[0057] Furthermore, the processor 1001 may call the abnormal activity filtering program of the business process stored in the memory 1005, and further perform the following operations:
[0058] Analyze the event data in the event log corresponding to the business process to extract all the trajectory information;
[0059] An activity node set corresponding to the business process is generated based on all the trajectory information.
[0060] Furthermore, the processor 1001 may call the abnormal activity filtering program of the business process stored in the memory 1005, and further perform the following operations:
[0061] For a target active node in each of the active nodes, the adjacency information entropy of the target active node is calculated according to the adjacency weight of the target active node.
[0062] Furthermore, the processor 1001 may call the abnormal activity filtering program of the business process stored in the memory 1005, and further perform the following operations:
[0063] Calculating the selection probability of each of the target activity nodes according to the adjacency weights of the target activity nodes;
[0064] The adjacency information entropy of the target active node is calculated based on the selection probability.
[0065] Further, the processor 1001 may call the abnormal activity filtering program of the business process stored in the memory 1005, and after performing the adjacent information entropy of the target activity node based on the selection probability calculation, further perform the following operations:
[0066] The adjacency information gain of the target active node is calculated according to the adjacency information entropy of the target active node.
[0067] Furthermore, the processor 1001 may call the abnormal activity filtering program of the business process stored in the memory 1005, and further perform the following operations:
[0068] The upper adjacency weight and the lower adjacency weight are calculated according to the adjacency relationship.
[0069] Based on the above structure, various embodiments of the method for filtering abnormal activities in a business process of the present invention are proposed.
[0070] Please refer to Figure 2 , Figure 2 The figure is a flowchart of the first embodiment of the method for filtering abnormal activities in a business process of the present invention.
[0071] The embodiment of the present invention provides an embodiment of a method for filtering abnormal activities 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.
[0072] The abnormal activity filtering method of the business process in the embodiment of the present invention is applied to the above-mentioned terminal device. The terminal device in the embodiment of the present invention can be a PC, a portable computer or other terminal device, and no specific limitation is made here.
[0073] The abnormal activity filtering method of the business process of this embodiment includes:
[0074] Step S100, determining a set of activity nodes corresponding to a business process;
[0075] When the terminal device is identifying the evolution of a business process, it first determines the activity node set to which all the activity nodes in the event log corresponding to the business process belong.
[0076] It should be noted that, in this embodiment, the terminal device determines the set of active nodes by extracting track information from the event log corresponding to the business process.
[0077] Furthermore, in some feasible embodiments, the above step S100 may include:
[0078] Step S101, analyzing the event data in the event log corresponding to the business process to extract all the track information;
[0079] Step S102: Generate an activity node set corresponding to the business process based on all the track information.
[0080] It should be noted that, in this embodiment, the event data in the above-mentioned event log can usually be obtained at any time from information systems such as ERP (Enterprise Resource Planning), CRM (Customer Relationship Management) or BPM (BPM-Business Process Management), and the event data may specifically include: case name, case ID, timestamp, activity, resource, status and other attribute information.
[0081] In this embodiment, the terminal device analyzes the event data in the event log corresponding to the business process (i.e., the log data of the business process) to extract all trajectory information and count the number of cases for each trajectory. Then, for each case, the terminal device extracts a limited activity sequence A1=<a11,a12,...,a1n> Form a track information. In this way, all the track information corresponding to the event log L can be expressed by the activity sequence A and the number of tracks in the following form:
[0082] <l> =[ <a1> n1 , <a2> n1 ,..., <am> nl ]
[0083] Thus, the terminal device can determine the active node set as: A <l>=A1∪A2∪…∪Am, that is: the non-repeating union of all activity nodes in all activity sequences.
[0084] Step S200, constructing the adjacency relationship of each active node in the active node set and calculating the adjacency weight;
[0085] After determining the active node set corresponding to the business process, the terminal device further constructs an adjacency relationship for each active node in the active node set, thereby calculating the adjacency weight of each active node based on the adjacency relationship.
[0086] It should be noted that, in this embodiment, since chaotic abnormal activities can be frequent or rare, the terminal device adopts the adjacent information entropy activity filtering technology to target the large uncertainty of chaotic noise activities. That is, the terminal device regards the process model as a weighted directed graph, where each activity node is regarded as a vertex of the weighted directed graph (including the start node S and the end node E), the priority or follow-up relationship between adjacent activities is regarded as the edge of the weighted directed graph, and the total number of cases involved in the adjacent activities and the weight on the edge of the weighted directed graph.
[0087] Further, in some feasible embodiments, in the above step S200, the step of "calculating and obtaining the adjacency weight" may include:
[0088] The upper adjacency weight and the lower adjacency weight are calculated according to the adjacency relationship.
[0089] In this embodiment, the terminal device generates all the track information corresponding to the event log L. <l>, calculate the next adjacent weight sequence of the activity node - activity ai in the event log, where the next adjacent weight of any activity bi that is next to the activity ai is Kdown ai,bi Similarly, any activity ci that is adjacent to the activity ai has an upper adjacent weight of Kup. ai,bi In this way, the terminal device can specifically calculate the upper adjacent weight Kup of the activity ai through the following calculation formula: ai,bi and the next neighbor weight Kdown ai,bi :
[0090] Kdown ai,bi = #((ai, bi), L);
[0091] Kup ai,bi =#((ai, ci), L).
[0092] In the above calculation formula, bi represents a lower adjacent activity of ai, that is, an activity node that directly follows activity bi. In addition, #((ai, bi), L) counts the total number of cases in event log L where activity ai and lower adjacent activity bi belong to the same group. Similarly, ci represents a higher adjacent activity of ai, that is, an activity node that ai directly follows. #((ai, ci), L) counts the total number of cases in event log L where activity ai and upper adjacent activity ci belong to the same group.
[0093] Step S300, calculating the adjacency information entropy of each of the active nodes according to the adjacency weight;
[0094] After calculating the adjacency weight of each active node, the terminal device further calculates the adjacency information entropy of each active node according to the adjacency weight.
[0095] Further, in some feasible embodiments, step S300 may include:
[0096] Step S301 : for a target active node in each of the active nodes, the adjacency information entropy of the target active node is calculated according to the adjacency weight of the target active node.
[0097] In this embodiment, the terminal device takes each active node as the target active node in turn to calculate the adjacency information entropy of the target active node according to the adjacency weight of the target active node, and so on until the adjacency information entropy of all active nodes is calculated.
[0098] In addition, in addition to calculating the adjacency information entropy of each target active node, the terminal device also calculates the adjacency information entropy without the active node, and calculates the adjacency information gain of each active node.
[0099] Further, in some feasible embodiments, in step S301, the step of "calculating the adjacency information entropy of the target active node according to the adjacency weight of the target active node" may include:
[0100] Calculating the selection probability of each of the target activity nodes according to the adjacency weights of the target activity nodes;
[0101] The adjacency information entropy of the target active node is calculated based on the selection probability.
[0102] It is feasible that the terminal device first calculates the selection probability of the target active node ai based on the upper and lower adjacent weights of the target active node ai. The probability that the active node ai will be selected by all its lower adjacent neighbors bi and upper adjacent neighbors ci defines the lower adjacent selection probability Pdown of the active node ai in the process ai,bi and upper adjacent selection probability Pup ai,ci ,Right now:
[0103]
[0104]
[0105] Among them, Kup ai,bi and Kdown ai,bi are the upper adjacent weight and lower adjacent weight of the above-mentioned active node ai respectively. #(ai, L) counts the total number of cases to which all active nodes ai belong in the event log L.
[0106] Afterwards, the terminal device further defines the down-adjacent information entropy of the active node ai as Edown ai , the upper adjacent information entropy is Eup ai And the total adjacent information entropy is E ai , and calculated according to the following formula, namely:
[0107] Edown ai =∑ bi ∈B[-Pdown ai,bi *log(Pdown ai,bi , 2)];
[0108] Eup ai =∑ ci ∈C[-Pup ai,ci *log(Pup ai,ci , 2)];
[0109] E ai =Edown ai +Eup ai .
[0110] Among them, Edown ai It is the sum of the corresponding downstream information entropy of ai according to all downstream activities bi, Eup ai It is the sum of the upper-adjacent information entropy of the corresponding ai according to all upper-adjacent activities ci.
[0111] Further, in some feasible embodiments, after the above step of calculating the adjacency information entropy of the target activity node based on the selection probability, the abnormal activity filtering method of the business process of the present invention may further include:
[0112] The adjacency information gain of the target active node is calculated according to the adjacency information entropy of the target active node.
[0113] Alternatively, for example, the terminal device calculates the total adjacency information entropy E of all downstream adjacency activities bi of the activity node ai by first calculating bi And the total adjacency information entropy E of all upper adjacency activities ci ci . Then calculate the total adjacent information entropy E of these activities bi after removing the activity node ai bi,L-ai and the total adjacent information entropy E of activity ci without ai ci,L-ai (Remove the total adjacent information entropy E of ai bi,L-ai It is obtained by the above-mentioned total neighbor information entropy calculation method after updating the upper and lower neighbor weights and upper and lower neighbor selection probabilities of bi). In this way, the calculation formula of the neighbor information gain ΔE of activity ai is:
[0114] ΔE (ai,L) =∑ bi ∈B(E bi -E bi,L-ai )+∑ ci ∈C(E ci -E ci,L-ai )
[0115] That is, the neighbor information gain ΔE is equal to the total neighbor information entropy E of all the next neighbor activities bi of activity ai bi The total adjacency information entropy E of these active nodes after removing the active node ai bi,L-ai The difference, plus the total adjacent information entropy E of all upper adjacent activities ci of activity ai ci The total adjacency information entropy E of these active nodes after removing the active node ai ci,L-ai difference.
[0116] Step S400: Iteratively compare the adjacency information entropy to determine abnormal activity nodes that meet a preset adjacency information gain condition, and filter the abnormal activity nodes.
[0117] After calculating the adjacency information entropy of each active node, the terminal device further iteratively compares the adjacency information entropy of each active node to first identify and determine the abnormal active node that meets the preset adjacency information gain condition among the multiple active nodes, and then filters the determined abnormal active node.
[0118] Furthermore, the preset adjacency information gain condition is: the adjacency information gain of the active node is the largest; in some feasible embodiments, step S400 may include:
[0119] Step S401, comparing the adjacency information entropy of each of the active nodes to determine the abnormal active node with the largest adjacency information gain among the active nodes;
[0120] Step S402, after filtering the abnormal active nodes, the active node set is updated, and the steps of constructing the adjacency relationship of each active node in the active node set and calculating the adjacency weight, and the step of calculating the adjacency information entropy of each active node according to the adjacency weight are re-executed, so as to iteratively compare the adjacency information entropy to determine new abnormal active nodes for filtering.
[0121] In this embodiment, the terminal device can specifically iteratively compare the adjacency information entropy of each active node based on a greedy algorithm, and filter the active node with the current maximum adjacency information gain, then update the activity set, and recalculate the adjacency weight and adjacency information gain according to the above process to finally form an abnormal activity filter list.
[0122] It should be noted that in this embodiment, the meaning of the adjacent information gain is the total amount of information entropy reduction corresponding to the upper adjacent activities and the lower adjacent activities after removing the activity ai, that is, the total amount of uncertainty reduction of the entire business process, that is, the total amount of certainty increase. Based on this, the terminal device uses a greedy algorithm to filter out the activity point with the current maximum adjacent information gain each iteration to form the final abnormal activity list.
[0123] It is feasible, for example, that the terminal device adopts an algorithm based on adjacency information entropy to filter abnormal activities, and the event log represented by trajectory information <l>and all activity sets A( <l>) as input, and the output is: abnormal activity filtering list O. That is:
[0124] When the terminal device uses the above algorithm for filtering abnormal activities based on adjacency information entropy, it performs initialization operations: (1) L' = <l>, (2) O = {}. Then, the specific execution operation of the algorithm is performed according to the following Step 1 and Step 2:
[0125] Step1 When |A(<L’> )|>2, perform the following operations:
[0126] (1) Get all the activity sets of the latest log activities = A (<L’> );
[0127] (2) Get the active node with the largest current adjacent information gain ai' = argmax ai∈activities △E(ai,L);
[0128] (3) Update log L' = <L’ activities-ai’ >
[0129] (4) Update track activity information: A(<L’> );
[0130] (5) Update the abnormal activity filtering list O = O∪{ai'};
[0131] Once violated |A(<L’> )|>2 condition, immediately jump out of the loop and jump to Step 2, and Step 2 returns to the abnormal activity filter list O.
[0132] Through the above algorithm iteration process, the abnormal activity filtering list O is finally obtained.
[0133] In addition, an embodiment of the present invention further provides a device for filtering abnormal activities of a business process. The device for filtering abnormal activities of a business process of the present invention includes:
[0134] A determination module is used to determine the set of activity nodes corresponding to the business process;
[0135] A first calculation module is used to construct an adjacency relationship between each active node in the active node set and calculate an adjacency weight;
[0136] A second calculation module, configured to calculate the adjacency information entropy of each of the active nodes according to the adjacency weight;
[0137] The filtering module is used to iteratively compare the adjacency information entropy to determine abnormal activity nodes that meet the preset adjacency information gain conditions, and filter the abnormal activity nodes.
[0138] Optionally, the preset adjacency information gain condition is: the adjacency information gain of the active node is the largest; the filtering module is further used to:
[0139] Comparing the adjacency information entropy of each of the active nodes to determine an abnormal active node with the largest adjacency information gain among the active nodes;
[0140] After filtering the abnormal active nodes, the active node set is updated, and the steps of constructing the adjacency relationship of each active node in the active node set and calculating the adjacency weight, and the step of calculating the adjacency information entropy of each active node based on the adjacency weight are re-executed to iteratively compare the adjacency information entropy to determine new abnormal active nodes for filtering.
[0141] Optionally, the determination module is further configured to:
[0142] Analyze the event data in the event log corresponding to the business process to extract all the trajectory information;
[0143] An activity node set corresponding to the business process is generated based on all the trajectory information.
[0144] Optionally, the second computing module is further used for:
[0145] For a target active node in each of the active nodes, the adjacency information entropy of the target active node is calculated according to the adjacency weight of the target active node.
[0146] Optionally, the second computing module is further used for:
[0147] Calculating the selection probability of each of the target activity nodes according to the adjacency weights of the target activity nodes;
[0148] The adjacency information entropy of the target active node is calculated based on the selection probability.
[0149] Optionally, the abnormal activity filtering device for a business process of the present invention further includes:
[0150] The third calculation module is used to calculate the adjacency information gain of the target active node according to the adjacency information entropy of the target active node.
[0151] Optionally, the first computing module is further configured to:
[0152] The upper adjacency weight and the lower adjacency weight are calculated according to the adjacency relationship.
[0153] The steps implemented by each functional module of the device for filtering abnormal activities of a business process of the present invention during operation can refer to the various embodiments of the method for filtering abnormal activities of a business process of the present invention, and will not be described in detail here.
[0154] In addition, an embodiment of the present invention also proposes a terminal device, which includes: a memory, a processor, and an abnormal activity filtering program for business processes stored in the memory and executable on the processor, wherein the abnormal activity filtering program for business processes implements the steps of the abnormal activity filtering method for business processes as described above when executed by the processor.
[0155] Among them, the steps implemented when the abnormal activity filtering program of the business process running on the processor is executed can refer to the various embodiments of the abnormal activity filtering method of the business process of the present invention, and will not be repeated here.
[0156] In addition, an embodiment of the present invention also proposes a storage medium, which is applied to a computer. The storage medium can be a non-volatile computer-readable storage medium, and a business process abnormal activity filtering program is stored on the storage medium. When the business process abnormal activity filtering program is executed by the processor, the steps of the business process abnormal activity filtering method described above are implemented.
[0157] In addition, an embodiment of the present invention also proposes an abnormal activity filtering program product for a business process, 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 architecture method for store visitor information as described above are implemented.
[0158] Among them, the steps implemented when the abnormal activity filtering program of the business process running on the processor is executed can refer to the various embodiments of the abnormal activity filtering method of the business process of the present invention, and will not be repeated here.
[0159] It should be noted that, in this article, the term "includes", "comprising" or any other variation thereof is 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 "comprising a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0160] 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.
[0161] 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.
[0162] 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.< / l> < / l> < / l> < / l> < / l> < / am> < / a2> < / a1> < / l>
Claims
1. A method for filtering abnormal activities of a business process, characterized in that: The abnormal activity filtering method of the business process includes: Determine the set of activity nodes corresponding to the business process; Constructing an adjacency relationship between each active node in the active node set and calculating an adjacency weight; Obtaining the adjacency information entropy of each of the active nodes according to the adjacency weight calculation; Iteratively comparing the adjacency information entropy to determine abnormal activity nodes that meet preset adjacency information gain conditions, and filtering the abnormal activity nodes; The preset adjacency information gain condition is: the adjacency information gain of the active node is the largest; The step of iteratively comparing the adjacency information entropy to determine abnormal activity nodes that meet the preset adjacency information gain condition, and filtering the abnormal activity nodes includes: Compare the adjacency information entropy of each of the active nodes to determine the abnormal active node with the largest adjacency information gain among the active nodes, wherein, for any one of the active nodes, the adjacency information gain is the difference between the total adjacency information entropy of all lower adjacent active nodes of the active node and the total adjacency information entropy of the remaining active nodes after removing the active node, plus the difference between the total adjacency information entropy of all upper adjacent active nodes of the active node and the total adjacency information entropy of the remaining active nodes after removing the active node; After filtering the abnormal active nodes, the active node set is updated, and the steps of constructing the adjacency relationship of each active node in the active node set and calculating the adjacency weight, and the step of calculating the adjacency information entropy of each active node based on the adjacency weight are re-executed to iteratively compare the adjacency information entropy to determine new abnormal active nodes for filtering.
2. The method for filtering abnormal activities of a business process according to claim 1, characterized in that: The step of determining the set of activity nodes corresponding to the business process includes: Analyze the event data in the event log corresponding to the business process to extract all the trajectory information; An activity node set corresponding to the business process is generated based on all the trajectory information.
3. The method for filtering abnormal activities of a business process according to claim 1, characterized in that: The step of calculating the adjacency information entropy of each active node according to the adjacency weight comprises: For a target active node in each of the active nodes, the adjacency information entropy of the target active node is calculated according to the adjacency weight of the target active node.
4. The method for filtering abnormal activities of a business process as claimed in claim 3, characterized in that: The step of calculating the adjacency information entropy of the target active node according to the adjacency weight of the target active node comprises: Calculating the selection probability of each of the target activity nodes according to the adjacency weights of the target activity nodes; The adjacency information entropy of the target active node is calculated based on the selection probability.
5. The method for filtering abnormal activities of a business process according to claim 4, characterized in that: After the step of calculating the adjacency information entropy of the target active node based on the selection probability, the method further includes: The adjacency information gain of the target active node is calculated according to the adjacency information entropy of the target active node.
6. The method for filtering abnormal activities of a business process according to claim 1, characterized in that: The step of calculating the adjacency weight comprises: The upper adjacency weight and the lower adjacency weight are calculated according to the adjacency relationship.
7. A device for filtering abnormal activities of a business process, characterized in that: The abnormal activity filtering device of the business process includes: A determination module is used to determine the set of activity nodes corresponding to the business process; A first calculation module is used to construct an adjacency relationship between each active node in the active node set and calculate an adjacency weight; A second calculation module, configured to calculate the adjacency information entropy of each of the active nodes according to the adjacency weight; The filtering module is used to iteratively compare the adjacency information entropy to determine abnormal activity nodes that meet the preset adjacency information gain conditions, and filter the abnormal activity nodes.
8. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and an abnormal activity filtering program for business processes stored in the memory and executable on the processor. When the abnormal activity filtering program for business processes is executed by the processor, the steps of the abnormal activity filtering method for business processes described in any one of claims 1 to 6 are implemented.
9. A storage medium, characterized in that: The storage medium stores an abnormal activity filtering program for a business process, and when the abnormal activity filtering program for a business process is executed by a processor, the steps of the abnormal activity filtering method for a business process as claimed in any one of claims 1 to 6 are implemented.
