Automatic log decomposition process mining method based on RPA

By recording and analyzing the log data and real-time monitoring information of RPA robots, combined with process mining tools and machine learning models, we identify and optimize process bottlenecks, solve the problem of performance bottlenecks during RPA execution, and improve process efficiency and analysis accuracy.

CN118643471AInactive Publication Date: 2024-09-13BEIJING YONYOU XINFUSHE CLOUD TECH CO LTD

Patent Information

Application Number
CN202411119374.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In process mining, RPA robots are prone to encounter performance bottlenecks during execution, such as long waits and slow response from external systems, resulting in low process analysis speed and accuracy, and the inability to quickly implement improvement measures.

Method used

By configuring the RPA robot to record the log information of the start and end time and execution status of each step, generate structured log data, use process mining tools to analyze and identify process bottlenecks, and combine real-time monitoring and machine learning models to automatically identify problems that can be directly processed. Orders and orders that require manual review can provide timely warnings and optimize process performance.

Benefits of technology

The efficiency of process execution is improved. The real-time monitoring and early warning mechanism can detect abnormalities in time. The machine learning model identifies orders that can be processed directly, reducing the need for manual review and improving the speed and accuracy of process analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643471A
    Figure CN118643471A
Patent Text Reader

Abstract

The invention relates to the technical field of process mining, and discloses an automatic process mining method based on RPA decomposition logs, which comprises the following steps of: configuring an RPA robot to record the start and end time of each step in a process and log information of an execution state, outputting a centralized log file or structured log data in a database, comprising timestamps, step names and execution states; and S100, inputting the log data in the S100 into a process mining tool, automatically generating an actual process model, analyzing and identifying the difference between the actual process model and an expected process, and identifying a process bottleneck. According to the method, the opportunity of optimizing the process is found through identifying the process bottleneck and carrying out performance analysis, the execution efficiency of the process is improved, abnormal conditions can be found in time through real-time monitoring and a threshold early warning mechanism, related personnel are automatically notified, orders which can be directly processed are identified through a machine learning model, the requirement of manual auditing is reduced, and the working efficiency is improved. And the flow analysis speed and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of process mining, and more specifically, to a method for automated process mining based on RPA decomposition logs. Background Art

[0002] Process mining is a technique for analyzing business process execution data, which can help organizations understand, monitor and improve actual business processes. RPA, a robotic process automation, is a technique for automating repetitive tasks with the help of software robots.

[0003] In process mining, the RPA robots that understand and automate business processes may encounter performance bottlenecks during execution, such as long waits for certain manual interventions or slow responses from external systems, resulting in low speed and accuracy of process analysis and the inability to quickly implement improvement measures. Summary of the invention

[0004] The present invention provides a method for automated process mining based on RPA decomposition logs to solve the technical problems of related technologies.

[0005] The present invention provides a method for automated process mining based on RPA decomposition logs, comprising the following steps:

[0006] S100: Configure the RPA robot to record the start and end time of each step in a process, the log information of the execution status, and output the structured log data in a centralized log file or database, including timestamp, step name, and execution status;

[0007] S200: Input the log data in S100 into the process mining tool, automatically generate the actual process model, analyze and identify the differences between the actual process model and the expected process, and identify the process bottlenecks;

[0008] S300: The real-time monitoring function integrated in the RPA robot automatically records the execution time of the steps and generates real-time monitoring data. In the real-time monitoring data, when the execution time of one of the steps exceeds the preset threshold, an alarm is automatically sent to the relevant personnel.

[0009] S400: Use historical order data, audit records, and the log data in step S100 to train a classification model, set rules or templates for automatically processing identifiable special cases, distinguish between orders that can be automatically processed and orders that require manual review through the trained classification model, and output corresponding rule templates;

[0010] Historical order data refers to information about all orders processed in the past, including order content, processing time, and processing results;

[0011] Audit records refer to the records of orders that require manual review and their processing results;

[0012] S500: Use historical data to train the prediction model. The historical data includes the log data of S100 and the real-time monitoring data of S300. The trained prediction model is integrated into the RPA robot. When the real-time data is input, the prediction model outputs the probability of the process performance indicator of the next process having problems.

[0013] The probability of problems with process performance indicators includes the probability of process bottlenecks, the probability of process execution timeouts, and the probability of errors.

[0014] The probability of a process bottleneck is the probability that at least one step in the process execution process is blocked due to insufficient resources or low efficiency.

