PRA process processing method, device, medium and system

By using the G6Editor editor to generate visual process templates in the RPA process designer, the problem of the lack of intuitive graphical interfaces in the existing RPA process designer is solved, and user-friendly process configuration and automated execution are achieved.

CN120029612APending Publication Date: 2025-05-23中国邮政储蓄银行股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510328712.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing RPA process designers lack an intuitive graphical operation interface, which makes user operations complicated and difficult to understand and configure automated processes.

Method used

By using the G6Editor editor to generate process templates, users can connect plugins by dragging and dropping plugins and using connection lines to form a visual process view. In response to the execution of an operation, a Python statement or JavaScript method in the generated process template is executed.

Benefits of technology

An intuitive graphical operation interface is realized, reducing the complexity and error rate of user configuration automation processes, and improving the participation and design efficiency of non-technical personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029612A_ABST
    Figure CN120029612A_ABST
Patent Text Reader

Abstract

The invention provides a PRA process processing method and device, a medium and a system. According to the method, the G6Editor editor is adopted to generate the corresponding process template in response to the received preset operation, the plug-ins in the G6Editor editor are dragged to connect the plug-ins by using the connecting line, so that the plug-ins can be viewed by a user in a visual view mode, and finally, the process template is executed in response to the received execution operation, so that the user experience is improved. According to the method, the corresponding Python statement or the corresponding JavaScript method is executed, so that the purpose of automation is achieved, and the problem that the operation of a user is complicated due to the fact that the RPA process of an existing scheme lacks a visual graphical operation interface is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of RPA process technology, and in particular to a method, device, medium and system for processing a PRA process. Background Art

[0002] RPA (Robotic Process Automation) is an automation technology that uses software robots or "robots" to perform repetitive, regular, and high-frequency business process tasks. The process designer is a tool used to design and manage these automated processes. It is usually used in forms, verification, submission and filling reuse, web pages, databases, Excel file data collection, e-commerce automation, financial and accounting task automation, customer relationship management, etc., to reduce the burden on business personnel, so that business personnel can focus on more valuable work and improve work efficiency and quality.

[0003] However, these technologies have some common shortcomings. First, traditional RPA process designers lack an intuitive graphical operation interface and usually use an interface similar to code writing, which makes users face complicated code structure and syntax, making it difficult to understand and configure automated processes. This is a huge challenge for non-technical personnel without a programming background, because they lack the ability to understand and process complex code logic, which reduces their enthusiasm and efficiency in participating in automated process design. Secondly, even for technical personnel familiar with programming, there are certain limitations in using code editors to design processes. This design method may result in unclear process logic and difficulty in intuitively displaying the execution path of the entire process, thereby increasing the possibility of errors. In addition, the process design is not flexible enough and may not be able to adapt well to changes and adjustments in business processes. Problems such as disordered order and insufficient stability are prone to occur during execution, which increases the possibility of user understanding errors and affects the accuracy and efficiency of automated processes.

[0004] That is, the RPA process of the existing solution lacks an intuitive graphical operation interface, which complicates the user's operation. Summary of the invention

[0005] The main purpose of this application is to provide a method, device, medium and system for processing a PRA process, so as to at least solve the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, thereby complicating the user's operation.

[0006] In order to achieve the above object, according to one aspect of the present application, a method for processing a PRA process is provided, the method comprising:

[0007] In response to the received preset operation, a corresponding process template is generated using the G6Editor editor, wherein the preset operation represents connecting the plug-ins in the G6Editor editor with connecting lines by dragging the plug-ins;

[0008] In response to the received execution operation, the process template is executed to execute the corresponding Python statement or the corresponding JavaScript method.

[0009] Optionally, in the process of generating a corresponding process template using the G6Editor editor in response to a received preset operation, the method also includes: connecting the corresponding plug-in using the G6Editor editor in response to a received first preset operation; and calling corresponding parameters to update the parameters of the corresponding plug-in in response to a received second preset operation.

[0010] Optionally, before using the G6Editor editor to generate a corresponding process template in response to a received preset operation, the method also includes: storing the input variables and output variables of the plug-in, and the mapping relationship between the input variables and the output variables in a variable library, and the variable library is also used to store data generated after executing each of the plug-ins.

