CN116820811B - RPA component variable rapid deriving and assigning method and system based on shear plate - Google Patents

RPA component variable rapid deriving and assigning method and system based on shear plate Download PDF

Info

Publication number
CN116820811B
CN116820811B CN202311097040.8A CN202311097040A CN116820811B CN 116820811 B CN116820811 B CN 116820811B CN 202311097040 A CN202311097040 A CN 202311097040A CN 116820811 B CN116820811 B CN 116820811B
Authority
CN
China
Prior art keywords
rpa
variable
shear plate
component
designer
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.)
Active
Application number
CN202311097040.8A
Other languages
Chinese (zh)
Other versions
CN116820811A (en
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.)
Hangzhou Real Intelligence Technology Co ltd
Original Assignee
Hangzhou Real Intelligence Technology 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 Hangzhou Real Intelligence Technology Co ltd filed Critical Hangzhou Real Intelligence Technology Co ltd
Priority to CN202311097040.8A priority Critical patent/CN116820811B/en
Publication of CN116820811A publication Critical patent/CN116820811A/en
Application granted granted Critical
Publication of CN116820811B publication Critical patent/CN116820811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention belongs to the technical field of RPA, and particularly relates to a quick derivation and assignment method and a quick derivation and assignment system for RPA component variables based on a shear plate. The method comprises the following steps: s1, traversing all RPA components in an RPA designer flow to obtain component variable information, and generating an RPA shear plate variable configuration text; copying the RPA shear plate variable configuration text to the shear plate by a user, and entering an RPA designer to trigger a shear plate variable assignment function; s2, acquiring the contents of the clipboard in the background of the RPA designer, judging whether the contents of the clipboard meet the configuration text format of the variable of the RPA clipboard, if so, traversing the variable in the current editing process in the RPA designer by the background of the RPA designer, and assigning values according to a one-to-one mode of names. The method and the device have the characteristics of reducing the operation of assignment by using the graphical interface by a user, further improving the operation efficiency of a great amount of assignment by the user and solving the problems of difficult multiplexing and difficult migration of variable data.

Description

RPA component variable rapid deriving and assigning method and system based on shear plate
Technical Field
The invention belongs to the technical field of RPA, and particularly relates to a quick derivation and assignment method and a quick derivation and assignment system for RPA component variables based on a shear plate.
Background
The RPA (Robotic Process Automation, robot process automation) technology is a process automation technology, and can design and configure a business operation process capable of being automatically executed through a process editor provided by RPA software, package the business operation process into a form of a software robot or a virtual robot, deploy the form to a production environment and a business system for execution, simulate a series of operations of a person on a computer, and have three core functions of process discovery, process design and process execution. First, an automation flow is discovered, then automation steps are designed according to the flow, and finally the RPA system executes the automation flows.
RPA designer, a tool or software application within the RPA technology field that is dedicated to visual process design, is used to create, design, and edit RPA processes and tasks. It provides visual interfaces and functions that enable a user to graphically define and configure the execution logic and steps of an automation task.
RPA (Robotic Process Automation) flow refers to a series of steps that automatically perform specific tasks and operations with a robot, typically by configuration and assembly of components by a user within an RPA designer.
RPA (Robotic Process Automation) are basic elements and functional modules that constitute the RPA flow. These components may be created, configured, and combined by the RPA designer for enabling execution of automated tasks.
However, in the RPA process development, a user often needs to perform assignment operation on a large number of variables, and the current method of assigning input variables is to operate a graphical interface of an RPA tool, manually fill in variable names and values into global variables, and then reference the variables in a process component or directly fill in the variables in the process component.
The above approach has the following disadvantages:
1. operating a large number of assignments within the graphical interface (RPA designer) of the RPA tool is inefficient;
2. variable data is not easy to multiplex;
3. variable data is bound with the flow, so that the variable data is not easy to migrate;
when a user develops a process with a large number of assignment operations or needs to reuse variable data, these disadvantages affect the efficiency of the user developing RPA process, for example, when the version of the RPA tool is incompatible in the RPA process, the developed process cannot be directly reused, the user is required to assign the variables again, and this repeated operation wastes a large amount of time
Therefore, it is very important to design a method and a system for quickly deriving and assigning variables of RPA components based on a shear plate, which can reduce the operation of assigning values by a user through a graphical interface, further improve the operation efficiency of assigning values by a large amount of users, and solve the problems of difficult multiplexing and difficult migration of variable data.
Disclosure of Invention
The invention provides a quick deriving and assigning method and a quick deriving and assigning system for RPA component variables based on a shear plate, which can reduce the operation of assigning by a user by using a graphical interface, further improve the operation efficiency of performing a large number of variable assignment by the user and solve the problems of difficult multiplexing and difficult migration of variable data, aiming at solving the problems of low efficiency of batch variable assignment operation, difficult multiplexing of variable data, binding of variable data and flow and difficult migration existing in the prior art when performing the assignment operation of component variables in an RPA visual flow design tool (RPA designer).
In order to achieve the aim of the invention, the invention adopts the following technical scheme:
the quick deriving and assigning method of the RPA component variable based on the shear plate comprises the following steps of;
s1, traversing all RPA components in an RPA designer flow to obtain component variable information, and generating an RPA shear plate variable configuration text; copying the RPA shear plate variable configuration text to a shear plate by a user, and entering an RPA designer to trigger a shear plate variable assignment function;
s2, acquiring the contents of the cutting board in the background of the RPA designer, judging whether the text format of the variable configuration of the RPA cutting board in the step S1 is met, if so, traversing the variables in the current editing process in the RPA designer by the background of the RPA designer, and assigning values according to the mode of one-to-one correspondence of names.
Preferably, the step S1 includes the steps of:
s11, acquiring all RPA component information in the current RPA designer flow, taking out variable names and variable values of all RPA component variables, removing the variables with repeated names, and packaging the variable names as keys and the variable values as values into json object formats and converting the json object formats into json character strings;
s12, inserting an identification text and a line-feeding character into the head of the character string, and returning the character string inserted with the identification text and the line-feeding character as an RPA clipboard variable configuration text.
Preferably, in step S1, the format of the RPA clipboard variable configuration text is as follows:
the first line of content is an identification text and consists of English characters in a fixed format;
the second line starts with json characters in { variant_name1: value1, variant_name2: value2, &.
Preferably, in step S2, the determining whether the RPA clipboard variable configuration text format in step S1 is met specifically includes the following steps:
s21, configuring text verification rules by using RPA clipboard variables:
judging whether a first line of the contents of the clipboard is an identification text or not, and judging whether a second line of the contents is json characters in { variant_name1:value1, variant_name2:value 2;
s22, if the verification rule of the step S21 is met, notifying an RPA designer application to prompt information for a user;
s23, if the user determines to perform assignment operation, an RPA flow variable assignment interface is called to perform assignment on the RPA component variable in the RPA flow.
Preferably, the step S2 further includes the steps of:
s24, acquiring all RPA component information in the current RPA flow, storing the RPA component information into an array, traversing the RPA component information in the array by an array pointer from the 0 th element, and comparing the component variable names in the RPA component information with the variable names in the variable configuration text of the RPA shear plate; if the component variable names in the RPA component information are the same as the variable names in the RPA shear plate variable configuration text, the values in the RPA shear plate variable configuration text are taken to assign the current component variable; after the RPA component information in the whole array is modified by the circulation traversal, the modified data is stored in the RPA flow, and a modification result is returned.
Wherein, the 0 th element is the first RPA component.
Preferably, the RPA component information includes parameter entry information in the RPA component.
Preferably, in step S1, the clipboard variable assignment function is triggered by an interaction of the RPA designer entering a process editing page or opening a process.
The invention also provides a rapid deriving and assigning system of RPA component variables based on a shear plate, which comprises the following steps:
the shear plate variable export module is used for traversing all RPA components in the RPA designer flow to acquire component variable information and generating an RPA shear plate variable configuration text; copying the RPA shear plate variable configuration text to a shear plate by a user, and entering an RPA designer to trigger a shear plate variable assignment function;
and the shear plate variable assignment module is used for acquiring the contents of the shear plates in the RPA designer background, judging whether the contents of the shear plates accord with the configuration text format of the RPA shear plate variables in the shear plate variable export module, if so, traversing the variables in the current editing process in the RPA designer by the RPA designer background, and assigning according to the name one-to-one correspondence mode.
Compared with the prior art, the invention has the beneficial effects that: (1) According to the method, the 'clipboard variable assignment function' and the 'derived clipboard variable function' are added to the RPA designer, so that the method for rapidly assigning the RPA flow component variables through the clipboard text is realized, the use of a graphical interface by a user in the process of assigning the RPA component variables is effectively reduced, the efficiency of the user in the process of performing a large number of assignments is further improved, and the problems that variable data are not easy to multiplex and migrate in the process of developing the RPA flow are solved.
Drawings
FIG. 1 is a schematic flow chart of a shear plate variable derivation process according to the present invention;
FIG. 2 is a schematic flow diagram of a shear plate variable assignment process in accordance with the present invention;
fig. 3 is a flowchart of a practical application of a process of performing quick assignment of flow variables by a user operating an RPA designer after a shear plate variable assignment function is introduced into the RPA designer according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a process of obtaining variable configuration text of an RPA clipboard by an RPA user through an existing flow chart according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a process of obtaining variable configuration text of an RPA clipboard by an RPA user through a new flow provided in an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention, specific embodiments of the present invention will be described below with reference to the accompanying drawings. It is evident that the drawings in the following description are only examples of the invention, from which other drawings and other embodiments can be obtained by a person skilled in the art without inventive effort.
As shown in fig. 1 and 2, the present invention provides a quick deriving and assigning method for RPA component variables based on a shear plate, which comprises the following procedures;
deriving shear plate variable function:
1. traversing all RPA components in the RPA designer flow to obtain component variable information and generating an RPA shear plate variable configuration text; and copying the RPA clipboard variable configuration text to a clipboard by a user, and entering an RPA designer to trigger a clipboard variable assignment function.
The variable assignment function of the shear plate can be triggered in the interaction of the designer entering the flow editing page or opening the flow, specifically, the method logic for detecting the shear plate data can be added in the UI event triggered by the user opening the flow or in the business logic method of the front end entering the flow editing page, the specific implementation of the detection of the shear plate data is not repeated here, and the detection can be realized by using the open-source three-way dependence. In addition, the user can customize the variable information of the clipboard according to the same format, and the value assignment function of the variable of the clipboard can be triggered without using a derivation function.
In addition, the RPA clipboard variable configuration text format includes:
the first line is a logo text composed of fixed-format english characters (e.g.,/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -;
the second line starts with json characters in { variant_name1:value1, variant_name2:value2, &..} format
Shear plate variable assignment function:
2. and (3) acquiring the contents of the clipboard in the background of the RPA designer, judging whether the text format of the variable configuration of the RPA clipboard in the step (S1) is met, if so, traversing the variables in the current editing process in the RPA designer by the background of the RPA designer, and assigning according to the name in a one-to-one correspondence mode.
Through the functions, the use cost of the RPA designer user can be reduced, and the time for editing and developing the RPA flow by the user is reduced.
Specifically, the architecture of the derived shear-plate variable function and the shear-plate variable assignment function proposed by the present invention is shown in fig. 1 and fig. 2, and specifically includes three parts, as follows:
the RPA clipboard variable configures text verification rules: the check rule is to judge whether the first line is an identification text (such as/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -string) is) and to) and whether the second line is { variable assignment interface of the variable assignment of the process is { variable assignment of the variable of the RPA/assignment is the variable assignment interface "to assign the process to the component.
RPA flow variable assignment interface: the interface needs to acquire the flow information currently being developed by the user and can be implemented in the RPA designer.
Firstly, acquiring all component information (including parameter entering variable information in a component, wherein component variables described in the invention refer to parameter entering variables in the component) in a current flow, storing the component information into an array, traversing the component information in the array through an array pointer from an element 0 (namely a first component), comparing the component variable name in the component information with the variable name in a 'clipboard variable configuration text' (namely { variable_name 1: value1, variable_name 2: value2, & gt.) in a json character in a format of the first component, and if the component variable name is the same, assigning the current component variable by taking a value in the configuration text. After the component information in the whole array is modified by the circulation traversal, the modified data is stored in the flow, and a modification result is returned.
RPA flow variable query interface: the interface needs to acquire the flow information currently being developed by the user and can be implemented in the RPA designer.
Firstly, obtaining all component information in the current flow, taking out variable names and variable values of all component variables, removing the variable with repeated names, then taking the variable name as a key and the variable value as a value, packaging the variable name and the variable value into a json object format { variable_name 1: value1, variable_name 2: value2, &..hereof, converting the variable name and the variable value into json character strings, inserting identification texts (such as/- - - - - - - - - - - - - - -, rpa-variable- - - - - - - - - - - - - - - - - - - - - - - - -, and returning the character strings as "clipboard variable configuration texts").
The invention also provides a rapid deriving and assigning system of RPA component variables based on a shear plate, which comprises the following steps:
the shear plate variable export module is used for traversing all RPA components in the RPA designer flow to acquire component variable information and generating an RPA shear plate variable configuration text; copying the RPA shear plate variable configuration text to a shear plate by a user, and entering an RPA designer to trigger a shear plate variable assignment function;
and the shear plate variable assignment module is used for acquiring the contents of the shear plates in the RPA designer background, judging whether the contents of the shear plates accord with the configuration text format of the RPA shear plate variables in the shear plate variable export module, if so, traversing the variables in the current editing process in the RPA designer by the RPA designer background, and assigning according to the name one-to-one correspondence mode.
Fig. 3 illustrates the process of performing flow variable quick assignment by a user operating the RPA designer after introducing the clipboard variable assignment function into the RPA designer. Fig. 4 and 5 illustrate the process of a user operating the RPA designer to obtain RPA clipboard variable configuration text after introducing the export clipboard variable function into the RPA designer. The following is a description of embodiments of the present invention, and details of how the methods and systems of the present invention are combined with RPA software, by means of fig. 3, 4 and 5:
RPA designer shear plate variable assignment flow:
before the variable assignment flow process of the RPA designer shear plate is realized, the preconditions are added, and the preconditions comprise:
realizing a shear plate content identification and verification method and an RPA flow variable automatic assignment method in an RPA designer application so as to further realize an RPA designer shear plate variable assignment flow;
the clipboard content identification verification method implements logic and combines with the RPA designer application.
Calls to the clipboard content identification verification method are added at the open flow function logic within the RPA designer application.
The implementation logic of the shear plate content identification and verification method is as follows:
1. acquiring text content stored in a current shear plate of a user operating system by calling a related interface of a system bottom layer shear plate; the text content exemplified in this embodiment is as follows:
/------rpa-variant------/
{ "BrowservType": "360", "logInfo": "test log", "tips": [ { "name": "title" }, { "name": "url" } ] }
browserType, logInfo, props in the text is the variable name, 360, test log, [ { "name": "title" }, { "name": "url" } ] is the variable value.
2. Character format matching is carried out on the text content, if the text check rule of the RPA shear plate variable configuration is met, a designer carries out popup to prompt a user whether to carry out quick assignment or not; if the user clicks yes, the text content passing through the check rule is used as an entry to be transmitted to the RPA flow variable automatic assignment method.
Furthermore, the automatic assignment method of the RPA flow variable realizes logic and an application combination mode with the RPA designer, and is specifically as follows:
when the user clicks to confirm to carry out quick assignment, the RPA flow variable automatic assignment method is continuously called, the { "brown Type": "360", "logInfo": "test log", "tips": [ { "name": title "}, {" name ": url" } ] } json data content starting from the second row in the input text content is taken out, all components in the RPA flow opened by the current user are traversed circularly, the input parameter name of the component is obtained, the variable name is compared with the variable_name value in the json data, and if the variable name is the same, the variable value of the component is replaced with the value (namely, the variable value 360, the test log, [ { "name": title "}, {" name ": url" }) corresponding to the variable_name.
In summary, in the RPA designer shear plate variable assignment flow shown in fig. 3, regarding a portion of the RPA designer background, a description of the RPA designer shear plate variable assignment flow according to the present invention after adding a shear plate content identification verification method and an RPA flow variable automatic assignment method in the RPA designer application is actually provided.
The RPA designer shear plate variable assignment flow shown in fig. 3 is specifically as follows:
and 1, the RPA designer user obtains the RPA clipboard variable configuration text by obtaining the RPA clipboard variable configuration text flow.
RPA designer user manually copies RPA clipboard variable configuration text to the clipboard using ctrl+c.
And 3, opening the RPA designer application by the RPA designer user, opening the RPA flow needing to be operated, and entering a flow editing page.
4. Step 3 triggers the logic of the method for identifying and checking the contents of the clipboard (step 4-step 8 is the logic of the method for identifying and checking the contents of the clipboard, wherein the specific transformation method in the RPA designer refers to the description of the logic for identifying and checking the contents of the clipboard and the mode part combined with the application of the RPA designer in the precondition description of the variable assignment flow of the clipboard of the RPA designer), and the interior of the RPA designer acquires the text contents stored in the current clipboard of the user operating system by calling the related interface of the clipboard of the bottom layer of the system.
5. Executing the first step of configuring text check rules by the RPA clipboard variable, and identifying whether the first line in the text content acquired in the step 4 is the identification text (for example/- - - - - - - - - - - - - - - - - - - - - - - -, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -, - - -RPA-variable- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -track); if yes, go on to step 6, otherwise go to step 15.
6. Judging whether the second line in the text content obtained in the step 4 is object data in json format; if yes, go to step 7, otherwise, go to step 15.
The UI interface of the RPA designer pops up a popup window to prompt a user whether to carry out quick assignment or not; if the user clicks yes, go on to step 8, if the user clicks otherwise, go to step 15.
8. Taking the RPA shear plate variable configuration text (namely text content acquired in the step 4) as an input call RPA flow variable assignment interface (step 9-step 13 is related logic of the RPA flow variable assignment interface, wherein the specific transformation method in the RPA designer refers to the logic for realizing the automatic assignment method of the RPA flow variable and partial content in the application combination mode of the RPA designer in the precondition description of the RPA designer shear plate variable assignment flow
The rpa designer application obtains an array of components storing all components in the current user-opened flow, creates a pointer to the first component in the array.
10. All the entry information of the component pointed by the pointer is obtained (the component in this embodiment is essentially a string of the python method, and the entry of the python method is determined to be a variable and then is named as a variable, and is skipped if the variable is not the variable).
11. Judging whether the variable name (namely, the key name in the key value pair) in the json object at the beginning of the second line in the RPA clipboard variable configuration text (namely, the text content acquired in the step 4) has the same parameter entering information in the step 10, if so, taking out the corresponding value in the json object, and covering the value in the component (namely, replacing the parameter entering variable in the component with the corresponding variable value in the json object, and if the variable value attribute in the json object is an empty character string, skipping).
12. Judging whether the current pointer points to the last component in the flow component array, if so, continuing to execute the step 13; if not, continuing to execute the step 14;
13. and saving the component data result in the modified component array to the flow, and executing step 15.
14. The pointer is moved to the next component in the flow array, step 10 is performed.
15. The flow ends.
Secondly, acquiring an RPA shear plate variable configuration text flow:
before the RPA shear plate variable configuration text flow is obtained, adding preconditions, wherein the preconditions comprise:
and when an RPA process variable query interface is realized in the RPA designer application, an interactive button of deriving a shear-plate variable is added in a UI interactive page of the RPA designer after the RPA process is opened, so that a user clicks the button of deriving the shear-plate variable to obtain the RPA shear-plate variable configuration text of the current RPA process.
The RPA flow variable inquiry interface is realized by combining logic and an RPA designer application.
And adding an interactive button 'export clipboard variable' in a UI interactive page of the RPA designer after opening the RPA flow, and calling an RPA flow variable query interface in the RPA designer application after clicking the button by a user.
The detailed logic of the RPA flow variable query interface is as follows: firstly, all component information in the current flow is acquired, variable names and variable values of all component variables are taken out, the variable with repeated names is removed, then the variable names are used as keys, the variable values are used as values, the values are packaged into json object formats { variant_name1: value1, variant_name2: value2,. The main..hereof is converted into json character strings, and identification texts (such as/- - - - - - - - - - - - - - - - - - - - -, rpa-variant- - - - - - - - - - - - - - - - - - - -, and line-change characters) are inserted into the heads of the character strings, and the character strings are returned as "clipboard variable configuration texts".
The character string finally obtained is specifically as follows:
/------rpa-variant------/
{ "BrowservType": "360", "logInfo": "test log", "tips": [ { "name": "title" }, { "name": "url" } ] }
browserType, logInfo, props in the text is the variable name, 360, test log, [ { "name": "title" }, { "name": "url" } ] is the variable value.
The text content is not changed in the process of realizing the invention, is in a fixed format, is generated according to the format when being generated, is checked according to the format when being analyzed, and the data read from the second line is analyzed as json character strings.
In summary, the contents shown in fig. 4 and fig. 5 are the processes of obtaining the RPA clipboard variable configuration text by clicking the "export clipboard variable" after adding the "export clipboard variable" interactive button and implementing the RPA process variable query interface in the RPA designer application, which is different in that fig. 4 describes the logic inside the RPA designer application, and fig. 5 is used for indicating the "clipboard configuration text" as plain text content, and supporting the characteristic of manual modification of the user. The user can copy the text content obtained in the method of fig. 5 (or manually write out the variable configuration text of the RPA clipboard according to the rule) into any text editor, manually modify the change value, and copy the change value to the clipboard again after modification.
The RPA user shown in fig. 4 obtains the RPA clipboard variable configuration text process through the existing flow, which is specifically as follows:
the RPA designer user opens the RPA designer application.
2. And opening the RPA flow needing to be operated by the user, and entering a flow editing page.
3. Clicking on the "export clipboard variable" button within the flow edit page of the RPA designer (the method implemented in connection with the RPA designer application refers to the premise description of obtaining RPA clipboard variable configuration text flow).
And 4, triggering the RPA flow variable query interface calling logic by the RPA designer in the background, wherein the steps 5 to 6 are the RPA flow variable query interface logic.
5. Firstly, acquiring all component information in the current flow, taking out variable names and variable values of all component variables, removing the variables with repeated names, then taking the variable names as keys, and encapsulating the variable values as key value pairs of values (if the variable values are not replaced by empty character strings) into json object formats { variant_name1: value1, variant_name2: value2, & gt.
6. The character string head obtained in step 5 is inserted with the identification text/- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -, and a line feed, and this character string is returned as the "clipboard variable configuration text" - -.
The RPA designer background calls a relevant dependency library of a shear plate of the system, and copies text contents returned by the variable query interface of the RPA flow in the step 6 into the shear plate
8. The user can obtain "clipboard variable configuration text" through ctrl+v.
The process of obtaining the variable configuration text of the RPA shear plate by the RPA user through the new flow shown in FIG. 5 is specifically as follows:
the RPA designer user opens the RPA designer application.
2. And creating an RPA flow needing to be operated, entering a flow editing page, and configuring an RPA flow component and a variable name.
3. Click the "export clipboard variable" button within the flow edit page of the RPA designer.
4. The "clipboard variable configuration text" is obtained (the specific logic principle is the same as steps 4 to 8 in the flow of fig. 4).
5. The user copies the "clipboard variable configuration text" into any text editor using ctrl+v.
6. The user manually modifies the variable value attribute in the json string.
7. Finally, a new 'clipboard variable configuration text' is obtained.
The invention provides a method and a system for realizing quick assignment and export of RPA component variables through a shear plate.
The innovation points of the invention are as follows:
1. the invention provides a new method for assigning variables of RPA flow components in batches, which is different from the conventional mode of assigning variables in a click graphic interface and can improve the RPA flow development efficiency of RPA users;
2. the invention designs a function of exporting the variable of the shear plate, so that after a user creates a process once, a variable configuration file (which can be uploaded to the cloud) can be generated for the process, and the configuration file content can be directly copied and can be used as the variable of the shear plate for quick input.
3. The invention uses the 'RPA shear plate variable configuration text' in a plain text format as a carrier of the RPA flow component variable, can improve the development efficiency of RPA flow migration, and has the advantage of cross-platform.
The foregoing is only illustrative of the preferred embodiments and principles of the present invention, and changes in specific embodiments will occur to those skilled in the art upon consideration of the teachings provided herein, and such changes are intended to be included within the scope of the invention as defined by the claims.

Claims (8)

1. The quick deriving and assigning method for the RPA component variable based on the shear plate is characterized by comprising the following steps of;
s1, traversing all RPA components in an RPA designer flow to obtain component variable information, and generating an RPA shear plate variable configuration text; copying the RPA shear plate variable configuration text to a shear plate by a user, and entering an RPA designer to trigger a shear plate variable assignment function;
s2, acquiring the contents of the cutting board in the background of the RPA designer, judging whether the text format of the variable configuration of the RPA cutting board in the step S1 is met, if so, traversing the variables in the current editing process in the RPA designer by the background of the RPA designer, and assigning values according to the mode of one-to-one correspondence of names.
2. The method for quickly deriving and assigning RPA component variables based on shear plates according to claim 1, wherein step S1 comprises the steps of:
s11, acquiring all RPA component information in the current RPA designer flow, taking out variable names and variable values of all RPA component variables, removing the variables with repeated names, and packaging the variable names as keys and the variable values as values into json object formats and converting the json object formats into json character strings;
s12, inserting an identification text and a line-feeding character into the head of the character string, and returning the character string inserted with the identification text and the line-feeding character as an RPA clipboard variable configuration text.
3. The quick deriving and assigning method for RPA component variables based on clipboard according to claim 2, wherein in step S1, the format of the RPA clipboard variable configuration text is as follows:
the first line of content is an identification text and consists of English characters in a fixed format;
the second line starts with json characters in { variant_name1: value1, variant_name2: value2, &.
4. The quick deriving and assigning method for RPA component variables based on clipboard according to claim 3, wherein in step S2, said determining whether the RPA clipboard variable configuration text format in step S1 is met comprises the steps of:
s21, configuring text verification rules by using RPA clipboard variables:
judging whether a first line of the contents of the clipboard is an identification text or not, and judging whether a second line of the contents is json characters in { variant_name1:value1, variant_name2:value 2;
s22, if the verification rule of the step S21 is met, notifying an RPA designer application to prompt information for a user;
s23, if the user determines to perform assignment operation, an RPA flow variable assignment interface is called to perform assignment on the RPA component variable in the RPA flow.
5. The method for quickly deriving and assigning RPA component variables based on shear plates according to claim 4, wherein step S2 further comprises the steps of:
s24, acquiring all RPA component information in the current RPA flow, storing the RPA component information into an array, traversing the RPA component information in the array by an array pointer from the 0 th element, and comparing the component variable names in the RPA component information with the variable names in the variable configuration text of the RPA shear plate; if the component variable names in the RPA component information are the same as the variable names in the RPA shear plate variable configuration text, the values in the RPA shear plate variable configuration text are taken to assign the current component variable; after the RPA component information in the whole array is modified by the circulation traversal, the modified data is stored in an RPA flow, and a modification result is returned;
wherein, the 0 th element is the first RPA component.
6. The method for quickly deriving and assigning RPA component variables based on a shear plate according to claim 5, wherein the RPA component information comprises parameter-in information in the RPA component.
7. The quick export and assignment method for RPA component variables based on clipboard of claim 2, wherein in step S1, the clipboard variable assignment function is triggered by an interaction of the RPA designer into a process edit page or opening a process.
8. A rapid deriving and assigning system for RPA component variables based on a shear plate for implementing the rapid deriving and assigning method for RPA component variables based on a shear plate according to any one of claims 1-7, characterized in that the rapid deriving and assigning system for RPA component variables based on a shear plate comprises:
the shear plate variable export module is used for traversing all RPA components in the RPA designer flow to acquire component variable information and generating an RPA shear plate variable configuration text; copying the RPA shear plate variable configuration text to a shear plate by a user, and entering an RPA designer to trigger a shear plate variable assignment function;
and the shear plate variable assignment module is used for acquiring the contents of the shear plates in the RPA designer background, judging whether the contents of the shear plates accord with the configuration text format of the RPA shear plate variables in the shear plate variable export module, if so, traversing the variables in the current editing process in the RPA designer by the RPA designer background, and assigning according to the name one-to-one correspondence mode.
CN202311097040.8A 2023-08-29 2023-08-29 RPA component variable rapid deriving and assigning method and system based on shear plate Active CN116820811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311097040.8A CN116820811B (en) 2023-08-29 2023-08-29 RPA component variable rapid deriving and assigning method and system based on shear plate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311097040.8A CN116820811B (en) 2023-08-29 2023-08-29 RPA component variable rapid deriving and assigning method and system based on shear plate

Publications (2)

Publication Number Publication Date
CN116820811A CN116820811A (en) 2023-09-29
CN116820811B true CN116820811B (en) 2023-11-28

Family

ID=88124365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311097040.8A Active CN116820811B (en) 2023-08-29 2023-08-29 RPA component variable rapid deriving and assigning method and system based on shear plate

Country Status (1)

Country Link
CN (1) CN116820811B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117391642A (en) * 2023-12-12 2024-01-12 杭州实在智能科技有限公司 Method and system for generating variable in RPA flow

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
CN110968509A (en) * 2019-11-25 2020-04-07 苏宁云计算有限公司 Method and system for batch customizing of variables
CN111402034A (en) * 2020-03-17 2020-07-10 深圳市卡牛信息科技有限公司 Credit auditing method, device, equipment and storage medium
CN114912426A (en) * 2022-05-19 2022-08-16 广东电网有限责任公司 Automatic batch filling method for operation order library and related device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007139088A1 (en) * 2006-05-29 2007-12-06 Kyoto University Variable deciding method, variable deciding device, program, and recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
CN110968509A (en) * 2019-11-25 2020-04-07 苏宁云计算有限公司 Method and system for batch customizing of variables
CN111402034A (en) * 2020-03-17 2020-07-10 深圳市卡牛信息科技有限公司 Credit auditing method, device, equipment and storage medium
CN114912426A (en) * 2022-05-19 2022-08-16 广东电网有限责任公司 Automatic batch filling method for operation order library and related device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ThinkTemplate模板引擎的设计;流年;;软件世界(第11期);全文 *

Also Published As

Publication number Publication date
CN116820811A (en) 2023-09-29

Similar Documents

Publication Publication Date Title
US7398514B2 (en) Test automation stack layering
US7890806B2 (en) Auto-executing tool for developing test harness files
US7689973B2 (en) Language for development of test harness files
US7702958B2 (en) Auto-recording tool for developing test harness files
CN116820811B (en) RPA component variable rapid deriving and assigning method and system based on shear plate
CN113886362A (en) Data storage system and storage method based on workflow engine and low-code platform
CN110543299A (en) Cloud computing management platform code generation method and device
CN113553035A (en) Design and construction method of universal front-end UI component library
US8473903B2 (en) Code edit apparatus and recording medium
CN115688675A (en) Method for flexibly checking and correcting circuit schematic diagram parameters on line
CN117234529A (en) Method for generating API (application program interface) based on DSL (digital subscriber line) analytic resources
CN115469849B (en) Service processing system, method, electronic equipment and storage medium
CN111597105A (en) Automatic test system and method based on LV environment
CN108132799B (en) Inter-process static program analysis information extraction method, device and equipment
CN112597037B (en) Java and Python combined automatic script development method and device
CN112181483B (en) Plasma control system software development platform and method
CN113986441A (en) Automatic testing method for man-machine interaction interface of airplane ground station software
CN114564195A (en) Secondary development method of cloud CAD platform based on B/S architecture
JPH03241439A (en) Test data preparation tool
CN106897104B (en) Program editing platform and program editing method
US20060277251A1 (en) Information processing apparatus and system development method
CN112597669B (en) Simulation test platform and working method thereof
CN112199097B (en) Installation package generation method, installation package generation device, computer equipment and storage medium
CN117573106A (en) Front-end H5 project construction method, device, equipment and storage medium
CN117819197A (en) Control method and system of automatic flow, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant