RPA task process definition system and method

By introducing fine-grained process definition and real-time monitoring system into RPA technology, the problem of insufficient transparency and low efficiency in task execution is solved, more flexible task management and optimization is achieved, and task reliability and execution efficiency are improved.

CN118567802APending Publication Date: 2024-08-30ZHONGKE MEILUO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410582653.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing RPA technology is relatively mature in task process management, but has limitations in fine-grained process definition, execution process tracking, input and output parameter recording, and data analysis, resulting in insufficient transparency, low efficiency, and poor reliability in task execution.

Method used

An RPA task process definition system is designed, including a task definition module, a process execution engine, a process recording module, a data analysis and monitoring module, which allows developers to create and manage fine-grained task processes through a user interface or API, and monitor and control in real time. Record the execution of each process and provide detailed data analysis and reports.

Benefits of technology

It improves the transparency and reliability of tasks, allows for more flexible management and optimization of RPA processes, enhances the maintainability and scalability of tasks, enables timely detection and repair of errors, and improves overall performance and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567802A
    Figure CN118567802A
Patent Text Reader

Abstract

The invention discloses an RPA task process definition system and method, and relates to the technical field of task process definition. The method comprises the following steps: a PRA task definition module is used for a developer to create and define an RPA task; the process execution engine is used for receiving the task definition information transmitted from the task definition module and executing each process; the process recording module is used for receiving execution information from the process execution engine, and recording and storing the execution information for subsequent analysis; the data analysis and monitoring module obtains the execution data from the process recording module, analyzes and monitors the execution data and generates a report; and the user interface or the API is used for providing operation and access entrances for the user. According to the method, a fine-grained process concept is introduced, so that a developer is allowed to further decompose a task into small and reusable modules; the definition of the task is more flexible, and the complex RPA task can be created and maintained more easily.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of task process definition, and in particular, relates to an RPA task process definition system and method, which solves the problems of transparency, efficiency and reliability in RPA task execution. Background Art

[0002] Robotic Process Automation (RPA) is software that runs on computers or servers. Its main function is to use software robots to simulate and perform manual operations to automate repetitive tasks and business processes. The RPA system can simulate user operations on the computer, including interface operations, data collection, document generation, document parsing and other tasks. RPA technology aims to improve work efficiency, reduce costs, and reduce errors and human intervention, including:

[0003] RPA task execution: RPA task execution refers to the process of the RPA system executing a specific business process or task. When executing an RPA task, the RPA software robot will simulate user operations according to predefined rules and processes to complete each step of the task:

[0004] Task process management: In the field of RPA, task process management refers to planning, creating, and managing the process of executing RPA tasks. This includes defining the process of tasks, specifying the order and rules of the process, and monitoring the execution of tasks.

[0005] Monitoring and reporting: Monitoring and reporting are key elements in RPA task execution. Through monitoring, you can track the execution of tasks in real time, detect errors or anomalies, and take timely measures. Reporting is used to record task completion, performance indicators, and execution history.

[0006] Task transparency and analysis: Understanding the transparency of RPA task execution and conducting performance analysis is critical to improving and optimizing tasks. This includes analyzing metrics such as task execution time, resource usage, error rates, etc. to make decisions and improvements.

[0007] Existing technical solutions are relatively mature in RPA task process management, but they have limitations in the fine-grained definition of RPA processes, tracking of execution processes, recording of input and output parameters, and data analysis. The following are some of the main features and shortcomings of existing technical solutions:

[0008] (1) Based on task process management: Most existing RPA technical solutions focus on task process management, that is, how to plan and design the overall process of RPA tasks. These solutions provide tools and platforms for creating task flow charts, setting task trigger conditions, and scheduling task execution times.

[0009] (2) Lack of fine-grained process definition: Existing technologies generally do not introduce the concept of fine-grained process definition for RPA tasks. Process definition is usually a more detailed and sophisticated way of decomposing tasks, allowing tasks to be divided into small, reusable modules, which helps to manage and optimize RPA processes more flexibly.

[0010] (3) Lack of execution process tracking: In most cases, existing technologies do not provide detailed tracking and monitoring of the RPA task execution process. This makes it difficult for developers to understand the execution status of each process, the actual progress of the task, and possible problems.

[0011] (4) Limited input and output parameter records: Existing technologies usually focus on the overall input and output of the task, but the recording and analysis of the input parameters and output results of each process is often insufficient. This makes it difficult to gain an in-depth understanding of the performance and efficiency of each process.

[0012] (5) Lack of data analysis tools: The data analysis capabilities in existing technologies are usually limited, making it difficult to conduct advanced data mining, performance optimization, and task trend analysis. This makes it difficult to discover potential optimization opportunities and problems.

[0013] (6) Limited task execution history: The task execution history records in the prior art are usually limited to the overall status and summary information of the task, but do not provide the history records of each process. This may hinder the in-depth analysis of the task execution process. Summary of the invention

[0014] The purpose of the present invention is to provide an RPA task process definition system and method, which solves the problems of insufficient transparency, low execution efficiency and reliability in the existing RPA task execution by performing fine-grained process definition and real-time monitoring based on the existing RPA technology.

[0015] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:

