Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation. In addition, although the division of the functional blocks is made in the device diagram, in some cases, it may be divided in blocks different from those in the device diagram.
The term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
The RPA is robot Process Automation (robot Process Automation), which realizes the Process Automation by simulating the manual operation mode of a user in a computer, thereby replacing or assisting the human to finish repetitive work and tasks in the digital equipment such as the computer, the RPA mobile phone and the like. The traditional RPA design robot is a desktop application program and exists in the form of a client, the form of the client often has the problems of safety authority, complex installation, incapability of automatic updating, software safety and the like, and meanwhile, the existing RPA design robot based on a browser cannot well solve the problems, and also has the problems of incapability of online debugging, limited authority and the like.
Although the idea of designing a robot based on the RPA of the browser has been proposed, the RPA designing robot based on the browser is not developed, and the existing RPA designing robot is realized based on technologies like ActiveX, driverlight, etc., so that automatic installation cannot be realized, and the problems of complicated authority, poor working performance, etc. still exist.
Based on the problems, the application provides a browser-based RPA implementation method, which aims to solve the problems of complex installation and updating, poor system compatibility and poor safety of the existing RPA design robot, and can enable the RPA design robot to avoid the trouble of permission, realize automatic updating and online debugging and improve the safety.
The RPA implementation method based on the browser may be applied to a server, and may also be applied to a terminal device, where the terminal device may include a fixed terminal having a telephone function, such as a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The servers may be, for example, individual servers or clusters of servers. However, for ease of understanding, the following embodiments will be described in detail with respect to a browser-based RPA implementation method applied to a server.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flowchart of an RPA implementation method based on a browser according to an embodiment of the present application. The RPA implementation method based on the browser can be applied to a server, particularly a browser, and can enable the RPA design robot to avoid the trouble of permission, realize automatic updating and online debugging and improve the safety.
As shown in fig. 1, the browser-based RPA implementing method includes steps S101 to S105.
S101, obtaining a client file of the RPA design robot, and packaging the client file, wherein the packaged client file comprises an XBAP program library, an interface library and a control library.
The packing process performed on the RPA design robot may be a packing process performed on a file of the RPA design robot of the client.
Specifically, the XBAP library is designed using the XAML (extensible application markup language) architecture, which is a standard technology of microsoft, wherein a part of a browser (such as an IE browser) can automatically recognize such architecture and automatically load, so that the browser can automatically load the XBAP library without redundant operations when the user opens the RPA design robot using the IE browser. The control library can be a process control library or any building block control, mainly comprises controls related to user business processes, and can be loaded by an XBAP program library. The interface library is a main interface library, the main interface library is an interface program library except the non-process control, and specifically, the main interface library also can comprise a design interface of an RPA design robot, and can be loaded by an XBAP program library.
In some embodiments, a client file of the RPA design robot is acquired, the client file is subjected to file classification processing, an XBAP library, an interface library and a control library are generated, and the XBAP library, the interface library and the control library are packaged respectively. Therefore, the fault tolerance capability can be enhanced, when the IE browser loads or automatically updates related modules, such as failure caused by network reasons or human factors, other modules are not influenced, and the IE browser can be reloaded or updated after being refreshed.
Specifically, the XBAP library, the interface library and the control library are packaged respectively, for example, when the interface library is wrong or cannot be loaded, the loading of the control library is not affected, and the browser can be refreshed continuously to reload or update the interface library.
In some embodiments, when the client file is packaged, MD5 values of the XBAP library, the interface library and the control library are calculated respectively to obtain MD5 values corresponding to each library; and packaging the XBAP program library, the interface library and the control library with corresponding MD5 values respectively. Therefore, incremental updating can be carried out according to whether the MD5 values of the library files are consistent or not in subsequent updating, and whether the downloaded program files are tampered or not is determined, so that the program security is saved.
In particular, the MD5 value may be considered a "digital fingerprint" of a file. The MD5 value for each file is different, and if anyone makes any changes to the file, the MD5 value, i.e. the corresponding "digital fingerprint" changes. For example, the download server provides an MD5 value in advance for a file, and after the user finishes downloading the file, the MD5 value of the downloaded file is recalculated, and by comparing whether the two values are the same, it can be determined whether the downloaded file is erroneous or whether the downloaded file is tampered.
In some embodiments, the types of the files in the RPA design robot are modified uniformly, and the modified files are packaged. Therefore, when the browser downloads the corresponding file, the corresponding multipurpose internet mail extension type (MIME) does not need to be added on the Web server aiming at the strange file type.
Specifically, the suffix names of all the documents in the RPA design robot are uniformly modified so that the suffix names of all the documents are the same.
For example, if the existing file type in the RPA design robot is ". times.exe", ". times.dll", ". times.abcd", etc., the suffix name of the above file is changed to the suffix name of ". times.usage", and since the suffix name of each file is the same, that is, the file type is the same, it is not necessary to add a corresponding multipurpose internet mail extension type (MIME) on the Web server.
S102, acquiring certificate signatures of the XBAP program library, the interface library and the control part library, and sending the packaged XBAP program library, the interface library, the control part library and the corresponding certificate signatures to a Web server.
In order to make the Internet a reliable source of software, to ensure users that they know the source of the code, certificate signatures of the XBAP library, the interface library and the control library need to be obtained.
Wherein the certificate is a digital encryption certificate provided by microsoft, and the certificate signature is created using a public key signature algorithm such as RSA public key cryptography. The public key algorithm actually uses two different keys, specifically a public key and a private key. The private key is known only to its owner, while the public key can be used by anyone. For public key algorithms, if one key is used for encryption, another key is used for decryption. Further, the decryption key cannot be reasonably calculated from the encryption key. In digital signatures, the private key generates a signature and the corresponding public key verifies it.
For example, when packaging is complete, the source of the RPA design robot may be determined to the recipient using a digital signature that simply generates a string of digital signatures that the user may bundle with the RPA design robot.
Wherein the certificate is a set of data that fully identifies an entity and is issued by a certificate authority only after the certificate authority verifies the identity of the entity. The data set includes a public encryption key of the entity. When a sender of mail signs the mail using its private key, a recipient of the mail may use the sender's public key to verify the sender's identity.
Specifically, the digital encryption certificate is sent to the user, and the user can sign the digital encryption certificate by using a SignTool, and sign and upload the certificate to the IE browser. And sending the packed XBAP program library, the interface library and the control library to a Web server based on the certificate signatures of the XBAP program library, the interface library and the control library. The Web service may be any server, such as IIS, Tomcat, Apache, and the like, and may be horizontally extensible, may be an inexpensive server, and the operating system of the application may be any system, such as windows, Linux, and the like.
S103, responding to a page access request of a user in the browser, generating an XBAP page based on the page access request, downloading the XBAP program library from the Web server, and loading the XBAP program library on the XBAP page.
The page access request may be an access request of a user to an XBAP page using HTTPS, where the XBAP page is a page generated by a browser using XBAP technology, and the XBAP combines functions of a Web application and a client (WPF) application. Like Web applications, XBAP can be deployed to a Web server and launched from an IE browser or a fire fox browser. Like client (WPF) applications, XBAP may utilize the functionality of WPF, including Workflow.
In some embodiments, a page identifier of the page access request is obtained, whether the page identifier is a preset page identifier is determined, and if the page identifier is the preset page identifier, an XBAP page is generated according to the page identifier. The preset page identification is an XBAP identification, the XBAP page is a page generated by a browser by utilizing an XBAP technology and is a WPF browser application program, and a webpage developed by utilizing the technology is similar to an html page. The traditional page developed by html, css and javascript can only run in a browser sandbox, while the page developed by the XBAP technology can utilize Microsoft software such as IE browser to naturally perform compatibility and automatic identification optimization of a network frame, so that when the IE browser accesses an XBAP page file, an application program can be automatically loaded into a desktop application program.
Specifically, a domain name suffix of the page access request is obtained, whether the domain name suffix is a preset domain name suffix is determined, and if the page identifier is the preset domain name suffix, an XBAP page is generated according to the page identifier.
Illustratively, a domain name suffix of the page access request is acquired, whether the domain name suffix is XBAP is determined, and if the page identifier is XBAP, an XBAP page is generated according to the page identifier.
In some embodiments, an XBAP page is generated and deployed based on the page access request and ClickOnce deployment technology, wherein the XBAP page includes a WPF browser application. Therefore, the automatic updating function can be provided for the RPA design robot, the safety is improved, and the IE browser can be automatically trusted and loaded by the user without additional operation.
The WPF browser application (xcap) is a client application that is deployable to a Web server and is launched in a browser. WPF hosts (presentationhost. exe) register shell and MIME handlers as XBAP and XAML files. Thus, when the domain name corresponding to XBAP is started, the IE browser knows to start the WPF host. In other browsers or standalone applications, the native browser hosting Api provided by WPF may be used to carry XBAP.
The PresentationHost, as a host process, may load many other applications, such as some tools with a relatively low coupling degree in the RPA design robot, e.g., a script recorder, a configuration manager, etc., or may be separately used to carry and run and associated with the IE browser. Therefore, the RPA design robot can access the Web server for automatic loading through the IE browser without worrying about program file leakage, and the execution performance and safety are saved in a manner of being carried by the PresentationHost host process without worrying about program tampering execution.
Illustratively, when a user accesses a WPF browser application program, the IE browser is only embedded into a lightweight display interface generated by the process, and actually calls the system resources of the computer, the use of the system resources such as a CPU (Central processing Unit), a memory and the like is completely independent of scheduling and the IE browser, and the operation of the whole PRA design robot is completely not influenced by the performance of the browser.
In particular, XBAP pages may be deployed on a Web server. Specifically, a WPF browser application program is generated based on a ClickOnce deployment technology, and an executable file, an application program list and a deployment list output by the WPF browser application program are obtained; and copies the executable file and the application manifest to the Web server to generate the XBAP page. The executable file comprises compiled code and a file with an exe extension, the application manifest comprises metadata associated with the application and information with a manifest extension, and the deployment manifest comprises information that ClickOnce uses to deploy the application and has an xbap extension.
Illustratively, if XBAP is to be deployed on a Web server, the executable file and application manifest are copied to the Web server and an HTML page containing hyperlinks is generated to open the deployment manifest, i.e., the file with the extension of ·. When the user clicks on the link to the XBAP file, ClickOnce will automatically handle the mechanism to download and launch the application, generating an XBAP page. The following code example shows an HTML page containing hyperlinks to XBAP:
<html>
<head></head>
<body>
<a href="XbapEx.xbap">Click this link to launch the application</a>
</body>
</html>。
in particular, XBAP pages may be deployed into web page frames. Specifically, a WPF browser application program is generated based on a ClickOnce deployment technology, and an executable file, an application program list and a deployment list output by the WPF browser application program are obtained; and generating a webpage of at least one frame, and setting the source attribute of the frame as a deployment manifest file to generate an XBAP page.
The following example code demonstrates an HTML page having two frames, the source of the second frame set to XBAP:
<html>
<head>
<title>A page with frames</title>
</head>
<frameset cols="50%,50%">
<frame src="introduction.htm">
<frame src="XbapEx.xbap">
</frameset>
</html>。
in some embodiments, since there are many different security environments, and in some security environments, such as deployment, the ClickOnce specification is not followed, a user-defined way of trust is required, the user will be alerted when attempting to install it, and the user may choose to continue or cancel the installation. Therefore, before downloading and loading the XBAP program library from the Web server, the certificate signature is loaded and the current loading environment is determined, if the loading environment is a local computer, the complete trust is set, and no operation is needed; if the loading environment is Intranet and a trusted site, displaying a complete trusted prompt message on the browser; and if the loading environment is Intranet and a trusted site, displaying a prompt message of not granting trust on the browser. Therefore, the use under different safety environments can be achieved by setting a user-defined trust mode.
Specifically, the loading environment may be determined by an IP address or the like, where the Intranet is an Intranet.
For example, if the loading environment is a local computer, no prompt message is sent to the client.
Illustratively, if the loading environment is Intranet and trusted sites, a complete trusted prompt is displayed on the browser, the user may choose to continue or cancel the installation at this time, and if the user chooses to continue the installation at this time, the user is required to sign the XBAP page using the certificate.
Illustratively, if the loading environment is Intranet, a prompt message of not granting trust is displayed on the browser, the user may choose to continue or cancel the installation at this time, and if the user chooses to continue the installation at this time, the user is required to sign the XBAP page by using the certificate.
In some embodiments, after the XBAP page is generated, the XBAP library is downloaded from the Web server and loaded on the XBAP page.
Specifically, obtaining the MD5 value of the XBAP program library, and determining whether the MD5 value of the XBAP program library is the same as the corresponding historical MD5 value; and if the MD5 value of the XBAP program library is different from the corresponding historical MD5 value, downloading the XBAP program library from the Web server. Therefore, incremental downloading of the RPA design robot can be achieved, the minimum downloading amount and the downloading speed are guaranteed, meanwhile, high availability and fault tolerance of the design robot in the browser are guaranteed, updating failure caused by network reasons, human factors, misoperation and the like is avoided, the updating process can be carried out again after the webpage is refreshed, and reinstallation is not needed. Wherein the historical MD5 value is the most recent XBAP library MD5 value.
And in the subsequent updating, the XBAP program library automatically compares MD5 values, and downloads the XBAP program library only when the MD5 values are inconsistent. If the RPA design robot XBAP program library is updated, the user only needs to publish the program library to the Web server, and the user only needs to refresh the page to automatically acquire and operate the latest program control.
Specifically, an MD5 value corresponding to an XBAP library packaged for the first time is used as an initial MD5 value, an MD5 value of the XBAP library is acquired before the XBAP library is loaded, whether encryption information of the MD5 value is the same as encryption information of the corresponding initial MD5 value is determined, and if the encryption information of the MD5 value is not the same as the encryption information of the initial MD5 value, warning information is output. Therefore, the downloaded program file can be prevented from being tampered, and can be downloaded again when being loaded, and the program safety is saved.
The encryption information may be a key, a password, or the like, and the same encryption information exists in the file updated every time thereafter, and if the file is tampered in the middle of the process, the key or the password is changed, so that whether the downloaded program file is tampered can be determined by detecting whether the encryption information of the MD5 value in the file is the same as the encryption information of the corresponding original MD5 value.
S104, downloading the interface library and the control library from the Web server, and loading the interface library and the control library in the XBAP page to generate a process design page.
And downloading and loading the interface library and the control library from a Web server through the XBAP program library on the XBAP page to form a flow design page.
In some embodiments, MD5 values are calculated for the XBAP library, the interface library and the control library, respectively, to obtain MD5 values corresponding to each library; packaging the XBAP program library, the interface library and the control library with corresponding MD5 values respectively, and taking the MD5 value as an initial MD5 value; before the interface library and the control library are loaded, obtaining MD5 values of the interface library and the control library, determining whether the encryption information of the MD5 value is the same as the encryption information of the corresponding initial MD5 value, and if the encryption information of the MD5 value is not the same as the encryption information of the corresponding initial MD5 value, outputting warning information. Therefore, the downloaded program file can be prevented from being tampered, and can be downloaded again when being loaded, and the program safety is saved.
Specifically, the encryption information may be a key, a password, or the like, and the same encryption information exists in the file updated every time thereafter, and if the file is tampered in the middle of the process, the key or the password is changed, so that whether the downloaded program file is tampered can be determined by detecting whether the encryption information of the MD5 value in the file is the same as the encryption information of the corresponding original MD5 value.
Illustratively, if the password of the MD5 value of the control library is not the same as the corresponding password of the initial MD5 value, outputting a warning message that the program file is tampered with and stopping loading the control library, or re-downloading another version of the control library.
Illustratively, if the password of the MD5 value of the control library is the same as the corresponding password of the initial MD5 value, the output starts to load the downloaded control library.
In some embodiments, MD5 values of the interface library and the control library are obtained, and it is determined whether the MD5 values of the interface library and the control library are the same as the corresponding historical MD5 values; if the MD5 value of the interface library is different from the corresponding historical MD5 value, downloading the interface library from the Web server; and if the MD5 value of the control library is not the same as the corresponding historical MD5 value, downloading the control library from the Web server. Therefore, incremental downloading of the RPA design robot can be achieved, the minimum downloading amount and the downloading speed are guaranteed, meanwhile, high availability and fault tolerance of the design robot in the browser are guaranteed, updating failure caused by network reasons, human factors, misoperation and the like is avoided, the updating process can be carried out again after the webpage is refreshed, and reinstallation is not needed. Wherein the historical MD5 value is the latest interface library MD5 value and the control library MD5 value.
Specifically, during the first access, the XBAP library, the interface library and the control library are downloaded fully and automatically, during the subsequent update, the XBAP library compares MD5 values with the interface library and the control library automatically, and only if the MD5 values are inconsistent, the XBAP library is downloaded. If the RPA design robot interface or the control is updated, the user only needs to publish the updated RPA design robot interface or control to the Web server, and the user only needs to refresh the page to automatically acquire and operate the latest program control.
In some embodiments, a flow design page is generated after the XBAP page loads the interface library and the control library. The process design page includes a control area, a script management area, and a script design area, and specifically, as shown in fig. 2, the left side is the control area, the right side is the script management area, and the middle is the script design area and the process script area.
The control area is loaded through a control library and comprises a plurality of different types of controls such as controls of a jump website, the script management area and the script design area are loaded through an interface library, the script management area comprises a plurality of different types of flows such as a single-cycle flow or a multi-cycle flow, the script design area provides a design area for a user, the user can select different controls and flows according to the control area and the script management area to further design the flows in the script design area, the flow script area is used for displaying a flow script generated on a flow design page, and the user can modify the generated flow script in the flow script area.
Specifically, a control area, a script management area and a script design area are displayed in an IE browser in a graphical mode, 15 types of controls are provided, the total number of the controls exceeds 180, various processes are automated, and a user does not need to install and download software, and all the controls are realized in an online mode.
And S105, generating a flow script according to the flow design page, and controlling script execution software to execute the flow script.
Specifically, a process design result of a user on the process design page is obtained; generating a flow script according to the flow design result, and debugging the flow script; and after the debugging of the flow script is finished, controlling script execution software to execute the debugged flow script.
And the process design result is the design operation of a user in the script design area according to the control area and the script management area, and the process design result is used for generating a corresponding process script. Specifically, the flow design result is a result formed by selecting a corresponding control and a corresponding script in a control area and a script management area of a flow design page on a browser by a user for design operation in a script design area.
For example, when a user wants to open a browser to access hundreds of degrees, the user may drag a control for opening the browser in a control area to a script design area, then input a hundreds of degrees website address in the control, and record a corresponding operation result.
In some embodiments, a recording function of the design robot can be started in the IE browser, so that user operations can be recorded in real time and corresponding processes can be automatically generated, and process design results can be obtained.
Specifically, the recording function needs to capture the input of a keyboard and a mouse, the requirement on code execution permission is extremely high, and for the reason, a separate recording client is embedded into a browser by utilizing the characteristics of XBAP (extensible bar code), the recording function is started from a WPF (Windows presentation framework) browser application program after a user clicks recording, the user operation is recorded in real time, a corresponding flow is automatically generated, and a flow design result is obtained.
In some embodiments, a flow script is generated according to the flow design result, and the flow script is debugged. The process script is generated according to the operation of a user in the script design area, the process script can be displayed in a graphic form, the script can be debugged after being stored, and a debugging button is displayed in the process design page.
Specifically, the flow sequence or configuration parameters in the flow script may be debugged, and the corresponding debugging result may be checked.
In some embodiments, the permission to execute the underlying API of the windows may be obtained in a form authorized by the user, so that it may be ensured that the RPA may call the local windows API in an online mode, and the problem of calling functions such as searching elements, mouse input, keyboard input, and the like in a debugging state is solved, thereby achieving the same debugging effect on a browser as on a client, and the debugging content may include a breakpoint, log record, log output, and the like.
Specifically, when loading the WPF browser application program, the IE browser detects that the program needs to access the local resource, so an authorization window pops up, and the IE browser will run the program after the user agrees to authorization.
In some embodiments, after the debugging of the flow script is completed, the corresponding script execution software is controlled to execute the debugged flow script. The script execution software is corresponding software for executing the flow script, and may be, for example, a browser, an excel, a word, or the like.
Illustratively, for example, when a user wants to open a browser to access a hundred degrees, the user can drag a control for opening the browser to a script design area in the control area, then input a hundred-degree website in the control, generate a corresponding design result, generate a flow script according to the design result and debug the flow script, and when the debugging is completed and the flow script runs, the user can automatically open the browser and then jump to a hundred-degree page.
Referring to fig. 3, fig. 3 is a schematic block diagram of a browser-based RPA implementation apparatus according to an embodiment of the present application, where the browser-based RPA implementation apparatus may be configured in a server for executing the browser-based RPA implementation method.
As shown in fig. 3, the apparatus 200 for implementing browser-based RPA includes: a file packaging module 201, a signature acquisition module 202, a program loading module 203, a page generation module 204 and a flow design module 205.
The file packaging module 201 is used for acquiring a client file of the RPA design robot and packaging the client file, wherein the packaged client file comprises an XBAP program library, an interface library and a control library;
a signature obtaining module 202, configured to obtain certificate signatures of the XBAP library, the interface library, and the control library, and send the packed XBAP library, the interface library, the control library, and corresponding certificate signatures to a Web server;
a program loading module 203, configured to respond to a page access request of a user in the browser, generate an XBAP page based on the page access request, download the XBAP library from the Web server, and load the XBAP library on the XBAP page;
a page generating module 204, configured to download the interface library and the control library from the Web server, and load the interface library and the control library in the XBAP page to generate a flow design page;
and the process design module 205 is configured to generate a process script according to the process design page, and control the script execution software to execute the process script.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the apparatus, the modules and the units described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The methods, apparatus, and devices of the present application are operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The above-described methods and apparatuses may be implemented, for example, in the form of a computer program that can be run on a computer device as shown in fig. 4.
Referring to fig. 4, fig. 4 is a schematic diagram of a computer device according to an embodiment of the present disclosure. The computer device may be a server.
As shown in fig. 4, the computer device includes a processor, a memory, and a network interface connected by a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the browser-based RPA implementations.
The processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment.
The internal memory provides an environment for the execution of a computer program on a non-volatile storage medium, which when executed by a processor, causes the processor to perform any of the browser-based RPA implementations.
The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the configuration of the computer apparatus is merely a block diagram of a portion of the configuration associated with aspects of the present application and is not intended to limit the computer apparatus to which aspects of the present application may be applied, and that a particular computer apparatus may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in some embodiments, the processor is configured to execute a computer program stored in the memory to implement the steps of: acquiring a client file of the RPA design robot, and packaging the client file, wherein the packaged client file comprises an XBAP program library, an interface library and a control library; acquiring certificate signatures of the XBAP program library, the interface library and the control part library, and sending the packaged XBAP program library, the interface library, the control part library and the corresponding certificate signatures to a Web server; responding to a page access request of a user in the browser, generating an XBAP page based on the page access request, downloading the XBAP program library from the Web server, and loading the XBAP program library on the XBAP page; downloading the interface library and the control library from the Web server, and loading the interface library and the control library in the XBAP page to generate a flow design page; and controlling script execution software to execute the flow script according to the flow script generated by the flow design page.
In some embodiments, the processor is further configured to: acquiring a client file of the RPA design robot, and performing file classification processing on the client file to obtain a file classification result; generating an XBAP program library, an interface library and a control library based on the file classification result; and respectively packaging the XBAP program library, the interface library and the control component library.
In some embodiments, the processor is further configured to: respectively carrying out MD5 value calculation on the XBAP program library, the interface library and the control library to obtain an MD5 value corresponding to each library; and packaging the XBAP program library, the interface library and the control library with corresponding MD5 values respectively.
In some embodiments, the processor is further configured to: acquiring MD5 values corresponding to the interface library and the control library, and determining whether the MD5 values corresponding to the interface library and the control library are the same as the corresponding historical MD5 values; if the MD5 value of the interface library is different from the corresponding historical MD5 value, downloading the interface library from the Web server; and if the MD5 value of the control library is not the same as the corresponding historical MD5 value, downloading the control library from the Web server.
In some embodiments, the processor is further configured to: and uniformly modifying the types of the client files to obtain modified client files, and packaging the modified files.
In some embodiments, the processor is further configured to: and generating an XBAP page based on the page access request and a ClickOnce deployment technology and deploying the XBAP page, wherein the XBAP page comprises a WPF browser application program.
In some embodiments, the processor is further configured to: acquiring a process design result of a user on the process design page; generating a flow script according to the flow design result, and debugging the flow script; and after the debugging of the flow script is finished, controlling script execution software to execute the debugged flow script.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and the program instructions, when executed, implement any one of the browser-based RPA implementation methods provided in the embodiment of the present application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The invention relates to a novel application mode of computer technologies such as storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like of a block chain language model. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.