[0015] The probability of process execution timeout refers to the probability value that the actual execution time of at least one step in the process exceeds the predetermined threshold time;

[0016] The probability of error occurrence refers to the probability value of errors or abnormal situations occurring during process execution;

[0017] Real-time data is data collected in real time by RPA robots during the executed process.

[0018] Furthermore, the specific contents of step S100 are as follows:

[0019] S110, configure the RPA robot to record logs: configure the RPA robot to record detailed log information when executing each step;

[0020] S120, store log data: ensure that the RPA robot can automatically store the log information in a centralized log file or database;

[0021] S130, Data Cleaning and Standardization: Clean log files, remove invalid or duplicate data entries, and ensure that all data fields are in a consistent format.

[0022] Furthermore, the specific contents of step S200 are as follows:

[0023] Choosing a process mining tool: Evaluate the capabilities of various process mining tools and choose the one that best suits your needs;

[0024] Import log data: If necessary, convert the log data into the format required by the process mining tool and import the log data into the process mining tool;

[0025] Model discovery: Select a process discovery algorithm and use the selected algorithm to automatically discover the process model;

[0026] Model analysis: Compare the discovered model with the expected process model and identify differences between the models.

[0027] Performance analysis: Define key performance indicators and use the performance analysis function of the process mining tool to evaluate the performance of each step and identify bottlenecks in the process through performance indicators.

[0028] Furthermore, the specific contents of the performance indicators are as follows:

[0029] Average execution time: The average execution time of each step, expressed as follows:

[0030]

[0031] in, Indicates The execution time of each instance, Indicates the total number of instances, is the average execution time of the step;

[0032] Maximum waiting time: The maximum waiting time for each step. The expression is as follows:

[0033]

[0034] in, Indicates The waiting time for each instance, The maximum waiting time for the step.

[0035] Furthermore, the specific contents of step S300 are as follows:

[0036] S310, real-time monitoring function integration: determine the key steps that need to be monitored and implement the recording logic of the start and end time for each key step;

[0037] S320, recording the current time at the beginning of each key step, and recording the current time at the completion of each key step;

[0038] S330, using the average execution time and standard deviation of each key step as threshold setting based on historical data statistics;

[0039] The expression for calculating the threshold is as follows:

[0040]

[0041] in, is the threshold value, is the average execution time, is the multiple of standard deviation, is the standard deviation;

[0042] When the execution time of a step exceeds the threshold, an alarm is triggered.

[0043] S340, communicate with suppliers to optimize interface response time and add redundant queries during peak hours to disperse request pressure.

[0044] Furthermore, the specific contents of step S400 are as follows:

[0045] The specific contents of step S400 are as follows:

[0046] S410, collecting historical order data, log data and audit records, cleaning and preprocessing the data, and extracting relevant features from the data;

[0047] S420, defining target variables, constructing training data sets, and training and evaluating the selected logistic regression model;

[0048] S430. Set rules and generate rule templates at the same time, and integrate the trained classification model and rule templates into the RPA system to process orders in real time.

[0049] Furthermore, in step S420, the expression of the logistic regression model is as follows:

[0050]

[0051] in, is the intercept term, It is a feature The coefficient of Indicates that given a feature Cases, events Probability of occurrence.

[0052] Furthermore, the specific contents of step S500 are as follows:

[0053] S510: extract relevant data from the data sets obtained in S100 and S200, select or construct useful features based on business knowledge, and remove outliers and missing values;

[0054] S520: Select an appropriate prediction model according to the characteristics of the problem, select features that significantly contribute to the prediction ability of the model, and use the training data set to train the model;

[0055] The model training uses logistic regression, and the expression of logistic regression is as follows:

[0056]

[0057] in, is the probability that the output is 1 given an input x, is the unnormalized probability output by the model, which is a linear combination of It is calculated that, is the weight vector, is the bias term, is the base of natural logarithms;

[0058] Parameter tuning: Use techniques such as cross-validation to adjust model parameters to optimize performance;

[0059] S530: Use an independent test dataset to verify the accuracy of the model and use appropriate performance indicators to evaluate the model, including precision, recall, and AUC-ROC;

[0060] Performance indicators include the following:

[0061] The expression of precision is as follows:

[0062]

[0063] in, is the accuracy, For a real example, It is a false positive example;

[0064] The expression of recall is as follows:

[0065]

[0066] in, is the recall rate, is a false negative example;

