CN117992120A - Robot automation control method and system for desktop application program - Google Patents

Robot automation control method and system for desktop application program Download PDF

Info

Publication number
CN117992120A
CN117992120A CN202311698509.3A CN202311698509A CN117992120A CN 117992120 A CN117992120 A CN 117992120A CN 202311698509 A CN202311698509 A CN 202311698509A CN 117992120 A CN117992120 A CN 117992120A
Authority
CN
China
Prior art keywords
flow
application
automation
data
execution
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
CN202311698509.3A
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 Dingzan Information Technology Co ltd
Original Assignee
Shanghai Dingzan Information 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 Shanghai Dingzan Information Technology Co ltd filed Critical Shanghai Dingzan Information Technology Co ltd
Priority to CN202311698509.3A priority Critical patent/CN117992120A/en
Publication of CN117992120A publication Critical patent/CN117992120A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30094Condition code generation, e.g. Carry, Zero flag

Landscapes

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

Abstract

The invention provides a robot automation control method and a robot automation control system for a desktop application program. Characterized in that the method comprises: packaging functions and operation instructions of various platforms, and integrating instruction data; setting up an automatic operation flow in the form of a dragging flow block, and calling the flow for a plurality of times through other flows; and deleting the unnecessary automation application, and storing the deleted automation application through a recycle bin. Through element picking and packaged library and instruction components, a user can automatically control without deep programming knowledge, and learning cost and application threshold are reduced; through the packaged library and instruction components, a user can use a standardized operation flow to perform automatic control, so that the consistency and standardization of the flow are ensured.

Description

Robot automation control method and system for desktop application program
Technical Field
The invention provides a robot automation control method and a robot automation control system for a desktop application program, and belongs to the technical field of computers.
Background
Under the comprehensive background that the internal flow of enterprises is more and more complex and the working contents of staff are more and more, more enterprises are exploring automatic roads, and are exploring how staff can be liberated from unimportant works with fixed rules, high mechanization degree, high repeatability and low added value, so that more energy and creativity are put into more valuable works. Robot flow automation is a very versatile solution.
Disclosure of Invention
The invention provides a robot automation control method and a robot automation control system for a desktop application program, which are used for solving the problems that in the prior art, various platforms are operated, the operation flow is complex, and the cross-platform operation is difficult; many repetitive and mechanical tasks need to be manually operated, which causes the problems of human resource waste and high error rate and accuracy:
The invention provides a robot automation control method of a desktop application program, which comprises the following steps:
s1: packaging functions and operation instructions of various platforms, and integrating instruction data;
s2: setting up an automatic operation flow in the form of a dragging flow block, and calling the flow for a plurality of times through other flows;
S3: and deleting the unnecessary automation application, and storing the deleted automation application through a recycle bin.
Further, the packaging the functions and the operation instructions of the various platforms, and integrating the instruction data includes:
s11: analyzing and researching a target platform based on actual requirements, and determining platform functions and operation instructions to be packaged, wherein the platform comprises web, desktop software, a mailbox, office software and a database;
s12: according to the platform function and the operation instruction which are determined to be packaged, an automatic platform or tool is selected, and the platform function and the operation instruction are packaged
S13: after the encapsulation is completed, the encapsulation of different platforms is abstracted and standardized, and a unified instruction library is created to integrate the functions and operation instructions of the encapsulated various platforms.
Further, after the encapsulation is completed, the encapsulation of different platforms is abstracted and standardized, and a unified instruction library is created to integrate the functions and operation instructions of the encapsulated various platforms, including:
s131: performing functional and operational analysis on the encapsulated platform, and determining the commonality and the dissimilarity of the platform according to the functional and operational analysis;
s132: identifying similar functions and operations in the platform through a similarity algorithm, extracting common interfaces and parameters of the platform, and obtaining a uniform function definition interface;
S133: the parameters and the return values in the function interface are defined in a standardized way through formulating a unified data structure or parameter convention, and a unified exception handling mechanism is set to handle the possible exception conditions of various platforms;
S134: programming adapters and packaging functions of different platforms through programming languages, and adapting specific functions of various platforms to a unified interface;
S135: integrating the abstract and standardized platform functions and operation instructions into a unified instruction library, and adding new functions and operation instructions into the instruction library through interfaces and tools;
S136: and designing and unifying an instruction library calling interface, and calling functions and operation instructions on various platforms by a user through the instruction calling interface.
Further, the programming language includes a front-end language including JavaScript and a back-end language including python and c#; the front end and the back end communicate through a WebSocket protocol, the front end sends an HTTP request to the back end, the back end receives the request and returns corresponding data, and front-back end interaction is completed.
Further, an automatic operation flow is built in the form of a dragging inventory block, and the flow is called for multiple times through other flows; comprising the following steps:
S21: creating a new flow through a visual interface or programming codes, and defining flow information, wherein the flow information comprises a flow name and a flow description;
S22: after the process is established, adding nodes into the process by dragging, wherein the nodes comprise specific operations and functions;
s23: after the node addition is completed, the nodes are connected, and the connection relation among the nodes is defined; the connection relation is set by dragging; the nodes interact through data or control flow;
S24: after the node connection is completed, setting node attributes and configuring flow parameters, and after the node attribute setting and the flow parameter configuration are completed, completing the construction of a flow;
s25: after the process is built, verifying the process, and acquiring execution data of each node;
S26: the process is called for multiple times by dragging and calling the created automatic operation process in other processes.
Furthermore, after the process is built, a user can export the automatic application, and can newly build the automatic application in an importing mode, after the automatic application is newly built, the automatic application is verified, and execution data of each process are obtained; the automation application includes a plurality of processes.
After the new construction of the automatic application is further completed, verifying the automatic application and acquiring the execution data of each flow; comprising the following steps:
C1: after the new construction of the automatic application is completed, the logic correctness of the process is verified by inputting example data and according to the execution condition of the process;
C2: recording execution process data of each flow through log information, wherein the execution process data comprises input data, output data and an execution state;
and C3: analyzing the execution process data to obtain an analysis result, wherein the analysis result comprises execution times, execution time and data change conditions;
and C4: analyzing and optimizing the execution condition of the flow through an analysis result; the analysis comprises performance analysis, data change analysis and error analysis; the optimization includes resource utilization optimization and iterative optimization.
Further, the performance analysis includes analyzing the resource utilization rate of each node, obtaining a load score in the node execution process, and executing corresponding operations according to the analysis result, where the corresponding operations include optimizing an algorithm, adjusting task allocation, and adding parallel processing.
Further, the deleting the unnecessary application and saving the deleted application through the recycle bin includes:
S31: setting an automatic application deleting button or an operation inlet through an application management interface, and deleting unnecessary automatic applications by clicking the corresponding deleting button or the operation inlet;
S32: adding a recycle bin in an automation platform or tool, and storing the deleted automation application through the recycle bin after a user executes a deletion operation;
s33: the user may view the list of automation applications stored in the recycle bin and perform further operations on the deleted automation applications, including restoration or permanent deletion, via the recycle bin interface.
The invention provides a robot automation control system of a desktop application program, which comprises:
and a data integration module: packaging functions and operation instructions of various platforms, and integrating instruction data;
The flow construction module comprises: setting up an automatic operation flow in the form of a dragging flow block, and calling the flow for a plurality of times through other flows;
An application deletion module: and deleting the unnecessary automation application, and storing the deleted automation application through a recycle bin.
The invention has the beneficial effects that: through element picking and packaged library and instruction components, a user can automatically control without deep programming knowledge, and learning cost and application threshold are reduced. Through the packaged library and instruction components, a user can use a standardized operation flow to perform automatic control, so that the consistency and standardization of the flow are ensured. The method has important significance for business process management and execution in enterprises, can effectively reduce the probability of error occurrence and improve the working efficiency; the user can write and customize the expansion instruction according to the actual demand of the user, so that the automatic control system can be better adapted to specific business scenes and workflows. The depth customization can bring more accurate and efficient automatic operation, and meets the personalized requirements of enterprises; along with the continuous change of the service environment, a user can quickly adjust the automatic flow through the self-written expansion instruction so as to cope with new requirements and situation changes. The flexible self-adaptive capacity enables the automatic control system to have the capability of quick response to changes; the introduction of the automatic control method can greatly reduce the labor investment required by enterprises in repeated and low-value operation, realize reasonable allocation of human resources and save cost; through multiplexing of standardized operation flow and self-written expansion instructions, the risk of human operation errors can be reduced, and the accuracy and reliability of operation are improved.
Drawings
FIG. 1 is a diagram of steps in a robotic automation control method for a desktop application;
FIG. 2 is a block diagram of a robotic automation control system for a desktop application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will be more clearly understood, a more particular description of the application will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. It should be noted that, without conflict, the embodiments of the present application and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, and the described embodiments are merely some, rather than all, embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
In one embodiment of the invention, a robot automation control method for a desktop application, the method comprises:
s1: packaging functions and operation instructions of various platforms, and integrating instruction data;
s2: setting up an automatic operation flow in the form of a dragging flow block, and calling the flow for a plurality of times through other flows;
S3: and deleting the unnecessary automation application, and storing the deleted automation application through a recycle bin.
The working principle of the technical scheme is as follows: the functions and operation instructions on the different platforms are packaged as reusable components or modules so that the components and modules may be integrated and invoked in an automated control flow, which may include various operation instructions, API interfaces, scripts, etc. for implementing specific functions and operations, for example, the packaged library may be a third party Python library, and the user may implement some functions by introducing the third party Python library. The user builds an automatic operation flow on the interface in the form of a dragging flow block, can support element pickup on web and desktop software, supports the user to operate various platforms such as web, desktop software, a mailbox, office software, a database and the like through packaged libraries and instruction components quickly, wherein the instruction components comprise RPA instructions, the RPA components are used for internal packaging, can realize flow multiplexing and can also share other people; each flow block represents an operation step or a functional module, and a user can arrange and combine the operation steps or the functional modules according to the requirements in sequence to form a complete automatic operation flow; the user can call the built operation flow for a plurality of times through other flows, so that the repeated execution of the same set of operation flow is realized, and the reusability of the flow is improved; the user may delete the operational flow that is no longer needed.
The technical scheme has the effects that: by packaging the functions and the operation instructions of various platforms and integrating instruction data, seamless connection and data interaction between different platforms can be realized. Therefore, development work can be greatly simplified, development efficiency is improved, and learning and use cost is reduced; by constructing the automatic operation flow in the form of the dragging flow block, a user can intuitively design and configure the automatic flow. The visual mode is more visual and understandable, so that non-professional persons can easily create own automatic flow, and the use experience of users is improved; multiplexing of the same or similar operations can be achieved by making multiple calls to the process through other processes. Thus, the repeated labor can be reduced, the working efficiency can be improved, and the consistency and the accuracy of the operation can be ensured; and the unnecessary automation application is deleted, and the deleted automation application is stored through the recycle bin, so that the automation application can be conveniently managed and maintained. The administrator can delete, restore or thoroughly clear the application according to the needs, so that misoperation or misuse of the application is effectively prevented, and the reliability and the safety of the system are improved.
In one embodiment of the present invention, the packaging the functions and the operation instructions of the various platforms, and integrating the instruction data includes:
s11: analyzing and researching a target platform based on actual requirements, and determining platform functions and operation instructions to be packaged, wherein the platform comprises web, desktop software, a mailbox, office software and a database;
s12: according to the platform function and the operation instruction which are determined to be packaged, an automatic platform or tool is selected, and the platform function and the operation instruction are packaged
S13: after the encapsulation is finished, the encapsulation of different platforms is abstracted and standardized, and a unified instruction library is created to integrate the functions and operation instructions of the encapsulated various platforms;
The working principle of the technical scheme is as follows: detailed analysis and investigation is performed for different platforms, such as web, desktop software, mailbox, office software, and databases. Determining platform functions and operation instructions to be packaged, and ensuring effective function extraction and packaging aiming at actual requirements of each platform; and selecting a proper automatic platform or tool for packaging based on the determined platform functions and operation instructions to be packaged. These platforms or tools may include UiPath, automation Anywhere, selenium, etc. which provide rich functionality and APIs for packaging of various platform functions and operational instructions; after the encapsulation is completed, the encapsulation of different platforms is subjected to abstract and standardized processing, so that a unified interface and calling mode are ensured. This helps to simplify the use process and prepare for subsequent integration and invocation; and creating a unified instruction library, and integrating the functions and operation instructions of the packaged various platforms. This instruction library may include various functional modules, operating instructions, API interfaces, etc., providing a unified call interface for the user.
The technical scheme has the effects that: the target platform is analyzed and researched to determine the platform functions and operation instructions to be packaged, and the platform functions and operation instructions can be selectively packaged according to actual requirements. Therefore, the automatic control method can be ensured to be suitable for various different platforms, such as web, desktop software, a mailbox, office software, a database and the like, and a wider application scene is provided; the automatic platform or tool is selected to package the platform functions and operation instructions, the existing automatic framework and tools can be utilized, development from scratch is avoided, and development time and cost are saved. Meanwhile, after the encapsulation is finished, the encapsulation of different platforms is abstracted and standardized, and a unified instruction library is created, so that the reusability and maintainability of codes can be improved, the repeated labor is reduced, and the maintenance cost is reduced; by integrating functions and operation instructions of various platforms, function integration and data interaction between different platforms can be realized. For example, extraction of data from a database and processing using in desktop software may be accomplished by an automated control method, and the results sent to a mailbox. Thus, the cooperative work among different platforms can be realized, and the working efficiency is improved; by abstracting and standardizing the packaged various platform functions and operation instructions and creating a unified instruction library, a unified interface and a unified use mode can be provided for users. The user can operate the functions of different platforms by only learning and mastering one instruction library, so that the learning cost is reduced, and the use convenience of the user is improved.
In one embodiment of the present invention, after the encapsulation is completed, the encapsulation of different platforms is abstracted and standardized, and a unified instruction library is created to integrate the functions and operation instructions of the encapsulated various platforms, including:
s131: performing functional and operational analysis on the encapsulated platform, and determining the commonality and the dissimilarity of the platform according to the functional and operational analysis;
S132: identifying similar functions and operations in the platform through a similarity algorithm, extracting common interfaces and parameters of the platform, and obtaining a uniform function definition interface; the similarity algorithm is as follows:
Wherein P (x, y) represents the similarity between platforms x and y, F x,y represents the function or set shared between platforms x and y, Representing the weight or importance of function f in platform x,/>Representing the average weight or importance of platform x,/>Representing the weight or importance of function f in platform y,/>Representing the average weight or importance of platform y, F x represents the set of functions of platform x, and F y represents the set of functions of platform y.
S133: the parameters and the return values in the function interface are defined in a standardized way through formulating a unified data structure or parameter convention, and a unified exception handling mechanism is set to handle the possible exception conditions of various platforms;
S134: programming adapters and packaging functions of different platforms through programming languages, and adapting specific functions of various platforms to a unified interface;
S135: integrating the abstract and standardized platform functions and operation instructions into a unified instruction library, and adding new functions and operation instructions into the instruction library through interfaces and tools;
S136: and designing and unifying an instruction library calling interface, and calling functions and operation instructions on various platforms by a user through the instruction calling interface.
The working principle of the technical scheme is as follows: and carrying out functional and operational analysis on the packaged platform to determine the commonality and the dissimilarity of the platform. This includes detailed analysis of database operations, file operations, network operations, logging, etc.; and identifying similar functions and operations in the platform, extracting common interfaces and parameters, and designing a uniform function definition interface. For example, in database operations, common operations such as extracting a connection database, performing a query, performing an update, etc., and defining a unified function interface to represent the operations; and formulating a unified data structure or parameter convention, and carrying out standardized definition on parameters and return values in the function interface. Simultaneously, a unified exception handling mechanism is set to handle the possible exception conditions of various platforms; the adapters and packaging functions of the different platforms are written using a programming language to adapt the specific functions of the various platforms to a unified interface. These adapters and encapsulation functions are responsible for converting the unified function interface into the actual calls of the specific platform; the abstract and standardized platform functions and operation instructions are integrated into a unified instruction library. Through the interface and the tool, new functions and operation instructions can be added into the instruction library, and the updating and expansibility of the instruction library are maintained; and designing and unifying an instruction library calling interface through which a user can call functions and operation instructions on various platforms. The user can directly use the instructions to implement the automation task without concern for the details of the specific platform.
The technical scheme has the effects that: through abstraction and standardization of functions and operations of different platforms, interfaces and operation modes of different platforms can be unified, and learning cost and use difficulty are reduced; the unified instruction library is created to integrate functions and operation instructions of various platforms, so that a user can call the functions of different platforms through a unified interface, and development efficiency and flexibility are improved; adapters and packaging functions of different platforms are written, so that the originally independent platforms can be uniformly managed and called, and maintenance and expansion of a system are simplified; the parameters and the return values in the function interface are defined in a standardized way, and a unified exception handling mechanism is set, so that the readability and the robustness of codes are improved; the unified instruction library calling interface is designed, and a user can realize functions and operation instructions of various platforms through the concise instruction calling interface, so that user experience and operation convenience are improved; by adopting a unified packaging and calling mode, the repeated development and maintenance cost can be reduced, and the maintainability and the stability of the whole system are improved. The similarity degree of functions and operations among different platforms can be quantified through the formula, and common interfaces and parameters are extracted to realize a unified function definition interface. This helps to simplify the development process, improve maintainability of the code, and promote interoperability between platforms. Meanwhile, by calculating the similarity between the platforms, the functions and operations shared between them can be identified. This facilitates extracting common interfaces and parameters of the platforms so that a unified function definition interface can be used between different platforms; the similarity algorithm takes into account the differences in weight or importance of the functions in the various platforms. By calculating the difference product of the function weights, the degree of similarity between the common functions can be estimated. This helps determine which functions play a key role in the similarity of the platform; by calculating the similarity, the functions and operations of different platforms can be mapped onto a unified function definition interface. Thus, the user can operate different platforms by using the same function calling mode, so that the reusability and maintainability of codes are improved; the similarity value in the formula ranges from 0 to 1, with a closer to 1 indicating that the two platforms function and operate more similarly. This allows the degree of similarity between different platforms to be quantitatively compared, helping developers to make more accurate decisions.
In one embodiment of the present invention, the programming language includes a front-end language including JavaScript and a back-end language including python and C#; the front end and the back end communicate through a WebSocket protocol, the front end sends an HTTP request to the back end, the back end receives the request and returns corresponding data, and front-back end interaction is completed.
The working principle of the technical scheme is as follows: node. Js is used as the front-end language, which is a JavaScript running environment based on the Chrome V8 engine. The JavaScript has the characteristics of non-blocking I/O and event driving, and is suitable for constructing high-performance network application; python and C# are used as backend languages. Python is a simple, easy-to-learn and powerful programming language that is widely used for automated development. C# is a multi-modal programming language developed by Microsoft, suitable for building Windows applications, web applications and services; webSocket is a protocol that performs full duplex communication over a single TCP connection. The method enables real-time bidirectional data transmission between the client and the server without frequently sending HTTP requests; the front end sends an HTTP request to the back end, and the back end receives and processes the request. When real-time two-way communication is needed, the front end and the back end can communicate by establishing a WebSocket connection. The WebSocket connection is updated on the basis of HTTP connection, long connection can be maintained after the connection is established, and data can be transmitted in real time. The specific workflow comprises: the front end creates a Web application through node. Js, monitors specific HTTP requests. The user triggers a certain operation on the front-end page, and the front-end sends an HTTP request to the back-end according to the operation. After the rear end receives the HTTP request sent by the front end, corresponding processing is performed according to the content of the request, which may include querying a database, calling other services, and the like. After the back end processes the request, the corresponding data is returned to the front end, and the front end receives the data returned by the back end. If real-time communication is needed, the front end and the back end can establish connection through WebSocket. The front end sends the message to the back end through the WebSocket, the back end can make corresponding processing after receiving the message, and the result is returned to the front end through the WebSocket. The technical scheme has the effects that: the front-end and back-end separation is realized by adopting the combination of the front-end language node. Js and the back-end languages Python and C#. The front end is in charge of displaying and interacting logic, and the rear end is in charge of data processing and business logic, so that development is more modularized and maintainable; and the communication between the front end and the back end is carried out through the WebSocket protocol, and compared with the traditional HTTP request, the WebSocket has the characteristics of low delay and high concurrency. Thus, real-time two-way communication can be realized, and better user experience and real-time performance are provided; the node js is used as a front-end language, has rich ecosystems and plug-in libraries, provides a plurality of convenient tools and frameworks, such as Vue. Js, reaction. Js and the like, and can accelerate the development process of the front end. Meanwhile, python and C# are widely applied and mature ecological systems as back-end languages, rich libraries and frames are provided, and back-end development and business logic realization are facilitated; by adopting the combination of JavaScript, python and C#, a proper technical stack and tool can be selected according to specific requirements, and the method has higher flexibility and expandability. Meanwhile, the WebSocket protocol enables communication between the front end and the rear end to be more flexible, and expansion and customization can be carried out according to requirements; the front end sends an HTTP request to the back end, the back end receives the request and returns corresponding data, and front-back end interaction is completed. The method is simple and clear, easy to understand and realize and can improve the development efficiency. Meanwhile, the architecture with separated front and back ends enables cooperation inside a team to be more efficient, different members can concentrate on the field of the team, and development efficiency and quality are improved.
According to one embodiment of the invention, an automatic operation flow is built in the form of a dragging inventory block, and the flow is called for multiple times through other flows; comprising the following steps:
S21: creating a new flow through a visual interface or programming codes, and defining flow information, wherein the flow information comprises a flow name and a flow description;
S22: after the process is established, adding nodes into the process by dragging, wherein the nodes comprise specific operations and functions;
s23: after the node addition is completed, the nodes are connected, and the connection relation among the nodes is defined; the connection relation is set by dragging; the nodes interact through data or control flow;
S24: after the node connection is completed, setting node attributes and configuring flow parameters, and after the node attribute setting and the flow parameter configuration are completed, completing the construction of a flow;
s25: after the process is built, verifying the process, and acquiring execution data of each node;
S26: the process is called for multiple times by dragging and calling the created automatic operation process in other processes.
The working principle of the technical scheme is as follows: the user creates a new flow through a visual interface or programming codes, defines the name and description of the flow, and determines the operation and function to be executed; in the created process, the user can add nodes to the process in a dragging mode, wherein the nodes represent specific operations and functions, such as database inquiry, file reading, network request and the like; after adding the nodes, the user needs to connect the nodes and define the connection relation among the nodes, including sequence execution, parallel execution and conditional execution. The connection relation can be set in a dragging mode, and nodes interact through data or control flow; the user sets the attributes of the nodes and configures the flow parameters, including input and output data, execution conditions, timeout setting and the like, and the parameter configuration function can be realized while the parameter configuration function comprises using in a single sub-flow, sharing all sub-flows in an application/expansion instruction and taking the output instruction as a global variable. Simultaneously, the parameters transmitted from the outside and the parameters customized by the user can be set; after the process is built, verifying to ensure the correctness of the process, and acquiring the execution data of each node so as to further optimize and adjust the process; the created automatic operation flow is dragged and called in other flows, so that the multiple times of calling on the flow is realized, and the reusability and maintainability of the flow are improved.
The technical scheme has the effects that: through a visual interface or a programming code creation flow, a user does not need to go deep into programming details, and can intuitively drag inventory blocks to construct an automatic operation flow, so that a threshold for learning and use is reduced; a user may implement certain operations and functions by adding nodes to the flow, such as database queries, file reads, network requests, etc. Therefore, proper nodes can be selected according to specific requirements, and flexibility and expandability of the flow are enhanced; the connection relation between the nodes can be set by dragging, including sequential execution, parallel execution, and conditional execution. Thus, the execution sequence and conditions among the nodes can be intuitively defined, and complex flow control is realized; the nodes interact through data or control flow, so that the data can be transferred and processed in the flow, the data can be input, output and shared, and the flexibility and the data processing capability of the flow are improved; the user can set the attribute of the node, such as input and output data, execution conditions, timeout setting and the like, and can configure externally-input parameters and user-defined parameters. Thus, the nodes can be flexibly configured and customized according to specific requirements; after the process is built, the process can be verified to ensure the correctness of the process, and the execution data of each node is acquired. Thus, the problems in the process can be found and repaired in time, and the reliability and efficiency of the process are improved; and the created automatic operation flow is dragged and invoked in other flows, so that the multiple times of calling and multiplexing of the flows are realized. Repeated work can be saved, and the work efficiency and the maintainability of the flow are improved.
According to one embodiment of the invention, after the process is built, a user can export an automation application, and new automation application can be built in an importing mode, after the new automation application is built, the automation application is verified, and execution data of each process are obtained; the automation application includes a plurality of processes.
After the new construction of the automatic application is completed, verifying the automatic application and acquiring execution data of each flow; comprising the following steps:
C1: after the new construction of the automatic application is completed, the logic correctness of the process is verified by inputting example data and according to the execution condition of the process;
C2: recording execution process data of each flow through log information, wherein the execution process data comprises input data, output data and an execution state;
and C3: analyzing the execution process data to obtain an analysis result, wherein the analysis result comprises execution times, execution time and data change conditions;
and C4: analyzing and optimizing the execution condition of the flow through an analysis result; the analysis comprises performance analysis, data change analysis and error analysis; the optimization includes resource utilization optimization and iterative optimization.
The working principle of the technical scheme is as follows: in the built automation application platform, an import and export function is provided, a user can export the configured automation application into a file, and simultaneously, the automation application can be newly built in a file import mode; the user can trigger the execution of the automation application by inputting the example data, and verify the logic correctness of the flow according to the execution condition. The platform can provide a verification tool or a test script, automatically execute and check whether the execution result of each flow accords with the expectation; when executing an automation application, the platform may record input data, output data, and execution status for each flow. This information may be saved in a log file or stored in a database for subsequent analysis and optimization; and analyzing the recorded execution process data, including the execution times, the execution time and the data change condition. The analysis results can be obtained and presented to the user using a data analysis tool or a custom algorithm; and carrying out performance analysis, data change analysis and error analysis through analysis results to find out possible problems and optimization space in the execution process. Resource utilization optimization and flow iterative optimization can be performed aiming at the problems, and the execution efficiency and quality of the automation application are improved. Meanwhile, when the user exports the automatic application, the configuration information and the flow definition of the application are packaged into a file for export; when a user imports an automatic application, the imported file is analyzed, configuration information and flow definition are reloaded into an automatic application platform, and the process of newly building the automatic application is completed; in the execution process, recording input data, output data and execution state of each flow to form log information, so that subsequent analysis and optimization are facilitated; acquisition and recording of execution process data may be accomplished by inserting recording logic in the code or using a log framework; analysis of execution process data mainly depends on analysis and statistics of log information to obtain analysis results such as execution times, execution time and data change; and carrying out performance analysis, data change analysis and error analysis through analysis results, finding out problem points and optimizing the problem points, so that the execution condition of the automatic application is improved.
The technical scheme has the effects that: the user can conveniently export the configured automation application and re-import the configured automation application when needed, so that the reconfiguration time and workload are saved; by inputting example data and verifying the execution condition, possible errors or logic problems in the flow can be found in time, and the reliability of the automatic application is improved; recording input data, output data and execution state of each flow, providing basic data for subsequent data analysis and optimization, and facilitating problem positioning and improvement; by analyzing the recorded execution process data, important information such as execution times, execution time, data change and the like can be obtained, so that a user is helped to know the execution condition of the automatic application; by analyzing the execution process data, the performance bottleneck and the resource utilization problem can be found out, targeted optimization is performed, and the execution efficiency and performance of the automatic application are improved; by analyzing the data change condition, abnormal or unexpected data change can be found, flow logic is timely adjusted, and the accuracy and consistency of data processing are improved; by recording the execution state and analyzing the error log, errors and abnormal conditions in the process can be found, timely repaired and optimized, and the stability and reliability of the automatic application are improved.
The invention discloses a robot automation control method of a desktop application program, which is characterized in that the performance analysis comprises the steps of analyzing the resource utilization rate of each node, obtaining the load fraction in the node execution process, and executing corresponding operations according to the analysis result, wherein the corresponding operations comprise optimizing algorithm, adjusting task allocation and adding parallel processing; the load fraction calculation formula is as follows:
Wherein S L represents a load fraction in the execution process, U cpu represents a CPU utilization in the execution process, U memory represents a memory utilization in the execution process, S represents the number of nodes, F ξ represents a load fraction of the ζ node, Z ξ represents the number of times of execution of the ζ node, B ξ represents the execution time of the ζ node, F L represents a sum of load fractions of all nodes, Z m represents a data variation amount of the m node, and B m represents a resource utilization condition of the m node.
The working principle of the technical scheme is as follows: and analyzing the resource utilization rate of each node through a load score calculation formula, and calculating to obtain the load score in the execution process. The score comprehensively considers the factors such as CPU utilization rate, memory utilization rate, the execution times and execution time of the nodes and the like, and can reflect the load condition of the nodes more comprehensively; by calculating the load score, the system can obtain the load condition of each node in the execution process and the running condition of the whole system. These results will help determine if the system is under-loaded, under-utilized, or otherwise performance bottleneck; based on the results of the performance analysis, the system may perform corresponding operations to optimize the operational state of the node. The operations such as optimizing algorithm, adjusting task allocation, adding parallel processing and the like are adjusted according to specific load conditions so as to improve the overall execution efficiency of the system; after the corresponding operation is executed, the system needs to monitor the load condition of the node in real time and adjust according to the new analysis result. The feedback and adjustment process can keep the system in a good performance state in the running process, and the execution efficiency of the system is continuously optimized.
The technical scheme has the effects that: and after analyzing the resource utilization rate of each node, the system can acquire the load condition of the node in real time and calculate the load score. The system can timely detect the problems of unbalanced load or insufficient resource utilization and the like, and the real-time performance analysis capability of the system is improved; based on the results of the performance analysis, the system may perform corresponding operations including optimizing algorithms, adjusting task allocation, adding parallel processing, and the like. These operations will be adjusted according to the specific load conditions to maximize the system execution efficiency and resource utilization; by adjusting task allocation, adding parallel processing and other operations, the system can realize load balancing, reasonably allocate tasks to each node, avoid performance degradation caused by overload of certain nodes, and improve the stability and reliability of the whole system; through an optimization algorithm and dynamic adjustment, the system can better utilize the resources of the nodes, avoid the conditions of resource waste and insufficient utilization of the resources, and improve the utilization efficiency of the resources of the system. The formula has comprehensiveness, flexibility and instantaneity in the aspect of performance analysis, and can provide accurate guidance for optimizing operation, so that the performance and efficiency of the system are improved. Meanwhile, the formula comprehensively considers a plurality of indexes such as CPU utilization rate, memory utilization rate, node execution times and execution time, and the like, and can reflect the load condition of the nodes more comprehensively. Through the comprehensive index, the load state of the node can be more accurately estimated, so that corresponding operation is adopted for optimization; the formula uses a weighted summation mode to weigh different indexes. By adjusting the weights, the importance of each index can be flexibly determined according to the requirements and actual conditions. Therefore, the formula can be more suitable for different scenes and requirements, and the flexibility and applicability are improved; by calculating the load score using this formula, the load condition of the node can be obtained in real time. In this way, the node with the too high or too low load can be found in time, and corresponding operation is adopted for adjustment. The real-time performance analysis can ensure that the system can quickly respond to load changes, and the dynamic performance management capability of the system is improved; by performing the corresponding operations, such as optimization algorithm, task allocation adjustment, parallel processing addition, and the like, according to the analysis result, the optimization can be performed in a targeted manner. Thus, blind adjustment and resource waste can be avoided, and the accuracy and effect of operation are improved.
In one embodiment of the present invention, the deleting the unnecessary application and saving the deleted application through the recycle bin includes:
S31: setting an automatic application deleting button or an operation inlet through an application management interface, and deleting unnecessary automatic applications by clicking the corresponding deleting button or the operation inlet;
S32: adding a recycle bin in an automation platform or tool, and storing the deleted automation application through the recycle bin after a user executes a deletion operation;
s33: the user may view the list of automation applications stored in the recycle bin and perform further operations on the deleted automation applications, including restoration or permanent deletion, via the recycle bin interface.
The working principle of the technical scheme is as follows: a deletion button or an operation inlet is added in the flow editing interface, so that a user can delete unnecessary automation applications conveniently; adding a recycle bin function in an automation platform or tool, and temporarily storing the deleted automation application in a recycle bin so that a user can perform recovery or permanent deletion operation when required; after the user executes the deleting operation, the deleted automation application is stored in the recycle bin, and the user can check the stored automation application list through the recycle bin interface; the user may further operate on the deleted automation application, including restoration or permanent deletion, via the recycle bin interface. When the user needs to restore the deleted automation application, the user can select to restore the deleted automation application to the original position; when the user determines to permanently delete, the automation application may be selected to be completely deleted to free up system resources. The technical scheme has the effects that: the deletion button or the operation entrance is set through the application management interface, the recycle bin function is added in the automation platform, the user can delete the unnecessary automation application through the visual operation interface, and the recovery or permanent deletion operation is carried out when the user needs to be, so that the operation convenience and experience of the user are improved. The addition of the recycle bin function can avoid the data loss caused by the fact that a user deletes the automatic application by mistake, and the user can retrieve the deleted application in the recycle bin, so that the safety and reliability of the automatic application are improved; the user can conveniently check the automatic application list stored in the recycle bin and further operate the automatic application list, including recovery or permanent deletion, so that the operation flow is simple and clear, the management efficiency is improved, and the time and energy of the user are saved; the user does not need to worry about the false deletion operation or the remorse of the deletion, and the deleted automation application can be retrieved at any time through the recycle bin, so that a more flexible management mode is provided. In one embodiment of the invention, when the automation application stored in the recycling station is not further operated, the recycling station defaults to store the automation application for 30 days, and if the automation application is not restored for more than 30 days, the automation application is permanently deleted.
The working principle of the technical scheme is as follows: the automation application stored in the recycling station is stored for 30 days by default, namely, the deleted automation application can be stored for 30 days in the recycling station; if the automated applications in the recycle bin are not restored or otherwise operated for more than 30 days, the system automatically performs a permanent delete operation, removing the automated applications from the recycle bin and no longer retaining them.
The technical scheme has the effects that: by storing the deleted automation application in the recycle bin and setting the default save time to 30 days, a secure mechanism may be provided to protect the user's data. Even if the user deletes important automation application carelessly, the recovery operation is carried out within 30 days, so that unexpected data loss is avoided; when using an automation platform or tool, a user may delete an automation application that does not need to be deleted due to a malfunction. The function of the recycle bin allows a user to repair in a certain time, and the automatic application deleted by mistake is recovered, so that the loss caused by human errors is reduced; the existence of the recycle bin can help the user to better manage the automation application, and avoid the waste and no longer needed automation application from occupying system resources. The user can check and process the deleted automation application in the recycle bin, so as to timely clean the unnecessary automation application, and improve the utilization efficiency of system resources; by providing the recycle bin function, a user can conveniently view and manage deleted automation applications, and the problem of false deletion is not worry any more. The good user experience can improve the satisfaction degree of the user and enhance the trust feeling of the user on an automation platform or tool.
In one embodiment of the present invention, a robotic automation control system for a desktop application, the system comprising:
and a data integration module: packaging functions and operation instructions of various platforms, and integrating instruction data;
The flow construction module comprises: setting up an automatic operation flow in the form of a dragging flow block, and calling the flow for a plurality of times through other flows;
An application deletion module: and deleting the unnecessary automation application, and storing the deleted automation application through a recycle bin.
The working principle of the technical scheme is as follows: the functions and operation instructions on the different platforms are packaged as reusable components or modules so that the components and modules may be integrated and invoked in an automated control flow, which may include various operation instructions, API interfaces, scripts, etc. for implementing specific functions and operations, for example, the packaged library may be a third party Python library, and the user may implement some functions by introducing the third party Python library. The user builds an automatic operation flow on the interface in the form of a dragging flow block, can support element pickup on web and desktop software, supports the user to operate various platforms such as web, desktop software, a mailbox, office software, a database and the like through packaged libraries and instruction components quickly, wherein the instruction components comprise RPA instructions, the RPA components are used for internal packaging, can realize flow multiplexing and can also share other people; each flow block represents an operation step or a functional module, and a user can arrange and combine the operation steps or the functional modules according to the requirements in sequence to form a complete automatic operation flow; the user can call the built operation flow for a plurality of times through other flows, so that the repeated execution of the same set of operation flow is realized, and the reusability of the flow is improved; the user may delete operational flows that are no longer needed, remove them from the entire flow and the deleted flows may be saved to a recycle bin for future reuse or restoration.
The technical scheme has the effects that: by packaging the functions and the operation instructions of various platforms and integrating instruction data, seamless connection and data interaction between different platforms can be realized. Therefore, development work can be greatly simplified, development efficiency is improved, and learning and use cost is reduced; by constructing the automatic operation flow in the form of the dragging flow block, a user can intuitively design and configure the automatic flow. The visual mode is more visual and understandable, so that non-professional persons can easily create own automatic flow, and the use experience of users is improved; multiplexing of the same or similar operations can be achieved by making multiple calls to the process through other processes. Thus, the repeated labor can be reduced, the working efficiency can be improved, and the consistency and the accuracy of the operation can be ensured; and the unnecessary automation application is deleted, and the deleted automation application is stored through the recycle bin, so that the automation application can be conveniently managed and maintained. The administrator can delete, restore or thoroughly clear the application according to the needs, so that misoperation or misuse of the application is effectively prevented, and the reliability and the safety of the system are improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A method for robotic automation control of a desktop application, the method comprising:
Packaging functions and operation instructions of various platforms, and integrating instruction data;
setting up an automatic operation flow by dragging an instruction block in an instruction library, and calling the flow for a plurality of times by other flows;
And deleting the unnecessary automation application, and storing the deleted automation application through a recycle bin.
2. The method for automatically controlling a desktop application according to claim 1, wherein the steps of packaging the functions and the operation instructions of the various platforms and integrating the instruction data include:
Analyzing and researching a target platform based on actual requirements, and determining platform functions and operation instructions to be packaged, wherein the platform comprises web, desktop software, a mailbox, office software and a database;
according to the platform function and the operation instruction which are determined to be packaged, an automatic platform or tool is selected, and the platform function and the operation instruction are packaged
After the encapsulation is completed, the encapsulation of different platforms is abstracted and standardized, and a unified instruction library is created to integrate the functions and operation instructions of the encapsulated various platforms.
3. The method for automatically controlling a desktop application according to claim 2, wherein after the encapsulation is completed, the encapsulation of different platforms is abstracted and standardized, and a unified instruction library is created to integrate the functions and operation instructions of the encapsulated various platforms, comprising:
performing functional and operational analysis on the encapsulated platform, and determining the commonality and the dissimilarity of the platform according to the functional and operational analysis;
Identifying similar functions and operations in the platform through a similarity algorithm, extracting common interfaces and parameters of the platform, and obtaining a uniform function definition interface; the parameters and the return values in the function interface are defined in a standardized way through formulating a unified data structure or parameter convention, and a unified exception handling mechanism is set to handle the possible exception conditions of various platforms;
programming adapters and packaging functions of different platforms through programming languages, and adapting specific functions of various platforms to a unified interface;
Integrating the abstract and standardized platform functions and operation instructions into a unified instruction library, and adding an automation instruction into the instruction library through an interface and a tool;
And the user calls the functions and operation instructions on various platforms in the instruction library.
4. A method of robotic automation control of a desktop application according to claim 3, wherein the programming language includes a front-end language including JavaScript and a back-end language including python and c#; the front end and the back end communicate with each other through inter-process communication and WebSocket protocol.
5. The method for automatically controlling a desktop application according to claim 1, wherein an automatic operation flow is built by dragging an instruction block in an instruction library, and the flow is called for a plurality of times by other flows; comprising the following steps:
Creating a new flow through a visual interface or programming codes, and defining flow information, wherein the flow information comprises a flow name and a flow description;
After the process is established, adding nodes into the process by dragging, wherein the nodes comprise specific operations and functions;
After the node addition is completed, the nodes are connected, and the connection relation among the nodes is defined; the connection relation is set by dragging; the nodes interact through data or control flow;
After the node connection is completed, setting the node attribute and configuring the flow parameter, and after the node attribute setting and the flow parameter configuration are completed, completing the flow construction and verifying the flow, and obtaining the execution data of each node;
the process is called for multiple times by dragging and calling the created automatic operation process in other processes.
6. According to the robot automation control method of the desktop application program, after the process is built, a user can export an automation application and can build the automation application in an importing mode, after the automation application is built, the automation application is verified, and execution data of each process are obtained; the automation application includes a plurality of processes.
7. The automated control method of a desktop application according to claim 6, wherein after the creation of the automated application is completed, the automated application is verified, and execution data of each flow is obtained; comprising the following steps:
after the new construction of the automatic application is completed, the logic correctness of the process is verified by inputting example data and according to the execution condition of the process;
recording execution process data of each flow through log information, wherein the execution process data comprises input data, output data and an execution state;
Analyzing the execution process data to obtain an analysis result, wherein the analysis result comprises execution times, execution time and data change conditions;
Analyzing and optimizing the execution condition of the flow through an analysis result; the analysis comprises performance analysis, data change analysis and error analysis; the optimization includes resource utilization optimization and iterative optimization.
8. The method according to claim 7, wherein the performance analysis includes analyzing a resource utilization rate of each node, obtaining a load score during the execution of the node, and executing corresponding operations according to the analysis result, the corresponding operations including optimizing an algorithm, adjusting task allocation, and adding parallel processing.
9. The method for robotically controlling a desktop application according to claim 1, wherein the step of deleting unnecessary automation applications and saving the deleted automation applications through a recycle bin comprises:
Setting an automatic application deleting button or an operation inlet through a flow editing interface, and deleting unnecessary automatic applications by clicking the corresponding deleting button or the operation inlet;
Adding a recycle bin in an automation platform or tool, and storing the deleted automation application through the recycle bin after a user executes a deletion operation;
the user may view the list of automation applications stored in the recycle bin and perform further operations on the deleted automation applications, including restoration or permanent deletion, via the recycle bin interface.
10. A robotic automation control system for a desktop application, the system comprising:
and a data integration module: packaging functions and operation instructions of various platforms, and integrating instruction data;
The flow construction module comprises: setting up an automatic operation flow in the form of a dragging flow block, and calling the flow for a plurality of times through other flows;
An application deletion module: and deleting the unnecessary automation application, and storing the deleted automation application through a recycle bin.
CN202311698509.3A 2023-12-12 2023-12-12 Robot automation control method and system for desktop application program Pending CN117992120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311698509.3A CN117992120A (en) 2023-12-12 2023-12-12 Robot automation control method and system for desktop application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311698509.3A CN117992120A (en) 2023-12-12 2023-12-12 Robot automation control method and system for desktop application program

Publications (1)

Publication Number Publication Date
CN117992120A true CN117992120A (en) 2024-05-07

Family

ID=90890298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311698509.3A Pending CN117992120A (en) 2023-12-12 2023-12-12 Robot automation control method and system for desktop application program

Country Status (1)

Country Link
CN (1) CN117992120A (en)

Similar Documents

Publication Publication Date Title
US20140180754A1 (en) Workflow System and Method for Single Call Batch Processing of Collections of Database Records
Baresi et al. Microservices: The evolution and extinction of web services?
CN110050257A (en) The difference of executable data flow diagram
US20040139176A1 (en) Systems and methods for improving service delivery
US20170255886A1 (en) Workflow execution
US20070047439A1 (en) Method and apparatus of supporting business performance management with active shared data spaces
CN110175027A (en) A kind of method and apparatus for developing business function
EP1810131A2 (en) Services oriented architecture for data integration services
CN111061788A (en) Multi-source heterogeneous data conversion integration system based on cloud architecture and implementation method thereof
CN103180826A (en) Managing data set objects in a dataflow graph that represents a computer program
CN107066241A (en) System and method for calculating of the dynamic load based on figure
US20220138195A1 (en) User defined functions for database query languages based on call-back functions
CN113741883B (en) RPA lightweight data middling station system
WO2024066683A1 (en) Industrial internet operating system and product processing method
CN113867600A (en) Development method and device for processing streaming data and computer equipment
CN112463143A (en) DAG-based dynamic rearrangement method
CN113961332A (en) Method and device for realizing workflow engine, electronic equipment and storage medium
US10365925B2 (en) Merging applications
CN113553381A (en) Distributed data management system based on novel pipeline scheduling algorithm
CN110891083B (en) Agent method for supporting multi-job parallel execution in Gaia
CN115392501A (en) Data acquisition method and device, electronic equipment and storage medium
US7831955B2 (en) Development and execution platform
WO2005033933A1 (en) System and method for workflow process management
CN117992120A (en) Robot automation control method and system for desktop application program
KR101901310B1 (en) System for providing user-oriented interconnection application integration

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