Supervision algorithm management method and device, computer equipment and storage medium
By acquiring and analyzing server resource usage information and monitoring algorithm requirements, and dynamically configuring algorithms, the distributed architecture and static policy problems of existing monitoring systems are solved, achieving efficient algorithm management and resource scheduling, and improving the monitoring efficiency of the operation process.
Patent Information
- Application Number
- CN202511058703.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-11-04
AI Technical Summary
Existing industrial operation process monitoring systems adopt a decentralized architecture, with algorithm deployment relying on manual configuration, static resource allocation strategies, a lack of standardized protocols, insufficient real-time performance, and an inability to coordinate with algorithm scheduling, resulting in low monitoring efficiency.
By acquiring resource usage information from multiple servers and resource configuration requirements from monitoring algorithms, the configuration information of the monitoring algorithms corresponding to each server is determined and sent to the operation process control platform to achieve dynamic resource scheduling and algorithm invocation.
This paper presents a systematic algorithm management method that improves the real-time performance and flexibility of the monitoring system, ensures efficient matching and mobilization of algorithms and resources, and enhances the monitoring efficiency of the operation process.
Smart Images

Figure CN120896849A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of industrial operation processing, and in particular to a management method and device of a supervision algorithm, a computer device and a storage medium. BACKGROUND
[0002] In the operation process of the power, chemical and other industrial fields, the supervision of operation safety and process specification faces many challenges.
[0003] The existing operation process supervision system usually adopts a decentralized architecture, and algorithm deployment relies on manual configuration of server environment (such as manual installation of dependent libraries and manual debugging of hardware drivers), resource allocation is implemented through static strategies (such as fixed binding of algorithms and servers), data interaction between the supervision platform and the operation control platform is mainly based on customized interface development, lacks standardized protocols, and computing resource monitoring mainly relies on manual inspection or independent monitoring tools, which is insufficient in real-time and cannot be linked with algorithm scheduling.
[0004] Therefore, it is an urgent problem to provide a systematic algorithm management method. SUMMARY
[0005] Therefore, it is an urgent problem to provide a systematic algorithm management method.
[0006] In a first aspect, the present application provides a management method of a supervision algorithm, comprising:
[0007] obtaining resource usage information of a plurality of servers and resource configuration requirement information of a plurality of supervision algorithms;
[0008] determining supervision algorithm configuration information corresponding to each server according to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms;
[0009] sending the supervision algorithm configuration information corresponding to each server to an operation process control platform; the supervision algorithm configuration information is used to enable the operation process control platform to call algorithms in the corresponding servers based on field operation information.
[0010] In one embodiment, the determination of the supervision algorithm configuration information corresponding to each server according to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms comprises:
[0011] obtaining resource configuration requirement information corresponding to a plurality of supervision algorithms, the resource configuration requirement information comprising execution path information, memory requirement information, CPU occupation requirement information, disk occupation requirement and external interface information;
[0012] According to the resource usage information of the plurality of servers and the resource configuration requirement information corresponding to the plurality of supervision algorithms, the supervision algorithm configuration information corresponding to each server is determined.
[0013] The resource usage information includes CPU utilization, disk space, and memory utilization, and the supervision algorithm configuration information includes the correspondence between at least one supervision algorithm and a server.
[0014] In one embodiment, the determination of the supervision algorithm configuration information corresponding to each server according to the resource usage information of the plurality of servers and the resource configuration requirement information corresponding to the plurality of supervision algorithms includes:
[0015] According to the priority of each supervision algorithm, the configuration order of each supervision algorithm is determined.
[0016] Based on the configuration order of each supervision algorithm, the supervision algorithm configuration information corresponding to each server is determined according to the resource usage information of each server and the resource configuration requirement information corresponding to each supervision algorithm in sequence.
[0017] In one embodiment, the determination of the supervision algorithm configuration information corresponding to each server according to the resource usage information of the plurality of servers and the resource configuration requirement information corresponding to the plurality of supervision algorithms includes:
[0018] Obtain the computing power information of each server; the computing power information includes the type of computing power card and the computing power resource corresponding to the computing power card;
[0019] According to the resource usage information of the plurality of servers, the resource configuration requirement information corresponding to the plurality of supervision algorithms, and the computing power information of each server, the supervision algorithm configuration information corresponding to each server is determined.
[0020] In one embodiment, the method further includes:
[0021] If the resource usage information of the first server in the plurality of servers exceeds the preset threshold, an alarm information is generated; the alarm information includes at least one of memory usage exceeding the limit, disk available amount exceeding the limit, and CPU usage exceeding the limit;
[0022] The alarm information is broadcasted, and the determination of the corresponding supervision algorithm configuration information for the first server is stopped.
[0023] In one embodiment, the obtaining of the resource usage information of the plurality of servers includes:
[0024] The visual interface is called to monitor each server in real time, and the resource usage information of each server is obtained.
[0025] In one embodiment, the method further includes:
[0026] checking the resource usage of each server to obtain a checking result;
[0027] In a case where the checking result is that the resource usage of the server meets preset requirements, the server corresponding supervision algorithm configuration information is sent to the corresponding server.
[0028] In a second aspect, the present application further provides a supervision algorithm management device, comprising:
[0029] The acquisition module is configured to acquire resource usage information of a plurality of servers and resource configuration requirement information of a plurality of supervision algorithms.
[0030] The determination module is configured to determine, according to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms, supervision algorithm configuration information corresponding to each server.
[0031] The sending module is configured to send the supervision algorithm configuration information corresponding to each server to a job process management and control platform; the supervision algorithm configuration information is used to enable the job process management and control platform to call algorithms in corresponding servers based on field job information.
[0032] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0033] The acquisition module is configured to acquire resource usage information of a plurality of servers and resource configuration requirement information of a plurality of supervision algorithms.
[0034] The determination module is configured to determine, according to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms, supervision algorithm configuration information corresponding to each server.
[0035] The sending module is configured to send the supervision algorithm configuration information corresponding to each server to a job process management and control platform; the supervision algorithm configuration information is used to enable the job process management and control platform to call algorithms in corresponding servers based on field job information.
[0036] In a fourth aspect, the present application further provides a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the following steps:
[0037] The acquisition module is configured to acquire resource usage information of a plurality of servers and resource configuration requirement information of a plurality of supervision algorithms.
[0038] The determination module is configured to determine, according to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms, supervision algorithm configuration information corresponding to each server.
[0039] The server corresponding supervision algorithm configuration information is sent to the job process management and control platform; the supervision algorithm configuration information is used to enable the job process management and control platform to call the algorithm in the corresponding server based on the field operation information.
[0040] In a fifth aspect, the present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the following steps:
[0041] Resource usage information of a plurality of servers and resource configuration requirement information of a plurality of supervision algorithms are acquired.
[0042] The server corresponding supervision algorithm configuration information is determined according to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms.
[0043] The server corresponding supervision algorithm configuration information is sent to the job process management and control platform; the supervision algorithm configuration information is used to enable the job process management and control platform to call the algorithm in the corresponding server based on the field operation information.
[0044] The above-mentioned supervision algorithm management method, device, computer equipment and storage medium. The method comprises: acquiring resource usage information of a plurality of servers and resource configuration requirement information of a plurality of supervision algorithms; determining the server corresponding supervision algorithm configuration information according to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms; and sending the server corresponding supervision algorithm configuration information to the job process management and control platform; the supervision algorithm configuration information is used to enable the job process management and control platform to call the algorithm in the corresponding server based on the field operation information. The method provides a systematic algorithm management method, which provides a data basis for the job process management and control platform to call the algorithm corresponding to the field operation information based on the server corresponding supervision algorithm configuration information when processing the field operation information. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the description of the embodiments of the present application or the related art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained without creative labor.
[0046] Figure 1 The application environment diagram of the supervision algorithm management method in one embodiment;
[0047] Figure 2 The flowchart of the supervision algorithm management method in one embodiment;
[0048] Figure 3A flowchart of a management method of a regulatory algorithm in another embodiment;
[0049] Figure 4 A flowchart of a management method of a regulatory algorithm in another embodiment;
[0050] Figure 5 A flowchart of a management method of a regulatory algorithm in another embodiment;
[0051] Figure 6 A flowchart of a management method of a regulatory algorithm in another embodiment;
[0052] Figure 7 A flowchart of a management method of a regulatory algorithm in another embodiment;
[0053] Figure 8 A structural block diagram of a management device of a regulatory algorithm in an embodiment. DETAILED DESCRIPTION
[0054] In order to make the purposes, technical solutions and advantages of the present application clearer, further detailed description will be made to the present application in combination with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0055] In the operation process of the power, chemical and other industrial fields, the supervision of operation safety and process specification faces many challenges. The existing operation process supervision system usually adopts a decentralized architecture, and the algorithm deployment relies on manual configuration of the server environment (such as manual installation of dependent libraries and manual debugging of hardware drivers). The resource allocation is realized through static strategies (such as fixed algorithm binding with servers). The data interaction between the supervision platform and the operation control platform is mainly based on customized interface development, lacking standardized protocols. The computing resource monitoring mainly relies on manual inspection or independent monitoring tools, which is insufficient in real-time performance and cannot be linked with algorithm scheduling. Therefore, it is an urgent problem to provide a systematic algorithm management method. The above problems are solved.
[0056] After the above introduction of the background of the management method of the regulatory algorithm provided by the embodiments of the present application, the implementation environment related to the management method of the regulatory algorithm provided by the embodiments of the present application will be briefly described below. The management method of the regulatory algorithm provided by the embodiments of the present application can be applied to, for example Figure 2The computer device shown includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to perform wired or wireless communication with external terminals. The wireless communication can be achieved through WIFI, mobile cellular network, NFC (Near Field Communication), or other technologies. The computer program is executed by the processor to implement a management method of a regulatory algorithm. The display unit of the computer device is configured to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or can be a key, a trackball, or a touchpad arranged on the shell of the computer device, or can be an external keyboard, a touchpad, or a mouse, etc.
[0057] Those skilled in the art can understand that, Figure 2 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. Specifically, a terminal can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0058] After the above describes the application scenario of the management method of the regulatory algorithm provided by the embodiments of the present application, the management method of the regulatory algorithm described in the present application is mainly introduced.
[0059] In one embodiment, as Figure 2 shown, a management method of a regulatory algorithm is provided. The method is applied to, for example, a computer device in Figure 1 and includes the following steps:
[0060] S201, obtaining resource usage information of a plurality of servers and resource configuration requirement information of a plurality of regulatory algorithms.
[0061] Optionally, the power management platform can manage multiple servers (power servers), for example, can obtain resource usage information of multiple servers, resource structure information of each server, resource structure information including server operating system type, CPU architecture, GPU architecture, GPU number, memory, disk configuration and other information. Among them, the resource usage information includes at least one of CPU utilization, disk space, and memory utilization.
[0062] Optionally, after obtaining the resource usage information of each server, the resource usage information of each server can be uniformly managed, for example, after the power management platform generates an access key, by installing client software and adding the access key, the obtained resource usage information of each server can be accessed to the power management platform, and the power management platform can uniformly manage and allocate resources.
[0063] Optionally, for the process of generating an access key by the power management platform, the power management platform can generate a unified resource access key, and only the resource usage information that correctly matches the access key can access the power management platform.
[0064] Optionally, the power management platform can stop, delete, etc. the resource usage information that has been accessed.
[0065] Optionally, the power management platform can directly view the resource usage information of each server and the resource structure information of each server, including changing the server operating system model version, CPU, GPU, memory, disk, etc. Configuration parameters.
[0066] Optionally, the power management platform can also obtain resource configuration requirement information of multiple supervision algorithms.
[0067] S202, according to the resource usage information of multiple servers and the resource configuration requirement information of multiple supervision algorithms, determine the supervision algorithm configuration information corresponding to each server.
[0068] In this embodiment, after obtaining the resource usage information of multiple servers and the resource configuration requirement information of multiple supervision algorithms, the resource usage information of multiple servers and the resource configuration requirement information of multiple supervision algorithms can be matched to obtain the supervision algorithm configuration information corresponding to each server.
[0069] Optionally, the directory path, memory, GPU and other resource parameters of the supervision algorithm, and the interface provided by the supervision algorithm to the outside can also be configured through the interface.
[0070] For example, the resource usage information of the first server includes a CPU utilization of 70%, and the resource configuration requirement information of the first supervision algorithm requires a CPU utilization of 60%. Then, the first supervision algorithm can be associated with the first server. Further, if the resource configuration requirement information of the second supervision algorithm requires a CPU utilization of 10%, the second supervision algorithm can also be associated with the first server. Thus, the first server is associated with the first supervision algorithm and the second supervision algorithm, and the supervision algorithm configuration information corresponding to the first server is obtained. Based on the same method, the supervision algorithm configuration information corresponding to each server is determined.
[0071] In the embodiment, after the supervision algorithm configuration information corresponding to each server is obtained, the supervision algorithm configuration information corresponding to each server can be sent to the job process management and control platform, so that the job process management and control platform can call the algorithm in the corresponding server based on the field job information.
[0072] In the embodiment, after the supervision algorithm configuration information corresponding to each server is obtained, the supervision algorithm configuration information corresponding to each server can be sent to the job process management and control platform, so that the job process management and control platform can call the algorithm in the corresponding server based on the field job information.
[0073] In the embodiment, based on the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms, the supervision algorithm configuration information corresponding to each server is determined, which provides a systematic algorithm management method. For the subsequent job process management and control platform, when processing field job information, based on the supervision algorithm configuration information corresponding to each server, the algorithm corresponding to the field job information is called to provide data basis.
[0074] In the embodiment, the detailed process of determining the supervision algorithm configuration information corresponding to each server is explained. In an exemplary embodiment, as shown in FIG. 2, the step S202 includes: Figure 3
[0075] S301, obtain resource configuration requirement information corresponding to a plurality of supervision algorithms, the resource configuration requirement information including: execution path information, memory requirement information, CPU occupation requirement information, disk occupation requirement and external interface information.
[0076] In the embodiment, when determining the supervision algorithm configuration information corresponding to each server, the resource configuration requirement information corresponding to a plurality of supervision algorithms can be obtained first, wherein the resource configuration requirement information includes at least one of: execution path information, memory requirement information, CPU occupation requirement information, disk occupation requirement and external interface information.
[0077] For example, a container algorithm image upload interface can be provided, and the user can first use the container to package the algorithm (process supervision algorithm), and then realize the upload of the supervision algorithm in the container algorithm image upload interface.
[0078] Optionally, the power management platform can also perform compatibility check on the uploaded supervision algorithm, and save it after passing the check, and notify the user that the supervision algorithm upload is successful in the container algorithm image upload interface.
[0079] Optionally, the power management platform also provides functions of maintaining the basic information of the algorithm and maintaining the version of the algorithm.
[0080] Optionally, the power management platform also provides an algorithm container configuration interface, and the user can perform initial configuration, modification, etc. Operation on the container running parameters of the supervision algorithm.
[0081] Optionally, the power management platform also provides an algorithm container management interface, so that the user can add, delete, modify, and query the supervision algorithm.
[0082] Optionally, the power management platform also provides an algorithm container running management interface, so that the user can realize the deployment, running, stopping, and state checking of the supervision algorithm through the algorithm container running management interface.
[0083] Optionally, the power management platform also provides an algorithm interface document management interface, which can realize the management functions of uploading, editing, querying, viewing, and downloading the document.
[0084] Optionally, the power management platform also adds a resource occupation management function to realize real-time management of the resource usage information of the accessed resources, and the main functions are as follows:
[0085] (1) Overview of computing resource occupation, real-time monitoring of resource usage information through a visual interface, and collected information including CPU utilization, disk space, and memory utilization.
[0086] (2) Computing resource occupation statistics, flexible setting of statistical time interval, and statistical display of various data indicators of each server within the time interval.
[0087] (3) Computing resource occupation details, detailed information and state information of each server can be viewed, including CPU model, operating system type version, disk size, configured computing card type, computing card computing power, running algorithm quantity, latest heartbeat time, and online state.
[0088] S302. Based on the resource usage information of multiple servers and the resource configuration requirements of multiple monitoring algorithms, determine the monitoring algorithm configuration information corresponding to each server; the resource usage information includes: CPU utilization, disk space, and memory utilization, and the monitoring algorithm configuration information includes at least one correspondence between a monitoring algorithm and a server.
[0089] In this embodiment, after obtaining the resource configuration requirement information corresponding to multiple monitoring algorithms, the monitoring algorithm configuration information corresponding to each server can be determined based on the resource usage information of multiple servers and the resource configuration requirement information corresponding to multiple monitoring algorithms.
[0090] Optionally, the following two methods are provided for determining the monitoring algorithm configuration information for each server:
[0091] In one exemplary embodiment, such as Figure 4 As shown, the above-mentioned S302 "determines the monitoring algorithm configuration information corresponding to each server based on the resource usage information of multiple servers and the resource configuration requirement information corresponding to multiple monitoring algorithms" includes:
[0092] S401. Determine the configuration order of each regulatory algorithm according to its priority.
[0093] In this embodiment, the priority of each regulatory algorithm can be determined first based on its importance, and then the configuration order of each regulatory algorithm can be determined based on its priority. It should be noted that the higher the priority of a regulatory algorithm, the earlier it is configured. For example, if regulatory algorithm 'a' has the highest priority, then the configuration order of regulatory algorithm 'a' is 1. Similarly, after determining the priority of each regulatory algorithm, the configuration order of each regulatory algorithm can be determined.
[0094] S402. Based on the configuration order of each monitoring algorithm, determine the monitoring algorithm configuration information corresponding to each server according to the resource usage information of each server and the resource configuration requirement information corresponding to each monitoring algorithm.
[0095] In this embodiment, after determining the configuration order of each monitoring algorithm, the corresponding server can be configured for each monitoring algorithm according to the configuration order of each monitoring algorithm, based on the resource usage information of each server and the resource configuration requirement information corresponding to each monitoring algorithm, thereby determining the monitoring algorithm configuration information corresponding to each server.
[0096] For example, if the priority of the first regulatory algorithm is the highest, the priority of the second regulatory algorithm is the second highest, and the priority of the third regulatory algorithm is the lowest, the configuration order of the regulatory algorithms is the first regulatory algorithm, the second regulatory algorithm, and the third regulatory algorithm in turn. If the resource usage information of the first server includes a CPU utilization rate of 70%, and the resource configuration requirement information of the first regulatory algorithm requires a CPU utilization rate of 60%, the first regulatory algorithm and the first server can be associated. Further, if the resource configuration requirement information of the second regulatory algorithm requires a CPU utilization rate of 10%, the second regulatory algorithm and the first server can be associated. Thus, the first server is associated with the first regulatory algorithm and the second regulatory algorithm, and the regulatory algorithm configuration information corresponding to the first server is obtained. If the resource configuration requirement information of the third regulatory algorithm requires a CPU utilization rate of 50%, and the resource usage information of the second server includes a CPU utilization rate of 50%, the second server and the third regulatory algorithm can be associated, and the regulatory algorithm configuration information corresponding to the second server is obtained.
[0097] In an example embodiment, as shown in FIG. 5, Figure 5 The S302 “determining the regulatory algorithm configuration information corresponding to each server according to the resource usage information of the plurality of servers and the resource configuration requirement information corresponding to the plurality of regulatory algorithms” includes:
[0098] S501, obtaining the computing power information of each server. The computing power information includes the computing power card type and the computing power resource corresponding to the computing power card.
[0099] In this embodiment, the computing power information of each server can also be obtained. The computing power information includes the computing power card type and the computing power resource corresponding to the computing power card.
[0100] S502, determining the regulatory algorithm configuration information corresponding to each server according to the resource usage information of the plurality of servers, the resource configuration requirement information corresponding to the plurality of regulatory algorithms, and the computing power information of each server.
[0101] In this embodiment, after obtaining the computing power information of each server, the regulatory algorithm configuration information corresponding to each server can be determined according to the resource usage information of the plurality of servers, the resource configuration requirement information corresponding to the plurality of regulatory algorithms, and the computing power information of each server.
[0102] For example, the computing power information of each server can be determined first. For example, the computing power information of server a is a. Only the regulatory algorithm that meets the computing power information a and whose resource configuration requirement information meets the resource usage information of server a can be matched with server a. The regulatory algorithm that does not meet the computing power information a cannot be matched with server a.
[0103] The two methods for determining the corresponding regulatory algorithm configuration information of each server provided in this embodiment provide a data basis for the subsequent work process management and control platform to call the algorithm corresponding to the field work information based on the corresponding regulatory algorithm configuration information of each server when processing the field work information.
[0104] In one exemplary embodiment, as shown in Figure 6 The method further includes:
[0105] S601, if the resource usage information of the first server exceeds the preset threshold among the plurality of servers, an alarm information is generated; the alarm information includes at least one of memory usage exceeding limit, disk available amount exceeding limit, and CPU usage exceeding limit.
[0106] In this embodiment, after obtaining the resource usage information of each server, it can be determined whether the resource usage information of each server exceeds the preset threshold. If the resource usage information of the first server exceeds the preset threshold among the plurality of servers, an alarm information is generated to inform the user that the first server does not meet the configuration of the regulatory algorithm. The alarm information includes at least one of memory usage exceeding limit, disk available amount exceeding limit, and CPU usage exceeding limit.
[0107] S602, broadcast the alarm information and stop determining the corresponding regulatory algorithm configuration information for the first server.
[0108] In this embodiment, after generating the alarm information, the alarm information can be broadcasted and the determination of the corresponding regulatory algorithm configuration information for the first server can be stopped.
[0109] In this embodiment, a method for screening servers is provided. In the case that the resource usage information of a server does not meet the preset threshold, the corresponding regulatory algorithm is not determined for the server, which ensures that the server matched with the regulatory algorithm can normally run the regulatory algorithm, thereby ensuring that the regulatory algorithm can normally run on the server.
[0110] In one exemplary embodiment, the S201 "obtaining resource usage information of a plurality of servers" includes:
[0111] The visual interface is called to monitor each server in real time to obtain the resource usage information of each server.
[0112] In this embodiment, a method for obtaining the resource usage information of each server is also provided, that is, a visual interface on the power management platform is called to monitor each server in real time to obtain the resource usage information of each server.
[0113] The method for obtaining resource usage information of each server provided in the embodiment provides data basis for subsequent determination of the supervision algorithm configuration information corresponding to each server based on the resource usage information of each server, and for subsequent processing of the field operation information by the operation process management platform based on the supervision algorithm configuration information corresponding to each server.
[0114] In one exemplary embodiment, as shown in Figure 7 The method further includes:
[0115] S701, checking the availability of the resource usage of each server to obtain a checking result.
[0116] In the embodiment, after obtaining the resource usage of each server, the availability of the resource usage of each server is checked to determine whether the resource usage of each server meets the preset requirement. If the resource usage of the server meets the preset requirement, a checking result that the resource usage of the server meets the preset requirement is obtained. If the resource usage of the server does not meet the preset requirement, a checking result that the resource usage of the server does not meet the preset requirement is obtained.
[0117] S702, in the case where the checking result is that the resource usage of the server meets the preset requirement, sending the supervision algorithm configuration information corresponding to each server to the corresponding server.
[0118] In the embodiment, in the case where the checking result is that the resource usage of the server meets the preset requirement, the supervision algorithm configuration information corresponding to each server is sent to the corresponding server, so that the server can dispatch the supervision algorithm corresponding to the server to process the field operation information.
[0119] The checking method provided in the embodiment provides data basis for subsequent processing of the field operation information by the server by dispatching the supervision algorithm corresponding to the server.
[0120] It should be understood that, although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0121] Based on the same inventive concept, the embodiments of the present application also provide a management device of a regulatory algorithm for implementing the management method of the regulatory algorithm as described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more management device embodiments of the regulatory algorithm provided below can refer to the limitations of the management method of the regulatory algorithm in the above, which will not be repeated here.
[0122] In one exemplary embodiment, as shown in Figure 8 A management device of a regulatory algorithm is provided, comprising: an acquisition module 10, a determination module 11 and a sending module 12, wherein:
[0123] The acquisition module 10 is configured to acquire resource usage information of a plurality of servers and resource configuration requirement information of a plurality of regulatory algorithms.
[0124] The determination module 11 is configured to determine regulatory algorithm configuration information corresponding to each server according to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of regulatory algorithms.
[0125] The sending module 12 is configured to send the regulatory algorithm configuration information corresponding to each server to a job process management platform; the regulatory algorithm configuration information is used to enable the job process management platform to call algorithms in the corresponding server based on field job information.
[0126] In one exemplary embodiment, the determination module 11 comprises:
[0127] The acquisition unit is specifically configured to acquire resource configuration requirement information corresponding to a plurality of regulatory algorithms, and the resource configuration requirement information comprises execution path information, memory requirement information, CPU occupation requirement information, disk occupation requirement and external interface information.
[0128] The determination unit is specifically configured to determine regulatory algorithm configuration information corresponding to each server according to the resource usage information of the plurality of servers and the resource configuration requirement information corresponding to the plurality of regulatory algorithms; wherein the resource usage information comprises CPU utilization, disk space and memory utilization, and the regulatory algorithm configuration information comprises a correspondence between at least one regulatory algorithm and a server.
[0129] In one exemplary embodiment, the determination unit is specifically further configured to determine a configuration order of each regulatory algorithm according to a priority of each regulatory algorithm; and determine the regulatory algorithm configuration information corresponding to each server according to the resource usage information of each server and the resource configuration requirement information corresponding to each regulatory algorithm in sequence based on the configuration order of each regulatory algorithm.
[0130] In an example embodiment, the determining unit is further configured to obtain computing power information configured for each server; the computing power information comprises a computing power card type and computing power resources corresponding to the computing power card; and determine the supervision algorithm configuration information corresponding to each server based on the resource usage information of the plurality of servers, the resource configuration requirement information corresponding to the plurality of supervision algorithms, and the computing power information configured for each server.
[0131] In an example embodiment, the device further comprises:
[0132] The generating module is configured to generate an alarm information if the resource usage information of the first server exceeds the preset threshold among the plurality of servers; the alarm information comprises at least one of the following: memory usage exceeding the limit, disk available amount exceeding the limit, and CPU usage exceeding the limit;
[0133] The stopping module is configured to broadcast the alarm information and stop determining the supervision algorithm configuration information corresponding to the first server.
[0134] In an example embodiment, the obtaining module 10 is further configured to call a visual interface to monitor each server in real time and obtain the resource usage information of each server.
[0135] In an example embodiment, the device further comprises:
[0136] The checking module is configured to check the availability of the resource usage of each server to obtain a checking result;
[0137] The sending module is configured to send the supervision algorithm configuration information corresponding to each server to the corresponding server if the checking result indicates that the resource usage of the server meets the preset requirement.
[0138] Each module in the supervision algorithm management device can be realized by software, hardware, and combinations thereof, in whole or in part. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform operations corresponding to each module.
[0139] In an example embodiment, a computer device is provided, comprising a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the following steps:
[0140] Obtain resource usage information of a plurality of servers and resource configuration requirement information of a plurality of supervision algorithms;
[0141] Determine supervision algorithm configuration information corresponding to each server based on the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms;
[0142] The server corresponding supervision algorithm configuration information is sent to the job process management and control platform; the supervision algorithm configuration information is used to make the job process management and control platform call the algorithm in the corresponding server based on the field operation information.
[0143] In one embodiment, the processor when executing the computer program also implements the following steps:
[0144] Obtain resource configuration requirement information corresponding to a plurality of supervision algorithms, the resource configuration requirement information including execution path information, memory requirement information, CPU occupation requirement information, disk occupation requirement and external interface information;
[0145] According to the resource usage information of the plurality of servers and the resource configuration requirement information corresponding to the plurality of supervision algorithms, determine the supervision algorithm configuration information corresponding to each server;
[0146] Among them, the resource usage information includes CPU utilization, disk space, memory utilization, and the supervision algorithm configuration information includes the correspondence between at least one supervision algorithm and the server.
[0147] In one embodiment, the processor when executing the computer program also implements the following steps:
[0148] According to the priority of each supervision algorithm, determine the configuration order of each supervision algorithm;
[0149] Based on the configuration order of each supervision algorithm, in turn, according to the resource usage information of each server and the resource configuration requirement information corresponding to each supervision algorithm, determine the supervision algorithm configuration information corresponding to each server.
[0150] In one embodiment, the processor when executing the computer program also implements the following steps:
[0151] Obtain the computing power information of each server configuration; the computing power information includes the computing power card type and the computing power resource corresponding to the computing power card;
[0152] According to the resource usage information of the plurality of servers, the resource configuration requirement information corresponding to the plurality of supervision algorithms, and the computing power information of each server configuration, determine the supervision algorithm configuration information corresponding to each server.
[0153] In one embodiment, the processor when executing the computer program also implements the following steps:
[0154] If the resource usage information of the first server in the plurality of servers exceeds the preset threshold, an alarm information is generated; the alarm information includes at least one of the memory usage rate exceeding the limit, the disk available amount exceeding the limit, and the CPU usage rate exceeding the limit;
[0155] Broadcast the alarm information, and stop determining the corresponding supervision algorithm configuration information for the first server.
[0156] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0157] The visual interface is called to monitor the servers in real time, and resource usage information of the servers is obtained.
[0158] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0159] The availability of the resource usage of the servers is checked, and a checking result is obtained.
[0160] In the case where the checking result is that the resource usage of the servers meets the preset requirement, the supervision algorithm configuration information corresponding to each server is sent to the corresponding server.
[0161] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program, when executed by a processor, implements the following steps:
[0162] Resource usage information of a plurality of servers and resource configuration requirement information of a plurality of supervision algorithms are obtained.
[0163] According to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms, supervision algorithm configuration information corresponding to each server is determined.
[0164] The supervision algorithm configuration information corresponding to each server is sent to a job process management and control platform. The supervision algorithm configuration information is used to enable the job process management and control platform to call algorithms in the corresponding server based on field job information.
[0165] In one embodiment, the computer program, when executed by the processor, also implements the following steps:
[0166] Resource configuration requirement information corresponding to a plurality of supervision algorithms is obtained. The resource configuration requirement information includes execution path information, memory requirement information, CPU occupation requirement information, disk occupation requirement, and external interface information.
[0167] According to the resource usage information of the plurality of servers and the resource configuration requirement information corresponding to the plurality of supervision algorithms, supervision algorithm configuration information corresponding to each server is determined.
[0168] The resource usage information includes CPU utilization, disk space, and memory utilization. The supervision algorithm configuration information includes a correspondence between at least one supervision algorithm and a server.
[0169] In one embodiment, the computer program, when executed by the processor, also implements the following steps:
[0170] determining a configuration order of the regulatory algorithms according to priorities of the regulatory algorithms;
[0171] determining regulatory algorithm configuration information corresponding to each server according to resource usage information of each server and resource configuration requirement information corresponding to each regulatory algorithm in sequence based on the configuration order of the regulatory algorithms.
[0172] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0173] obtaining computing power information configured for each server; the computing power information includes a computing power card type and computing power resources corresponding to the computing power card;
[0174] determining regulatory algorithm configuration information corresponding to each server according to resource usage information of a plurality of servers, resource configuration requirement information corresponding to a plurality of regulatory algorithms, and computing power information configured for each server.
[0175] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0176] if the resource usage information of the first server exceeds a preset threshold among the plurality of servers, generating an alarm information; the alarm information includes at least one of a memory usage rate exceeding a limit, a disk available amount exceeding a limit, and a CPU usage rate exceeding a limit;
[0177] broadcasting the alarm information and stopping determination of the corresponding regulatory algorithm configuration information for the first server.
[0178] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0179] calling a visual interface to perform real-time monitoring on each server to obtain resource usage information of each server.
[0180] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0181] performing availability verification on resource usage of each server to obtain a verification result;
[0182] in a case where the verification result is that the resource usage of the server meets a preset requirement, sending the regulatory algorithm configuration information corresponding to each server to the corresponding server.
[0183] In one embodiment, a computer program product is provided, including a computer program which, when executed by a processor, implements the following steps:
[0184] obtaining resource usage information of a plurality of servers and resource configuration requirement information of a plurality of regulatory algorithms;
[0185] According to the resource usage information of the plurality of servers and the resource configuration requirement information of the plurality of supervision algorithms, determine the supervision algorithm configuration information corresponding to each server;
[0186] Send the supervision algorithm configuration information corresponding to each server to the job process management and control platform; the supervision algorithm configuration information is used to enable the job process management and control platform to call the algorithm in the corresponding server based on the field job information.
[0187] In one embodiment, the computer program is executed by the processor to further implement the following steps:
[0188] Obtain resource configuration requirement information corresponding to a plurality of supervision algorithms, the resource configuration requirement information including execution path information, memory requirement information, CPU occupation requirement information, disk occupation requirement and external interface information;
[0189] According to the resource usage information of the plurality of servers and the resource configuration requirement information corresponding to the plurality of supervision algorithms, determine the supervision algorithm configuration information corresponding to each server;
[0190] The resource usage information includes CPU utilization, disk space, and memory utilization, and the supervision algorithm configuration information includes the correspondence between at least one supervision algorithm and the server.
[0191] In one embodiment, the computer program is executed by the processor to further implement the following steps:
[0192] According to the priority of each supervision algorithm, determine the configuration order of each supervision algorithm;
[0193] Based on the configuration order of each supervision algorithm, in turn, according to the resource usage information of each server and the resource configuration requirement information corresponding to each supervision algorithm, determine the supervision algorithm configuration information corresponding to each server.
[0194] In one embodiment, the computer program is executed by the processor to further implement the following steps:
[0195] Obtain the computing power information configured by each server; the computing power information includes the computing power card type and the computing power resource corresponding to the computing power card;
[0196] According to the resource usage information of the plurality of servers, the resource configuration requirement information corresponding to the plurality of supervision algorithms, and the computing power information configured by each server, determine the supervision algorithm configuration information corresponding to each server.
[0197] In one embodiment, the computer program is executed by the processor to further implement the following steps:
[0198] If the resource usage information of the first server exceeds a preset threshold in the plurality of servers, alarm information is generated; the alarm information includes at least one of memory usage exceeding a limit, disk available quantity exceeding a limit, and CPU usage exceeding a limit;
[0199] The alarm information is broadcasted, and the corresponding supervision algorithm configuration information for the first server is stopped from being determined.
[0200] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0201] The visual interface is called to perform real-time monitoring on the servers and obtain the resource usage information of the servers.
[0202] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0203] The availability of the resource usage of the servers is checked to obtain a checking result;
[0204] In a case where the checking result is that the resource usage of the servers meets preset requirements, the supervision algorithm configuration information corresponding to the servers is sent to the corresponding servers.
[0205] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.
[0206] The technical features of the above embodiments can be combined in any manner. To make the description concise, all possible combinations of the technical features in the above embodiments are not described, but as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present application.
[0207] The above-described embodiments are merely illustrative of several embodiments of the present application, which are described in more detail and in a specific manner, but should not be construed as limiting the scope of the patent of the present application. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A management method for a monitoring algorithm, characterized in that, The method includes: Obtain resource usage information from multiple servers and resource configuration requirements from multiple monitoring algorithms; Based on the resource usage information of multiple servers and the resource configuration requirements of multiple monitoring algorithms, determine the monitoring algorithm configuration information corresponding to each of the servers; The monitoring algorithm configuration information corresponding to each of the servers is sent to the operation process control platform; the monitoring algorithm configuration information is used to enable the operation process control platform to call the algorithm in the corresponding server based on the on-site operation information.
2. The method according to claim 1, characterized in that, The step of determining the monitoring algorithm configuration information corresponding to each server based on the resource usage information of multiple servers and the resource configuration requirement information of multiple monitoring algorithms includes: Obtain resource configuration requirement information corresponding to the multiple monitoring algorithms. The resource configuration requirement information includes: execution path information, memory requirement information, CPU usage requirement information, disk usage requirement information, and external interface information. Based on the resource usage information of the multiple servers and the resource configuration requirement information corresponding to the multiple monitoring algorithms, determine the monitoring algorithm configuration information corresponding to each of the servers; The resource usage information includes: CPU utilization, disk space, and memory utilization. The monitoring algorithm configuration information includes at least one monitoring algorithm and its correspondence with the server.
3. The method according to claim 2, characterized in that, The step of determining the monitoring algorithm configuration information corresponding to each of the multiple servers based on the resource usage information of the multiple servers and the resource configuration requirement information corresponding to the multiple monitoring algorithms includes: The configuration order of each regulatory algorithm is determined according to its priority. Based on the configuration order of each monitoring algorithm, the monitoring algorithm configuration information corresponding to each server is determined sequentially according to the resource usage information of each server and the resource configuration requirement information corresponding to each monitoring algorithm.
4. The method according to claim 2, characterized in that, The step of determining the monitoring algorithm configuration information corresponding to each of the multiple servers based on the resource usage information of the multiple servers and the resource configuration requirement information corresponding to the multiple monitoring algorithms includes: Obtain the computing power information configured for each of the servers; the computing power information includes the computing power card type and the computing power resources corresponding to the computing power card; Based on the resource usage information of the multiple servers, the resource configuration requirements of the multiple monitoring algorithms, and the computing power information configured for each server, the monitoring algorithm configuration information corresponding to each server is determined.
5. The method according to claim 1, characterized in that, The method further includes: If the resource usage information of the first server among the plurality of servers exceeds a preset threshold, an alarm message is generated; the alarm message includes at least one of memory usage exceeding the limit, disk availability exceeding the limit, and CPU usage exceeding the limit; The alarm information is broadcast, and the determination of the corresponding monitoring algorithm configuration information for the first server is stopped.
6. The method according to claim 1, characterized in that, The process of obtaining resource usage information from multiple servers includes: The visualization interface is invoked to monitor each of the servers in real time and obtain resource usage information for each server.
7. The method according to claim 1, characterized in that, The method further includes: The availability of resources on each of the servers is verified, and the verification results are obtained. If the verification result indicates that the server's resource usage meets the preset requirements, the monitoring algorithm configuration information corresponding to each server is sent to the corresponding server.
8. A management device for a monitoring algorithm, characterized in that, The device includes: The acquisition module is used to acquire resource usage information from multiple servers and resource configuration requirements from multiple monitoring algorithms. The determination module is used to determine the configuration information of the monitoring algorithm corresponding to each server based on the resource usage information of multiple servers and the resource configuration requirement information of multiple monitoring algorithms. The sending module is used to send the monitoring algorithm configuration information corresponding to each of the servers to the operation process control platform; the monitoring algorithm configuration information is used to enable the operation process control platform to call the algorithm in the corresponding server based on the on-site operation information.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.