Monitoring method and device for robotic process automation system

By deploying monitoring clients in the RPA system and setting up multi-level monitoring configuration information, the problem of inconsistent monitoring configuration of servers in different operating systems is solved, and flexible and cross-platform monitoring configuration is realized to meet personalized needs.

CN116647451BActive Publication Date: 2025-08-12CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310431091.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-20
Publication Date
2025-08-12
Estimated Expiration
2043-04-20

AI Technical Summary

Technical Problem

In the prior art, different cmd or shell scripts are required to monitor servers of different operating systems in robot process automation systems, resulting in the inability to configure uniformly, the monitoring flexibility is low, and it is difficult to meet personalized needs and cross-platform support.

Method used

By deploying the monitoring client on the server of the RPA system and pre-setting three levels of monitoring configuration information, including configuration information for all servers, different types of servers and designated servers, the monitoring client obtains monitoring data based on these configuration information, supporting unified configuration and flexible adjustment.

Benefits of technology

It realizes unified monitoring configuration for multiple servers of different operating system, improves monitoring flexibility of RPA system, supports cross-platform monitoring, and meets personalized needs and dynamic adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116647451B_ABST
    Figure CN116647451B_ABST
Patent Text Reader

Abstract

The present invention discloses a monitoring method and device for a robotic process automation system, relating to the field of robotic process automation technology. The method comprises: receiving a monitoring configuration information acquisition request sent by any monitoring client, the monitoring configuration information acquisition request including information of a server to be monitored; determining monitoring configuration information corresponding to the information of the server to be monitored based on the information of the server to be monitored and pre-set monitoring configuration information of the RPA system; sending the monitoring configuration information corresponding to the information of the server to be monitored to the monitoring client, so that the monitoring client obtains monitoring data of the server to be monitored based on the monitoring configuration information corresponding to the information of the server to be monitored; receiving monitoring data of the server to be monitored fed back by the monitoring client; and monitoring the server to be monitored based on the monitoring data of the server to be monitored. The present invention can uniformly configure the monitoring requirements of multiple servers with different operating systems in an RPA system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robotic process automation, and in particular to a monitoring method and device for a robotic process automation system. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. No statement herein is admitted to be prior art by virtue of its inclusion in this section.

[0003] Robotic Process Automation (RPA) uses robots as virtual labor, interacting with existing user systems according to pre-programmed processes to complete expected tasks. An RPA system consists of multiple RPA robot clients, RPA robot servers, and RPA controllers. These clients, servers, and controllers may be deployed on servers running different operating systems and different applications or programs. A problem with any server could affect the normal operation of RPA. Therefore, it is necessary to monitor the operation of multiple servers in the RPA system.

[0004] Existing technologies typically monitor the operation of multiple servers by writing cmd or shell scripts, running the scripts periodically, and storing the resulting monitoring data in a database or file. This approach requires writing different cmd or shell scripts for servers with different operating systems, which is cumbersome, prevents unified monitoring configuration, and makes it difficult to adjust monitoring configurations. This reduces the flexibility of RPA system monitoring. Summary of the Invention

[0005] An embodiment of the present invention provides a monitoring method for a robotic process automation system, which is used to uniformly configure monitoring requirements for multiple servers with different operating systems in an RPA system, thereby improving the flexibility of RPA system monitoring. The method includes:

[0006] Receive a monitoring configuration information acquisition request sent by any monitoring client, the monitoring configuration information acquisition request including information about the server to be monitored; the monitoring client is a client deployed on a server of a Robotic Process Automation (RPA) system; the RPA system includes multiple servers with different operating systems, and each server of the RPA system is deployed with a monitoring client;

[0007] Determine the monitoring configuration information corresponding to the server information to be monitored based on the server information to be monitored and the pre-set RPA system monitoring configuration information; the RPA system monitoring configuration information includes three levels of monitoring configuration information: the first level of monitoring configuration information is the monitoring indicator configuration information of all servers in the RPA system; the second level of monitoring configuration information is the monitoring indicator configuration information of different types of servers in the RPA system; and the third level of monitoring configuration information is the monitoring indicator configuration information of a specified server in the RPA system; wherein the third level of monitoring configuration information has a higher priority than the second level of monitoring configuration information; and the second level of monitoring configuration information has a higher priority than the first level of monitoring configuration information;

[0008] Sending the monitoring configuration information corresponding to the information of the server to be monitored to the monitoring client, so that the monitoring client obtains the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the information of the server to be monitored;

[0009] Receive monitoring data of the server to be monitored fed back by the monitoring client; monitor the server to be monitored according to the monitoring data of the server to be monitored.

[0010] An embodiment of the present invention further provides a monitoring device for a robotic process automation system, which is used to uniformly configure monitoring requirements for multiple servers with different operating systems in an RPA system, thereby improving the flexibility of RPA system monitoring. The device includes:

[0011] a first receiving module configured to receive a monitoring configuration information acquisition request sent by any monitoring client, the monitoring configuration information acquisition request including information about a server to be monitored; the monitoring client being a client deployed on a server of a Robotic Process Automation (RPA) system; the RPA system including multiple servers running different operating systems, with a monitoring client deployed on each server of the RPA system;

[0012] A processing module is configured to determine monitoring configuration information corresponding to the server information to be monitored based on the server information to be monitored and pre-set RPA system monitoring configuration information; the RPA system monitoring configuration information includes three levels of monitoring configuration information: the first level of monitoring configuration information is the monitoring indicator configuration information of all servers in the RPA system; the second level of monitoring configuration information is the monitoring indicator configuration information of different types of servers in the RPA system; and the third level of monitoring configuration information is the monitoring indicator configuration information of a specified server in the RPA system; wherein the third level of monitoring configuration information has a higher priority than the second level of monitoring configuration information; and the second level of monitoring configuration information has a higher priority than the first level of monitoring configuration information;

[0013] The sending module is used to send the monitoring configuration information corresponding to the information of the server to be monitored to the monitoring client, so that the monitoring client can obtain the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the information of the server to be monitored;

[0014] The second receiving module is configured to receive monitoring data of the server to be monitored fed back by the monitoring client; and monitor the server to be monitored according to the monitoring data of the server to be monitored.

[0015] An embodiment of the present invention further provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned monitoring method of the robotic process automation system when executing the computer program.

[0016] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the computer program implements the monitoring method of the robotic process automation system.

[0017] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the monitoring method of the robotic process automation system.

[0018] In an embodiment of the present invention, a monitoring configuration information acquisition request sent by any monitoring client is received, the monitoring configuration information acquisition request including information of a server to be monitored; the monitoring client is a client deployed on a server of a Robotic Process Automation (RPA) system; the RPA system includes multiple servers with different operating systems, and a monitoring client is deployed on each server of the RPA system; monitoring configuration information corresponding to the information of the server to be monitored is determined based on the information of the server to be monitored and pre-set RPA system monitoring configuration information; the RPA system monitoring configuration information includes three levels of monitoring configuration information: first-level monitoring configuration information is monitoring indicator configuration information for all servers in the RPA system; second-level monitoring configuration information is monitoring indicator configuration information for different types of servers in the RPA system; and third-level monitoring configuration information is monitoring indicator configuration information for a specified server in the RPA system; wherein the third-level monitoring configuration information has a higher priority than the second-level monitoring configuration information; and the second-level monitoring configuration information has a higher priority than the first-level monitoring configuration information; the monitoring configuration information corresponding to the information of the server to be monitored is sent to the monitoring client, so that the monitoring client obtains monitoring data of the server to be monitored based on the monitoring configuration information corresponding to the information of the server to be monitored; the monitoring data of the server to be monitored fed back by the monitoring client is received; and the server to be monitored is monitored based on the monitoring data of the server to be monitored. Compared with the technical solution in the prior art that requires writing different cmd or shell scripts for servers with different operating systems, by deploying a monitoring client on the server of the RPA system and pre-setting the RPA system monitoring configuration information, the monitoring configuration information corresponding to the server information to be monitored can be obtained from the RPA system monitoring configuration information according to the server information to be monitored sent by the monitoring client. In this way, there is no need to write cmd or shell scripts for servers of each operating system. The monitoring client can obtain the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the server information to be monitored. It can realize the unified configuration of the monitoring requirements of multiple servers with different operating systems in the RPA system, thereby improving the flexibility of RPA system monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0020] Figure 1 This is a flow chart of a monitoring method for a robotic process automation system provided in an embodiment of the present invention;

[0021] Figure 2 This is a flowchart of a method for determining monitoring configuration information corresponding to server information to be monitored based on server information to be monitored and pre-set RPA system monitoring configuration information, provided in an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of a monitoring device for a robotic process automation system provided in an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of another monitoring device for a robotic process automation system provided in an embodiment of the present invention;

[0024] Figure 5 Schematic diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0025] To make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0026] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps therein is not limited and can be appropriately adjusted as needed.

[0027] Research has found that an RPA system includes multiple RPA robot clients, RPA robot servers, and RPA control terminals. Since multiple RPA robot clients, RPA robot servers, and RPA control terminals may be deployed on servers with different operating systems, and these servers run different applications or programs, any problem with any server may affect the normal operation of RPA. Therefore, it is necessary to monitor the operation of multiple servers in the RPA system.

[0028] In the existing technology, most of the methods are to monitor the operation of multiple servers by writing cmd or shell scripts, running the scripts regularly, and storing the obtained monitoring data in a database or file. This method has the following main problems:

[0029] 1. Personalized needs are difficult to meet;

[0030] 2. For servers with different operating systems, different cmd or shell scripts need to be written, and unified configuration is not supported;

[0031] 3. Insufficient support for real-world application scenarios of RPA robots;

[0032] 4. It is relatively cumbersome and often requires deploying more things on the monitoring server, such as shell scripts;

[0033] 5. There are requirements for cross-operating system support;

[0034] 6. It is difficult to adjust the monitoring configuration and has low flexibility;

[0035] 7. It is difficult to meet the requirements of actively querying monitoring information;

[0036] 8. For the monitored machine, there is a requirement for database or disk access relationship.

[0037] In response to the above research, an embodiment of the present invention provides a monitoring solution for a robotic process automation system, which can uniformly configure the monitoring requirements of multiple servers with different operating systems in the RPA system, meet the requirements of real RPA application scenarios, support cross-platform, heterogeneous data, flexible configuration, dynamic configuration, exception handling, and storage as structured data, thereby improving the flexibility of RPA system monitoring.

