CN115562629A - RPA flow representation method, system, device and storage medium - Google Patents

RPA flow representation method, system, device and storage medium Download PDF

Info

Publication number
CN115562629A
CN115562629A CN202211286336.XA CN202211286336A CN115562629A CN 115562629 A CN115562629 A CN 115562629A CN 202211286336 A CN202211286336 A CN 202211286336A CN 115562629 A CN115562629 A CN 115562629A
Authority
CN
China
Prior art keywords
flow
data
nodes
rpa
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211286336.XA
Other languages
Chinese (zh)
Inventor
林平
吴鑫
唐琦松
程伟康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai I Search Software Co ltd
Original Assignee
Shanghai I Search Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai I Search Software Co ltd filed Critical Shanghai I Search Software Co ltd
Priority to CN202211286336.XA priority Critical patent/CN115562629A/en
Publication of CN115562629A publication Critical patent/CN115562629A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a system, a device and a storage medium for representing RPA flow, belonging to the technical field of flow mining, wherein the method comprises the following steps: the method comprises the steps of obtaining a pre-designed RPA flow, wherein the RPA flow comprises a plurality of operation steps, the sequence of the operation steps and the requirements of the operation steps on data, converting all the operation steps into nodes one by one, wherein the nodes are represented by a block diagram and comprise control interfaces and data interfaces; connecting the control interfaces of all nodes according to the sequence of the operation steps to realize the execution of control flow; connecting data interfaces of all nodes according to the data requirements of all nodes to realize the sequential flow of data streams; the invention converts the operation steps into nodes and connects the nodes, represents the control flow in a flow chart form, can more flexibly carry out RPA design, realizes data flow conversion through the connecting lines between the nodes and is convenient for understanding and modifying.

Description