[0016] The present invention is an RPA task process definition system, including: an RPA task definition module, a process execution engine, a process recording module, a data analysis and monitoring module, a user interface or API and an external system, wherein the RPA task definition module is respectively connected to the process execution engine, the process recording module, the data analysis and monitoring module, the user interface or API and the external system, and is used by developers to create and define RPA tasks, receive task definition information and pass it to the process execution engine; the process execution engine is connected to the process recording module, and is used to receive the task definition information passed from the task definition module, execute each process, and pass the information to the process recording module according to the execution result; the process recording module is connected to the data analysis and monitoring module, and ... The module is connected to receive the execution information from the process execution engine, record it and store it for subsequent analysis; the data analysis and monitoring module obtains the execution data from the process recording module, analyzes, monitors and generates reports, and can provide access through the user interface or API; the user interface or API is respectively connected to the task definition module, the data analysis and monitoring module, and is used to provide users with operation and access portals; the external system is connected to the RPA task process definition system through an external interface to obtain data input data, trigger task execution, or pass output data to other systems, introducing the concept of fine-grained process definition for RPA tasks, so that tasks can be decomposed into small, reusable modules in more detail. This innovation makes the creation and management of tasks more flexible, and also helps to improve the maintainability and scalability of tasks.

[0017] As a preferred technical solution, the developer uses the RPA task definition module to create tasks through the user interface or API; in the task definition, the developer specifies the task name, process sequence, input parameters and output results of each process; after the task definition is completed, the execution plan of the task is set, including setting the execution time, execution frequency, setting manual triggering or automatic triggering according to a predetermined plan.

[0018] As a preferred technical solution, when the process execution engine triggers the execution of a task, the process execution engine receives the task definition information and starts to execute according to the predefined process sequence. Each process will simulate the user operation and execute the specific steps of the task. When executing each process, the process execution engine will collect the execution time, input parameters and output results of the process, and pass this information to the process recording module. The process execution engine monitors the execution process of the task in real time, including detailed information such as the execution time, input parameters and output results of each process. This innovation enhances the transparency of task execution, allowing developers and administrators to have a more comprehensive understanding of the status and progress of tasks.

[0019] As a preferred technical solution, the process recording module is used to receive, record and store execution information from the process execution engine; the execution information includes execution time, input parameters, output results and error logs, etc. This innovation helps to build a detailed historical record of task execution and support subsequent analysis and auditing.

[0020] As a preferred technical solution, the data analysis and monitoring module obtains data from the process recording module, monitors and analyzes the execution of tasks in real time, and generates a report; the report includes the status, performance indicators and abnormal conditions of task execution, which enables developers to manage and optimize RPA tasks more finely and intelligently, and discover potential problems and optimization opportunities.

[0021] As a preferred technical solution, the user interface or API is used for users to interact with the system. Users can create, edit, and delete tasks, view the execution status and reports of tasks, and perform data analysis.

[0022] As a preferred technical solution, the RPA task process definition system is integrated with external systems and applications to obtain input data, trigger task execution, or pass output data to other systems; by real-time monitoring of process execution, errors or abnormalities can be detected more quickly. This innovation enables the system to take timely measures to intervene and repair, reducing the risk of task failure.

[0023] The present invention is a method for defining an RPA task process, comprising the following steps:

[0024] Step S1, task definition: The developer uses the task definition module to create an RPA task through the user interface or API;

[0025] Step S2, task scheduling and triggering: After the task definition is completed, the task execution plan can be set, including the execution time and frequency; the task can be triggered manually or automatically according to the predetermined plan;

[0026] Step S3, process execution: when the task is triggered for execution, the process execution engine receives the task definition information and starts execution according to the predefined process sequence;

[0027] Step S4, process recording and storage: the process recording module is responsible for receiving the execution information from the process execution engine, and recording and storing it;

[0028] Step S5, data analysis and monitoring: the data analysis and monitoring module obtains data from the process recording module and performs real-time monitoring and analysis on the execution of the task;

[0029] Step S6, user interaction and management: the user interface or API allows users to interact with the system, to create, edit, and delete tasks, to view the status and reports of task execution, and to perform data analysis;

[0030] Step S7, external system integration: The system can also integrate with external systems and applications to obtain input data, trigger task execution, or pass output data to other systems.

[0031] The present invention has the following beneficial effects:

[0032] (1) The present invention introduces the concept of fine-grained processes, allowing developers to further decompose tasks into small, reusable modules; this makes task definition more flexible and makes it easier to create and maintain complex RPA tasks.

[0033] (2) The present invention monitors the execution process of tasks in detail through the process execution engine. The execution time, input parameters and output results of each process are recorded, so that developers can fully understand the execution status of tasks and find problems in time.

[0034] (3) The present invention provides an in-depth analysis function of task execution data through the data analysis and monitoring module. This helps to identify bottlenecks and improvement points in task execution, thereby optimizing the RPA process and improving overall performance and efficiency.

[0035] (4) In the present invention, since each process is carefully monitored, the system can detect errors or abnormal situations more quickly. This enables developers to take timely measures to intervene and repair, reducing the risk of task failure.

[0036] (5) The present invention improves the transparency of tasks by providing detailed task execution reports and performance indicators, so that developers and administrators can have a more comprehensive understanding of the status and execution of tasks.

[0037] (6) The data analysis and monitoring module of the present invention enables developers to make decisions based on data. They can develop more intelligent strategies and optimization plans based on execution history and trend analysis.

[0038] (7) The user interface or API of the present invention allows users to flexibly create, edit and manage RPA tasks. The creation and adjustment of tasks become more intuitive and operational.

[0039] (8) The present invention allows integration with external systems and applications to achieve seamless data transfer and collaborative execution. This helps to more closely integrate RPA automation processes with other business systems of the enterprise.

[0040] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0042] Figure 1 A schematic diagram of the structure of an RPA task process definition system of the present invention;

[0043] Figure 2 The present invention provides a flow chart of an RPA task process definition method. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0046] In order to make the purpose, technical solution and advantages of this application clearer, the following Figure 1 The implementation methods of the present application are described in further detail.

[0047] Before introducing the embodiments of the present application, the existing RPA task process management is first described.

[0048] Existing technical solutions are relatively mature in RPA task process management, but they have limitations in the fine-grained definition of RPA processes, tracking of execution processes, recording of input and output parameters, and data analysis. The following are some of the main features and shortcomings of existing technical solutions:

[0049] 1. Based on task process management: Most existing RPA technical solutions focus on task process management, that is, how to plan and design the overall process of RPA tasks. These solutions provide tools and platforms for creating task flow charts, setting task trigger conditions, and scheduling task execution times.

[0050] 2. Lack of fine-grained process definition: Existing technologies generally do not introduce the concept of fine-grained process definition for RPA tasks. Process definition is usually a more detailed and sophisticated way of decomposing tasks, allowing tasks to be divided into small, reusable modules, which helps to manage and optimize RPA processes more flexibly.

[0051] 3. Lack of execution process tracking: In most cases, existing technologies do not provide detailed tracking and monitoring of the RPA task execution process. This makes it difficult for developers to understand the execution status of each process, the actual progress of the task, and possible problems.

[0052] 4. Limited input and output parameter records: Existing technologies usually focus on the overall input and output of the task, but the recording and analysis of the input parameters and output results of each process are often insufficient. This makes it difficult to gain an in-depth understanding of the performance and efficiency of each process.

[0053] 5. Lack of data analysis tools: The data analysis functions in existing technologies are usually limited, making it difficult to conduct advanced data mining, performance optimization, and task trend analysis. This makes it difficult to discover potential optimization opportunities and problems.

[0054] 6. Limited task execution history: The task execution history records in the prior art are usually limited to the overall status and summary information of the task, and do not provide the history of each process. This may hinder the in-depth analysis of the task execution process.

[0055] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-2 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] Embodiment 1

[0057] See also Figure 2 As shown, the present invention is a method for defining an RPA task process, comprising:

[0058] Step 1: Task definition

[0059] Developers use the task definition module to create RPA tasks through the user interface or API. In the task definition, developers specify the name of the task, the sequence of processes, and the input parameters and output results of each process.

[0060] Step 2: Task scheduling and triggering

[0061] After the task definition is completed, you can set the task execution plan, including execution time, frequency, etc. Tasks can be triggered manually or automatically according to a predetermined plan.

[0062] Step 3: Process Execution

[0063] When a task is triggered, the process execution engine receives the task definition information and starts executing according to the predefined process sequence. Each process simulates the user's operation and executes the specific steps of the task.

[0064] When executing each process, the process execution engine collects information such as the process execution time, input parameters, and output results, and passes this information to the process recording module.

[0065] Step 4: Process Recording and Storage

[0066] The process recording module is responsible for receiving the execution information from the process execution engine, and recording and storing it, including the execution time, input parameters, output results, error logs and other detailed information of each process.

[0067] The recorded data is stored in a structured manner to facilitate subsequent analysis and retrieval.

[0068] Step 5: Data Analysis and Monitoring

[0069] The data analysis and monitoring module obtains data from the process recording module and performs real-time monitoring and analysis on the execution of tasks.

[0070] Including all process types of tasks, process operation parameters, process execution time, process execution results, process errors, etc.

[0071] Reports can be generated, including task execution status, performance indicators, abnormal conditions, etc., so that users can fully understand the status of the task.

[0072] Data mining and trend analysis can also be performed to identify potential performance optimization opportunities.

[0073] Step 6: User Interaction and Management

[0074] The user interface or API allows users to interact with the system to create, edit, and delete tasks, view the status and reports of task execution, and perform data analysis.

[0075] Users can adjust and optimize tasks based on monitoring and analysis results to improve the efficiency and reliability of RPA tasks.

[0076] Step 7: External system integration

[0077] The system can also be integrated with external systems and applications to obtain input data, trigger task execution, or pass output data to other systems to achieve automation and collaborative execution of business processes.

[0078] The key components of this specific implementation plan include the task definition module, process execution engine, process recording module, data analysis and monitoring module, user interface or API, and external system interface. These modules work together to form a comprehensive RPA task management and execution system, providing detailed control, transparent monitoring and data analysis of task execution. This helps improve the efficiency, reliability and manageability of RPA tasks.

[0079] Embodiment 2