[0038] like Figure 1 FIG. 1 is a flow chart of a method for monitoring a robotic process automation system according to an embodiment of the present invention. The method may include the following steps:

[0039] Step 101: Receive a monitoring configuration information acquisition request sent by any monitoring client, the monitoring configuration information acquisition request including information about a server to be monitored; the monitoring client is a client deployed on a server of a Robotic Process Automation (RPA) system; the RPA system includes multiple servers running different operating systems, and a monitoring client is deployed on each server of the RPA system;

[0040] Step 102: Determine monitoring configuration information corresponding to the server information to be monitored based on the server information to be monitored and pre-set RPA system monitoring configuration information. The RPA system monitoring configuration information includes three levels of monitoring configuration information: the first level of monitoring configuration information is monitoring indicator configuration information for all servers in the RPA system; the second level of monitoring configuration information is monitoring indicator configuration information for different types of servers in the RPA system; and the third level of monitoring configuration information is monitoring indicator configuration information for a specific server in the RPA system. The third level of monitoring configuration information has a higher priority than the second level of monitoring configuration information, which has a higher priority than the first level of monitoring configuration information.

[0041] Step 103: Send the monitoring configuration information corresponding to the server information to be monitored to the monitoring client, so that the monitoring client obtains the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the server information to be monitored;

[0042] Step 104: receiving monitoring data of the server to be monitored fed back by the monitoring client; and monitoring the server to be monitored according to the monitoring data of the server to be monitored.

[0043] In an embodiment of the present invention, a monitoring configuration information acquisition request sent by any monitoring client is received, the monitoring configuration information acquisition request including information of a server to be monitored; the monitoring client is a client deployed on a server of a Robotic Process Automation (RPA) system; the RPA system includes multiple servers with different operating systems, and a monitoring client is deployed on each server of the RPA system; monitoring configuration information corresponding to the information of the server to be monitored is determined based on the information of the server to be monitored and pre-set RPA system monitoring configuration information; the RPA system monitoring configuration information includes three levels of monitoring configuration information: first-level monitoring configuration information is monitoring indicator configuration information for all servers in the RPA system; second-level monitoring configuration information is monitoring indicator configuration information for different types of servers in the RPA system; and third-level monitoring configuration information is monitoring indicator configuration information for a specified server in the RPA system; wherein the third-level monitoring configuration information has a higher priority than the second-level monitoring configuration information; and the second-level monitoring configuration information has a higher priority than the first-level monitoring configuration information; the monitoring configuration information corresponding to the information of the server to be monitored is sent to the monitoring client, so that the monitoring client obtains monitoring data of the server to be monitored based on the monitoring configuration information corresponding to the information of the server to be monitored; the monitoring data of the server to be monitored fed back by the monitoring client is received; and the server to be monitored is monitored based on the monitoring data of the server to be monitored. Compared with the technical solution in the prior art that requires writing different cmd or shell scripts for servers with different operating systems, by deploying a monitoring client on the server of the RPA system and pre-setting the RPA system monitoring configuration information, the monitoring configuration information corresponding to the server information to be monitored can be obtained from the RPA system monitoring configuration information according to the server information to be monitored sent by the monitoring client. In this way, there is no need to write cmd or shell scripts for servers of each operating system. The monitoring client can obtain the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the server information to be monitored. It can realize the unified configuration of the monitoring requirements of multiple servers with different operating systems in the RPA system, thereby improving the flexibility of RPA system monitoring.

[0044] In an embodiment of the present invention, an RPA system may include multiple RPA robot clients, RPA robot servers, and RPA controllers. These multiple RPA robot clients, RPA robot servers, and RPA controllers may be deployed on servers running different operating systems. Therefore, if an RPA system includes multiple servers running different operating systems, a monitoring client can be pre-deployed on each server in the RPA system, and the monitoring client can interact with the monitoring server. The monitoring client is used to obtain monitoring data and report it to the monitoring server; the monitoring server provides an interface for monitoring configuration, allowing users to modify and set RPA monitoring configuration information through the monitoring server.

[0045] Figure 1 The monitoring method of the robotic process automation system shown in the figure can be applied to the monitoring server. Figure 1 The monitoring method of the robotic process automation system shown is described in detail.

[0046] In the above step 101, any monitoring client can periodically send a monitoring configuration information acquisition request to the monitoring server. The monitoring configuration information acquisition request can include information about the server to be monitored, where the server to be monitored is the server deployed by the monitoring client.

[0047] During specific implementation, any monitoring client may also send a request for obtaining monitoring configuration information to the monitoring server after each startup.

[0048] In one embodiment, the information of the server to be monitored may include the type of the server to be monitored and the identifier of the server to be monitored.

[0049] In the above step 102, the monitoring server may determine the monitoring configuration information corresponding to the server information to be monitored based on the server information to be monitored and the pre-set RPA system monitoring configuration information.

[0050] To improve configuration efficiency, the pre-set RPA system monitoring configuration information can include three levels of monitoring configuration information: the first-level monitoring configuration information is the monitoring indicator configuration information of all servers in the RPA system; the second-level monitoring configuration information is the monitoring indicator configuration information of different types of servers in the RPA system; and the third-level monitoring configuration information is the monitoring indicator configuration information of specified servers in the RPA system. The third-level monitoring configuration information has a higher priority than the second-level monitoring configuration information; and the second-level monitoring configuration information has a higher priority than the first-level monitoring configuration information.

[0051] In one embodiment, each level of monitoring configuration information includes a configuration field for the server type, a configuration field for the server identifier, and configuration information for at least one monitoring indicator;

[0052] The server type configuration field in the first-level monitoring configuration information is empty, and the server identifier configuration field is empty;

[0053] The configuration field of the server type in the second-level monitoring configuration information is not empty, and the configuration field of the server identifier is empty;

[0054] The configuration field of the server type in the third-level monitoring configuration information is empty, and the configuration field of the server identifier is not empty.

[0055] In specific implementation, the first-level monitoring configuration information can be the monitoring indicator configuration information of all servers in the RPA system, that is, the system default configuration, which is the monitoring item that all servers included in the RPA system need to execute; therefore, the first-level monitoring configuration information does not need to consider the server type and server ID. In the first-level monitoring configuration information, the configuration field of the server type can be set to empty; the configuration field of the server ID can be set to empty; the system default monitoring indicator configuration information may include configuration information of indicators such as CPU, memory, disk, and main processes.

[0056] For example, the configuration field of the server type in the first-level monitoring configuration information may be set to DEFAULT (ie, system default) or empty, and the configuration field of the server identifier may be set to empty.

[0057] For example, the CPU metrics monitored above include: %sys (kernel space), %siowait (I / O wait time), %sirq (hard interrupt), %ssoft (soft interrupt), and %sidle (idle time). Memory metrics monitor: Total (M), Used Space (M), %Available, and Available Space (M). Disk metrics monitor file system usage, such as Capacity (M), Used Space (M), %Used, Available (M), Growth Size (M), and Growth Rate. Key process metrics monitor process resource usage, such as Process Name, Process Path, %CPU, and %Memory.

[0058] In practice, different server types may require different monitoring information. Therefore, the second-level monitoring configuration information can be configured to monitor metrics for different types of servers in the RPA system—specifically, configuration information for a specific server type. In the second-level monitoring configuration information, the server ID is not considered. Therefore, the server ID configuration field can be left blank, while the server type configuration field remains valid, indicating that the server type configuration field is set to a specific server type.

[0059] For example, server types can include RPA robots, RPA servers, ORACLE servers, MySQL servers, Redis servers, and RPA control terminals. The server type configuration field in the second-level monitoring configuration information can be set to a non-DEFAULT value (that is, set to any of the above server types), and the server identifier configuration field can be set to empty.

[0060] For example, if the server type is an RPA robot, it is necessary to monitor the information of the Rpa-Agent process. Therefore, the monitoring indicator needs to be configured as the configuration information of the Rpa-Agent process. If the server type is an RPA server, it is necessary to monitor the information of the Rpa-Server process. Therefore, it is necessary to configure the monitoring indicator as the configuration information of the Rpa-Server process. If the server type is an RPA control terminal, it is necessary to monitor the information of different microservices deployed on the RPA control terminal. Therefore, it is necessary to configure the monitoring indicator configuration information of each microservice.

[0061] In specific implementations, there may be a need to monitor only a specific server. Therefore, the third-level monitoring configuration information can be used to configure monitoring indicators for a specific server in the RPA system. The server type does not need to be considered in the third-level monitoring configuration information. The server type field can be left blank, while the server ID field can be set to a specific server ID.

[0062] For example, the server identifier can be the server name or a unique identifier representing the server. To configure monitoring for a specific server only, you can configure an indicator for the specified server by running a script to obtain monitoring results. In the third-level monitoring configuration information, the server type field can be left blank, and the server identifier field can be set to the server identifier of the specified server.

[0063] In one embodiment, the configuration information of each monitoring indicator in each level of the monitoring configuration information may include the indicator name, the method for obtaining indicator data, the frequency, the threshold, and the status.

[0064] In specific implementation, the format of the configuration information of each monitoring indicator can be json format; the method for obtaining indicator data can be DEFAULT (i.e., system default method), COMMAND command, a combination of specified commands, shell script or bat script, etc.

[0065] In an embodiment of the present invention, considering that the configuration information of the monitoring indicators in the second-level monitoring configuration information or the third-level monitoring configuration information may conflict with the configuration information of the monitoring indicators in the first-level monitoring configuration information, or the configuration information of the monitoring indicators in the second-level monitoring configuration information may conflict with the configuration information of the monitoring indicators in the third-level monitoring configuration information, therefore, priorities are set for the monitoring configuration information at each level, among which the third-level monitoring configuration information has the highest priority, followed by the second-level monitoring configuration information; and the first-level monitoring configuration information has the lowest priority.

[0066] For example, the first-level monitoring configuration information configures that all servers need to monitor the CPU, that is, the configuration information of the monitoring indicator is the CPU. However, the server of server type RPA_SERVER does not need to monitor the CPU. Therefore, the CPU configuration information in the first-level monitoring configuration information can be overwritten by configuring a second-level monitoring configuration information with the server type RPA_SERVER. It can be overwritten by modifying the frequency and threshold in the configuration information of the monitoring indicator, or by setting the CPU status (startup flag) to disabled. In this way, the first-level monitoring configuration information and the second-level monitoring configuration information both contain the configuration information of the CPU monitoring indicator, and there is a conflict. At this time, the higher priority can be used, that is, the configuration information of the CPU monitoring indicator in the second-level monitoring configuration information shall prevail, and the CPU configuration information in the first-level monitoring configuration information shall not take effect.

