CN116149883B - RPA software rapid embedding method and system for Web system - Google Patents

RPA software rapid embedding method and system for Web system Download PDF

Info

Publication number
CN116149883B
CN116149883B CN202310434014.3A CN202310434014A CN116149883B CN 116149883 B CN116149883 B CN 116149883B CN 202310434014 A CN202310434014 A CN 202310434014A CN 116149883 B CN116149883 B CN 116149883B
Authority
CN
China
Prior art keywords
rpa
task
client
web system
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.)
Active
Application number
CN202310434014.3A
Other languages
Chinese (zh)
Other versions
CN116149883A (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 CN202310434014.3A priority Critical patent/CN116149883B/en
Publication of CN116149883A publication Critical patent/CN116149883A/en
Application granted granted Critical
Publication of CN116149883B publication Critical patent/CN116149883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention belongs to the technical field of computers, and particularly relates to a rapid RPA software embedding method and system for a Web system. The method comprises the following steps: s1, an RPA task control flow; the RPA task control flow adopts an overall flow of RPA client to control the execution of the RPA task, and is used for the rapid integration of the RPA task control of the Web system; s2, RPA control communication protocol; the RPA control communication protocol adopts a communication server based on a Websocket communication protocol provided by an RPA server, so that a Web system establishes two-way communication with the RPA server through an RPA client; s3, rapidly integrating and designing an RPA client; the rapid integration design of the RPA client enables the RPA client to comprise an RPA task control software development kit SDK and an RPA task execution panel function; the software development kit SDK is used for rapid integration. The invention has the characteristics of simplifying the integration process, improving the execution stability and the execution efficiency and improving the state real-time performance.

Description

RPA software rapid embedding method and system for Web system
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a rapid RPA software embedding method and system for a Web system.
Background
RPA (robot processing automation for short) is a type of robot process automation, which is to replace or assist human beings to complete repetitive work and tasks in digital devices such as computers, mobile phones and the like by using software to replace manual completion automation. The digital tool is an emerging digital tool, can help enterprises or staff to complete repeated and monotonous flow work, reduces manual errors, improves operation efficiency and reduces operation cost.
The combination of the Web technology and the RPA technology has been rapidly developed in recent years, and the control scheme based on the rapid embedding of the Web into the RPA is not common. At present, the implementation scheme of quickly embedding RPA software in a Web system mainly comprises the following steps:
1. implementation based on RPA dispatch center interface call
As shown in fig. 1, the RPA dispatching center is an RPA task dispatching system running on a remote server, and the technology mainly realizes the dispatching of tasks by calling an RPA dispatching center interface and mainly comprises the following steps:
(1) in a Web system embedded with RPA, an RPA dispatching center interface is called through an HTTP request to control the execution of an RPA task, and the name and the execution parameter of the RPA task to be executed are usually transferred in the calling process;
(2) the RPA execution engine is an application program running locally and can keep heartbeat connection with the RPA dispatch, the RPA dispatch center issues execution task operation to the RPA execution engine, the RPA task starts to be executed, and meanwhile, the interface returns a task execution identifier;
(3) the RPA execution engine continuously reports the task execution state and the execution result to the RPA dispatching center in the process of executing the RPA task;
(4) in the Web system, the task execution interface of the RPA dispatching center is polled by the HTTP technology to acquire the execution state and the execution result of the RPA task, so that the state and the result are updated on the Web interface.
The technology achieves the purpose of calling local RPA tasks through a remote RPA dispatching center, and the task state and the result are updated through continuous polling.
2. Invoking local RPA execution engine based on browser plug-in mode
The execution flow of this approach is shown in fig. 2:
the browser plug-in native host (native communication) refers to a communication mechanism between the browser plug-in and the native application. The communication is realized based on a native message interface of the browser, and when native host communication is carried out, the browser plug-in can send a message to the local application program, and meanwhile, the local application program can also send the message to the browser plug-in. The communication is an effective communication mechanism, and can help the Web page to effectively interact with the local application program, thereby providing more abundant functions for users.
The implementation steps using this technique are as follows:
(1) the Web system sends an RPA task starting command to the browser plug-in through browser information;
(2) after receiving the RPA task starting command, the browser plug-in forwards the message to a local native host process of the browser plug-in through a native Messaging technology, and the native host process calls the RPA execution engine to start the RPA task.
(3) The Web system polls and initiates the execution state of the RPA task and the execution result information to the browser plug-in;
(4) the browser plug-in calls the RPA execution engine through the native host process to acquire the execution state and the execution result of the RPA task, and updates the interface state of the Web system.
The purpose of controlling local RPA tasks can be achieved through the Web system embedded with the RPA through native host communication. However, this communication is relatively complex, and requires additional development of a separate native host software, and requires additional installation of a browser plug-in during use, which increases the complexity of RPA task scheduling.
The prior art is subjected to architecture abstraction, the concept of an RPA coordination layer is introduced, and the overall architecture of the RPA operation based on the Web system call can be seen as shown in figure 3.
To invoke the RPA task in the Web, it needs to be performed by means of an RPA coordination layer, which in the prior art solution refers to an RPA dispatch center and a browser plug-in, respectively.
However, such architecture has the following drawbacks:
1. the complexity increases. The existing RPA task scheduling by means of the RPA coordination layer is not only the RPA scheduling center or the browser plug-in, but also the complexity of the RPA task execution control is inevitably improved, and the complexity of the embedded logic code is also improved.
2. The stability is reduced. When the RPA task control is called, a call link of the system becomes long, so that the stability of the whole system depends on the stability of an RPA coordination layer and an RPA execution engine, and any unstable factors can cause the abnormal occurrence of the RPA task control in the Web system, thereby reducing the stability.
3. The RPA task status is not updated in time. The RPA task is controlled through the RPA dispatching center and the browser plug-in, the Web system needs to rely on polling to update the RPA task execution state of the service system, the task state is not updated timely due to too long polling time, and the pressure of system requests is increased due to too short polling time.
Therefore, it is very important to design a method and a system for quickly embedding RPA software in a Web system, which can simplify the integration process, improve the execution stability and the execution efficiency and improve the state instantaneity.
Disclosure of Invention
The invention provides a rapid RPA software embedding method and system for a Web system, which can simplify the integration process, improve the execution stability and the execution efficiency and improve the state instantaneity, and aims to solve the problems of high complexity, low stability and untimely update of the RPA task state of the conventional RPA software embedded mode on the Web system in the prior art.
In order to achieve the aim of the invention, the invention adopts the following technical scheme:
the RPA software rapid embedding method used in the Web system comprises the following steps of;
s1, an RPA task control flow, wherein the RPA task control flow adopts an overall flow of RPA client to control RPA task execution, and is used for rapidly integrating RPA task control by a Web system;
s2, an RPA control communication protocol, wherein the RPA control communication protocol adopts a communication server provided by an RPA server and based on a Websocket communication protocol, so that a Web system establishes two-way communication with the RPA server through an RPA client;
s3, the rapid integration design of the RPA client, wherein the rapid integration design of the RPA client enables the RPA client to comprise an RPA task control software development kit SDK and an RPA task execution panel function; the software development kit SDK is used for rapid integration.
Preferably, the step S1 includes the steps of:
s11, after a user starts a Web system, an RPA client and an RPA server start to establish connection, and two-way communication is maintained through a communication server based on a Websocket communication protocol;
s12, a user clicks to start an RPA task, and an RPA client sends a task starting command to an RPA server;
s13, the RPA server receives the RPA task starting command and sends the RPA task starting command to the RPA execution engine;
s14, after the RPA task starts to be executed, the RPA execution engine sends a task start execution message to the RPA server, and the RPA server transmits the message to the RPA client through a Websocket communication protocol;
s15, the Web system receives the RPA task start execution message and updates the RPA task state on the Web system interface;
s16, the RPA task continues to be executed, and in the execution process, information is continuously transmitted to the Web system through the RPA client and the RPA server;
s17, after the RPA task execution is finished, the RPA execution engine sends a task result message to an RPA server, and the RPA server transmits the message to an RPA client;
s18, the Web system updates the RPA task state of the Web system according to the RPA task execution result;
and S19, the RPA execution engine continues to send a task execution ending message to the Web system, and the Web service system updates the RPA task state according to the message.
Preferably, in step S2, the Websocket communication protocol uses a customized set of messages to complete communication; the message is in JSON format.
Preferably, in step S2, the Websocket communication protocol includes two fields, cmd and data; wherein cmd represents the command and data represents the dynamic data carried by the command.
Preferably, the Websocket communication protocol includes an uplink direction and a downlink direction; the uplink finger RPA client sends a message to an RPA server; the downlink refers to that the RPA server side sends a message to the RPA client side.
Preferably, the RPA client further includes the following operation functions: RPA task start, RPA task manual stop, RPA task state synchronization and RPA task execution result notification.
The invention also provides an RPA software rapid embedding system used in the Web system, which comprises;
the RPA task control flow module is used for controlling the overall flow of RPA task execution by adopting an RPA client so that the Web system can quickly integrate the RPA task control;
the RPA control communication protocol module is used for enabling the Web system to establish two-way communication through the RPA client and the RPA server by adopting a communication server based on a Websocket communication protocol provided by the RPA server;
the RPA client rapid integrated design module is used for enabling the RPA client to comprise an RPA task control software development kit SDK and an RPA task execution panel function; the software development kit SDK is used for rapid integration.
Compared with the prior art, the invention has the beneficial effects that: (1) The invention provides a method for quickly embedding RPA software in a Web system, which can solve various defects of the existing method for embedding the RPA software in the Web system by simplifying quick integration, improving stability and improving state instantaneity, and improves the defects of the existing scheme; (2) In the aspect of architecture, the invention provides a protocol architecture of two-way communication of an RPACLIent (RPA client) and an RPAServer (RPA server), so that a Web system and an RPA execution engine can conveniently mutually transmit information and execute corresponding operation; the protocol can be conveniently secondarily expanded through a custom communication protocol; (3) In the aspect of stability, an RPA coordination layer is not needed, a calling link is shortened, instability factors are reduced, and the stability of RPA task control is improved, so that the overall stability of the system is improved; (4) In the aspect of rapid integration, the RPACLIent is provided with a rapid integrated SDK, so that a Web system can be rapidly accessed to the RPA software control by only a few lines of codes, and the rapid integration efficiency of the RPA software in the Web is greatly simplified; (5) The invention is a scheme for controlling RPA tasks by a Web system, which has the advantages of innovative architecture, stable operation and easy integration.
Drawings
FIG. 1 is a flow chart of a prior art scheme for implementing rapid embedding of RPA software in a Web system based on RPA dispatch center interface calls;
FIG. 2 is a flow chart of a prior art scheme for implementing rapid embedding of RPA software in a Web system by invoking a local RPA execution engine based on a browser plug-in manner;
FIG. 3 is a schematic diagram of an overall architecture of a prior art RPA operation based on a Web system call;
FIG. 4 is a schematic diagram of a framework of the rapid RPA software embedding method for use in a Web system of the present invention;
FIG. 5 is a schematic block diagram of a method for rapid embedding of RPA software in a Web system according to the present invention;
FIG. 6 is a flow chart of the RPA task control procedure of the present invention;
fig. 7 is a flowchart of an embodiment of the present invention for implementing an RPA software fast embedding method in a Web system.
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. 4 and 5, the present invention provides a rapid RPA software embedding method for use in a Web system, comprising the steps of;
an RPA task control flow, wherein the RPA task control flow adopts an overall flow of RPA client to control RPA task execution, and is used for the rapid integration of RPA task control of a Web system;
the RPA control communication protocol adopts a communication server provided by an RPA server and based on a Websocket communication protocol, so that a Web system establishes two-way communication with the RPA server through an RPA client;
the rapid integration design of the RPA client enables the RPA client to comprise an RPA task control software development kit SDK and an RPA task execution panel function; the software development kit SDK is used for rapid integration.
The invention comprehensively upgrades the existing RPA client execution engine, and introduces two concepts of RPACLIENT (RPA client) and RPAServer (RPA server). The RPACLIENT comprises an RPA task control SDK and an RPA task execution panel function, and the RPAServer provides a communication service end based on Websocket and is used for communication between the RPACLIENT and the RPAServer. High-efficiency communication is completed through Websocket communication, the integration process is simplified, and the execution stability and the execution efficiency are improved.
In the aspect of rapid integration, RPACLIENT provides rapid access to SDK, and the rapid integration of RPA task control function for the Web system can be realized through a plurality of lines of codes, so that the development process of embedding RPA software in the Web system is greatly simplified.
In terms of stability, the system architecture after upgrading and reforming is directly communicated with the Web system through the RPACLIENT and the RPAServer, an RPA coordination layer is not needed, a calling link is shortened, instability factors are reduced, and the stability of RPA task control is improved.
In terms of real-time performance, the Websocket is a real-time two-way communication technology, so that the execution state and the result of the RPA task can be pushed to the RPACLIent in real time in the execution process of the RPA task, and the state and the execution result of the RPA task can be displayed on a Web page in real time.
After a user enters the Web service system, the RPA task can be controlled through an RPA control panel or an RPA task call integrated by the Web service system, and the following describes the key part of the architecture diagram of FIG. 5 one by one.
1.RPA task control flow.
The overall flow of RPA task execution control by rpaclent is shown in fig. 6:
(1) after a user starts a Web system, RPACLIENT and RPAServer start to establish connection, and bidirectional communication is maintained through a Websocket protocol;
(2) (3) the user clicks to start the RPA task, and the RPACLIENT sends a task starting command to the RPAServer;
(4) the RPAServer receives an RPA task starting command and sends an RPA task starting command to an RPA execution engine;
(5) (6) after the RPA task starts to execute, the RPA execution engine sends a task start execution message to RPAServer, RPAServer, and the message is transmitted to the RPACLIENT through the Websocket protocol;
(7) the Web system receives the RPA task start execution message and updates the RPA task state on the Web system interface;
(8) the RPA task continues to be executed, and in the execution process, the message can be continuously transmitted to the Web system through the RPAServer and the RPACLIENT;
(9) after the execution of the r RPA task is finished, the RPA execution engine sends a task result message to RPAServer, RPAServer and transmits the message to the RPACLIent;
⑪ the Web system updates the RPA task state of the Web system according to task execution;
⑫, ⑬, ⑭ RPA execution engine continues to send task execution end messages to the Web system, which updates the RPA task status based on the messages.
Through some steps, the Web system and the RPAClient, RPAServer, RPA execution engine can be tightly combined, and the aim of Web control RPA task is fulfilled.
2.RPA control communication protocol aspects.
Based on Websocket connection between rpaclent and RPAServer, the data protocol uses a custom set of messages to complete communication, and the messages adopt JSON format, and the specific communication protocol is shown in table 1 below.
Table 1Websocket communication protocol custom message data specification table
Wherein, up refers to the rpaclent sending a message to RPAServer, and down refers to the RPAServer sending a message to rpaclent.
The communication protocol mainly comprises two fields, namely cmd and data, wherein the cmd represents a command, and the data represents dynamic data carried by the command, so that the structure is easy to expand, and a plurality of instruction sets can be conveniently expanded.
3. RPACLIENT rapid integration design aspect.
The development of RPACLIENT designs the SDK to facilitate the rapid integration of Web systems.
The following are some common rpaclent operations, including RPA task start, RPA task manual stop, RPA task state synchronization, and RPA task execution result notification. The execution code is specifically as follows:
the// declaration defines an RPACLIent that by default will connect to the local ws:// localhost:60404
varclient=newRPAClient();
Per/initiate RPA task
client.start(taskName,taskParam);
// stop RPA task
client.stop(jobId);
Status synchronization message for/listening RPA task
client.on("state",function(payload){
Status of// started, stopped
payload.status;
Task name
payload.taskName;
Perform task ID
payload.jobId;
});
Perform result message of/monitor RPA task
client.on("result",function(payload){
Task name
payload.taskName;
Execution result of task
payload.resultData;
});。
In conclusion, the method and the system realize a scheme for quickly embedding the RPA software based on the Web system by carrying out multi-aspect analysis on the aspects of RPA task control flow, communication protocol and quick integrated design.
The invention also provides an RPA software rapid embedding system used in the Web system, which comprises;
the RPA task control flow module is used for controlling the overall flow of RPA task execution by adopting an RPA client so that the Web system can quickly integrate the RPA task control;
the RPA control communication protocol module is used for enabling the Web system to establish two-way communication through the RPA client and the RPA server by adopting a communication server based on a Websocket communication protocol provided by the RPA server;
the RPA client rapid integrated design module is used for enabling the RPA client to comprise an RPA task control software development kit SDK and an RPA task execution panel function; the software development kit SDK is used for rapid integration.
Based on the technical scheme of the invention, taking a CRM client system enterprise information automatic collection system as an example, the system flow is shown in FIG. 7, and the example should not limit the use scenario of the scheme of the invention:
the unified social credit code and the management status field of the enterprise can be automatically captured when the CRM adds the clients through embedding the RPA task in the CRM system, so that the basic information of the clients and the enterprises is enriched, and the basic field is conveniently provided when the finance is in butt joint. Based on the technology, RPA software is integrated into the CRM system, and the system has the characteristics of low cost, no invasion and the like.
(1) A user opens a browser and enters a CRM system;
(2) establishing a bidirectional connection between the RPACLIENT and the RPAServer, and preparing for subsequent RPA task control;
(3) the user clicks the client, enters the client information adding page, and fills in the contact name and the client company name;
(4) clicking a button for acquiring the basic information of the enterprise, starting an RPA (remote procedure A) grabbing task of the enterprise information, and sending an information grabbing task message of the enterprise to an RPAServer by RPACLIENT;
(7) the RPAServer calls an RPA execution engine to start an enterprise information RPA capturing task according to the transmitted task name and task parameters;
(8) after the RPA execution engine starting task is finished, sending an RPA task started message to RPAClient, RPAClient to update an enterprise information acquisition button in the Web system to acquire;
⑪ the RPA grabbing task of the enterprise information is continuously executed, and the RPA task execution for acquiring the unified social credit code and the operation condition of the enterprise is completed;
⑫ and ⑬ RPA tasks acquire unified social credit codes and business condition fields of enterprises, then encapsulate JSON data packets, and send RPA task execution result information to RPACLIENT through an RPAServer;
⑭ RPACLIENT backfills the enterprise unified social credit code and the business condition information into a customer CRM system according to the returned customer information;
⑮, ⑯ and ⑰ after the execution of the RPA task is completed, an execution completion message is sent to the rpaclent by the RPAServer, and the Web system update the get enterprise information button to "completed".
So far, the control RPA enterprise information grabbing task in the Web system has already been executed to complete all the processes, so that enterprise basic information of CRM clients can be quickly acquired.
The invention provides a method for quickly embedding RPA software in a Web system, which simplifies the process of integrating the RPA software by Web, improves the scheduling stability of the RPA task and enhances the real-time performance of task state feedback.
In the aspect of system architecture, a bidirectional communication architecture of RPACLIENT and RPAServer is adopted, so that the communication efficiency and the real-time performance of RPA task state feedback are improved;
in the aspect of stability, an RPA coordination layer is removed, link call is shortened, and the stability of RPA task control is improved by a direct-connection bidirectional communication mode;
in the aspect of rapid integration, the RPACLIENT encapsulates a simple and easy-to-use SDK, can realize the function of integrating the RPA task control by a plurality of lines of codes, and greatly reduces the complexity of integrating the RPA task by a Web system.
In conclusion, the invention is a Web system embedded RPA software control scheme which has reasonable framework, high stability and convenient integration.
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 (6)

1. The RPA software rapid embedding method used in the Web system is characterized by comprising the following steps of;
s1, an RPA task control flow, wherein the RPA task control flow adopts an overall flow of RPA client to control RPA task execution, and is used for rapidly integrating RPA task control by a Web system;
s2, an RPA control communication protocol, wherein the RPA control communication protocol adopts a communication server provided by an RPA server and based on a Websocket communication protocol, so that a Web system establishes two-way communication with the RPA server through an RPA client;
s3, the rapid integration design of the RPA client, wherein the rapid integration design of the RPA client enables the RPA client to comprise an RPA task control software development kit SDK and an RPA task execution panel function; the software development kit SDK is used for rapid integration;
step S1 comprises the steps of:
s11, after a user starts a Web system, an RPA client and an RPA server start to establish connection, and two-way communication is maintained through a communication server based on a Websocket communication protocol;
s12, a user clicks to start an RPA task, and an RPA client sends a task starting command to an RPA server;
s13, the RPA server receives the RPA task starting command and sends the RPA task starting command to the RPA execution engine;
s14, after the RPA task starts to be executed, the RPA execution engine sends a task start execution message to the RPA server, and the RPA server transmits the message to the RPA client through a Websocket communication protocol;
s15, the Web system receives the RPA task start execution message and updates the RPA task state on the Web system interface;
s16, the RPA task continues to be executed, and in the execution process, information is continuously transmitted to the Web system through the RPA client and the RPA server;
s17, after the RPA task execution is finished, the RPA execution engine sends a task result message to an RPA server, and the RPA server transmits the message to an RPA client;
s18, the Web system updates the RPA task state of the Web system according to the RPA task execution result;
and S19, the RPA execution engine continues to send a task execution ending message to the Web system, and the Web service system updates the RPA task state according to the message.
2. The rapid embedding method of RPA software for use in a Web system according to claim 1, wherein in step S2, the Websocket communication protocol uses a custom set of messages to complete communication; the message is in JSON format.
3. The rapid embedding method of RPA software for use in a Web system according to claim 2, wherein in step S2, the Websocket communication protocol contains two fields of cmd and data; wherein cmd represents the command and data represents the dynamic data carried by the command.
4. The rapid embedding method of RPA software for use in a Web system according to claim 3, wherein the Websocket communication protocol includes an uplink direction and a downlink direction; the uplink finger RPA client sends a message to an RPA server; the downlink refers to that the RPA server side sends a message to the RPA client side.
5. The RPA software rapid embedding method for use in a Web system according to claim 1, wherein the RPA client further comprises the following operation functions: RPA task start, RPA task manual stop, RPA task state synchronization and RPA task execution result notification.
6. An RPA software quick embedding system for use in a Web system, configured to implement the RPA software quick embedding method for use in a Web system according to any one of claims 1 to 5, wherein the RPA software quick embedding system for use in a Web system includes;
the RPA task control flow module is used for controlling the overall flow of RPA task execution by adopting an RPA client so that the Web system can quickly integrate the RPA task control;
the RPA control communication protocol module is used for enabling the Web system to establish two-way communication through the RPA client and the RPA server by adopting a communication server based on a Websocket communication protocol provided by the RPA server;
the RPA client rapid integrated design module is used for enabling the RPA client to comprise an RPA task control software development kit SDK and an RPA task execution panel function; the software development kit SDK is used for rapid integration.
CN202310434014.3A 2023-04-21 2023-04-21 RPA software rapid embedding method and system for Web system Active CN116149883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310434014.3A CN116149883B (en) 2023-04-21 2023-04-21 RPA software rapid embedding method and system for Web system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310434014.3A CN116149883B (en) 2023-04-21 2023-04-21 RPA software rapid embedding method and system for Web system

Publications (2)

Publication Number Publication Date
CN116149883A CN116149883A (en) 2023-05-23
CN116149883B true CN116149883B (en) 2023-07-25

Family

ID=86362248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310434014.3A Active CN116149883B (en) 2023-04-21 2023-04-21 RPA software rapid embedding method and system for Web system

Country Status (1)

Country Link
CN (1) CN116149883B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527645B (en) * 2023-07-05 2023-10-13 杭州实在智能科技有限公司 Method and system for controlling integrated RPA flow of terminal of Internet of things

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598688A (en) * 2022-03-01 2022-06-07 傲普(上海)新能源有限公司 Energy storage EMS system implementation method based on Websocket and http communication
CN115022385A (en) * 2022-05-27 2022-09-06 来也科技(北京)有限公司 Interactive process data processing method and device for realizing IA (International Association) based on RPA (resilient packet Access) and AI (Artificial Intelligence)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556609A (en) * 2004-01-09 2004-12-22 东南大学 Mobile robot network control platform device
CN111416793B (en) * 2019-01-08 2022-05-24 杭州海康威视数字技术股份有限公司 Permission control method based on open platform and embedded equipment
WO2021130500A1 (en) * 2019-12-23 2021-07-01 Ultima Business Solutions Limited A system and method for automated process orchestration
CN113168335A (en) * 2020-05-13 2021-07-23 尤帕斯公司 Application integration for robotic process automation
US11494203B2 (en) * 2020-05-13 2022-11-08 UiPath, Inc. Application integration for robotic process automation
CN112468502B (en) * 2020-11-27 2022-07-01 杭州梦视网络科技有限公司 Websocket protocol-based embedded equipment remote experiment method
CN114546620A (en) * 2022-02-25 2022-05-27 山东浪潮通软信息科技有限公司 Method, equipment and medium for parallel running of multiple RPA threads
CN115002099A (en) * 2022-05-27 2022-09-02 北京来也网络科技有限公司 Man-machine interactive file processing method and device for realizing IA (Internet of things) based on RPA (resilient packet Access) and AI (Artificial Intelligence)
CN115686540B (en) * 2023-01-03 2023-04-11 杭州实在智能科技有限公司 RPA control method and system based on Hongmong system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598688A (en) * 2022-03-01 2022-06-07 傲普(上海)新能源有限公司 Energy storage EMS system implementation method based on Websocket and http communication
CN115022385A (en) * 2022-05-27 2022-09-06 来也科技(北京)有限公司 Interactive process data processing method and device for realizing IA (International Association) based on RPA (resilient packet Access) and AI (Artificial Intelligence)

Also Published As

Publication number Publication date
CN116149883A (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN116149883B (en) RPA software rapid embedding method and system for Web system
WO2000078001B1 (en) General api for remote control of devices
CN112637283B (en) Chat robot-based Internet of things intelligent home management system and control method
WO2022089183A1 (en) Data communication method and apparatus, and device, storage medium and computer program product
US20050078705A1 (en) Service providing system cooperative with SIP and web systems and a method therefor
CN108206864B (en) Vehicle information synchronization real-time query system and information synchronization method based on WeChat
CA2979824C (en) Method and system for transferring messages between messaging systems
CN112188013B (en) Customer service method based on real-time information, storage medium and server
CN107846609B (en) Real-time transmission method, device and system for control room data
CN110113430B (en) Communication method between mobile phone and raspberry pie based on cloud database
WO2024103943A1 (en) Service processing method and apparatus, storage medium, and device
CN101551758B (en) System and method for implementing paralleling work of device management and tasks
CN108259601A (en) Communication device and method based on USB of vehicle device and application program of mobile phone in car networking
CN106230915B (en) A method of realizing function machine intelligence communication
CN114710522B (en) Vehicle-mounted network architecture system and method based on Android platform
CN112491614B (en) Configuration information online automatic validation method and system for embedded equipment
CN114168137A (en) Internet of things system and method adaptive to multiple platforms
CN114815714A (en) Remote vehicle control method and device and electronic equipment
CN113055253B (en) Method, device, equipment and storage medium for rapidly opening home gateway
CN108735278B (en) Instruction transmission method and application suitable for rehabilitation equipment
JP2002157219A (en) Method and system for dealing with internet terminal of existent online application, server device and recording medium
CN113259404A (en) Industrial communication middleware based on TCP/IP protocol and use method thereof
CN117201577B (en) Communication method and system of cross-platform API and SPI based on PISA
CN108900636B (en) Transaction data processing method and platform
CN118101838B (en) Third party service protocol answering substituting realization method, terminal 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