CN113065148A - RPA flow packaging and packaging method and packaging system - Google Patents
RPA flow packaging and packaging method and packaging system Download PDFInfo
- Publication number
- CN113065148A CN113065148A CN202110433896.2A CN202110433896A CN113065148A CN 113065148 A CN113065148 A CN 113065148A CN 202110433896 A CN202110433896 A CN 202110433896A CN 113065148 A CN113065148 A CN 113065148A
- Authority
- CN
- China
- Prior art keywords
- file
- files
- packaging
- module
- flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a system for packaging RPA process, wherein the method comprises the following steps: acquiring a file required by flow execution; packaging the files based on an encryption algorithm to obtain a first file; generating an MD5 file based on an information summarization algorithm, wherein the MD5 file comprises an MD5 value of a first file; and packaging the first file and the MD5 file to obtain a flow package. On one hand, files required by process execution are packaged, and the files are imported at the same time when the process is executed, so that the situation that the files are lost and cannot be executed is avoided; in the second aspect, the required files are directly acquired from the packets, so that the execution efficiency is improved; on the other hand, the flow package is beneficial to circulation or transplantation, and an execution system of a third party can read files from the flow package; meanwhile, the security of the flow package is improved through an encryption algorithm, the files are prevented from being tampered through an information abstract algorithm, and the security of the flow package in the circulation process is improved.
Description
Technical Field
The invention relates to the technical field of robot process automation, in particular to a RPA process packaging method and a packaging system.
Background
Robot Process Automation (RPA) is a process task that simulates human operations on a computer by specific "robot software" and executes automatically according to rules. The RPA robot can intelligently understand the existing application of an enterprise through a user interface, automate the regular operation based on rules, and complete the work with high repeatability but fixed business logic. Such as automatic repeated reading of mail, mass production of documents and reports, and completion of tedious document inspection.
The I-Executor editor encapsulates the hard-coded encapsulation of a conventional line of line-written code into components. The user designs an automated process by dragging the assembly. Based on two system bottom layer automation technologies of windows and Linxu and advanced OCR, NLP and other artificial intelligence technologies, an artificial control system interface including data moving in and out of a third-party application system, information extraction from a document or a system, automatic filling or checking and the like can be automatically executed.
An editor usually generates a flow file, and completes an automatic flow by executing a flow-related file, but the number of files involved in the execution is large, such as a flow file, a template, a parameter and other dependent files, and when the flow file is executed, the files need to be imported, and even 20-50 files need to be imported according to a complex program of the flow, so the execution efficiency is low; meanwhile, the flow files cannot be circulated or transplanted, and most files related to execution cannot be found due to differences of execution systems after the migration.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a method and a system for packaging RPA flow, which are beneficial to circulation or transplantation and improve the execution efficiency by packaging the file executed by the flow.
The invention discloses a method for packaging RPA process, which comprises the following steps: acquiring a file required by flow execution; packaging the files based on an encryption algorithm to obtain a first file; generating an MD5 file based on an information summarization algorithm, wherein the MD5 file comprises an MD5 value of a first file; and packaging the first file and the MD5 file to obtain a flow package.
Preferably, the encryption algorithm includes: the IDEA algorithm, the RSA algorithm, or the AES algorithm.
Preferably, the method for packaging includes: and compressing the file to be packaged through a compression command.
Preferably, the MD5 file having the MD5 value is generated based on a message digest algorithm in combination with the user key, the salt value, and the first file.
Preferably, the file includes a process file, and the file further includes any one or a combination of the following additional files: parameter files, template files, dependency files and verification files.
Preferably, the method for packaging the file includes:
setting a package catalog;
presetting directories for the process files and the additional files respectively under the packet directory;
storing the process file and the additional file in corresponding directories;
and encrypting and compressing the packet directory through a compression command to obtain a first file.
Preferably, the method executed by the process packet includes:
the decompression flow comprises the steps of obtaining an MD5 file and a first file;
checking the first file according to the MD5 value of the MD5 file;
after the verification is passed, decompressing the first file based on an encryption algorithm, and importing the first file into a process execution system;
and the execution system calls the additional file and executes the flow file.
The invention also provides a packaging system for realizing the RPA process packaging and packaging method, which comprises an integration module, a first packaging module, a verification module and a second packaging module,
the integration module is used for acquiring files required by process execution;
the first packaging module is used for packaging the files based on an encryption algorithm to obtain a first file;
the checking module is used for calculating an MD5 value of the first file based on an information abstract algorithm and generating an MD5 file;
the second packaging module is used for packaging the first file and the MD5 file to obtain a flow package.
Preferably, the integration module is further configured to set a package directory, preset directories for the process file and the additional file respectively under the package directory, and store the process file and the additional file in corresponding directories; the first package module is used for encrypting and compressing the files and the directories under the package directories through a compression command to obtain first files.
Preferably, the packaging system further comprises a decompression module and an import module, wherein the decompression module is used for decompressing a flow, obtaining an MD5 file and a first file, and calling a verification module to verify the first file according to an MD5 value of an MD5 file; after the verification is passed, the decompression module decompresses the first file according to the encryption algorithm; the import module is used for importing the decompressed files into the execution system.
Compared with the prior art, the invention has the beneficial effects that: on one hand, files required by process execution are packaged, and the files are imported at the same time when the process is executed, so that the situation that the files are lost and cannot be executed is avoided; in the second aspect, the required files are directly acquired from the packets, so that the execution efficiency is improved; on the other hand, the flow package is beneficial to circulation or transplantation, and an execution system of a third party can read files from the flow package; meanwhile, the security of the flow package is improved through an encryption algorithm, the files are prevented from being tampered through an information abstract algorithm, and the security of the flow package in the circulation process is improved.
Drawings
FIG. 1 is a flow chart of a PRA flow encapsulation packaging method of the present invention;
FIG. 2 is a flowchart of a method for packaging files by setting a specified directory for the files;
FIG. 3 is a logic diagram of a package directory;
FIG. 4 is a logical block diagram of a packaging system of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The invention is described in further detail below with reference to the attached drawing figures:
a method for packaging and packaging RPA flow, as shown in fig. 1, the method includes:
step 101: and acquiring files required by flow execution. The files generally comprise a process file and additional files, wherein the additional files can be a parameter file, a template file, a dependent file (such as pictures, videos and the like) and a verification file, but are not limited to the above, and the number of the files required by a complex process can be up to 50; the flow files may include flow execution files and execution code files.
Step 102: and packaging the file based on an encryption algorithm to obtain a first file. The encryption algorithm comprises: the IDEA algorithm, the RSA algorithm, or the AES algorithm.
Step 103: an MD5 file is generated based on the information digest algorithm, the MD5 file including the MD5 value of the first file. In the information digest algorithm (MD5), a Hash algorithm is adopted to calculate a first file, the generated MD5 value cannot be inversely calculated, the first file is calculated again according to the Hash algorithm during decompression, and whether the first file is changed or not is verified by checking the MD5 values twice before and after. The Hash algorithm can adopt a user secret key for encryption and can also adopt a user secret key and a salt value mode for calculation.
Step 104: and packaging the first file and the MD5 file to obtain a flow package.
On one hand, files required by process execution are packaged, and the files are imported at the same time when the process is executed, so that the situation that the files are lost and cannot be executed is avoided; in the second aspect, the required files are directly acquired from the packets, so that the execution efficiency is improved; on the other hand, the flow package is beneficial to circulation or transplantation, and an execution system of a third party can read files from the flow package; meanwhile, the security of the flow package is improved through an encryption algorithm, the files are prevented from being tampered through an information abstract algorithm, and the security of the flow package in the circulation process is improved.
In step 102, the method of packaging includes: and compressing the file to be packaged through a compression command. In step 104, the same encapsulation method may be used. Windows system can adopt zip software to encrypt and compress, Linux can encrypt and compress through zip command.
As shown in fig. 2, the encapsulation and packaging can be performed by setting a specified directory for the file:
the method for packaging the file comprises the following steps:
step 201: and setting a package catalog.
Step 202: and presetting directories for the process file 13 and the additional file respectively under the packet directory. FIG. 3 illustrates a concrete directory structure, including: a template directory 14 and a dependency directory 15.
Step 203: the flow file 13 and the additional files are saved in the corresponding directories. In fig. 3, the flow file 13 and the parameter file 16 in the attached file under the package directory are also shown.
Step 204: and encrypting and compressing the files and the directories under the package directories by a compression command to obtain a first file 11.
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 a flow package 22.
The file position scanning by the execution system is facilitated by presetting the directory and the file position, and the required file is obtained. Decompression may be performed by reversing the encapsulation process.
The method for executing the flow packet comprises the following steps:
step 301: the decompression flow includes obtaining the MD5 file and the first file.
Step 302: the first file is checked against the MD5 value of the MD5 file. The first file can be encrypted by a Hash algorithm to generate an MD5 value, and the MD5 value changes when the first file is tampered according to the consistency of the generated MD5 value and the MD5 value in the MD5 file.
Step 303: and after the verification, decompressing the first file based on an encryption algorithm, and importing the first file into the flow execution system.
Step 304: and the execution system calls the additional file and executes the flow file. The execution system of the process is the prior art, and is not described in detail in the invention.
The present invention further provides a packaging system for implementing the RPA process encapsulation packaging method, as shown in fig. 4, including an integration module 31, a first packaging module 32, a verification module 33 and a second packaging module 34, where the integration module 31 is configured to obtain a file required by process execution; the first packaging module 32 is configured to package the files based on an encryption algorithm to obtain a first file 11; the verification module 33 is used for calculating the MD5 value of the first file 11 based on the information summarization algorithm and generating an MD5 file 21; the second packaging module 34 is configured to package the first file 11 and the MD5 file 21 to obtain the flow package 22.
The integration module 31 is further configured to set a package directory, and preset directories for the process file and the additional file respectively in the package directory, for example: the template directory and the dependent directory store the process files and the additional files in the corresponding directories; the first package module 32 is configured to encrypt and compress the directory and the file in the package directory by using a compression command to obtain a first file.
The packaging system of the invention further comprises a decompression module 35 and an import module 36, wherein the decompression module 35 is used for decompressing a flow, obtaining an MD5 file and a first file, and calling the verification module 33 to verify the first file according to the MD5 value of the MD5 file; after passing the verification, the decompression module 35 decompresses the first file according to the encryption algorithm; the import module 36 is configured to import the decompressed file into the execution system.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for RPA flow encapsulation and packaging, the method comprising:
acquiring a file required by flow execution;
packaging the files based on an encryption algorithm to obtain a first file;
generating an MD5 file based on an information summarization algorithm, wherein the MD5 file comprises an MD5 value of a first file;
and packaging the first file and the MD5 file to obtain a flow package.
2. The method of claim 1, wherein the encryption algorithm comprises: the IDEA algorithm, the RSA algorithm, or the AES algorithm.
3. The method of claim 1, wherein the method of packaging comprises: and compressing the file to be packaged through a compression command.
4. The method of claim 1, wherein the MD5 file having the MD5 value is generated based on a message digest algorithm in combination with the user key, the salt value, and the first file.
5. The method of claim 1, wherein the file comprises a process file, wherein the file further comprises any one or combination of the following additional files:
parameter files, template files, dependency files and verification files.
6. The method of claim 5, wherein packaging the file comprises:
setting a package catalog;
presetting directories for the process files and the additional files respectively under the packet directory;
storing the process file and the additional file in corresponding directories;
and encrypting and compressing the packet directory through a compression command to obtain a first file.
7. The method of claim 6, wherein the process package performs a method comprising:
the decompression flow comprises the steps of obtaining an MD5 file and a first file;
checking the first file according to the MD5 value of the MD5 file;
after the verification is passed, decompressing the first file based on an encryption algorithm, and importing the first file into a process execution system;
and the execution system calls the additional file and executes the flow file.
8. A packing system for implementing the RPA process encapsulation packing method of any of claims 1-6, comprising an integration module, a first packing module, a verification module, and a second packing module,
the integration module is used for acquiring files required by process execution;
the first packaging module is used for packaging the files based on an encryption algorithm to obtain a first file;
the checking module is used for calculating an MD5 value of the first file based on an information abstract algorithm and generating an MD5 file;
the second packaging module is used for packaging the first file and the MD5 file to obtain a flow package.
9. The packaging system of claim 8, wherein the integration module is further configured to set a package directory, and preset directories for the process files and the additional files under the package directory, respectively, and store the process files and the additional files in the corresponding directories; the first package module is used for encrypting and compressing the files and the directories under the package directories through a compression command to obtain first files.
10. The packaging system of claim 9, further comprising a decompression module and an import module, wherein the decompression module is configured to decompress the process flow, obtain the MD5 file and the first file, and invoke the check module to check the first file according to the MD5 value of the MD5 file;
after the verification is passed, the decompression module decompresses the first file according to the encryption algorithm;
the import module is used for importing the decompressed files into the execution system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110433896.2A CN113065148A (en) | 2021-04-20 | 2021-04-20 | RPA flow packaging and packaging method and packaging system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110433896.2A CN113065148A (en) | 2021-04-20 | 2021-04-20 | RPA flow packaging and packaging method and packaging system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113065148A true CN113065148A (en) | 2021-07-02 |
Family
ID=76567312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110433896.2A Pending CN113065148A (en) | 2021-04-20 | 2021-04-20 | RPA flow packaging and packaging method and packaging system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113065148A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254336A (en) * | 2016-07-29 | 2016-12-21 | 北京北信源软件股份有限公司 | A kind of document transmission method based on File Mapping encryption |
CN111242577A (en) * | 2020-01-13 | 2020-06-05 | 中国建设银行股份有限公司 | RPA process automation robot deployment method and device and electronic equipment |
CN111798216A (en) * | 2020-07-14 | 2020-10-20 | 上海智子信息科技股份有限公司 | Robot process automation multi-tool integration method and system |
CN112311865A (en) * | 2020-10-23 | 2021-02-02 | 苏州浪潮智能科技有限公司 | File encryption transmission method and device |
CN112464623A (en) * | 2020-11-24 | 2021-03-09 | 金蝶软件(中国)有限公司 | RPA flow file generation method and device, computer equipment and storage medium |
-
2021
- 2021-04-20 CN CN202110433896.2A patent/CN113065148A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254336A (en) * | 2016-07-29 | 2016-12-21 | 北京北信源软件股份有限公司 | A kind of document transmission method based on File Mapping encryption |
CN111242577A (en) * | 2020-01-13 | 2020-06-05 | 中国建设银行股份有限公司 | RPA process automation robot deployment method and device and electronic equipment |
CN111798216A (en) * | 2020-07-14 | 2020-10-20 | 上海智子信息科技股份有限公司 | Robot process automation multi-tool integration method and system |
CN112311865A (en) * | 2020-10-23 | 2021-02-02 | 苏州浪潮智能科技有限公司 | File encryption transmission method and device |
CN112464623A (en) * | 2020-11-24 | 2021-03-09 | 金蝶软件(中国)有限公司 | RPA flow file generation method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111475824B (en) | Data access method, device, equipment and storage medium | |
CN108647527B (en) | File packing method, file packing device, file unpacking device and network equipment | |
CN111008034B (en) | Patch generation method and device | |
US8839446B2 (en) | Protecting archive structure with directory verifiers | |
CN109787768B (en) | Identity authentication configuration method and device and computer readable storage medium | |
CN112115429B (en) | Java class encryption and decryption method and computer readable storage medium | |
US8819361B2 (en) | Retaining verifiability of extracted data from signed archives | |
CN111209001A (en) | Method, system, equipment and medium for batch generation of APKs of android channels | |
CN112862490A (en) | Output consensus method under asynchronous network | |
CN116015767A (en) | Data processing method, device, equipment and medium | |
CN111443942A (en) | Resource file packaging method and device, storage medium and computer equipment | |
CN113590551B (en) | Material digital expansion format system, method, medium and equipment | |
CN111045722A (en) | Intelligent contract packaging method, device, system, computer equipment and storage medium | |
CN113468118B (en) | File increment storage method, device and storage medium based on blockchain | |
CN108133026B (en) | Multi-data processing method, system and storage medium | |
CN112632536B (en) | Memory loading method based on PE file transformation | |
CN110532236A (en) | Increment updating method, system and the medium of compressed file | |
CN109887046A (en) | Image processing method, image authentication method, device, equipment and medium | |
CN105511814A (en) | Storage method of static data file | |
CN113065148A (en) | RPA flow packaging and packaging method and packaging system | |
CN104504324B (en) | Mobile solution certification reinforcement means and system | |
CN111291001A (en) | Reading method and device of computer file, computer system and storage medium | |
CN110674511A (en) | Offline data protection method and system based on elliptic curve encryption algorithm | |
CN113076548A (en) | Robot automation process account information processing method and device | |
CN111737276A (en) | Method and system for modifying block chain data |
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 |