[0067] In one embodiment, according to the RPA system monitoring configuration information set in the above manner, the monitoring configuration information corresponding to the server information to be monitored is determined, such as Figure 2 Specifically, it may include:

[0068] Step 201: Based on the identifier of the server to be monitored, if there is monitoring configuration information with the same server identifier as the identifier of the server to be monitored in the third-level monitoring configuration information, the monitoring configuration information of the identifier of the server to be monitored is obtained;

[0069] Step 202: Based on the type of the server to be monitored, if there is monitoring configuration information of the same server type as the server to be monitored in the second-level monitoring configuration information, the monitoring configuration information of the server type to be monitored is obtained;

[0070] Step 203: Compare the monitoring configuration information of the to-be-monitored server identifier, the monitoring configuration information of the to-be-monitored server type, and the configuration information of the monitoring indicators in the first-level monitoring configuration information. If the configuration information of the monitoring indicators is identical, the configuration information of the monitoring indicators in the monitoring configuration information with a higher priority shall prevail. The priority of the monitoring configuration information of the to-be-monitored server identifier is higher than the priority of the monitoring configuration information of the to-be-monitored server type, and the priority of the monitoring configuration information of the to-be-monitored server type is higher than the priority of the first-level monitoring configuration information.

[0071] Step 204: Determine the monitoring configuration information corresponding to the server information to be monitored based on the pairwise comparison results.

[0072] During specific implementation, in the above steps 201 and 202, when there is monitoring configuration information with a server identifier identical to the server identifier to be monitored in the third-level monitoring configuration information, the monitoring configuration information of the server identifier to be monitored can be obtained; when there is monitoring configuration information of a server type identical to the server type to be monitored in the second-level monitoring configuration information, the monitoring configuration information of the server type to be monitored can be obtained.

[0073] During specific implementation, since the monitoring configuration information of the server identifier to be monitored, the monitoring configuration information of the server type to be monitored and the first-level monitoring configuration information may have the same configuration information of the monitoring indicators, and there is a conflict in the configuration information of the same monitoring indicators, in the above steps 203 and 204, the monitoring configuration information of the server identifier to be monitored, the monitoring configuration information of the server type to be monitored and the first-level monitoring configuration information are compared pairwise. If there is the same configuration information of the monitoring indicators, the configuration information of the monitoring indicators in the monitoring configuration information with a higher priority shall prevail; based on the pairwise comparison results, the monitoring configuration information corresponding to the information of the server to be monitored is determined.

[0074] In step 103, the monitoring configuration information corresponding to the server information to be monitored may be sent to the monitoring client, and the monitoring client may obtain the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the server information to be monitored.

[0075] In specific implementation, after the monitoring client executes the indicator data acquisition method, it can put the obtained monitoring data into the clod field, send the monitoring data to the monitoring server, and display the found results in the monitoring list of the monitoring server.

[0076] During specific implementation, after the monitoring client executes the monitoring command of the indicator data acquisition method (the command composition of the specified command), the obtained monitoring data may also be in the format of key-value data pairs.

[0077] For example, to monitor the contents of redis-cli info, you can separate each line of records with a colon, with the left side being the key and the right side being the value. Then, send the key-value data pair to the monitoring server.

[0078] In step 104, the monitoring data of the server to be monitored fed back by the monitoring client may be received; and the server to be monitored may be monitored according to the monitoring data of the server to be monitored.

[0079] In specific implementation, after obtaining the monitoring data of the server to be monitored, the monitoring client can send the monitoring data to a unified queue, and a separate thread will send the monitoring data to the monitoring server. In this way, the efficiency of data upload can be improved.

[0080] In an embodiment of the present invention, a structured data storage template may also be configured in the RPA system monitoring configuration information. After receiving the monitoring data of the server to be monitored fed back by the monitoring client in step 104, the following steps may also be performed:

[0081] According to the structured data storage template, the monitoring data of the monitored server is parsed to obtain structured monitoring data;

[0082] Store structured monitoring data in the database.

[0083] During specific implementation, the structured data storage template may be a defined data conversion rule or a data extraction rule.

[0084] For example, when a monitoring client executes a monitoring command (a command method) to obtain indicator data, the result (monitoring data) is a long text message. This text message can be parsed using pattern matching based on defined data conversion or extraction rules, converting the unstructured data into recognizable structured monitoring data.

[0085] In this way, the monitoring server can parse the monitoring data of the monitored server into structured monitoring data according to the structured data storage template and store it in the database. This can meet the need to store various monitoring data in a structured manner, making it easier for users to obtain monitoring content more quickly and clearly.

[0086] In one embodiment, dynamic adjustment of monitoring configuration may also be supported, which may specifically include:

[0087] Receive monitoring configuration information update requests sent by users;

[0088] Update the RPA system monitoring configuration information based on the monitoring configuration information update request.

[0089] During specific implementation, customers can dynamically adjust monitoring configuration items through the monitoring server. They can modify the global default configuration, configure for a specific machine type, or configure individually for a specific machine.

[0090] In one embodiment, after the RPA system monitoring configuration information is updated, the monitoring server may also send the updated content of the RPA system monitoring configuration information to the monitoring client and obtain real-time monitoring data from the monitoring client.