[0011] Optionally, executing the process template includes: when the type of the current node in the process template is sequential execution, calling a corresponding NodeJS script or a corresponding Python script; when the type of the current node in the process template is a process type, determining the process type of the current node, the process type being one of the following: conditional, loop, and sub-process; and executing the process template in different ways according to the process type of the current node.

[0012] Optionally, the process template is executed in different ways according to the process type of the current node, including: when the process type of the current node is conditional, obtaining a preset conditional expression, and calling the corresponding input variable from the variable library to the preset conditional expression according to the preset conditional expression to obtain a final conditional expression, and executing the process template based on the final conditional expression; when the process type of the current node is a loop, obtaining preset array data, and generating a loop branch index and a loop branch name according to the preset array data, executing a corresponding branch code according to the loop branch index and the loop branch name, each branch code corresponds to the ID of the next node, and the ID is one-to-one corresponded by the side connection id of the loop node; when the process type of the current node is a sub-process, calling an external process and passing the input variables called from the variable library to the external process, and receiving the feedback result of the external process after the execution of the external process is completed, and executing the current node according to the feedback result.

[0013] Optionally, during the execution of the process template, the method also includes: when it is determined that an error result is generated, generating execution error information to prompt that an error occurs during the execution of the process template; when it is determined that no execution result is generated within a preset time, generating expression error information to prompt that an error occurs in the writing of the target condition expression.

[0014] Optionally, each of the plug-ins has four connection points, the connection point below the plug-in is connected to the connection point above the plug-in of the next node to be executed to characterize the main execution order of the process, and the connection points on the left and right sides of the plug-in are respectively used to connect the branch parts of the plug-in.

[0015] According to another aspect of the present application, a PRA process processing device is provided, the device comprising:

[0016] A first processing unit is used to generate a corresponding process template using a G6Editor editor in response to a received preset operation, wherein the preset operation represents connecting the plug-ins in the G6Editor editor with connecting lines by dragging the plug-ins in the G6Editor editor;

[0017] The second processing unit is used to execute the process template in response to the received execution operation to execute the corresponding Python statement or the corresponding JavaScript method.

[0018] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the processing methods of the PRA process.

[0019] According to another aspect of the present application, a processing system for a PRA process is provided, the system comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a processing method for executing any one of the PRA processes.

[0020] By applying the technical solution of the present application, the corresponding process template is generated by using the G6Editor editor in response to the received preset operation, and the plug-ins in the G6Editor editor are connected by dragging and dropping to connect the plug-ins using connecting lines, so that the user can view them in a visual view. Finally, in response to the received execution operation, the process template is executed to execute the corresponding Python statement or the corresponding JavaScript method, thereby achieving the purpose of automation, thereby solving the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, thereby complicating the user's operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0022] Figure 1 A schematic diagram of a process of a PRA process provided according to an embodiment of the present application is shown;

[0023] Figure 2 A schematic diagram showing the principle of the interaction logic of the process designer provided according to an embodiment of the present application is shown;

[0024] Figure 3 A schematic diagram showing the basic process plug-in encapsulation and process parsing principle of the process designer provided according to an embodiment of the present application is shown;

[0025] Figure 4 A schematic diagram showing the functional division of the process designer operation interface provided according to an embodiment of the present application is shown;

[0026] Figure 5 A schematic diagram showing the connection of submodules of the main operation interface page of the process designer provided according to an embodiment of the present application is shown;

[0027] Figure 6 A schematic flow chart of another PRA process processing method provided according to an embodiment of the present application is shown;

[0028] Figure 7A structural block diagram of a PRA process processing device provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0029] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] As introduced in the background technology, the traditional RPA process designer lacks an intuitive graphical operation interface and usually adopts an interface similar to code writing, which makes users face complicated code structure and syntax, and it is difficult to understand and configure the automated process. This is a huge challenge for non-technical personnel who do not have a programming background, because they lack the ability to understand and process complex code logic, which reduces their enthusiasm and efficiency in participating in the design of automated processes. Secondly, even for technical personnel familiar with programming, there are certain limitations in using a code editor to design processes. This design method may cause the process logic to be unclear and it is difficult to intuitively display the execution path of the entire process, thereby increasing the possibility of errors. In addition, the design of the process is not flexible enough and may not be able to adapt well to changes and adjustments in business processes. Problems such as disordered order and insufficient stability are prone to occur during execution, which increases the possibility of errors in user understanding and affects the accuracy and efficiency of the automated process. In order to solve the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, thereby complicating the user's operation, the embodiments of the present application provide a processing method, device, medium and system for a PRA process.

[0033] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0034] In this embodiment, a method for processing a PRA process running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.

[0035] Figure 1 FIG. 1 is a flow chart of a processing method of a PRA process provided according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0036] Step S101, in response to the received preset operation, a corresponding process template is generated using the G6Editor editor, wherein the preset operation represents connecting the plug-ins in the G6Editor editor with connecting lines by dragging the plug-ins;

[0037] The operation interface of the process designer UI and the interaction logic between each module are as follows Figure 2 As shown in the figure, it is mainly divided into the following three parts: plug-in parameter storage module, G6Editor editing module, and executor module. The basic process plug-in packaging and process analysis principle diagram of RPA process designer are as follows Figure 3 shown.

[0038] G6Editor: G6Editor is a graph visualization engine that provides users with basic capabilities such as graph drawing, layout, analysis, interaction, and animation.

[0039] RPA: RPA (Robotic Process Automation) is a technology that uses software robots or automation tools called "robots" to perform repetitive tasks, process data, trigger system operations, and perform other transactional work. Its goal is to reduce the need for manual operations, improve efficiency, and reduce errors. RPA systems can simulate human operations on computers, such as clicking buttons, entering data, moving files, etc., to perform various tasks. These operations are usually based on predefined rules and processes and are automatically performed between various software applications, websites, and systems.

[0040] Process Designer: The process designer of RPA (Robotic Process Automation) is a tool or software component used to create and manage automated processes. It allows users to design, edit, and configure automated processes graphically without writing code. The following are the main features and functions of the RPA process designer:

[0041] Graphical interface: Process designers usually provide an intuitive graphical user interface so that users can easily drag, drop, connect and configure different operation steps.

[0042] Action Library: The Process Designer contains a variety of predefined actions or commands for performing specific tasks, such as opening an application, entering data, clicking a button, moving a file, etc.

[0043] Connectors: Connectors are provided to connect different systems, applications, and data sources so that processes can be automated across multiple systems.

[0044] Deployment and management: After completing the process design, users can deploy the automated process to the RPA platform or execution engine, and manage, monitor, and maintain it.

[0045] Among them, before using the G6Editor editor to generate the corresponding process template in response to the received preset operation, the input variables and output variables of the plug-in, as well as the mapping relationship between the above input variables and the above output variables are stored in the variable library, and the above variable library is also used to store the data generated after executing each of the above plug-ins.

[0046] Specifically, the input variables and output variables of the plug-in, as well as the mapping relationship between the input variables and the output variables, are stored in the variable library, so that the variables can be directly called later. The plug-in parameter storage module (i.e., the variable library) is responsible for storing the input and output variables of the plug-in defined by the user, and storing the data generated by the executor module.

[0047] In the process of generating a corresponding process template using the G6Editor editor in response to the received preset operation, the method further includes:

[0048] In response to the received first preset operation, connecting the corresponding plug-in using the G6Editor editor;

[0049] In response to the received second preset operation, the corresponding parameter is called to update the parameter of the corresponding plug-in.

[0050] Specifically, the first preset operation represents that the user connects the first plug-in and the second plug-in with a connecting line, and the second preset operation represents that the user triggers the update mechanism, thereby calling the corresponding parameters from the variable library to update the parameters of the corresponding plug-in. The process designer based on the G6Editor editor provides users with a clear and intuitive process design interface. Users can select the plug-ins required for the process by dragging and dropping, connect the plug-ins with connecting lines, build a complete process and generate a process execution file in JSON format. Users can also customize the input and output parameters of the plug-in and package the parameters and methods into an RPA plug-in, and save them to the plug-in parameter storage module. In offline mode, users can copy the data saved in the parameter storage module to different devices to realize the function of multi-person offline editing.