[0080] See also Figure 1 As shown, the present invention is an RPA task process definition system, which can be used to execute the method content of Example 1 of the present invention, including: an RPA task definition module, a process execution engine, a process recording module, a data analysis and monitoring module, a user interface or API and an external system. The RPA task definition module is respectively connected to the process execution engine, the process recording module, the data analysis and monitoring module, the user interface or API and the external system, and is used by developers to create and define RPA tasks, receive task definition information and pass it to the process execution engine; the process execution engine is connected to the process recording module, and is used to receive the task definition information passed from the task definition module, execute each process, and pass the information to the process recording module according to the execution result; the process recording The recording module is connected to the data analysis and monitoring module to receive execution information from the process execution engine, record it and store it for subsequent analysis; the data analysis and monitoring module obtains execution data from the process recording module, analyzes, monitors and generates reports, and can provide access through the user interface or API; the user interface or API is connected to the task definition module and the data analysis and monitoring module respectively to provide users with operation and access portals; the external system is connected to the RPA task process definition system through an external interface to obtain data input data, trigger task execution, or pass output data to other systems, introducing the concept of fine-grained process definition for RPA tasks, so that tasks can be decomposed into small, reusable modules in more detail. This innovation makes task creation and management more flexible, and also helps to improve the maintainability and scalability of tasks.

[0081] Developers use the RPA task definition module to create tasks through the user interface or API. In the task definition, developers define the task name, process sequence, input parameters and output results of each process. After the task definition is completed, set the task execution plan, including setting the execution time, execution frequency, setting manual triggering or automatic triggering according to a predetermined plan.

[0082] When the process execution engine triggers the execution of a task, it receives the task definition information and starts to execute according to the predefined process sequence. Each process will simulate the user operation and execute the specific steps of the task. When executing each process, the process execution engine will collect the execution time, input parameters and output results of the process, and pass this information to the process recording module. The process execution engine monitors the execution process of the task in real time, including detailed information such as the execution time, input parameters and output results of each process. This innovation enhances the transparency of task execution, allowing developers and administrators to have a more comprehensive understanding of the status and progress of tasks.

[0083] The process recording module is used to receive, record and store execution information from the process execution engine; the execution information includes execution time, input parameters, output results and error logs, etc. This innovation helps to build a detailed historical record of task execution and support subsequent analysis and auditing.

[0084] The data analysis and monitoring module obtains data from the process recording module, monitors and analyzes the execution of tasks in real time, and generates reports; the reports include the status of task execution, performance indicators, and abnormal conditions, which enables developers to manage and optimize RPA tasks more finely and intelligently, and discover potential problems and optimization opportunities.

[0085] The user interface or API is used for users to interact with the system. Users can create, edit, and delete tasks, view task execution status and reports, and perform data analysis.

[0086] The RPA task process definition system integrates with external systems and applications to obtain input data, trigger task execution, or pass output data to other systems; by monitoring the execution of the process in real time, errors or abnormalities can be detected more quickly. This innovation enables the system to take timely measures to intervene and repair, reducing the risk of task failure.

[0087] Embodiment 3

[0088] The preparation of this embodiment is intended to clearly define the standard procedures for digital employee (Robotic Process Automation, RPA) tasks and provide clear operating guidelines for these procedures. Through fine-grained abstraction, decomposition and definition of RPA business processes, this document summarizes the eight core procedures: interface operation, simulated login, data collection, document filling, document writing, document parsing, process processing, and message push. When creating an RPA process, the developer must specify the process information covered and report the completion details of each process after the task is completed. This operating process ensures that the system can perform detailed statistics, analysis and management of the execution of RPA tasks, thereby improving the transparency, efficiency and reliability of task execution.

[0089] RPA process design: All RPA tasks are decomposed into eight major processes, including interface operation, simulated login, data collection, document production, document writing, document parsing, process processing, and message push. Each process includes input parameters, execution steps, and output success. RPA tasks are managed at the smallest granularity to achieve a digital twin of the real workflow.

[0090] The specific process definitions are as follows:

[0091] (1) Interface operation

[0092] The interface operation process simulates the interaction of human users and automatically performs a series of interface operations such as opening programs or web pages, clicking buttons, and entering text. This process uses RPA technology to simulate mouse and keyboard operations to complete tasks or processes.

[0093] The input parameters are as follows:

[0094] 1. Target Application / URL: The name of the application or the URL of the web page that needs to be opened and operated.

[0095] 2. Operation Steps: A detailed list of operation instructions, such as click, input, scroll, etc.

[0096] 3. Wait Time: The time you need to wait between operations to ensure that the application or web page responds.

[0097] 4. Checkpoints: Expected UI elements or data used to confirm the results of an operation.

[0098] The execution steps are as follows:

[0099] S1. Open program / navigate web page: Start the specified application or navigate to the specified web page.

[0100] S2. Wait for loading: Wait for the application or web page to finish loading.

[0101] S3. Locating controls: Use the selector to locate UI elements such as buttons and input boxes on the page.

[0102] S4. Execute operations: simulate mouse clicks, typing text, dragging controls, etc.

[0103] S5. Waiting for response: Provide time between consecutive operations so that the program can process and update the UI.

[0104] S6. Verify results: Check whether the operation produces the expected results or status.

[0105] S7, repeat steps S1-S6 until the predetermined business operation task is completed;

[0106] The output is as follows:

[0107] 1. Operation records: record the execution time, results and any exceptions of each operation.

[0108] 2. Screenshots / Logs: Screenshots or detailed logs during the operation for subsequent analysis.

[0109] 3. Success / failure mark: The success or failure status mark of each operation step.

[0110] 4. Verification report: UI element status report after the operation to confirm whether the operation is successful or not.

[0111] Things to note are as follows:

[0112] 1. Completion status: Indicates whether the entire interface operation sequence was completed successfully or encountered an error.

[0113] 2. Operation result data: If the operation involves data retrieval, provide the retrieved data.

[0114] 3. Exception notification: Generate an exception notification when an operation fails or encounters an unrecoverable error.

[0115] Through this process, RPA can complete repetitive UI interaction tasks without human intervention, improve the degree of automation of the process, reduce the possibility of errors, and improve work efficiency.

[0116] (2) Simulate login

[0117] The simulated login process is the process of simulating a human user logging into an online service or system in an RPA task. This process is mainly used to overcome the access restrictions of systems that require identity authentication, allowing the RPA software to perform tasks as a user.

[0118] The input parameters are as follows:

[0119] 1. Login type: personal login and unit login

[0120] 2. Website URL: The complete URL of the login page.

[0121] 3. Username: User login credentials.

[0122] 4. Password: User login key.

[0123] The execution steps are as follows:

[0124] S1. Open URL: The automated script navigates to the specified URL.

[0125] S2. Enter credentials: Fill in the username and password in the login form.

[0126] S3. Verification code recognition and input: If there is a verification code, the automated tool needs to recognize and input the correct verification code.

[0127] S4. Submit login request: send login information and perform login operation.

[0128] S5. Verify login status: check whether the login is successful and obtain the status information after login.

[0129] The output is as follows:

[0130] 1. Login credentials: If the login is successful, the output login credentials are used for subsequent operations.

[0131] 2. User session: Contains information about the user's login session, such as Cookies or Session ID.

[0132] 3. Login report: Summarizes the detailed information of login attempts, including the number of successes, failures and reason analysis.

[0133] Things to note are as follows:

[0134] 1. When designing RPA tasks, ensure that possible exceptions are handled, such as login failure, website response timeout, or verification code cannot be automatically resolved.

[0135] 2. For security reasons, usernames and passwords should be stored in encrypted form, and relevant information should be cleared after use to protect credentials from being leaked.

[0136] 3. You need to comply with the terms of use of the target website and avoid violating any laws or policies.

[0137] 4. Depending on the security requirements of the target system, multi-factor authentication (MFA) may need to be handled dynamically.

[0138] Automating this process helps improve the speed and efficiency of RPA task execution while reducing the possibility of manual input errors.

[0139] (3) Data collection

[0140] In the RPA process, the data collection process is responsible for automatically obtaining information from the specified data source. This process can use crawler technology to obtain data from the website, obtain data through API interface calls, or retrieve data directly from the database. After the collection is completed, the data will be stored in the corresponding database or file system in a predetermined format.

[0141] The input parameters are as follows:

[0142] 1. Data Source: The original location or interface where the data is collected, such as a web URL, API endpoint, or database connection string.

[0143] 2. Data Format: The structure in which data is stored, such as JSON, XML, CSV, or database table format.

[0144] 3. Time Range: refers specifically to the time period for which data needs to be collected. It can be a specific start and end date, or a time window relative to the current time.

[0145] 4. Data Range: Defines other restrictions on the collected data, such as a specific user ID range, region code, or other business-related dimensions.

[0146] The execution steps are as follows:

[0147] S1. Locate the data source: locate the original location of the data based on the data source information provided.

[0148] S2. Data access: Access data by writing crawler scripts, making API requests, or executing database queries.

[0149] S3. Data extraction: Extract the required information from the accessed data.

[0150] S4. Data conversion: Convert the extracted data into the required format.

[0151] S5. Data verification: Perform quality check on the collected data.

[0152] S6. Data storage: Save the final data to the designated database or data storage system.

[0153] The output is as follows:

[0154] 1. Collect data files: data files or database records saved in a specified format.

[0155] 2. Data collection report: records the details of data collection, including the number of collected records, data size, timestamp, etc.

[0156] 3. Exception log: A detailed record of any exceptions or errors generated during the data collection process.

[0157] Things to note are as follows:

[0158] 1. Ensure legality and compliance: When conducting data collection activities such as web crawlers, you must comply with relevant laws and regulations and the website's usage agreement.

[0159] 2. Data security: For sensitive data, the security of the collection, transmission and storage processes should be ensured to avoid data leakage.

[0160] 3. Error handling: Design an error handling mechanism to retry or report errors in case of collection failure.

[0161] 4. Performance optimization: Plan collection activities rationally to avoid unnecessary burden on the target server.

[0162] 5. Data update: If the data source content is updated frequently, a mechanism needs to be designed to update the data in a scheduled or triggered manner.

[0163] 6. Data verification: Ensure the accuracy and completeness of the collected data to avoid chain reactions caused by data errors.

[0164] This process helps the system to achieve business data integrity and provides basic data for subsequent data analysis, report production, etc. It is a key step in ensuring information flow and processing accuracy in RPA tasks.

[0165] (4) Fill in the document

[0166] Document filling is a key process in RPA tasks, which involves extracting data from related systems and automatically filling these data into the specified document template to generate a new document. This process is usually used in report generation, form filling, letter preparation and other scenarios.

[0167] The input parameters are as follows:

[0168] 1. Document template: The document template that needs to be filled in defines the basic structure and filling area of ​​the document.

[0169] 2. Data source: The data required to fill in the document can come from a database, API call, user input, or other documents.

[0170] 3. Fill in rules: Rules that determine how to map data in the data source to the document template, which may include data formatting, conditional logic, etc.

[0171] The execution steps are as follows:

[0172] S1. Loading template: The RPA system first loads the predefined document template.

[0173] S2. Get data: Then extract the necessary data based on the input parameters.

[0174] S3. Fill in data: Enter the data into the specified area of ​​the template according to the filling rules.

[0175] S4. Verify data: After filling is completed, perform data correctness and integrity verification.

[0176] S5. Save / output document: After verification, save the filled document or pass it to the next process.

[0177] The output is as follows:

[0178] 1. Completed document: Complete document after data filling, in Word, text, PDF and other formats.

[0179] 2. Filling log: record detailed information during the filling process, such as timestamp, success or error information, etc.

[0180] Things to note are as follows:

[0181] 1. Ensuring the accuracy of the template and the correctness of the data is the key to the success of this process.

[0182] 2. For sensitive data, compliance and security need to be considered to ensure that the data processing process meets privacy protection standards.

[0183] 3. During the automatic filling process, there should be error checking and exception handling mechanisms to deal with data quality issues or template mismatches.

[0184] 4. Regularly update and maintain document templates to ensure they remain consistent with changes in business processes.

[0185] Through this process, the speed and accuracy of document processing can be significantly improved, repetitive manual work can be reduced, and overall business efficiency can be improved.

[0186] (5) Documentation

[0187] Document writing is a process involving artificial intelligence technology in RPA tasks. It uses an artificial intelligence generation engine (AIGC) based on user-defined prompts to automatically write the documents required by users. This process can be applied to a variety of scenarios such as creative document writing, report draft generation, and article creation.

[0188] The input parameters are as follows:

[0189] 1. User Prompt: User-defined text input to guide the direction and framework of AI-generated content.

[0190] 2. AI Generation Engine: An artificial intelligence model that can generate text content based on user prompts.

[0191] The execution steps are as follows:

[0192] S1. Define prompts: Users or RPA systems define clear prompts to guide the AI ​​model to understand the subject, style, structure, and content constraints of the required documents.

[0193] S2. Configure AI engine: Configure the AI ​​generation engine according to the requirements of the document, including setting parameters such as generation length, creativity level, and use of professional terminology.

[0194] S3, AI text generation: After receiving user prompts, the AI ​​engine generates document content. This may require several iterations to ensure that the generated content meets expectations.

[0195] S4. Review and Editing: The generated document content is initially reviewed by humans or RPA systems to ensure the accuracy and logic of the content, and to make necessary editorial corrections.

[0196] S5. Format document: The generated content is typeset and formatted according to the specified document format to meet the standards and requirements of the final document.

[0197] S6. Save and output: Save or output the final reviewed and formatted document to a designated location and make a backup.

[0198] The output is as follows:

[0199] 1. Final document: The document that has been reviewed and finally revised by the user.

[0200] 2. Writing log: A log that records the document writing process, including information such as timestamp, instructions used, and data source.

[0201] Things to note are as follows:

[0202] 1. The quality of user prompts directly affects the relevance and quality of AI-generated content.

[0203] 2. The AI ​​engine may need to be adjusted and optimized according to different contexts and requirements.

[0204] 3. Ensure that AI-generated content complies with copyright regulations and avoids infringement of intellectual property rights.

[0205] 4. During the review process, attention should be paid to the accuracy of AI-generated content, and manual intervention should be used to improve document quality when necessary.

[0206] 5. Consider security and compliance, and ensure that document generation and storage processes comply with data protection laws and regulations.

[0207] Through this process, RPA can expand its capabilities to not only complete simple data filling tasks, but also perform more complex and creative document writing work, adding intelligent value to business processes.

[0208] (6) Document parsing

[0209] Document parsing is a core process of RPA tasks, which involves reading content from various documents, analyzing their structure, and extracting key information, usually in the form of key / value pairs. This process is widely used in scenarios such as contract review, invoice processing, and order confirmation. The key is to accurately extract the required data and standardize it for subsequent processing.

[0210] The input parameters are as follows:

[0211] 1. Document Source: The document that needs to be parsed, including the document path, format, and access permissions.

[0212] 2. Parsing Rules: The rules or patterns followed in parsing documents, which may include regular expressions, natural language processing algorithms, etc.

[0213] 3. Output Format: The output format of the parsing results, usually a set of key-value pairs.

[0214] The execution steps are as follows:

[0215] S1. Loading documents: Load the documents to be parsed through the RPA system to ensure document readability and format compatibility.

[0216] S2. Rule configuration: Configure parsing rules based on the information to be extracted. This may involve writing regular expressions or setting up natural language processing models.

[0217] S3. Content reading: The system reads the document content and analyzes the document structure and semantic hierarchy.

[0218] S4. Information extraction: Apply parsing rules to extract key information from documents. The extraction process needs to handle various data types, such as text, numbers, dates, etc.

[0219] S5. Key-value pair mapping: Convert the extracted information into a standardized key-value pair format to facilitate subsequent operations and analysis.

[0220] S6. Verification and correction: Verify the extracted results to ensure the accuracy and completeness of the information. Perform manual intervention and correction when necessary.

[0221] Output results: Output the standardized key-value pair data to subsequent processes, such as database entry, report generation, etc.

[0222] The output is as follows:

[0223] 1. Structured data: Convert key information in the document into a format that is easy to manage and access, such as database tables, CSV files, JSON objects, etc.

[0224] 2. Information accuracy: Ensure that the extracted key information is accurate and complies with business rules and logic.

[0225] 3. Extraction efficiency: The information extraction process should be efficient to meet the time requirements in the business process.

[0226] 4. Error logging: Any anomalies or errors found during the extraction process should be recorded for subsequent analysis and optimization.

[0227] Things to note are as follows:

[0228] 1. Document formats are diverse. Before parsing, you need to ensure that the RPA system has good compatibility with the format.

[0229] 2. The accuracy of parsing rules directly affects the quality of extracted information and should be updated regularly to adapt to changes in documents.

[0230] 3. Machine learning and natural language processing technologies can improve parsing results, but they require appropriate amounts of training data and adjustments.

[0231] 4. The processing of sensitive and private data must comply with data protection and privacy laws and regulations.

[0232] 5. The system should have an exception handling mechanism to deal with errors or non-compliance with rules that may occur during document parsing.

[0233] This step is critical to automating the document processing process, increasing efficiency and reducing the burden of manual review.

[0234] (7) Process processing

[0235] The process processing step is a key link in RPA (Robotic Process Automation), which involves automated agents accessing the office automation (OA) system within the organization to perform workflow tasks such as pre-review or approval. This step aims to improve the efficiency of the decision-making process, shorten the process cycle time, and ensure the consistency and compliance of the process.

[0236] The input parameters are as follows:

[0237] 1. Process System: The type of OA system that the process will access and operate, such as Kingdee, Fanwei, etc.

[0238] 2. Process Type: The type of process, such as reimbursement approval, leave approval, etc.

[0239] 3. Process ID: An ID number that uniquely identifies a process instance.

[0240] 4. Processing Method: The type of operation to be performed in the process, including preliminary review or formal approval.

[0241] 5. Processing Result: The final result of the process operation, including pass or fail.

[0242] The execution steps are as follows:

[0243] S1. System login: simulate the user logging into the specified process system.

[0244] S2. Process location: Track a specific process instance through the process ID.

[0245] S3. Data acquisition: Extract detailed information of relevant processes and data that require approval.

[0246] S4. Rule application: Analyze and judge process data according to preset business rules.

[0247] S5. Execute operation: Perform pre-examination or approval operation in the system and choose to pass or fail based on the analysis results.

[0248] S6. Result feedback: Enter the operation results into the system to ensure the consistency and accuracy of the data.

[0249] S7. Logging: Record the operation details of each step for auditing and subsequent analysis.

[0250] The output is as follows:

[0251] 1. Accurately access the specified process system and locate the task with a specific process ID.

[0252] 2. Automatically complete pre-examination or approval work based on preset rules and data.

[0253] 3. Update the processing results to the process system in a timely manner and ensure the correct reflection of the results.

[0254] 4. Generate an operation log, including the execution steps and final results of the process.

[0255] Things to note are as follows:

[0256] 1. Ensure that RPA scripts comply with all relevant business rules and compliance requirements.

[0257] 2. Verify that all necessary data and information are complete and valid before processing the process.

[0258] 3. For key decision nodes, design manual intervention mechanisms to handle abnormal situations.

[0259] 4. Maintain the integrity of the log to ensure that the history of process operations can be traced at any time.

[0260] Through process processing procedures, RPA can significantly improve the speed and accuracy of process execution while ensuring the compliance of business processes, freeing human resources from tedious and repetitive work.

[0261] (8) Message push

[0262] In the RPA process, the message push process refers to the automation system generating notifications or reminders based on business needs, and sending these messages to designated individuals or groups through instant messaging (IM), SMS, email and other channels. This process improves the efficiency and timeliness of information transmission.

[0263] The input parameters are as follows:

[0264] 1. Recipients: The recipient of the message, which can be the contact information of a single user or a user group.

[0265] 2. Message Content: The content of the message to be sent, usually including text, links, images and other elements.

[0266] 3. Delivery Method: The method of sending messages, including instant messaging software, SMS service, email, etc.

[0267] The execution steps are as follows:

[0268] S1. Message generation: construct message content based on business data and notification rules.

[0269] S2. Target confirmation: Determine the recipients of the message, including individuals or groups.