[0067] AUC-ROC: Represents the area under the ROC curve;

[0068] S540: The trained model is embedded into the workflow of the RPA robot, and the RPA robot automatically makes predictions based on the prediction results of the model.

[0069] A system for automated process mining based on RPA decomposition logs, comprising:

[0070] Logging and storage module: configure the RPA robot to record detailed log information and store the log information in a centralized log file or database;

[0071] Process mining and analysis module: input the cleaned and standardized log data into the process mining tool, use the process mining tool to automatically discover the actual process model, and analyze it;

[0072] Real-time monitoring and early warning module: The real-time monitoring part integrated in the RPA robot monitors the execution time of each key step and automatically records the start and end time of each step;

[0073] Order processing automation and rule optimization module: Use historical data to train machine learning models to identify orders that can be directly processed and manually reviewed. For special products that appear frequently, pre-set rules or templates to reduce the workload of auditors;

[0074] Prediction and optimization module: Use historical data to train prediction models, perform data processing and model training, and integrate the trained prediction models into the RPA robot to enable it to make predictions automatically.

[0075] Continuous improvement and maintenance module: Regularly evaluate the effectiveness of improvement measures, continuously collect new log data, and update the prediction model based on the new data.

[0076] A storage medium storing non-transitory computer-readable instructions for executing one or more steps of the aforementioned method for automated process mining based on RPA decomposition logs.

[0077] The beneficial effects of the present invention are:

[0078] The present invention identifies process bottlenecks and performs performance analysis to find opportunities for process optimization and improve process execution efficiency. Real-time monitoring and threshold warning mechanisms can promptly detect abnormal situations and automatically notify relevant personnel. Machine learning models are used to identify orders that can be directly processed, reducing the need for manual review and improving the speed and accuracy of process analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 It is a flow chart of a method for automated process mining based on RPA decomposition logs proposed by the present invention;

[0080] Figure 2 This is a structural block diagram of a system for automated process mining based on RPA decomposition logs proposed by the present invention.

[0081] In the figure: 101, log recording and storage module; 102, process mining and analysis module; 103, real-time monitoring and early warning module; 104, order processing automation and rule optimization module; 105, prediction and optimization module; 106, continuous improvement and maintenance module. DETAILED DESCRIPTION

[0082] The subject matter described herein will now be discussed with reference to example implementations. It should be understood that the discussion of these implementations is only to enable those skilled in the art to better understand and implement the subject matter described herein, and the functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the present specification. Various examples may omit, replace, or add various processes or components as needed. In addition, the features described in some examples may also be combined in other examples.

[0083] At least one embodiment of the present invention discloses a method for automated process mining based on RPA decomposition logs, such as Figure 1 As shown, the following steps are included:

[0084] S100: Configure the RPA robot to record detailed log information, store the log information in a centralized log file or database, and clean and standardize the log data;

[0085] A process is a series of sequential steps that together accomplish a specific business goal or task.

[0086] In one embodiment of the present invention, the following contents are specifically included:

[0087] S110: Configure the RPA robot to record logs: Configure the RPA robot to record detailed log information when executing each step.

[0088] Define log entries: Define the information that the log entry should contain for each key step, such as the step, executor, start time, end time, and execution status.

[0089] Implement logging: Add logging functionality to each key step in the RPA robot’s script to ensure that the above information is recorded.

[0090] Log format: Ensure that log entries are formatted consistently for easy processing.

[0091] S120: Store log data: Ensure that the RPA robot can automatically store this log information in a centralized log file or database.

[0092] Choose a storage method: Choose a centralized log storage solution, such as a database (MySQL, PostgreSQL, etc.) or a log management system (such as Elastic search).

[0093] Data structure: Define the structure of the log data to ensure that each log entry contains the necessary information.

[0094] Storage implementation: Configure the RPA robot to write log entries to the selected storage medium.

[0095] S130: Data cleaning and standardization: Clean log files, remove invalid or duplicate data entries, and ensure that all data fields are in a consistent format.

[0096] Data cleaning:

[0097] Remove invalid entries: Removes log entries that contain missing or invalid values.

[0098] Format Check: Check and correct any incorrect date and time formats.

[0099] Data Standardization:

[0100] Time format consistency: Ensure that all timestamps use a consistent time format, such as ISO 8601 format ( ).

[0101] Standardize step names: Standardize the naming conventions of step names, such as using lowercase letters and underscores to separate words.