[0051] Step S102, in response to the received execution operation, execute the above process template to execute the corresponding Python statement or the corresponding JavaScript method.

[0052] After the user clicks the process start button, the executor module calls the process execution file and executes the corresponding plug-in script according to the defined process sequence. The plug-in script is usually compiled in Python or JavaScript, and reads the module method of the plug-in parameter storage module according to the node connection diagram in the process designer, and passes in the corresponding parameters in the execution file. After loading, the executor executes the corresponding Python statements and JavaScript methods one by one.

[0053] In the above steps, the corresponding process template is generated by using the G6Editor editor in response to the received preset operation, and the plug-ins in the G6Editor editor are connected by connecting lines by dragging them, so that the user can view them in a visual view. Finally, in response to the received execution operation, the above process template is executed to execute the corresponding Python statement or the corresponding JavaScript method, thereby achieving the purpose of automation, thereby solving the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, thereby complicating the user's operation.

[0054] By providing an intuitive graphical operation interface, the process is displayed in the form of graphical symbols and lines, so that the process structure is clear at a glance, and users can easily understand and configure the automated process without in-depth understanding of the complex code structure and syntax. The graphical design mode makes the complex process structure clearly visible, which helps to improve the participation of non-technical personnel and the ease of use of the design. Users can design and execute processes in an environment without a network connection, without being affected by factors such as network delays and server performance. At the same time, cross-site scripting (XSS) attacks, cross-site request forgery (CSRF) attacks, etc. can also be prevented from occurring, ensuring the security of user data and processes. Users can easily flexibly adjust and change business processes without rewriting code or performing tedious debugging work. This flexibility enables the designer to adapt to process changes and adjustments in different business environments, ensuring the order and stability of process execution. No matter how the business process changes, the RPA process designed by the present invention can be executed stably and reliably to ensure the continuity and efficiency of the business.

[0055] By abstracting the highly reusable modules in the RPA process and abstracting them into different graphic components through the graphics rendering engine G6Editor, the high reusability of the plug-in in the process is improved. At the same time, by corresponding different graphics to different plug-ins with different functions, the functionality of the plug-in is enhanced, the clutter of the process interface is reduced, and the clarity of the process interface is improved.

[0056] In one embodiment of the present application, executing the above process template includes:

[0057] When the type of the current node in the above process template is sequential execution, call the corresponding NodeJs script or the corresponding Python script;

[0058] NodeJS is a JavaScript runtime environment based on the Chrome V8 engine that can be used to develop server-side applications. NodeJS scripts are JavaScript code files written using the NodeJS environment that can be executed on the server side to complete specific tasks.

[0059] In the case where the type of the current node in the process template is a process type, determining the process type of the current node, the process type being one of the following: conditional, loop, and subprocess;

[0060] The process template is executed in different ways according to the process type of the current node.

[0061] RPA process designer packaging and parsing logic: The process designer UI mainly encapsulates nodes into process nodes and sequential execution type nodes, and organizes them into a graph type data structure through the graphical connection of nodes and arrows. After parsing the project.json file of the RPA process, the executor will first determine whether it is a process type node or a sequential execution node.

[0062] If it is a node that is executed sequentially, such as obtaining the date of the month, clicking a desktop element, reading a file, and other common nodes, enter the execution mode of the sequential execution node, obtain input from the variable library, call NodeJS or Python scripts, obtain node output and write it into the variable library.

[0063] Conditions and loops: Supports conditional and loop structures, allowing users to perform different actions or repeat certain steps based on specific conditions.

[0064] Variables and Parameters: Users can define variables and parameters to store and pass data for use and manipulation during process execution.

[0065] In one embodiment of the present application, the process template is executed in different ways according to the process type of the current node, including:

[0066] In the case where the process type of the current node is a condition, a preset conditional expression is obtained, and the corresponding input variable is called from the variable library to the preset conditional expression according to the preset conditional expression to obtain a final conditional expression, and the process template is executed based on the final conditional expression;

