Batch File Security Configuration Method Based on RPA Robot
In the process automation of RPA robots, corresponding batch files and RPA robots are obtained based on terminal equipment attribute information, and batch files are monitored and abnormal terminal equipment is captured. The problem of low process automation management is solved and efficient office automation and fault location is achieved.
Patent Information
- Application Number
- CN202310460444.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-25
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2043-04-25
AI Technical Summary
The process automation management is inefficient, making it difficult to effectively monitor and manage the installation, execution and uninstallation of batch files on terminal devices, making it difficult to determine the operating status of terminal devices.
Based on the batch file security configuration method of RPA robot, the corresponding batch file and RPA robot are obtained by obtaining the attribute information of the terminal device, and the corresponding batch file and RPA robot are monitored to monitor the execution of the batch file, determine whether the batch file is installed successfully, and capture abnormal terminal devices through the RPA robot behavior trajectory.
It significantly improves the office efficiency of process automation, can accurately capture failed terminal equipment, and ensures the smooth installation and execution of batch files.
Smart Images

Figure CN116719687B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of RPA robot task management, and specifically, to a method for secure configuration of batch files based on RPA robots. Background Art
[0002] The full name of RPA is Robotic Process Automation, and its main function is to execute work information and business interactions through a robot according to a pre-designed process. In this way, when there is too much work information and business interaction, RPA can efficiently solve these complex processes and save labor costs. Nowadays, RPA has become the most widely used, most effective, and highly mature intelligent software today.
[0003] Batch files are widely used in the process of process automation. There are various terminal devices connected to the local area network in the information management area. When it is necessary to monitor the terminal devices in the local area network or update specific programs, the RPA robot can be used to perform process automation operations and status feedback. However, the terminal types in the information management area are different, and the batch files to be matched need to have different versions or formats. At the same time, how to monitor the entire process of installation, execution, and uninstallation of batch files, and determine the running status of the terminal based on the monitoring results, is the main technical means to improve the efficiency of process automation.
[0004] The above information disclosed in the background art section is only used to enhance the understanding of the background of the present application, and therefore it may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention
[0005] The object of the present invention is to solve the technical problem of low efficiency in process automation management, and a method for secure configuration of batch files based on RPA robots is proposed. The corresponding batch files and PRA robots are obtained based on the attribute information of different terminal devices. The PRA robot can monitor the execution of batch files throughout the process, collect the current terminal status based on the execution of the batch file, and determine whether the batch file is successfully installed based on the current terminal status information, which can significantly improve the office efficiency of process automation. At the same time, based on the behavior trajectory of the RPA robot executing the batch file, the terminal device with a fault can be accurately captured.
[0006] In a first aspect, a technical solution provided in an embodiment of the present invention is a method for secure configuration of batch files based on RPA robots, including the following steps:
[0007] S1. The response buffer obtains the attribute information of each terminal device in the information management area;
[0008] S2. Analyze the attribute information to obtain the terminal interface information and the terminal response information;
[0009] S3. Obtain the corresponding batch file based on the terminal interface information and the terminal response information, and obtain the corresponding RPA robot based on the batch file; S4. Obtain the behavior trajectory of the RPA robot executing the batch file, and obtain the abnormal terminal device based on the behavior trajectory.
[0010] In this solution, the corresponding batch file and PRA robot are obtained based on the attribute information of different terminal devices. The PRA robot can monitor the execution situation of the batch file throughout the process, collect the current terminal state based on the execution situation of the batch file, and determine whether the batch file is successfully installed based on the current terminal state information.
[0011] Preferably, obtaining the attribute information of each terminal device in the information management area based on the response buffer; includes the following steps:
[0012] S11. The response buffer sequentially obtains the handshake information of all terminal devices in the information management area according to the periodic instruction;
[0013] S12. Allocate the transmission channel based on the handshake information;
[0014] S13. Obtain the attribute information of each terminal device based on the transmission channel.
[0015] In this solution, the response buffer periodically sends handshake information to all terminal devices in the information management area to establish a network connection, and allocates the corresponding network transmission channels based on the sequence of network connectivity, which can avoid information interference and congestion phenomena during large-throughput transmission of batch files. Obtaining the attribute information of terminal devices sequentially through the network transmission channel can ensure the security of information transmission.
[0016] Preferably, allocating the transmission channel based on the handshake information; includes the following steps:
[0017] S121. Radiate heartbeat information to the information management area;
[0018] S122. Obtain the number of terminal devices in the information management area based on the response quantity of the heartbeat information;
[0019] S123. Divide the network segment address based on the number of terminal devices to obtain the sub-network segment address matching the terminal device;
[0020] S124. Generate the transmission channel corresponding to the terminal device based on the sub-network segment address.
[0021] In this solution, the number of terminal devices in the information management area can be determined based on the number of responses to heartbeat information, and then a subnet segment address matching the number of terminal devices is allocated. A transmission channel for the corresponding terminal device is generated based on the subnet segment address, which can ensure the singularity and independence of information transmission and guarantee the security of communication.
[0022] Preferably, the parsing attribute information obtains terminal interface information and terminal response information, including the following steps: S21. Authenticate the identity of the terminal device based on the terminal interface information; if the authentication is successful, execute step S22, and if the authentication fails, execute S25.
[0023] S22. Retrieve the batch file and RPA robot of the matching terminal device based on the response information.
[0024] S23. Allocate storage slots for the batch file and RPA robot in the response buffer, and configure the mirror executor corresponding to the storage slot.
[0025] S24. If the execution actions of the mirror executor and the RPA robot are inconsistent, execute S25.
[0026] S25. Record the faulty terminal device and block the corresponding transmission channel.
[0027] In this solution, the MAC address of each terminal device is collected. By comparing it with the MAC address in the device manager, it can be determined whether the current terminal device is the device that needs to be connected currently; based on the response information of the terminal device, the batch file required for business data is obtained, and the corresponding RPA robot is generated based on the processing logic of the batch file. Then, each batch file and its corresponding RPA robot are stored in the storage slot, and then a mirror executor is configured for each storage slot. The entire process information path of the batch file execution is compared based on the mirror executor. If there is a deviation in the comparison, the corresponding fault handling action is executed according to the deviation result.
[0028] Preferably, the authenticating the identity of the terminal device based on the terminal interface information includes:
[0029] Retrieve the connection protocol information, version information, and MAC address information in the resource pool based on the terminal interface information and compare them; if any one of the connection protocol information, version information, and MAC address information does not match, the identity authentication fails.
[0030] Preferably, configuring the mirror executor corresponding to the storage slot includes the following steps:
[0031] Sequentially obtain the RPA robot corresponding to the storage slot, and extract all the execution actions and their action guidance times corresponding to the RPA robot.
[0032] Construct an action execution map with the executed actions as nodes and the action guidance time as the execution path;
[0033] Configure the expansion coefficient for the execution path based on the historical configuration status of the terminal device;
[0034] Modify the action execution map based on the expansion coefficient to obtain the action execution corrected map and store it in the mirror executor;
[0035] The mirror executor is used to detect the executed actions of the RPA robot in real time and perform comparison and analysis.
[0036] In this solution, since the RPA robot is used to execute all operation processes of batch file installation, execution, and uninstallation, an action execution map can be obtained based on each action and the action guidance time. Then, based on the configuration of the current terminal device and the historical running time, the expansion coefficient adapted to the current terminal device can be obtained. Modify the action execution map based on the expansion coefficient to obtain the action execution corrected map and store it in the mirror executor, and the action time can be dynamically adjusted based on the configuration of the terminal device to prevent misjudgment.
[0037] Preferably, the obtaining of the corresponding batch file based on the terminal interface information and the terminal response information, and obtaining the corresponding RPA robot based on the batch file includes:
[0038] Obtain the corresponding batch file based on the version information, operating system, and service requirement information of the terminal device;
[0039] Obtain the operation logic of the batch file by obtaining the file number of the batch file, and generate an RPA robot based on the operation logic of the batch file.
[0040] Preferably, the obtaining of the behavior trajectory of the RPA robot executing the batch file, and obtaining the abnormal terminal device based on the behavior trajectory includes the following steps:
[0041] Real-time detect the full action process of the RPA robot executing the batch file through the mirror executor;
[0042] Obtain all action nodes and the time intervals between adjacent action nodes in the full action process to generate a behavior trajectory;
[0043] Map the behavior trajectory to the action execution corrected map;
[0044] Determine the abnormal terminal device by comparing the action nodes with the execution path.
[0045] In this solution, the action execution map is corrected based on the expansion coefficient to obtain the action execution correction map and stored in the mirror executor. Therefore, the action execution correction map corresponding to the terminal device is stored in the mirror executor. When the batch file executes the full-process action based on the RPA robot in the terminal device, the nodes and the handling time of each node are recorded respectively; the abnormal terminal device is determined by comparing the action nodes with the execution path.
[0046] Preferably, determining the abnormal terminal device by comparing the action nodes with the execution path includes:
[0047] If the number of action nodes does not match, it indicates that the batch file handling is abnormal; or,
[0048] If the execution path exceeds the threshold of the corresponding execution path in the action execution correction map, it indicates that the batch file handling is abnormal.
[0049] In this solution, when the node number comparison goes wrong, it means that the actions of installing, executing, and uninstalling the batch file are not completed. Correspondingly, it indicates that there is a fault in the batch file installation, and it is necessary to locate the corresponding terminal device for fault handling; further, when the execution path exceeds the threshold of the corresponding execution path in the action execution correction map, it indicates that the computing power of the current terminal device cannot match all the operation processes of the batch file, and it is necessary to locate the corresponding terminal device for fault handling.
[0050] The beneficial effects of the present invention: This application proposes a method for secure configuration of batch files based on RPA robots. The corresponding batch files and PRA robots are obtained based on the attribute information of different terminal devices. The PRA robot can monitor the execution situation of the batch file throughout the process, collect the current terminal state based on the execution situation of the batch file, and determine whether the batch file is successfully installed based on the current terminal state information; it can significantly improve the office efficiency of process automation, and at the same time, based on the behavior trajectory of the RPA robot executing the batch file, accurately capture the terminal device where the fault occurs.
[0051] The above invention content is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features, and advantages of the present invention more obvious and understandable, the following specifically illustrates the specific implementation manners of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] By reading the detailed description of the non-restrictive embodiments with reference to the following drawings, other features, purposes, and advantages of the present invention will become more obvious. The drawings are only used for the purpose of showing the preferred embodiments and are not considered as a limitation of the present invention. Moreover, throughout the drawings, the same reference numerals are used to represent the same components.
[0053] Figure 1 Flowchart of the batch file security configuration method based on the RPA robot of the present invention. Specific implementation mode
[0054] To make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific implementation mode described herein is only one of the best embodiments of the present invention, which is only used to explain the present invention and does not limit the protection scope of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0055] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations (or steps) can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operations are completed, but there can also be additional steps not included in the drawings; the process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0056] Embodiment: As Figure 1 shown, the batch file security configuration method based on the RPA robot includes the following steps:
[0057] S1. The response buffer obtains the attribute information of each terminal device in the information management large area.
[0058] Specifically, S11. The response buffer sequentially obtains the handshake information of all terminal devices in the information management large area according to the periodic instruction;
[0059] S12. Allocate the transmission channel based on the handshake information;
[0060] S13. Obtain the attribute information of each terminal device based on the transmission channel.
[0061] In this embodiment, the response buffer periodically sends handshake information to all terminal devices in the information management large area to establish a network connection, and allocates corresponding network transmission channels based on the sequence of network connectivity, which can avoid information interference and congestion phenomena when transmitting batch files with large throughput. By sequentially obtaining the attribute information of terminal devices through the network transmission channel, the security of information transmission can be ensured.
[0062] Specifically, the allocating the transmission channel based on the handshake information; includes the following steps:
[0063] S121. Radiate heartbeat information to the information management large area;
[0064] S122. Obtain the number of terminal devices in the information management area based on the number of responses to the heartbeat information;
[0065] S123. Divide the network segment address based on the number of terminal devices to obtain a sub-network segment address that matches the terminal devices;
[0066] S124. Generate a transmission channel corresponding to the terminal device based on the sub-network segment address.
[0067] In this embodiment, the number of terminal devices in the information management area can be determined based on the number of responses to the heartbeat information, and then a sub-network segment address that matches the number of terminal devices is allocated. A transmission channel corresponding to the terminal device is generated based on the sub-network segment address, which can ensure the singularity and independence of information transmission and guarantee the security of communication.
[0068] S2. Analyze the attribute information to obtain the terminal interface information and the terminal response information.
[0069] Specifically, S21. Perform identity authentication on the terminal device based on the terminal interface information; if the authentication is successful, execute step S22, if the authentication fails, execute S25;
[0070] S22. Retrieve the batch file and the RPA robot that match the terminal device based on the response information;
[0071] S23. Allocate storage slots for placing the batch file and the RPA robot in the response buffer, and configure the mirror executor corresponding to the storage slot;
[0072] S24. If the execution actions of the mirror executor and the RPA robot are inconsistent, execute S25;
[0073] S25. Record the faulty terminal device and block the corresponding transmission channel.
[0074] In this embodiment, the MAC address of each terminal device is collected. By comparing it with the MAC address in the device manager, it can be determined whether the current terminal device is the device that needs to be connected currently; based on the response information of the terminal device, the batch file required for business data is obtained, and the corresponding RPA robot is generated based on the processing logic of the batch file. Then, each batch file and its corresponding RPA robot are stored in the storage slot, and then a mirror executor is configured for each storage slot. The entire process information path of the batch file execution is compared based on the mirror executor. If there is a deviation in the comparison, the corresponding fault handling action is executed according to the deviation result.
[0075] Specifically, performing identity authentication on the terminal device based on the terminal interface information includes:
[0076] Retrieve the connection protocol information, version information, and MAC address information in the resource pool based on the terminal interface information and perform a comparison; if any one of the connection protocol information, version information, and MAC address information does not match correctly, the identity authentication fails.
[0077] Specifically, configure the mirror executor corresponding to the storage slot; the steps are as follows:
[0078] Successively obtain the RPA robots corresponding to the storage slots, and extract all the execution actions and their action guidance times corresponding to the RPA robots;
[0079] Construct an action execution map with the execution actions as nodes and the action guidance times as the execution paths;
[0080] Configure a dilation coefficient for the execution paths based on the historical configuration status of the terminal device;
[0081] Modify the action execution map based on the dilation coefficient to obtain an action execution corrected map and store it in the mirror executor;
[0082] The mirror executor is used to detect the execution actions of the RPA robots in real time and perform comparison and analysis.
[0083] In this embodiment, since the RPA robots are used to execute all the operation processes of batch file installation, execution, and uninstallation, therefore, based on each action and the action guidance time, an action execution map can be obtained. Then, based on the configuration and historical running time of the current terminal device, a dilation coefficient adapted to the current terminal device can be obtained. Modify the action execution map based on the dilation coefficient to obtain an action execution corrected map and store it in the mirror executor, and the action time can be dynamically adjusted based on the configuration of the terminal device to prevent misjudgment.
[0084] S3. Obtain the corresponding batch file based on the terminal interface information and the terminal response information, and obtain the corresponding RPA robot based on the batch file.
[0085] In this embodiment, obtain the corresponding batch file based on the version information, operating system, and service requirement information of the terminal device;
[0086] Obtain the file number of the batch file to obtain the operation logic of the batch file, and generate an RPA robot based on the operation logic of the batch file.
[0087] S4. Obtain the behavior trajectory of the RPA robot executing the batch file, and obtain abnormal terminal devices based on the behavior trajectory.
[0088] Specifically, the mirror executor is used to detect the full action process of the RPA robot executing the batch file in real time;
[0089] Generate a behavior trajectory by obtaining all action nodes and the time intervals between adjacent action nodes during the entire action process;
[0090] Map the behavior trajectory to the action execution correction map;
[0091] Determine abnormal terminal devices by comparing action nodes with the execution path.
[0092] In this embodiment, the action execution map is corrected based on the expansion coefficient to obtain the action execution correction map and stored in the mirror executor. Therefore, the action execution correction map corresponding to the terminal device is stored in the mirror executor. When the batch file executes the entire process actions on the terminal device based on the RPA robot, the time of each node and the handling time of each node are recorded respectively; abnormal terminal devices are determined by comparing action nodes with the execution path.
[0093] Specifically, determining abnormal terminal devices by comparing action nodes with the execution path includes:
[0094] If the number of action nodes does not match, it indicates that the batch file handling is abnormal; or,
[0095] If the execution path exceeds the threshold of the corresponding execution path in the action execution correction map, it indicates that the batch file handling is abnormal.
[0096] In this embodiment, when the node number comparison goes wrong, it means that the actions of installing, executing, and uninstalling the batch file are not completed. Correspondingly, it indicates that there is a fault in the batch file installation and it is necessary to locate the corresponding terminal device for fault handling; further, when the execution path exceeds the threshold of the corresponding execution path in the action execution correction map, it indicates that the computing power of the current terminal device cannot match all the operation processes of the batch file, and it is necessary to locate the corresponding terminal device for fault handling.
[0097] The above specific implementation manners are the preferred implementation manners of the batch file security configuration method based on the RPA robot of the present invention, and do not limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to this specific implementation manner. Any equivalent changes made according to the shape and structure of the present invention are within the protection scope of the present invention.
Claims
1. Batch file security configuration method based on RPA robot, Characterized in that: It includes the following steps: S1. The response buffer obtains the attribute information of each terminal device in the information management large area; S2. Analyze the attribute information to obtain the terminal interface information and the terminal response information; S3. Obtain the corresponding batch file based on the terminal interface information and the terminal response information, and obtain the corresponding RPA robot based on the batch file; S4. Obtain the behavior track of the RPA robot executing the batch file, and obtain the abnormal terminal device based on the behavior track; The step of analyzing the attribute information to obtain the terminal interface information and the terminal response information; includes the following steps: S21. Authenticate the identity of the terminal device based on the terminal interface information; if the authentication is successful, execute step S22, if the authentication fails, execute S25; S22. Retrieve the batch file and the RPA robot that match the terminal device based on the response information; S23. Allocate storage slots for the batch file and the RPA robot in the response buffer, and configure the mirror executor corresponding to the storage slots; S24. If the execution actions of the mirror executor and the RPA robot are inconsistent, execute S25; S25. Record the faulty terminal device and block the corresponding transmission channel; The step of configuring the mirror executor corresponding to the storage slot; includes the following steps: Sequentially obtain the RPA robots corresponding to the storage slots, and extract all the execution actions and their action guidance times corresponding to the RPA robots; Construct an action execution map with the execution actions as nodes and the action guidance times as the execution paths; Configure the expansion coefficient for the execution path based on the historical configuration status of the terminal device; Correct the action execution map based on the expansion coefficient to obtain the action execution corrected map and store it in the mirror executor; The mirror executor is used to detect the execution actions of the RPA robot in real time and perform comparison and analysis.
2. The batch file security configuration method based on RPA robot according to claim 1, Characterized in that: The step of the response buffer obtaining the attribute information of each terminal device in the information management large area; includes the following steps: S11. The response buffer sequentially obtains the handshake information of all terminal devices in the information management large area according to the periodic instruction; S12. Allocate the transmission channel based on the handshake information; S13. Obtain the attribute information of each terminal device based on the transmission channel.
3. The batch file security configuration method based on RPA robot according to claim 2, The step of allocating the transmission channel based on the handshake information; includes the following steps: S121. Radiate heartbeat information to the information management large area; S122. Obtain the number of terminal devices in the information management large area based on the response quantity of the heartbeat information; S123. Divide the network segment address based on the number of terminal devices to obtain the subnet segment address that matches the terminal device; S124. Generate the transmission channel corresponding to the terminal device based on the subnet segment address.
4. The batch file security configuration method based on RPA robot according to claim 1, Characterized in that: The step of authenticating the identity of the terminal device based on the terminal interface information includes: Retrieve the connection protocol information, version information, and MAC address information in the resource pool based on the terminal interface information and perform comparison; If any one of the connection protocol information, version information, and MAC address information is mismatched, the identity authentication fails.
5. The batch file security configuration method based on an RPA robot according to claim 1, characterized in that: obtaining a corresponding batch file based on the terminal interface information and the terminal response information, and obtaining a corresponding RPA robot based on the batch file, including: obtaining a corresponding batch file based on the version information, operating system, and service requirement information of the terminal device; obtaining the operation logic of the batch file by obtaining the file number of the batch file, and generating an RPA robot based on the operation logic of the batch file.
6. The batch file security configuration method based on an RPA robot according to claim 1, characterized in that: obtaining the behavior track of the RPA robot executing the batch file, and obtaining an abnormal terminal device based on the behavior track; including the following steps: real-time detecting the full action process of the RPA robot executing the batch file through an image executor; obtaining all action nodes and the time intervals between adjacent action nodes in the full action process to generate a behavior track; mapping the behavior track to an action execution correction map; determining an abnormal terminal device by comparing the action nodes with the execution path.
7. The batch file security configuration method based on an RPA robot according to claim 1, characterized in that: determining an abnormal terminal device by comparing the action nodes with the execution path, including: if the number of action nodes does not match, it indicates that the batch file handling is abnormal; or, if the execution path exceeds the threshold of the corresponding execution path in the action execution correction map, it indicates that the batch file handling is abnormal.
Citation Information
Patent Citations
RPA task state monitoring method and device and computer storage medium
CN112948212A
System and method for compatible management and scheduling of all-manufacturer RPA process robots
CN115577988A