[0102] Data type conversion: Convert all data to the appropriate type, such as converting a string date to type.

[0103] S200: Input the cleaned and standardized log data into the process mining tool, use the process mining tool to automatically discover the actual process model, analyze it, identify the difference between the actual operation process and the expected process, and find the bottleneck in the process;

[0104] In one embodiment of the present invention, the following contents are specifically included:

[0105] Choosing a process mining tool: Evaluate the capabilities of various process mining tools, such as Pro M, Process Gold, or Disco. Choose the tool that best suits your needs.

[0106] Import log data: If necessary, convert the log data into the format required by the process mining tool, such as XES format. Import the log data into the process mining tool.

[0107] Model Discovery: Select a process discovery algorithm, such as the Alpha Algorithm, Heuristic Miner, or Inductive Miner.

[0108] Automatically discover process models using selected algorithms.

[0109] Model analysis: Compare the discovered model with the expected process model and identify differences between the models.

[0110] For example, if there is a path A→B→C in the expected process model, but this path does not exist in the discovered model, record it.

[0111] Performance Analysis:

[0112] Define key performance indicators and use the performance analysis function of the process mining tool to evaluate the performance of each step. Calculate the performance indicators for each step, such as:

[0113] Average execution time: the average execution time of each step;

[0114]

[0115] in, Indicates The execution time of each instance, Indicates the total number of instances, is the average execution time of the step.

[0116] Maximum waiting time: the maximum waiting time for each step;

[0117]

[0118] in, Indicates The waiting time for each instance, The maximum waiting time for the step.

[0119] Identify bottlenecks in your process, such as steps where wait times exceed a preset threshold.

[0120] S300: The real-time monitoring part integrated in the RPA robot monitors the execution time of each key step and automatically records the start and end time of each step. When the execution time exceeds the threshold, the RPA robot automatically sends an alert to the relevant personnel;

[0121] In one embodiment of the present invention, the specific steps are as follows:

[0122] S310: Real-time monitoring function integration:

[0123] Define monitoring objects: Identify key steps that need to be monitored, such as receiving orders, verifying order information, generating replenishment orders, etc.

[0124] Implement monitoring logic: Implement the recording logic of the start and end time for each key step.

[0125] S320: Execution time record:

[0126] Record start time: Record the current time at the start of each key step.

[0127] Record end time: Record the current time when each key step is completed.

[0128] Time recording logic: for example, recording information such as name, start time, and end time.

[0129] S330: Setting thresholds and alarms:

[0130] Threshold setting: Calculate the average execution time and standard deviation of each key step based on historical data.

[0131] Threshold calculation: Calculate the threshold

[0132]

[0133] in, is the threshold value, is the average execution time, is a multiple of the standard deviation (usually 2 or 3), is the standard deviation.

[0134] Alarm triggering: When the execution time of a step exceeds the threshold, an alarm is triggered.

[0135] Alarm logic: For example, if the execution time of step A exceeds the threshold, an alarm email or SMS is sent to relevant personnel.

[0136] S340: External system response optimization:

[0137] Optimize interfaces: Communicate with suppliers to optimize interface response time.

[0138] Increase redundant queries: Increase redundant queries during peak hours to disperse request pressure.

[0139] Query logic: For example, during peak hours, a query may be initiated every five minutes instead of every ten minutes to reduce the pressure on a single query.

[0140] S400: Use historical order data, audit records, and the log data in step S100 to train a classification model, set rules or templates for automatically processing identifiable special cases, distinguish between orders that can be automatically processed and orders that require manual review through the trained classification model, and output corresponding rule templates;

[0141] In one embodiment of the present invention, the specific steps are as follows:

[0142] S410, Data Preparation

[0143] S411. Collect data:

[0144] Historical order data: including order content, processing time, and processing results.

[0145] Log data: structured log data obtained from S100, including timestamp, step name, and execution status.

[0146] Audit records: records orders that require manual review and their processing results, including the review results.

[0147] S412, data cleaning and preprocessing:

[0148] Remove duplicates and outliers.

[0149] Fill missing values.

[0150] Standardize and normalize data.

[0151] S413, Feature Engineering:

[0152] Feature extraction: Extract relevant features from raw data, such as order amount, customer type, product category, etc.

[0153] Feature encoding: Encode categorical variables (such as One-Hot Encoding).

[0154] S420, model training

[0155] S421, Tag definition:

[0156] Define the target variable :

[0157] Indicates that the order requires manual review.