[0067] When the process type of the current node is a loop, obtain preset array data, generate a loop branch index and a loop branch name according to the preset array data, execute corresponding branch codes according to the loop branch index and the loop branch name, each of the branch codes corresponds to the ID of the next node, and the IDs correspond one by one to the side connection IDs of the loop nodes;

[0068] When the process type of the current node is a sub-process, an external process is called and the input variables called from the variable library are passed to the external process. After the external process is executed, the feedback result of the external process is received, and the current node is executed according to the feedback result.

[0069] Specifically, if it is a process type node, such as a condition, loop, etc., the executor will enter different execution modes according to the node type and enter the call of the relevant execution branch. The node types mainly include the following: condition, loop, wait, For number loop, sub-process, etc.

[0070] In the conditional node, the user needs to define the conditional expression, and the executor parses the conditional expression to determine the node to be called in the next step of the process. The result of the conditional expression will be bound to the connection ID of the process designer one by one. When the conditional node executes and obtains different results, the next node of the conditional branch is found according to the connection ID bound to the result.

[0071] In the loop node, the user needs to define an array data, and the executor calls the array data to generate the loop branch index and loop branch name, and enters the loop body. The ID of the next node corresponding to the branch of the loop body is one-to-one corresponded by the side connection ID of the loop node. After the loop body is executed, the next main node corresponding to the loop node is returned.

[0072] The sub-process node can associate the current process with other external processes. By selecting the project name and passing in parameters in the current sub-process node, other processes can be called in the current process. When the process is executed to the sub-process node, different sub-processes can be reused and executed independently by passing parameters.

[0073] In one embodiment of the present application, during the execution of the above process template, the above method further includes:

[0074] In the case of determining that an error result is generated, generating execution error information to prompt that an error occurs during the execution of the above process template;

[0075] When it is determined that no execution result is generated within the preset time, an expression error message is generated to prompt that an error occurs in the writing of the target conditional expression.

[0076] Specifically, in the case of determining that an error result is generated, it is determined that an error occurs during the execution of the above process template, such as Figure 4 As shown, it is necessary to Figure 4 The execution error information is displayed in the running log in the process template to indicate that an error occurred during the execution of the above process template; similarly, if the execution result is not generated within the preset time, it is determined that an error has occurred in the writing of the target condition expression. Figure 4 The expression error message is displayed in the running log to prompt that an error occurs in the writing of the target condition expression.

[0077] In one embodiment of the present application, Figure 5 As shown, each of the above plug-ins has four connection points. The connection point below the plug-in is connected to the connection point above the plug-in of the next node to be executed to represent the main execution order of the process. The connection points on the left and right sides of the plug-in are used to connect the branch parts of the plug-in. In the conditional plug-in, the left and right nodes are respectively connected to different plug-in modules executed when different conditional expressions are met. The result of the conditional expression is bound to the connection id of the process designer. In the loop body plug-in, the left and right connection points connect the loop body content. When the loop body is executed, the next plug-in module connected below the loop plug-in is executed.

[0078] This application applies the dynamic packaging technology of plug-ins to the RPA process designer, aiming to enable users to package various functional modules into plug-ins according to actual needs, thereby providing a high degree of customization and flexibility. This makes the RPA process designer more adaptable and scalable to meet the needs of different business scenarios. At the same time, the dynamic packaging of plug-ins also facilitates future functional updates and expansions. The use of visual drag-and-drop process editing technology and flowchart data structure method aims to make the design of the process more intuitive and clear, lower the technical threshold, increase the possibility of non-technical personnel participating in process design, and improve the ease of use and accessibility of the design. Users can quickly build and edit automated processes through simple drag-and-drop operations, thereby improving work efficiency and productivity. The RPA designer interface is presented in the form of an intuitive flowchart, aiming to improve the ease of use of the system and the stability of process packaging, so that users can intuitively understand and edit the process, thereby reducing the complexity and error rate of operations, and thus improving the reliability and stability of the system. At the same time, the intuitive flowchart interface also provides a clearer visual representation for process packaging, making the packaged process easier to understand and manage.

[0079] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the processing method of the PRA process of the present application will be described in detail below in combination with specific embodiments.

[0080] This embodiment relates to a specific method for processing a PRA process, such as Figure 6 As shown, including:

[0081] The input variables and output variables of the plug-in, as well as the mapping relationship between the input variables and the output variables, are stored in the variable library. The variable library is also used to store the data generated after executing each plug-in;

[0082] In response to the received preset operation, a corresponding process template is generated using the G6Editor editor, where the preset operation represents connecting the plug-ins in the G6Editor editor by dragging and dropping the plug-ins to use connecting lines;

[0083] Specifically, in the process of generating the corresponding process template using the G6Editor editor in response to the received preset operation, the corresponding plug-in is connected using the G6Editor editor in response to the received first preset operation; and the corresponding parameters are called in response to the received second preset operation to update the parameters of the corresponding plug-in.

[0084] In response to the received execution operation, when the type of the current node in the process template is sequential execution, calling the corresponding NodeJS script or the corresponding Python script;

[0085] In response to the received execution operation, if the type of the current node in the process template is a process type, determining the process type of the current node, the process type being one of the following: conditional, loop, and subprocess;

[0086] Execute the process template in different ways according to the process type of the current node;

[0087] Specifically, when the process type of the current node is conditional, a preset conditional expression is obtained, and the corresponding input variables are called from the variable library to the preset conditional expression according to the preset conditional expression to obtain the final conditional expression, and the process template is executed based on the final conditional expression; when the process type of the current node is a loop, the preset array data is obtained, and the loop branch index and loop branch name are generated according to the preset array data, and the corresponding branch code is executed according to the loop branch index and the loop branch name. Each branch code corresponds to the ID of the next node, and the ID is one-to-one corresponded by the side connection id of the loop node; when the process type of the current node is a sub-process, an external process is called and the input variables called from the variable library are passed to the external process, and the feedback result of the external process is received after the execution of the external process is completed, and the current node is executed according to the feedback result.

[0088] In the case of determining that an error result is generated, generating execution error information to prompt that an error occurs during the execution of the process template;

[0089] When it is determined that no execution result is generated within the preset time, an expression error message is generated to prompt that an error occurs in the writing of the target conditional expression.

[0090] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0091] The embodiment of the present application also provides a processing device for a PRA process. It should be noted that the processing device for the PRA process of the embodiment of the present application can be used to execute the processing method for the PRA process provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0092] The following is an introduction to the processing device of the PRA process provided in the embodiment of the present application.

[0093] Figure 7 is a structural block diagram of a processing device for a PRA process provided according to an embodiment of the present application. Figure 7 As shown, the device comprises:

[0094] A first processing unit 71 is configured to generate a corresponding process template using a G6Editor editor in response to a received preset operation, wherein the preset operation represents connecting the plug-ins in the G6Editor editor with connecting lines by dragging the plug-ins;

[0095] The second processing unit 72 is used to execute the above process template in response to the received execution operation to execute the corresponding Python statement or the corresponding JavaScript method.

[0096] In the above-mentioned device, by responding to the received preset operation, the G6Editor editor is used to generate the corresponding process template, and the plug-ins in the G6Editor editor are connected by connecting lines by dragging them, so that the user can view them in a visual view. Finally, in response to the received execution operation, the above-mentioned process template is executed to execute the corresponding Python statement or the corresponding JavaScript method, thereby achieving the purpose of automation, thereby solving the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, thereby complicating the user's operation.

[0097] In one embodiment of the present application, the first processing unit includes a first processing module and a second processing module. The first processing module is used to connect the corresponding plug-in using the G6Editor editor in response to the received first preset operation in the process of generating the corresponding process template using the G6Editor editor in response to the received first preset operation; the second processing module is used to call the corresponding parameters in response to the received second preset operation to update the parameters of the corresponding plug-in.

[0098] In one embodiment of the present application, the first processing unit includes a third processing module, which is used to store the input variables and output variables of the plug-in, as well as the mapping relationship between the above input variables and the above output variables in a variable library before using the G6Editor editor to generate a corresponding process template in response to a received preset operation. The above variable library is also used to store data generated after executing each of the above plug-ins.