[0091] In this way, through the above method, there is no need to write different cmd or shell scripts for each server. Only through the pre-set RPA system monitoring configuration information, the same set of programs can be applied to different servers, truly achieving one-time compilation and run everywhere, meeting the needs of unified configuration and flexible personalized configuration, meeting cross-platform monitoring configuration and configuration of multiple monitoring requirements, and meeting the dynamic adjustment of monitoring configuration, which takes effect in real time.

[0092] In one embodiment, if the user needs to actively query the monitoring data, he can also call the monitoring server interface. The monitoring server can actively send the monitoring configuration information of the corresponding server to the designated monitoring client based on the user's request, and the designated monitoring client obtains the monitoring data based on the monitoring configuration information sent by the monitoring server.

[0093] In an embodiment of the present invention, an exception handling mechanism can also be set on the monitoring client. If the monitoring client fails to send monitoring data to the monitoring server, there is a default retry mechanism. Beyond the retry mechanism (for example, more than 3 consecutive failures), the exception data will be persisted on the disk configured with a fixed file name of the monitoring client. When the monitoring client restarts the program, the content of the file will be reloaded. If the retry is successful, the failure record will no longer appear in the file.

[0094] The present invention also provides a monitoring device for a robotic process automation system, as described in the following embodiments. Because the principles underlying the problem solved by this device are similar to those of the monitoring method for a robotic process automation system, the implementation of this device can be referenced to the implementation of the monitoring method for a robotic process automation system, and any repetitions will not be repeated.

[0095] Figure 3 Schematic diagram of a monitoring device for a robotic process automation system provided in an embodiment of the present invention, the device comprising:

[0096] A first receiving module 301 is configured to receive a monitoring configuration information acquisition request sent by any monitoring client, the monitoring configuration information acquisition request including information about a server to be monitored. The monitoring client is a client deployed on a server of a Robotic Process Automation (RPA) system. The RPA system includes multiple servers running different operating systems, and each server of the RPA system is deployed with a monitoring client.

[0097] Processing module 302 is configured to determine monitoring configuration information corresponding to the server information to be monitored based on the server information to be monitored and pre-set RPA system monitoring configuration information; the RPA system monitoring configuration information includes three levels of monitoring configuration information: first-level monitoring configuration information is monitoring indicator configuration information for all servers in the RPA system; second-level monitoring configuration information is monitoring indicator configuration information for different types of servers in the RPA system; and third-level monitoring configuration information is monitoring indicator configuration information for a specific server in the RPA system; wherein the third-level monitoring configuration information has a higher priority than the second-level monitoring configuration information; and the second-level monitoring configuration information has a higher priority than the first-level monitoring configuration information.

[0098] The sending module 303 is used to send the monitoring configuration information corresponding to the information of the server to be monitored to the monitoring client, so that the monitoring client obtains the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the information of the server to be monitored;

[0099] The second receiving module 304 is configured to receive monitoring data of the server to be monitored fed back by the monitoring client; and monitor the server to be monitored according to the monitoring data of the server to be monitored.

[0100] In one embodiment, each level of monitoring configuration information may include a configuration field for the server type, a configuration field for the server identifier, and configuration information for at least one monitoring indicator;

[0101] The server type configuration field in the first-level monitoring configuration information is empty, and the server identifier configuration field is empty;

[0102] The configuration field of the server type in the second-level monitoring configuration information is not empty, and the configuration field of the server identifier is empty;

[0103] The configuration field of the server type in the third-level monitoring configuration information is empty, and the configuration field of the server identifier is not empty.

[0104] In one embodiment, the configuration information of each monitoring indicator may include the indicator name, the method for obtaining indicator data, the frequency, the threshold, and the status.

[0105] In one embodiment, the information of the server to be monitored may include the type of the server to be monitored and the identifier of the server to be monitored;

[0106] The processing module can be used to:

[0107] According to the identifier of the server to be monitored, if there is monitoring configuration information of a server identifier identical to the identifier of the server to be monitored in the third-level monitoring configuration information, obtaining the monitoring configuration information of the identifier of the server to be monitored;

[0108] According to the type of the server to be monitored, if there is monitoring configuration information of a server type that is the same as the type of the server to be monitored in the second-level monitoring configuration information, obtaining the monitoring configuration information of the type of the server to be monitored;

[0109] Compare the monitoring configuration information of the to-be-monitored server identifier, the monitoring configuration information of the to-be-monitored server type, and the configuration information of the monitoring indicators in the first-level monitoring configuration information in pairs. If the configuration information of the same monitoring indicators exists, the configuration information of the monitoring indicators in the monitoring configuration information with a higher priority shall prevail; wherein, the priority of the monitoring configuration information of the to-be-monitored server identifier is higher than the priority of the monitoring configuration information of the to-be-monitored server type, and the priority of the monitoring configuration information of the to-be-monitored server type is higher than the priority of the first-level monitoring configuration information;

[0110] Based on the pairwise comparison results, the monitoring configuration information corresponding to the server information to be monitored is determined.

[0111] In one embodiment, the RPA system monitoring configuration information may further include a structured data storage template;

[0112] like Figure 4 As shown, the device may further include a data parsing module 401, which is configured to:

[0113] According to the structured data storage template, the monitoring data of the monitored server is parsed to obtain structured monitoring data;

[0114] Store structured monitoring data in the database.

[0115] In one embodiment, an update module may also be included, configured to:

[0116] Receive monitoring configuration information update requests sent by users;

[0117] Update the RPA system monitoring configuration information based on the monitoring configuration information update request.

[0118] An embodiment of the present invention further provides a computer device, Figure 5 This is a schematic diagram of a computer device in an embodiment of the present invention. The computer device 500 includes a memory 510, a processor 520, and a computer program 530 stored in the memory 510 and executable on the processor 520. When the processor 520 executes the computer program 530, the monitoring method of the robotic process automation system described above is implemented.

[0119] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the computer program implements the monitoring method of the robotic process automation system.

[0120] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the monitoring method of the robotic process automation system.

[0121] In an embodiment of the present invention, a monitoring configuration information acquisition request sent by any monitoring client is received, the monitoring configuration information acquisition request including information of a server to be monitored; the monitoring client is a client deployed on a server of a Robotic Process Automation (RPA) system; the RPA system includes multiple servers with different operating systems, and a monitoring client is deployed on each server of the RPA system; monitoring configuration information corresponding to the information of the server to be monitored is determined based on the information of the server to be monitored and pre-set RPA system monitoring configuration information; the RPA system monitoring configuration information includes three levels of monitoring configuration information: first-level monitoring configuration information is monitoring indicator configuration information for all servers in the RPA system; second-level monitoring configuration information is monitoring indicator configuration information for different types of servers in the RPA system; and third-level monitoring configuration information is monitoring indicator configuration information for a specified server in the RPA system; wherein the third-level monitoring configuration information has a higher priority than the second-level monitoring configuration information; and the second-level monitoring configuration information has a higher priority than the first-level monitoring configuration information; the monitoring configuration information corresponding to the information of the server to be monitored is sent to the monitoring client, so that the monitoring client obtains monitoring data of the server to be monitored based on the monitoring configuration information corresponding to the information of the server to be monitored; the monitoring data of the server to be monitored fed back by the monitoring client is received; and the server to be monitored is monitored based on the monitoring data of the server to be monitored. Compared with the technical solution in the prior art that requires writing different cmd or shell scripts for servers with different operating systems, by deploying a monitoring client on the server of the RPA system and pre-setting the RPA system monitoring configuration information, the monitoring configuration information corresponding to the server information to be monitored can be obtained from the RPA system monitoring configuration information according to the server information to be monitored sent by the monitoring client. In this way, there is no need to write cmd or shell scripts for servers of each operating system. The monitoring client can obtain the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the server information to be monitored. It can realize the unified configuration of the monitoring requirements of multiple servers with different operating systems in the RPA system, thereby improving the flexibility of RPA system monitoring.

[0122] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0123] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0124] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0126] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A monitoring method for a robotic process automation system, characterized in that: include: Receive a monitoring configuration information acquisition request sent by any monitoring client, wherein the monitoring configuration information acquisition request includes information of a server to be monitored; The monitoring client is deployed on the server of the Robotic Process Automation (RPA) system. The RPA system includes multiple servers with different operating systems, and a monitoring client is deployed on each server of the RPA system. Determine the monitoring configuration information corresponding to the server information to be monitored based on the server information to be monitored and the pre-set RPA system monitoring configuration information; the RPA system monitoring configuration information includes three levels of monitoring configuration information: the first level of monitoring configuration information is the monitoring indicator configuration information of all servers in the RPA system; the second level of monitoring configuration information is the monitoring indicator configuration information of different types of servers in the RPA system; and the third level of monitoring configuration information is the monitoring indicator configuration information of a specified server in the RPA system; wherein the third level of monitoring configuration information has a higher priority than the second level of monitoring configuration information; and the second level of monitoring configuration information has a higher priority than the first level of monitoring configuration information; Sending the monitoring configuration information corresponding to the information of the server to be monitored to the monitoring client, so that the monitoring client obtains the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the information of the server to be monitored; Receive monitoring data of the server to be monitored fed back by the monitoring client; monitor the server to be monitored according to the monitoring data of the server to be monitored.

2. The method according to claim 1, wherein Each level of monitoring configuration information includes a configuration field for the server type, a configuration field for the server identifier, and configuration information for at least one monitoring indicator; The server type configuration field in the first-level monitoring configuration information is empty, and the server identifier configuration field is empty; The configuration field of the server type in the second-level monitoring configuration information is not empty, and the configuration field of the server identifier is empty; The configuration field of the server type in the third-level monitoring configuration information is empty, and the configuration field of the server identifier is not empty.

3. The method according to claim 2, wherein The configuration information of each monitoring indicator includes the indicator name, indicator data acquisition method, frequency, threshold and status.

4. The method according to claim 2, wherein The information of the server to be monitored includes the type of the server to be monitored and the identifier of the server to be monitored; Based on the server information to be monitored and the pre-set RPA system monitoring configuration information, determine the monitoring configuration information corresponding to the server information to be monitored, including: According to the identifier of the server to be monitored, if there is monitoring configuration information of a server identifier identical to the identifier of the server to be monitored in the third-level monitoring configuration information, obtaining the monitoring configuration information of the identifier of the server to be monitored; According to the type of the server to be monitored, if there is monitoring configuration information of a server type that is the same as the type of the server to be monitored in the second-level monitoring configuration information, obtaining the monitoring configuration information of the type of the server to be monitored; Compare the monitoring configuration information of the to-be-monitored server identifier, the monitoring configuration information of the to-be-monitored server type, and the configuration information of the monitoring indicators in the first-level monitoring configuration information in pairs. If the configuration information of the same monitoring indicators exists, the configuration information of the monitoring indicators in the monitoring configuration information with a higher priority shall prevail; wherein, the priority of the monitoring configuration information of the to-be-monitored server identifier is higher than the priority of the monitoring configuration information of the to-be-monitored server type, and the priority of the monitoring configuration information of the to-be-monitored server type is higher than the priority of the first-level monitoring configuration information; Based on the pairwise comparison results, the monitoring configuration information corresponding to the server information to be monitored is determined.

5. The method according to claim 1, wherein The RPA system monitoring configuration information also includes a structured data storage template; After receiving the monitoring data of the server to be monitored from the monitoring client, the following steps are also included: According to the structured data storage template, the monitoring data of the monitored server is parsed to obtain structured monitoring data; Store structured monitoring data in the database.

6. The method according to claim 1, wherein Also includes: Receive monitoring configuration information update requests sent by users; Update the RPA system monitoring configuration information based on the monitoring configuration information update request.

7. A monitoring device for a robotic process automation system, characterized in that: include: A first receiving module is configured to receive a monitoring configuration information acquisition request sent by any monitoring client, wherein the monitoring configuration information acquisition request includes information of a server to be monitored; The monitoring client is deployed on the server of the Robotic Process Automation (RPA) system. The RPA system includes multiple servers with different operating systems, and a monitoring client is deployed on each server of the RPA system. A processing module is configured to determine monitoring configuration information corresponding to the server information to be monitored based on the server information to be monitored and pre-set RPA system monitoring configuration information; the RPA system monitoring configuration information includes three levels of monitoring configuration information: the first level of monitoring configuration information is the monitoring indicator configuration information of all servers in the RPA system; the second level of monitoring configuration information is the monitoring indicator configuration information of different types of servers in the RPA system; and the third level of monitoring configuration information is the monitoring indicator configuration information of a specified server in the RPA system; wherein the third level of monitoring configuration information has a higher priority than the second level of monitoring configuration information; and the second level of monitoring configuration information has a higher priority than the first level of monitoring configuration information; The sending module is used to send the monitoring configuration information corresponding to the information of the server to be monitored to the monitoring client, so that the monitoring client can obtain the monitoring data of the server to be monitored according to the monitoring configuration information corresponding to the information of the server to be monitored; The second receiving module is configured to receive monitoring data of the server to be monitored fed back by the monitoring client; and monitor the server to be monitored according to the monitoring data of the server to be monitored.

8. The device according to claim 7, wherein Each level of monitoring configuration information includes a configuration field for the server type, a configuration field for the server identifier, and configuration information for at least one monitoring indicator; The server type configuration field in the first-level monitoring configuration information is empty, and the server identifier configuration field is empty; The configuration field of the server type in the second-level monitoring configuration information is not empty, and the configuration field of the server identifier is empty; The configuration field of the server type in the third-level monitoring configuration information is empty, and the configuration field of the server identifier is not empty.

9. The device according to claim 8, wherein The configuration information of each monitoring indicator includes the indicator name, indicator data acquisition method, frequency, threshold and status.

10. The device according to claim 8, wherein The information of the server to be monitored includes the type of the server to be monitored and the identifier of the server to be monitored; Processing module, specifically used for: According to the identifier of the server to be monitored, if there is monitoring configuration information of a server identifier identical to the identifier of the server to be monitored in the third-level monitoring configuration information, obtaining the monitoring configuration information of the identifier of the server to be monitored; According to the type of the server to be monitored, if there is monitoring configuration information of a server type that is the same as the type of the server to be monitored in the second-level monitoring configuration information, obtaining the monitoring configuration information of the type of the server to be monitored; Compare the monitoring configuration information of the to-be-monitored server identifier, the monitoring configuration information of the to-be-monitored server type, and the configuration information of the monitoring indicators in the first-level monitoring configuration information in pairs. If the configuration information of the same monitoring indicators exists, the configuration information of the monitoring indicators in the monitoring configuration information with a higher priority shall prevail; wherein, the priority of the monitoring configuration information of the to-be-monitored server identifier is higher than the priority of the monitoring configuration information of the to-be-monitored server type, and the priority of the monitoring configuration information of the to-be-monitored server type is higher than the priority of the first-level monitoring configuration information; Based on the pairwise comparison results, the monitoring configuration information corresponding to the server information to be monitored is determined.

11. The device according to claim 7, wherein The RPA system monitoring configuration information also includes a structured data storage template; The data parsing module is further included, which is used to: According to the structured data storage template, the monitoring data of the monitored server is parsed to obtain structured monitoring data; Store structured monitoring data in the database.

12. The device according to claim 7, wherein Also includes update modules for: Receive monitoring configuration information update requests sent by users; Update the RPA system monitoring configuration information based on the monitoring configuration information update request.

13. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

15. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Monitoring method and device

    CN111143165A

  • Micro-service monitoring method, device and system, computer equipment and storage medium

    CN112217864A