[0158] Indicates that the order can be processed automatically.

[0159] S422. Construction of training data set:

[0160] Feature Matrix : Consists of features from order data, log data, and audit records.

[0161] Label vector : Consists of the audit results in the audit records.

[0162] S423. Select model:

[0163] Choose an appropriate machine learning algorithm like logistic regression, random forest, gradient boosted trees, etc.

[0164] S424, Model Training:

[0165] For example, using logistic regression:

[0166]

[0167] in, is the intercept term, It is a feature The coefficient of Indicates that given a feature Cases, events Probability of occurrence.

[0168] S425, Model Evaluation:

[0169] Model performance was evaluated using cross validation.

[0170] Calculate indicators such as accuracy, precision, recall, and F1 score.

[0171] S430, Model deployment and rule setting

[0172] S431, rule setting:

[0173] According to the probability of model output :

[0174] Setting Thresholds To distinguish between orders that are automatically processed and those that require manual review: If , the order needs to be manually reviewed; otherwise, the order can be processed automatically;

[0175] S432, generate rule template:

[0176] Based on the importance of the model features, a rule template is generated to guide the automatic processing of the RPA robot: if the order amount is greater than a certain value and the customer type is a new customer, the order requires manual review.

[0177] S433, Model deployment:

[0178] Integrate the trained classification model and rule templates into the RPA system to process orders in real time.

[0179] S500: Use historical data to train the prediction model. The historical data includes the log data of S100 and the real-time monitoring data of S300. The trained prediction model is integrated into the RPA robot. When the real-time data is input, the prediction model outputs the probability of problems with the process performance indicators.

[0180] In one embodiment of the present invention, the specific steps are as follows:

[0181] S510: Prepare historical data for training a prediction model.

[0182] Data collection: Relevant data were extracted from the datasets obtained at the S100 and S200 stages.

[0183] Feature engineering: Select or construct useful features (such as order type, product category, amount, etc.) based on business knowledge.

[0184] Data cleaning: remove outliers and missing values ​​to ensure data quality.

[0185] S520: Select a suitable prediction model and use historical data for training.

[0186] Model selection: Choose a suitable prediction model based on the characteristics of the problem, such as logistic regression, random forest, or neural network.

[0187] Feature selection: Select features that contribute significantly to the predictive power of the model.

[0188] Model training: Use the training dataset to train the model.

[0189] Model training uses logistic regression:

[0190] The expression of logistic regression is as follows:

[0191]

[0192] in, : Given an input x, the probability that the output is 1 (i.e., the event occurs), is the unnormalized probability output by the model, which is a linear combination of It is calculated that, is the weight vector, is the bias term, is the base of natural logarithms.

[0193] Parameter Tuning: Tune model parameters to optimize performance using techniques such as cross-validation.

[0194] S530: Evaluate the performance of the trained prediction model.

[0195] Model Validation: Validate the accuracy of the model using an independent test dataset.

[0196] Performance measurement: Use appropriate performance metrics (such as precision, recall, AUC-ROC, etc.) to evaluate the model.

[0197] In one embodiment of the present invention, the performance indicators include the following:

[0198] The expression of precision is as follows:

[0199]

[0200] in, is the accuracy, For a real example, It is a false positive example;

[0201] The expression of recall is as follows:

[0202]

[0203] in, is the recall rate, is a false negative example;

[0204] AUC-ROC: It represents the area under the ROC curve.

[0205] S540: Integrate the trained prediction model into the RPA robot to achieve automated prediction.

[0206] Model integration: embed the trained model into the workflow of the RPA robot.

[0207] Automatic prediction: The RPA robot automatically makes predictions based on the model’s prediction results.

[0208] It should be added that the probability of problems with process performance indicators includes the probability of process bottlenecks, the probability of process execution timeouts, and the probability of errors;

[0209] 1. The probability of a process bottleneck occurring: The probability of a process bottleneck occurring refers to the possibility that the overall process progress will be hindered due to insufficient resources, low efficiency, etc. at a certain link in the process execution process.

[0210] Calculation method:

[0211] Data collection: Collect data such as execution time, resource usage, task queue length, etc. of each link.

[0212] Identify bottlenecks: Analyze log data with process mining tools to identify areas of execution where delays or backlogs often occur.

[0213] Probability calculation: P (bottleneck) = the number of times a link is identified as a bottleneck / total number of executions

[0214] 2. Probability of process execution timeout: The probability of process execution timeout refers to the possibility that the actual execution time of a step in the process exceeds the predetermined threshold time.

[0215] Calculation method:

[0216] Data collection: Record the start and end time of each step.

[0217] Threshold setting: Set a predetermined maximum allowed time for each step .

[0218] Probability calculation: P(timeout) = P(execution time > maximum allowed time)

[0219] The historical execution time data can be statistically analyzed and calculated based on an appropriate probability distribution model (such as normal distribution).

[0220] 3. Probability of error occurrence: The probability of error occurrence refers to the possibility of errors or abnormal situations occurring during the execution of the process.

[0221] Calculation method:

[0222] Data collection: Record all errors and exceptions that occur during process execution.

[0223] Error classification: Classify errors according to their type, severity, etc.

[0224] Probability calculation: P(error) = number of errors / total number of executions

[0225] If a breakdown is needed, the probability of different types of errors occurring can be calculated.

[0226] In one embodiment of the present invention, it is assumed that a process consists of three steps: A, B and C. In the past 100 executions, the following data are obtained:

[0227] Bottleneck Occurrence: Step B was identified as a bottleneck 20 times.

[0228] Execution timeout: The execution time of step A exceeds the threshold 15 times (the threshold is 10 seconds).

[0229] Error occurred: The number of errors in step C was 5 times.

[0230] Probability of process bottlenecks occurring:

[0231] P(bottleneck)=20 / 100=0.20(i.e. 20%)

[0232] The probability of timeout in step A is:

[0233] P(timeout)=15 / 100=0.15(i.e. 15%)

[0234] Probability of error in step C:

[0235] P(error) = 5 / 100 = 0.05 (i.e. 5%)

[0236] In one embodiment of the present invention, based on the probability output by the prediction model in S500, possible problems are identified, the problems are ranked according to their probability and potential impact, specific preventive measures are designed for each high-risk problem, the preventive measures are incorporated into the RPA robot or other automation tools, a monitoring mechanism is implemented, the effects of the preventive measures are continuously tracked, feedback is collected regularly, the actual effects of the preventive measures are understood, the preventive measures are adjusted based on the feedback, an emergency response plan is developed for each high-risk problem, and the plan drills are conducted regularly to ensure that relevant personnel are familiar with the processing flow.

[0237] At least one embodiment disclosed in the present invention provides a system for automated process mining based on RPA decomposition logs, including:

[0238] Logging and storage module 101: configures the RPA robot to record detailed log information and stores the log information in a centralized log file or database.

[0239] Function:

[0240] Log records: record the start time, end time, executor, execution status and other information of each key step.

[0241] Log storage: Store log information in a centralized log file or database.

[0242] Data cleaning and standardization: Clean and standardize log data for subsequent analysis.

[0243] Process mining and analysis module 102: Input the cleaned and standardized log data into the process mining tool, use the process mining tool to automatically discover the actual process model, and analyze it.

[0244] Function:

[0245] Data input: Input the cleaned and standardized log data into the process mining tool.

[0246] Model discovery: Use process mining tools to automatically discover actual process models.

[0247] Process analysis: Analyze process models, identify differences between actual operational processes and expected processes, and identify bottlenecks in the process.

[0248] Real-time monitoring and early warning module 103: The real-time monitoring part integrated in the RPA robot monitors the execution time of each key step and automatically records the start and end time of each step.

[0249] Function:

[0250] Real-time monitoring: monitor the execution time of each key step.

[0251] Execution time recording: Automatically record the start and end time of each step.

[0252] Threshold warning: When the execution time exceeds the threshold, an alert is automatically sent to relevant personnel.

[0253] Order processing automation and rule optimization module 104: Use historical data to train machine learning models to identify orders that can be directly processed and manually reviewed. For special products that appear frequently, pre-set rules or templates to reduce the workload of auditors.

[0254] Function:

[0255] Model training: Use historical data to train machine learning models.

[0256] Rule making: Pre-set rules or templates for specific products.

[0257] Automatic processing: Orders are automatically processed based on model prediction results and rules.

[0258] Prediction and optimization module 105: Use historical data to train the prediction model, perform data processing and model training, and the trained prediction model is integrated into the RPA robot so that it can perform predictions automatically.

[0259] Function:

[0260] Data processing: perform data cleaning, feature engineering and other data processing tasks.

[0261] Model training: Use historical data to train a predictive model.

[0262] Prediction integration: Integrate the trained prediction model into the RPA robot.

[0263] Automatic prediction: The RPA robot automatically makes predictions based on the model prediction results.

[0264] Continuous Improvement and Maintenance Module 106: Regularly review improvement results and continuously optimize processes.

[0265] Function:

[0266] Regular evaluation: Regularly evaluate the effectiveness of improvement measures.

[0267] Data collection: Continuously collect new log data.

[0268] Model updating: Update the prediction model based on new data.

[0269] At least one embodiment disclosed in the present invention provides a storage medium storing non-transitory computer-readable instructions for executing one or more steps in the aforementioned method for automated process mining based on RPA decomposition logs.

[0270] The computer program may be stored / distributed on suitable media, such as optical storage media or solid-state media supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems.

[0271] The above describes an embodiment of the present invention, but this embodiment is not limited to the above-mentioned specific implementation mode. The above-mentioned specific implementation mode is merely illustrative and not restrictive. Under the guidance of this embodiment, ordinary technicians in this field can also make more forms of equivalent embodiments, all of which are within the protection of this embodiment.

Claims

1. A method for automated process mining based on RPA decomposition logs, It is characterized in that The following steps are involved: S100: Configure the RPA robot to record the start and end time of each step in a process, the log information of the execution status, and output the structured log data in a centralized log file or database, including timestamp, step name, and execution status; S200: Input the log data in S100 into the process mining tool, automatically generate the actual process model, analyze and identify the differences between the actual process model and the expected process, and identify the process bottlenecks; S300: The real-time monitoring function integrated in the RPA robot automatically records the execution time of the steps and generates real-time monitoring data. In the real-time monitoring data, when the execution time of one of the steps exceeds the preset threshold, an alarm is automatically sent to the relevant personnel. S400: Use historical order data, audit records, and the log data in step S100 to train a classification model, set rules or templates for automatically processing identifiable special cases, distinguish between orders that can be automatically processed and orders that require manual review through the trained classification model, and output corresponding rule templates; Historical order data refers to information about all orders processed in the past, including order content, processing time, and processing results; Audit records refer to the records of orders that require manual review and their processing results; S500: Use historical data to train the prediction model. The historical data includes the log data of S100 and the real-time monitoring data of S300. The trained prediction model is integrated into the RPA robot. When the real-time data is input, the prediction model outputs the probability of the process performance indicator of the next process having problems. The probability of problems with process performance indicators includes the probability of process bottlenecks, the probability of process execution timeouts, and the probability of errors. The probability of a process bottleneck is the probability that at least one step in the process execution process is blocked due to insufficient resources or low efficiency. The probability of process execution timeout refers to the probability value that the actual execution time of at least one step in the process exceeds the predetermined threshold time; The probability of error occurrence refers to the probability value of errors or abnormal situations occurring during process execution; Real-time data is data collected in real time by RPA robots during the executed process.

2. According to claim 1, a method for automated process mining based on RPA decomposition logs, It is characterized in that The specific contents of step S100 are as follows: S110, configure the RPA robot to record logs: configure the RPA robot to record detailed log information when executing each step; S120, store log data: ensure that the RPA robot can automatically store the log information in a centralized log file or database; S130, Data Cleaning and Standardization: Clean log files, remove invalid or duplicate data entries, and ensure that all data fields are in a consistent format.

3. According to claim 2, a method for automated process mining based on RPA decomposition logs, It is characterized in that The specific contents of step S200 are as follows: Choosing a process mining tool: Evaluate the capabilities of various process mining tools and choose the one that best suits your needs; Import log data: If necessary, convert the log data into the format required by the process mining tool and import the log data into the process mining tool; Model discovery: Select a process discovery algorithm and use the selected algorithm to automatically discover the process model; Model analysis: Compare the discovered model with the expected process model and identify differences between the models; Performance analysis: Define key performance indicators and use the performance analysis function of the process mining tool to evaluate the performance of each step and identify bottlenecks in the process through performance indicators.

4. According to claim 3, a method for automated process mining based on RPA decomposition logs, It is characterized in that The specific contents of the performance indicators are as follows: Average execution time: The average execution time of each step, expressed as follows: ; in, Indicates The execution time of each instance, Indicates the total number of instances, is the average execution time of the step; Maximum waiting time: The maximum waiting time for each step. The expression is as follows: ; in, Indicates The waiting time for each instance, The maximum waiting time for the step.

5. According to claim 4, a method for automated process mining based on RPA decomposition logs, It is characterized in that The specific contents of step S300 are as follows: S310, real-time monitoring function integration: determine the key steps that need to be monitored and implement the recording logic of the start and end time for each key step; S320, recording the current time at the beginning of each key step, and recording the current time at the completion of each key step; S330, using the average execution time and standard deviation of each key step as threshold setting based on historical data statistics; The expression for calculating the threshold is as follows: ; in, is the threshold value, is the average execution time, is the multiple of standard deviation, is the standard deviation; When the execution time of a step exceeds the threshold, an alarm is triggered; S340, communicate with suppliers to optimize interface response time and add redundant queries during peak hours to disperse request pressure.

6. According to claim 5, a method for automated process mining based on RPA decomposition logs, It is characterized in that The specific contents of step S400 are as follows: S410, collecting historical order data, log data and audit records, cleaning and preprocessing the data, and extracting relevant features from the data; S420, defining target variables, constructing training data sets, and training and evaluating the selected logistic regression model; S430. Set rules and generate rule templates at the same time, and integrate the trained classification model and rule templates into the RPA system to process orders in real time.

7. According to claim 6, a method for automated process mining based on RPA decomposition logs, It is characterized in that The expression of the logistic regression model in step S420 is as follows: ; in, is the intercept term, It is a feature The coefficient of Indicates that given a feature Cases, events Probability of occurrence.

8. According to claim 7, a method for automated process mining based on RPA decomposition logs, It is characterized in that The specific contents of step S500 are as follows: S510: extract relevant data from the data sets obtained in S100 and S200, select or construct features based on business knowledge, and remove outliers and missing values; S520: Select a prediction model according to the problem characteristics, select features, and use a training data set to train the model; The model training uses logistic regression, and the expression of logistic regression is as follows: ; in, is the probability that the output is 1 when the input x is given, is the unnormalized probability output by the model, which is a linear combination of It is calculated that, is the weight vector, is the bias term, is the base of natural logarithms; Parameter Tuning: Use cross-validation to tune model parameters to optimize performance; S530: Use an independent test dataset to verify the accuracy of the model and use performance indicators to evaluate the model, including precision, recall, and AUC-ROC; Performance indicators include the following: The expression of precision is as follows: ; in, is the accuracy, For a real example, It is a false positive example; The expression of recall is as follows: ; in, is the recall rate, is a false negative example; AUC-ROC: Represents the area under the ROC curve; S540: The trained model is embedded into the workflow of the RPA robot, and the RPA robot automatically makes predictions based on the prediction results of the model.

9. A system for automated process mining based on RPA decomposition logs, It is characterized in that The method for performing one or more steps of the method for automated process mining based on RPA decomposition logs as described in any one of claims 1 to 8 comprises: Logging and storage module: configure the RPA robot to record detailed log information and store the log information in a centralized log file or database; Process mining and analysis module: input the cleaned and standardized log data into the process mining tool, use the process mining tool to automatically discover the actual process model, and analyze it; Real-time monitoring and early warning module: The real-time monitoring part integrated in the RPA robot monitors the execution time of each key step and automatically records the start and end time of each step; Order processing automation and rule optimization module: Use historical data to train machine learning models to identify orders that can be directly processed and manually reviewed. For special products that appear frequently, pre-set rules or templates to reduce the workload of auditors; Prediction and optimization module: Use historical data to train prediction models, perform data processing and model training, and integrate the trained prediction models into the RPA robot to enable it to make predictions automatically. Continuous improvement and maintenance module: Regularly evaluate the effectiveness of improvement measures, continuously collect new log data, and update the prediction model based on the new data.

10. A storage medium, It is characterized in that Non-transitory computer-readable instructions are stored, and are used to execute one or more steps in the method for automated process mining based on RPA decomposition logs as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Process mining-based early warning event automatic diagnosis method, storage medium and equipment

    CN116227900A

  • Method and system for automatic operation of RPA robot

    CN116503016A

  • RPA process mining method and device based on event extraction

    CN117236677A

  • Information data management method based on process mining technology

    CN118279067A

  • Tool-specific alerting rules based on abnormal and normal patterns obtained from history logs

    US20200160230A1

Cited By

  • RPA security analysis method based on process mining, terminal equipment and storage medium

    CN119939577A

  • Robot process automation method based on deep learning

    CN120145005A

  • Process analysis method and device and computer storage medium

    CN120258497A