[0099] In one embodiment of the present application, the second processing unit includes a fourth processing module, a fifth processing module and a sixth processing module. The fourth processing module is used to call the corresponding NodeJS script or the corresponding Python script when the type of the current node in the above process template is sequential execution; the fifth processing module is used to determine the process type of the above current node when the type of the above current node in the above process template is a process type, and the above process type is one of the following: conditional, loop and sub-process; the sixth processing module is used to execute the above process template in different ways according to the process type of the above current node.

[0100] In one embodiment of the present application, the sixth processing module includes a first processing submodule, a second processing submodule and a third processing submodule, the first processing submodule is used to obtain a preset conditional expression when the process type of the above-mentioned current node is a condition, and call the corresponding input variable from the above-mentioned variable library to the above-mentioned preset conditional expression according to the above-mentioned preset conditional expression to obtain the final conditional expression, and execute the above-mentioned process template based on the above-mentioned final conditional expression; the second processing submodule is used to obtain preset array data when the process type of the above-mentioned current node is a loop, and generate a loop branch index and a loop branch name according to the above-mentioned preset array data, and execute the corresponding branch code according to the above-mentioned loop branch index and the loop branch name, each of the above-mentioned branch codes corresponds to the ID of the next node, and the above-mentioned ID is one-to-one corresponded by the side connection id of the loop node; the third processing submodule is used to call an external process and pass the input variables called from the above-mentioned variable library to the above-mentioned external process when the process type of the above-mentioned current node is a sub-process, and receive the feedback result of the above-mentioned external process after the execution of the above-mentioned external process is completed, and execute the above-mentioned current node according to the above-mentioned feedback result.

[0101] In one embodiment of the present application, the second processing unit includes a first generation module and a second generation module. During the execution of the above-mentioned process template, the first generation module is used to generate execution error information when it is determined that an error result is generated, so as to prompt that an error occurs during the execution of the above-mentioned process template; the second generation module is used to generate expression error information when it is determined that no execution result is generated within a preset time, so as to prompt that an error occurs in the writing of the target conditional expression.

[0102] In one embodiment of the present application, each of the above-mentioned plug-ins has four connection points respectively, and the connection point below the above-mentioned plug-in is connected to the connection point above the plug-in of the next node to be executed to characterize the main execution order of the process, and the connection points on the left and right sides of the above-mentioned plug-in are respectively used to connect the branch parts of the above-mentioned plug-in.

[0103] The processing device of the above-mentioned PRA process includes a processor and a memory. The above-mentioned first processing unit and the second processing unit are stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in any combination.

[0104] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, which complicates the user's operation.

[0105] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0106] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, a device where the computer-readable storage medium is located is controlled to execute a processing method of the PRA process.

[0107] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the processing method of the PRA process is executed when the program is run.

[0108] The embodiment of the present invention provides a device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements at least the following steps when executing the program: in response to a received preset operation, a corresponding process template is generated using the G6Editor editor, and the preset operation represents connecting the plug-ins in the G6Editor editor with a connecting line by dragging the plug-ins; in response to the received execution operation, the process template is executed to execute the corresponding Python statement or the corresponding JavaScript method. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.

[0109] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps: in response to a received preset operation, using the G6Editor editor to generate a corresponding process template, the above preset operation represents dragging the plug-ins in the G6Editor editor to connect the plug-ins using connecting lines; in response to a received execution operation, executing the above process template to execute the corresponding Python statement or the corresponding JavaScript method.

[0110] The present application also provides a processing system for a PRA process, the system comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a processing method for executing any of the above-mentioned PRA processes. By using the G6Editor editor to generate a corresponding process template in response to a received preset operation, it is realized that the plug-ins in the G6Editor editor are connected by dragging and dropping to connect the plug-ins with connecting lines, so that the user can view them in a visual view, and finally in response to the received execution operation, the process template is executed to execute the corresponding Python statement or the corresponding JavaScript method, so as to achieve the purpose of automation, thereby solving the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, thereby complicating the user's operation.

[0111] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0112] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0113] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0114] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0115] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0116] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0117] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0118] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0119] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0120] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0121] 1) The processing method of the PRA process of the present application generates a corresponding process template by using the G6Editor editor in response to the received preset operation, and realizes the connection between the plug-ins by dragging the plug-ins in the G6Editor editor using connecting lines, so that the user can view it in a visual view. Finally, in response to the received execution operation, the above-mentioned process template is executed to execute the corresponding Python statement or the corresponding JavaScript method, thereby achieving the purpose of automation, thereby solving the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, thereby complicating the user's operation.