RPA flow representation method, system, device and storage medium
Technical Field
The invention relates to a method, a system, a device and a storage medium for RPA flow representation, belonging to the technical field of flow mining.
Background
In the prior art, an RPA (resilient Process Automation) flow is a simplified program, and often only one main flow and many sub-branches are provided, so that the RPA flow is easy to write and convenient to maintain; when the RPA flow is displayed and written, a list form is often used to list each step in the main flow line by line; if this step includes branches or sub-flows, the line becomes very complex, and is difficult to understand whether it is represented by a line or a nested box; in addition, if there is data transmission between these steps, it can only be realized through common variables, so that it is difficult to visually see the flow of data and the mutual influence between the steps, and the realization of data stream transfer is not convenient enough.
Disclosure of Invention
The invention aims to provide a method, a system, a device and a storage medium for RPA flow representation, which are used for solving the problems of complex flow representation, non-visual data flow expression, non-convenient data transfer and the like in the prior art.
In order to realize the purpose, the invention is realized by adopting the following technical scheme:
in a first aspect, the present invention provides an RPA flow representation method, including:
the method comprises the steps of obtaining a pre-designed RPA flow, wherein the RPA flow comprises a plurality of operation steps, the sequence of the operation steps and the requirements of the operation steps on data, converting all the operation steps into nodes one by one, wherein the nodes are represented by a block diagram and comprise control interfaces and data interfaces;
connecting the control interfaces of the nodes according to the sequence of the operation steps to realize the execution of the control flow;
and connecting the data interfaces of the nodes according to the data requirements of the nodes to realize the sequential circulation of the data flow.
With reference to the first aspect, further, the node further includes an attribute value for representing static content and dynamic content of the node.
With reference to the first aspect, further, the data interface includes a data input interface and a data output interface, and each node is provided with a plurality of data input interfaces and a data output interface.
With reference to the first aspect, further, the control interface includes a control input interface, a control output interface, and sub-control interfaces, and each node is provided with one control input interface, one control output interface, and a plurality of sub-control interfaces.
With reference to the first aspect, the control flow further includes a main flow and a sub-flow derived from the main flow, and when the control flow is executed, the sub-flow is executed according to the sequence of the main flow, and when a node of the main flow has a derived sub-flow, the sub-flow is executed, and after the sub-flow is completed, the node is returned to continue executing the main flow.
In a second aspect, the present invention further provides an RPA flow representation system, including:
a node generation module: the method comprises the steps of obtaining a pre-designed RPA flow, wherein the RPA flow comprises a plurality of operation steps, the sequence of the operation steps and the requirements of the operation steps on data, converting all the operation steps into nodes one by one, wherein the nodes are represented by a block diagram and comprise control interfaces and data interfaces;
a control flow execution module: the control interfaces are used for connecting the nodes according to the sequence of the operation steps to realize the sequential execution of the control flow;
a data stream transfer module: and the data interface is used for connecting the nodes according to the data requirements of the nodes to realize the sequential flow of the data flow.
In a third aspect, the present invention further provides an RPA flow representation apparatus, including a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method according to any one of the first aspect.
In a fourth aspect, the invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the first aspect.
Compared with the prior art, the invention has the following beneficial effects:
the RPA flow representation method, system, device and storage medium provided by the invention convert the operation steps into nodes represented by the RPA component, and the nodes are simply drawn to be connected, so that the representation of control flow and data flow can be conveniently realized; the RPA flow represented in the visual flow chart form can intuitively and clearly represent various control flows and multiple branches, can more flexibly design the RPA flow, and simultaneously simplifies the implementation process of data exchange of different RPA components and improves the stability of data exchange through data interface connection between nodes; compared with the mode of compiling the RPA flow by a list or a nested frame in the prior art, the method has the advantages that the representation mode is visual and convenient, the compiling and the modifying are easy, and the learning and the development cost of the RPA developer is greatly reduced.
Drawings
Fig. 1 is a flowchart of an RPA flow representation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a connection of an example RPA flow provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a single node and its own interface provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of a node control interface of the For loop provided by the embodiment of the present invention;
fig. 5 is a schematic diagram of a node control interface for determining IF conditions according to an embodiment of the present invention;
fig. 6 is a schematic diagram of data interface connection between two nodes according to an embodiment of the present invention.
Detailed Description
The present invention is further described with reference to the accompanying drawings, and the following examples are only for clearly illustrating the technical solutions of the present invention, and should not be taken as limiting the scope of the present invention.
Example 1
As shown in fig. 1, an RPA flow representation method provided in an embodiment of the present invention includes the following steps:
s1, acquiring an RPA flow, wherein the RPA flow represents a task which can be executed by an RPA robot and is generally executed by a plurality of steps, and each step is a basic operation, such as clicking a button and opening a file. The representation method of the RPA flow has various methods, and can be used for designing documents for the RPA requirement and also can be used for executing the code and pseudo code representation; for example, an RPA flow is represented in the form of a requirement document: the user wants to perform a plurality of search operations and save the search results in one file.
The operation steps in the RPA process are converted into nodes one by one, and the nodes are also called RPA components. Taking the above example flow as an example, a plurality of search operations are first converted into a "For loop" node, and are implemented by repeatedly executing a plurality of search sub-flows. After the multiple searches are completed, the user is notified of the completion of the execution using a message box, which is the main flow. Each search sub-process includes a number of steps: opening a webpage, finding a search button, prompting a user to input a keyword if the search button is found, clicking for searching and saving a result; if the error is not found, a message window pops up to tell the user that the execution has made an error. After all steps are converted into nodes, the RPA flow shown in fig. 2 is obtained.
Each node on the flow chart is provided with a control interface and a data interface, and as shown in fig. 3, the node of the 'setting text' is provided with a control input interface, a control output interface and a data input interface. Each node may have a control input interface and a control output interface and a plurality of sub-control interfaces. The main process is connected by using a control input interface and a control output interface, and the sub-processes are connected by using sub-control interfaces of the nodes. The data interface comprises a data input interface and a data output interface, and each node is provided with a plurality of data input interfaces and a data output interface.
Attribute values are also included in each node for representing the static and dynamic content of the RPA components. The attribute value is a key-value pair, such as "event type" = "mouse click", which means that the "event type" of the current node is "mouse click". The value corresponding to each key may be of a variety of data types, such as string, number, option. Taking the "set text" node in fig. 3 as an example, it contains attributes such as "window attribute", "target attribute", and the like, corresponding values are character strings, and belong to static content, and the "text" input by the user is also a character string type, and belong to dynamic content.
And S2, connecting the control interfaces of the nodes according to the sequence of the operation steps to realize the execution of the control flow.
The operation steps in the RPA process have an execution sequence, for example, a web page is opened first, then a button in the web page can be clicked, two nodes are created for the two operation steps respectively, and a control output interface of the node executed first is connected to a control input interface of the node executed later to obtain a control flow, that is, a connection line of the control interface represents the control flow.
When the control flow is executed, the execution is performed according to the sequence of the main flow, when a certain node in the main flow has a derivative sub-flow, the derivative sub-flow is executed, and after the execution is finished, the main flow is returned to execute the next node. In the RPA flow shown in fig. 2, there is a main flow, and there are sub-flows introduced by the "For loop" node and the "IF branch" node. The control output interface of the 'For circulation' node is connected with the control input interface of the 'message frame' node to represent the main flow; the sub-control output interface of the "For loop" node is connected with the "open browser" node to represent the sub-process, as shown in fig. 4. And after all the sub-processes of all the nodes of the For cycle are executed, returning to the main process and continuously executing the nodes of the message frame. The "IF branch" node contains two sub-processes, one sub-process being executed when the location element is successful and the other sub-process being executed when the location element is failed, as shown in fig. 5. Since the "IF branch" node has no next node, it is the last node of the sub-flow, and the current sub-flow ends after the execution is finished.
And S3, connecting the data interfaces of the nodes according to the data requirements of the nodes to realize the sequential circulation of the data flow.
After the control flow of the RPA flow is described by using the connecting line of the control interface, data flow between nodes can be increased, namely, the output data of the node can be used as the input data of a target node connected with the node; when the node corresponding to a certain step needs certain data, the node with the data is connected with the data interface of the node, so that the node can obtain the data needed by the node during operation.
As shown in fig. 6, the data output interface of the "input box" node is connected to the data input interface of the "set text" node, and indicates that the content input by the user in the previous step is to be transmitted as dynamic content to the "set text" node for changing the content of a certain element on the page.
After all the control interfaces and data interfaces of the nodes are connected correctly, the whole RPA process can execute all the steps in a desired manner and transfer data correctly.
Because the whole RPA flow is displayed in a diagram mode, the RPA flow can be clearly displayed on an interface no matter how many levels of nesting exist, and the RPA flow is very convenient to understand; in addition, since the data flow also has clear representation, the coordination through memory and common variables is not needed any more, and the data flow is easy to understand; such a representation can greatly reduce the learning and development costs of RPA developers.
Example 2
An RPA flow representation system provided in an embodiment of the present invention includes:
a node generation module: the method comprises the steps of obtaining a pre-designed RPA flow, wherein the RPA flow comprises a plurality of operation steps, the sequence of the operation steps and the requirements of the operation steps on data, converting all the operation steps into nodes one by one, wherein the nodes are represented by a block diagram and comprise control interfaces and data interfaces;
a control flow execution module: the control interface is used for connecting each node according to the sequence of the operation steps to realize the execution of the control flow;
a data stream transfer module: and the data interface is used for connecting the data interfaces of the nodes according to the data requirements of the nodes to realize the sequential circulation of the data flow.
Example 3
The embodiment of the invention provides an RPA flow representation device, which comprises a processor and a storage medium;
the storage medium is to store instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method of:
the method comprises the steps of obtaining a pre-designed RPA flow, wherein the RPA flow comprises a plurality of operation steps, the sequence of the operation steps and the requirements of the operation steps on data, converting all the operation steps into nodes one by one, wherein the nodes are represented by a block diagram and comprise control interfaces and data interfaces;
connecting the control interfaces of the nodes according to the sequence of the operation steps to realize the execution of the control flow;
and connecting the data interfaces of the nodes according to the data requirements of the nodes to realize the sequential flow of the data flow.
Example 4
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps of the method:
the method comprises the steps of obtaining a pre-designed RPA flow, wherein the RPA flow comprises a plurality of operation steps, the sequence of the operation steps and the requirements of the operation steps on data, converting all the operation steps into nodes one by one, wherein the nodes are represented by a block diagram and comprise control interfaces and data interfaces;
connecting the control interfaces of the nodes according to the sequence of the operation steps to realize the sequential execution of control flows;
and connecting the data interfaces of the nodes according to the data requirements of the nodes to realize the sequential flow of the data flow.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block nodes of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or party nodes, and combinations of flows and/or blocks in the flow diagrams and/or party nodes, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks of the square node.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks for the flowchart flow or flows and/or the block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block or blocks of the block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, it is possible to make various improvements and modifications without departing from the technical principle of the present invention, and those improvements and modifications should be considered as the protection scope of the present invention.

Claims (8)

1. An RPA flow representation method, comprising:
the method comprises the steps of obtaining a pre-designed RPA flow, wherein the RPA flow comprises a plurality of operation steps, the sequence of the operation steps and the requirements of the operation steps on data, converting all the operation steps into nodes one by one, wherein the nodes are represented by a block diagram and comprise control interfaces and data interfaces;
connecting the control interfaces of the nodes according to the sequence of the operation steps to realize the execution of the control flow;
and connecting the data interfaces of the nodes according to the data requirements of the nodes to realize the transmission of the data stream.
2. The RPA flow representation method of claim 1, wherein the node further comprises attribute values for representing static and dynamic attributes of the node.
3. The RPA flow representation method according to claim 1, wherein the data interface comprises a data input interface and a data output interface, and each node is provided with a plurality of data input interfaces and a data output interface.
4. The RPA flow representation method according to claim 1, wherein the control interface comprises a control input interface, a control output interface and sub-control interfaces, and each node is provided with a control input interface and a control output interface and a plurality of sub-control interfaces.
5. The RPA flow representation method according to claim 1, wherein the control flow includes a main flow and sub-flows derived from the main flow, and when the control flow is executed, the sub-flows are executed according to an order of the main flow, and when there is a sub-flow derived from a node of the main flow, the sub-flow is executed, and after the sub-flow is completed, the node is returned to continue the main flow.
6. An RPA flow representation system, comprising:
a node generation module: the RPA processing method comprises the steps of acquiring a pre-designed RPA flow, converting all operation steps into nodes one by one, wherein the RPA flow comprises a plurality of operation steps, the sequence of the operation steps and the requirements of the operation steps on data, and the nodes are represented by a block diagram and comprise control interfaces and data interfaces;
a control flow execution module: the control interface is used for connecting each node according to the sequence of the operation steps to realize the execution of the control flow;
a data stream transfer module: and the data interface is used for connecting the data interfaces of the nodes according to the data requirements of the nodes to realize the sequential circulation of the data flow.
7. An RPA flow representation apparatus comprising a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is configured to operate according to the instructions to perform the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202211286336.XA 2022-10-20 2022-10-20 RPA flow representation method, system, device and storage medium Pending CN115562629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211286336.XA CN115562629A (en) 2022-10-20 2022-10-20 RPA flow representation method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211286336.XA CN115562629A (en) 2022-10-20 2022-10-20 RPA flow representation method, system, device and storage medium