[0270] S3. Select channel: Choose the appropriate push method based on business needs and recipient preferences.

[0271] S4. Send message: Send message through the configured communication interface or service.

[0272] S5. Confirm delivery: Monitor the message delivery status to ensure that the information is accurately delivered to the target recipient.

[0273] S6. Logging: Record detailed information about message push, including sending time, recipient response, etc., to facilitate subsequent tracking and analysis.

[0274] The output is as follows:

[0275] 1. Generate clear and accurate message content based on business data and preset templates.

[0276] 2. Successfully send messages through the selected push method and ensure that the messages are delivered on time.

[0277] 3. Receive feedback information, such as sending status, reading confirmation, etc., to evaluate the push effect.

[0278] Things to note are as follows:

[0279] 1. When designing message content, ensure that the information is accurate and follows applicable communication protocols and standards.

[0280] 2. Ensure the privacy and security of personal information during the push process and do not leak sensitive data.

[0281] 3. Considering the recipient’s receiving capacity, control the frequency and quantity of messages appropriately.

[0282] 4. Preset error handling mechanisms, such as retry logic or backup push channels when sending fails.

[0283] The message push process plays an important role in ensuring that key information is delivered to relevant personnel in a timely manner, which is crucial to the continuity and efficiency of business processes.

[0284] The main audience of this example is project managers, RPA developers, and quality assurance teams. These professionals will use the standards in this document as a guide to ensure consistency and high quality of work during the design, development, testing, and maintenance of RPA solutions, providing strong support for the successful implementation of digital employee products.

[0285] It is worth noting that in the above system embodiment, the various units included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0286] In addition, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiments can be completed by instructing related hardware through a program, and the corresponding program can be stored in a computer-readable storage medium.

[0287] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. An RPA task process definition system, comprising an RPA task definition module, a process execution engine, a process recording module, a data analysis and monitoring module, a user interface or API and an external system, characterized in that: The PRA task definition module is respectively connected to the process execution engine, the process recording module, the data analysis and monitoring module, the user interface or API and the external system, and is used by developers to create and define RPA tasks, receive task definition information and pass it to the process execution engine; The process execution engine is connected to the process recording module, and is used to receive the task definition information transmitted from the task definition module, execute each process, and transmit the information to the process recording module according to the execution result; The process recording module is connected to the data analysis and monitoring module, and is used to receive the execution information from the process execution engine, record and store it for subsequent analysis; The data analysis and monitoring module obtains execution data from the process recording module, and analyzes, monitors and generates reports, which can be accessed through the user interface or API; The user interface or API is connected to the task definition module, the data analysis and monitoring module, respectively, to provide operation and access entry for the user; The external system is connected to the RPA task process definition system through an external interface, which is used to obtain data input data, trigger task execution, or pass output data to other systems.

2. According to claim 1, the RPA task process definition system is characterized in that: The developer uses the RPA task definition module to create tasks through the user interface or API; in the task definition, the developer specifies the task name, process sequence, input parameters and output results of each process; after the task definition is completed, the execution plan of the task is set, including setting the execution time, execution frequency, setting manual triggering or automatic triggering according to a predetermined plan.

3. According to claim 1, the RPA task process definition system is characterized in that: When the process execution engine triggers task execution, the process execution engine receives the task definition information and starts execution according to the predefined process sequence. Each process will simulate user operations and execute the specific steps of the task. When executing each process, the process execution engine will collect the execution time, input parameters and output results information of the process, and pass this information to the process recording module.

4. The RPA task process definition system according to claim 1, characterized in that: The process recording module is used to receive, record and store execution information from the process execution engine; the execution information includes execution time, input parameters, output results and error logs.

5. The RPA task process definition system according to claim 1, characterized in that: The data analysis and monitoring module obtains data from the process recording module, monitors and analyzes the execution of the task in real time, and generates a report; the report includes the status of task execution, performance indicators and abnormal conditions.

6. The RPA task process definition system according to claim 1, characterized in that: The user interface or API is used for users to interact with the system. Users can create, edit, and delete tasks, view the execution status and reports of tasks, and perform data analysis.

7. The RPA task process definition system according to claim 1, characterized in that: The RPA task process definition system is integrated with external systems and applications to obtain input data, trigger task execution, or pass output data to other systems.

8. A method for defining an RPA task process, characterized in that: The steps include: Step S1, task definition: The developer uses the task definition module to create an RPA task through the user interface or API; Step S2, task scheduling and triggering: After the task definition is completed, the task execution plan can be set, including the execution time and frequency; the task can be triggered manually or automatically according to the predetermined plan; Step S3, process execution: when the task is triggered for execution, the process execution engine receives the task definition information and starts execution according to the predefined process sequence; Step S4, process recording and storage: the process recording module is responsible for receiving the execution information from the process execution engine, and recording and storing it; Step S5, data analysis and monitoring: the data analysis and monitoring module obtains data from the process recording module and performs real-time monitoring and analysis on the execution of the task; Step S6, user interaction and management: the user interface or API allows users to interact with the system, to create, edit, and delete tasks, to view the status and reports of task execution, and to perform data analysis; Step S7, external system integration: The system can also integrate with external systems and applications to obtain input data, trigger task execution, or pass output data to other systems.