[0122] 2) The processing device of the PRA process of the present application generates a corresponding process template by using the G6Editor editor in response to the received preset operation, and realizes the connection between the plug-ins by dragging the plug-ins in the G6Editor editor using connecting lines, so that the user can view it in a visual view. Finally, in response to the received execution operation, the above-mentioned process template is executed to execute the corresponding Python statement or the corresponding JavaScript method, thereby achieving the purpose of automation, thereby solving the problem that the RPA process of the existing solution lacks an intuitive graphical operation interface, thereby complicating the user's operation.

[0123] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for processing a PRA process, characterized in that: include: In response to the received preset operation, a corresponding process template is generated using the G6Editor editor, wherein the preset operation represents connecting the plug-ins in the G6Editor editor with connecting lines by dragging the plug-ins; In response to the received execution operation, the process template is executed to execute the corresponding Python statement or the corresponding JavaScript method.

2. The method according to claim 1, characterized in that In the process of generating a corresponding process template using the G6Editor editor in response to the received preset operation, the method further includes: In response to the received first preset operation, the corresponding plug-in is connected using the G6 Editor editor; in response to the received second preset operation, the corresponding parameters are called to update the parameters of the corresponding plug-in.

3. The method according to claim 1, characterized in that Before using the G6Editor editor to generate a corresponding process template in response to the received preset operation, the method further includes: The input variables and output variables of the plug-in, as well as the mapping relationship between the input variables and the output variables, are stored in a variable library. The variable library is also used to store data generated after executing each of the plug-ins.

4. The method according to claim 3, characterized in that Executing the process template includes: When the type of the current node in the process template is sequential execution, calling the corresponding NodeJS script or the corresponding Python script; In the case where the type of the current node in the process template is a process type, determining the process type of the current node, the process type being one of the following: conditional, loop, and subprocess; The process template is executed in different ways according to the process type of the current node.

5. The method according to claim 4, characterized in that The process template is executed in different ways according to the process type of the current node, including: In the case where the process type of the current node is conditional, a preset conditional expression is obtained, and corresponding input variables are called from the variable library to the preset conditional expression according to the preset conditional expression to obtain a final conditional expression, and the process template is executed based on the final conditional expression; When the process type of the current node is a loop, obtain preset array data, generate a loop branch index and a loop branch name according to the preset array data, execute corresponding branch codes according to the loop branch index and the loop branch name, each of the branch codes corresponds to the ID of the next node, and the ID corresponds to the side connection ID of the loop node one by one; When the process type of the current node is a sub-process, an external process is called and the input variables called from the variable library are passed to the external process, and after the external process is executed, a feedback result of the external process is received, and the current node is executed according to the feedback result.

6. The method according to any one of claims 1 to 5, characterized in that In the process of executing the process template, the method further includes: In the case of determining that an error result is generated, generating execution error information to prompt that an error occurs during the execution of the process template; When it is determined that no execution result is generated within the preset time, an expression error message is generated to prompt that an error occurs in the writing of the target conditional expression.

7. The method according to any one of claims 1 to 5, characterized in that Each of the plug-ins has four connection points. The connection point below the plug-in is connected to the connection point above the plug-in of the next node to be executed to represent the main execution order of the process. The connection points on the left and right sides of the plug-in are respectively used to connect the branch parts of the plug-in.

8. A processing device for a PRA process, characterized in that: include: A first processing unit is used to generate a corresponding process template using a G6Editor editor in response to a received preset operation, wherein the preset operation represents connecting the plug-ins in the G6Editor editor with connecting lines by dragging the plug-ins in the G6Editor editor; The second processing unit is used to execute the process template in response to the received execution operation to execute the corresponding Python statement or the corresponding JavaScript method.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the processing method of the PRA process according to any one of claims 1 to 7.

10. A PRA process processing system, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a processing method for executing the PRA process described in any one of claims 1 to 7.