Publications (1)

Publication Number Publication Date
CN115562629A true CN115562629A (en) 2023-01-03

Family

ID=84767307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211286336.XA Pending CN115562629A (en) 2022-10-20 2022-10-20 RPA flow representation method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN115562629A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878081A (en) * 2023-02-23 2023-03-31 安徽思高智能科技有限公司 High-value RPA demand analysis system based on process discovery
CN115983221A (en) * 2023-03-17 2023-04-18 杭州实在智能科技有限公司 Visual RPA table operation recording and automatic execution method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878081A (en) * 2023-02-23 2023-03-31 安徽思高智能科技有限公司 High-value RPA demand analysis system based on process discovery
CN115878081B (en) * 2023-02-23 2023-05-16 安徽思高智能科技有限公司 High-value RPA demand analysis system based on flow discovery
CN115983221A (en) * 2023-03-17 2023-04-18 杭州实在智能科技有限公司 Visual RPA table operation recording and automatic execution method and system

Similar Documents

Publication Publication Date Title
CN115562629A (en) RPA flow representation method, system, device and storage medium
JP5381710B2 (en) Nondeterministic finite automaton generation system, method and program without ε transition
US11106437B2 (en) Lookup table optimization for programming languages that target synchronous digital circuits
JP5123291B2 (en) Generic interface for deep embedding of expression trees in programming languages
CN106648662B (en) Report generation device and method based on project cost calculation description language BCL
EP3113020A1 (en) Data processing device and method for processing serial tasks
JPWO2013191275A1 (en) Control device
CN113378091B (en) Visualized item generation method and device, electronic equipment and storage medium
JP2007511834A (en) Method and system for reversible design tree transformation
CN109145055A (en) A kind of method of data synchronization and system based on Flink
WO2012112979A2 (en) Data-programming environment
CN110941655B (en) Data format conversion method and device
CN102929853A (en) DCS (Data Communication System) project data generating system and method based on Excel sheet association
WO2022231788A1 (en) Code injection from natural language derived intent
JP7059757B2 (en) API processing method, terminal, API processing program
Changjing et al. Nonlinear program construction and verification method based on partition recursion and Morgan's refinement rules
Nair et al. Interactive Exploration of Compact Sequence Diagrams-JIVE based approaches
CN109117124A (en) A kind of function programming method of more return values
JPWO2005029323A1 (en) Software generation method
CN112825031B (en) Process description method and device based on JSON format
Liu et al. Sufficient and necessary condition to decide compatibility for a class of interorganizational workflow nets
CN117608568B (en) Configuration interface generation method, device, equipment and storage medium
CN110298062B (en) Automatic layout method of Simulink
Gurdeep Singh et al. GraphRedex: Look at your research
BÎTCĂ et al. Image manipulation DSL

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination