A method and system for packaging and packaging RPA processes
Encryption algorithm and information digest algorithm are used to encapsulate RPA process execution files to form a process package, which solves the problem of large files and inability to be circulated and transplanted during RPA process execution, and improves execution efficiency and security.
Patent Information
- Application Number
- CN202110433896.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-20
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-04-20
AI Technical Summary
Existing RPA processes need to import multiple files when executing, resulting in low execution efficiency and the inability to circulate or transplant files. In particular, due to differences in execution systems, files are missing or related files cannot be found.
Encryption algorithms are used to encapsulate files required for process execution, and MD5 files are generated through information digest algorithms to form process packages to ensure file integrity and security, thereby improving execution efficiency and circulation.
Packaging technology is used to avoid missing files, improve execution efficiency, and ensure the security and portability of process packages. Third-party systems can also effectively read files, enhancing the security of process packages.
Smart Images

Figure CN113065148B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of robotic process automation technology, and in particular to a method and a packaging system for RPA process encapsulation and packaging. Background Art
[0002] Robotic process automation (RPA) is a process that uses specific "robot software" to simulate human operations on computers and automatically execute process tasks according to rules. RPA robots can intelligently understand existing enterprise applications through the user interface, automate routine operations based on rules, and complete highly repetitive tasks with fixed business logic. For example, they can automatically read emails repeatedly, generate files and reports in large quantities, and complete boring file checks.
[0003] I-Executor Editor encapsulates the traditional hard-coded code into components. Users design automated processes by dragging and dropping components. Based on the underlying automation technology of Windows and Linxu systems and advanced artificial intelligence technologies such as OCR and NLP, it can automatically execute manual manipulation of system interfaces, including data transfer in and out of third-party application systems, extracting information from documents or systems, and automatically filling in or checking.
[0004] The editor usually generates process files and completes the automation process by executing process-related files. However, there are many files involved in the execution, such as process files, templates, parameters, and other dependent files. These files need to be imported during execution. Depending on the complexity of the process, even 20-50 files need to be imported, so the execution efficiency is low. At the same time, the process files cannot be circulated or transplanted. After transplantation, most of the execution-related files cannot be found due to differences in the execution system. Summary of the invention
[0005] In view of the above-mentioned technical problems existing in the prior art, the present invention provides a method and a packaging system for RPA process encapsulation and packaging, which facilitates circulation or transplantation by encapsulating the files of process execution and improves execution efficiency.
[0006] The present invention discloses a method for encapsulating and packaging an RPA process, the method comprising: obtaining files required for process execution; packaging the files based on an encryption algorithm to obtain a first file; generating an MD5 file based on an information digest algorithm, the MD5 file including the MD5 value of the first file; packaging the first file and the MD5 file to obtain a process package.
[0007] Preferably, the encryption algorithm includes: IDEA algorithm, RSA algorithm or AES algorithm.
[0008] Preferably, the packaging method includes: compressing the file to be packaged through a compression command.
[0009] Preferably, based on the information digest algorithm, an MD5 file with an MD5 value is generated in combination with the user key, the salt value and the first file.
[0010] Preferably, the file includes a process file, and the file also includes any one of the following additional files or a combination thereof: a parameter file, a template file, a dependency file, and a verification file.
[0011] Preferably, the method for packaging the file includes:
[0012] Set the package directory;
[0013] Under the package directory, directories are preset for the process files and additional files respectively;
[0014] Save the process files and additional files in corresponding directories;
[0015] The package directory is encrypted and compressed by a compression command to obtain a first file.
[0016] Preferably, the method for executing the process package includes:
[0017] The decompression process includes obtaining the MD5 file and the first file;
[0018] Verify the first file according to the MD5 value of the MD5 file;
[0019] After verification, the first file is decompressed based on the encryption algorithm and imported into the process execution system;
[0020] The execution system calls the additional file and executes the process file.
[0021] The present invention also provides a packaging system for implementing the above RPA process encapsulation and packaging method, including an integration module, a first packaging module, a verification module and a second packaging module.
[0022] The integration module is used to obtain the files required for process execution;
[0023] The first packaging module is used to package the file based on an encryption algorithm to obtain a first file;
[0024] The verification module is used to calculate the MD5 value of the first file based on the information digest algorithm and generate an MD5 file;
[0025] The second packaging module is used to package the first file and the MD5 file to obtain a process package.
[0026] Preferably, the integration module is also used to set a package directory, and under the package directory, preset directories for the process files and additional files respectively, and save the process files and additional files in corresponding directories; the first package module is used to encrypt and compress the files and directories under the package directory through a compression command to obtain a first file.
[0027] Preferably, the packaging system also includes a decompression module and an import module. The decompression module is used to decompress the process, obtain the MD5 file and the first file, and call the verification module to verify the first file according to the MD5 value of the MD5 file; after the verification, the decompression module decompresses the first file according to the encryption algorithm; the import module is used to import the decompressed file into the execution system.
[0028] Compared with the prior art, the beneficial effects of the present invention are: on the one hand, by packaging the files required for process execution, the files are imported at the same time when the process is executed, thereby avoiding the situation where the file is missing and the process cannot be executed; on the other hand, the required files are directly obtained from the package, thereby improving the execution efficiency; on the other hand, the process package is conducive to circulation or transplantation, and the execution system of a third party can also read the file from the process package; at the same time, the security of the process package is improved by an encryption algorithm, and the file is prevented from being tampered with by an information summary algorithm, thereby improving the security of the process package during circulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a flow chart of the method for PRA process encapsulation and packaging of the present invention;
[0030] Figure 2 It is a flowchart of the method of packaging and packaging by setting a specified directory for the file;
[0031] Figure 3 It is a logical block diagram of the packet directory;
[0032] Figure 4 It is a logic block diagram of the packaging system of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0035] A method for packaging and packaging RPA processes, such as Figure 1 As shown, the method includes:
[0036] Step 101: Obtain the files required for process execution. The files usually include process files and additional files. The additional files may be parameter files, template files, dependent files (such as pictures and videos, etc.) and verification files, but are not limited thereto. A complex process may require up to 50 files. The process files may include process execution files and execution code files.
[0037] Step 102: Packaging the file based on an encryption algorithm to obtain a first file. The encryption algorithm includes: IDEA algorithm, RSA algorithm or AES algorithm.
[0038] Step 103: Generate an MD5 file based on the message digest algorithm, the MD5 file includes the MD5 value of the first file. In the message digest algorithm (MD5), the Hash algorithm is used to calculate the first file, and the generated MD5 value cannot be inversely calculated. When decompressing, the first file is calculated again according to the Hash algorithm, and the MD5 values before and after are checked to verify whether the first file has been modified. The Hash algorithm can be encrypted using a user key, and can also be calculated using a user key and a salt value.
[0039] Step 104: Pack the first file and the MD5 file to obtain a process package.
[0040] On the one hand, by packaging the files required for process execution, the files are imported at the same time when the process is executed, thereby avoiding the situation where the file is missing and the process cannot be executed; on the other hand, the required files are directly obtained from the package, which improves the execution efficiency; on the other hand, the process package is conducive to circulation or transplantation, and the execution system of a third party can also read files from the process package; at the same time, the security of the process package is improved by encryption algorithm, and the file is prevented from being tampered with by information summary algorithm, thereby improving the security of the process package during circulation.
[0041] In step 102, the packaging method includes: compressing the file to be packaged by using a compression command. In step 104, the same packaging method can be used. The Windows system can use zip software for encryption and compression, and Linux can use the zip command for encryption and compression.
[0042] like Figure 2 As shown, you can package and package by setting a specified directory for the file:
[0043] The method for packaging the file includes:
[0044] Step 201: Set the package directory.
[0045] Step 202: Under the package directory, there are preset directories for the process file 13 and the additional file. Figure 3 A specific directory structure is shown, including: a template directory 14 and a dependency directory 15.
[0046] Step 203: Save the process file 13 and the additional files in the corresponding directories. Figure 3 In the figure, the process file 13 in the package directory and the parameter file 16 in the additional file are also shown.
[0047] Step 204: Encrypt and compress the files and directories under the package directory through a compression command to obtain a first file 11.
[0048] Step 103: Based on the information digest algorithm, the MD5 value of the first file is calculated, and the MD5 file 21 is generated. Step 104: The first file 11 and the MD5 file 21 are packaged to obtain the process package 22.
[0049] By presetting the directory and file location, it is helpful for the execution system to scan the file location and obtain the required files. It can be decompressed by reversing the sealing method.
[0050] The method for executing the process package includes:
[0051] Step 301: The decompression process includes obtaining an MD5 file and a first file.
[0052] Step 302: Verify the first file according to the MD5 value of the MD5 file. The first file can be encrypted by a Hash algorithm to generate an MD5 value, and the generated MD5 value is verified based on its consistency with the MD5 value in the MD5 file. When the first file is tampered with, the MD5 value will change.
[0053] Step 303: After verification, the first file is decompressed based on the encryption algorithm and imported into the process execution system.
[0054] Step 304: The execution system calls the additional file and executes the process file. The execution system of the process is a prior art and will not be described in detail in the present invention.
[0055] The present invention also provides a packaging system for implementing the above RPA process packaging method, such as Figure 4As shown, it includes an integration module 31, a first packaging module 32, a verification module 33 and a second packaging module 34. The integration module 31 is used to obtain the files required for process execution; the first packaging module 32 is used to package the files based on the encryption algorithm to obtain the first file 11; the verification module 33 is used to calculate the MD5 value of the first file 11 based on the information digest algorithm and generate the MD5 file 21; the second packaging module 34 is used to package the first file 11 and the MD5 file 21 to obtain the process package 22.
[0056] The integration module 31 is also used to set a package directory, and under the package directory, preset directories for process files and additional files, such as a template directory and a dependency directory, and save the process files and additional files in corresponding directories; the first package module 32 is used to encrypt and compress the directories and files under the package directory through a compression command to obtain a first file.
[0057] The packaging system of the present invention also includes a decompression module 35 and an import module 36. The decompression module 35 is used for the decompression process to obtain the MD5 file and the first file, and according to the MD5 value of the MD5 file, the verification module 33 is called to verify the first file; after the verification, the decompression module 35 decompresses the first file according to the encryption algorithm; the import module 36 is used to import the decompressed file into the execution system.
[0058] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for packaging and packaging an RPA process, characterized in that: The method comprises: Obtain the documents required for process execution; Packaging the file based on an encryption algorithm to obtain a first file; Generate an MD5 file based on the information digest algorithm, wherein the MD5 file includes the MD5 value of the first file; Packaging the first file and the MD5 file to obtain a process package; The files include process files and additional files, the additional files include parameter files, template files, dependency files and verification files, and the method for packaging the files includes: Set the package directory; Under the package directory, directories are preset for the process files and additional files respectively; Save the process files and additional files in corresponding directories; The package directory is encrypted and compressed by a compression command to obtain a first file; The method for executing the process package includes: Decompress the process package to obtain the MD5 file and the first file; Verify the first file according to the MD5 value of the MD5 file; After verification, the first file is decompressed based on the encryption algorithm, and the file location is scanned by the execution system to obtain the required file; and the required file is imported into the execution system; The execution system calls the additional file and executes the process file.
2. The method according to claim 1, characterized in that The encryption algorithm includes: IDEA algorithm, RSA algorithm or AES algorithm.
3. The method according to claim 1, characterized in that The packaging method includes: compressing the file to be packaged through a compression command.
4. The method according to claim 1, characterized in that: Based on the information digest algorithm, the user secret key, the salt value and the first file are combined to generate an MD5 file with an MD5 value.
5. A packaging system for implementing the RPA process packaging method according to any one of claims 1 to 4, characterized in that: It includes an integration module, a first packaging module, a verification module and a second packaging module. The integration module is used to obtain the files required for process execution; The first packaging module is used to package the file based on an encryption algorithm to obtain a first file; The verification module is used to calculate the MD5 value of the first file based on the information digest algorithm and generate an MD5 file; The second packaging module is used to package the first file and the MD5 file to obtain a process package.
6. The packaging system according to claim 5, characterized in that: The integration module is also used to set a package directory, and under the package directory, preset directories for the process files and additional files respectively, and save the process files and additional files in the corresponding directories; The first packaging module is used to encrypt and compress the files and directories under the packaging directory through a compression command to obtain a first file.
7. The packaging system according to claim 6, characterized in that: It also includes a decompression module and an import module, wherein the decompression module is used to decompress the process, obtain the MD5 file and the first file, and call the verification module to verify the first file according to the MD5 value of the MD5 file; After verification, the decompression module decompresses the first file according to the encryption algorithm; The import module is used to import the decompressed files into the execution system.
