Method for multi-concurrency monitoring of intelligent platform management interface based on Java
By introducing a multi-threaded concurrent processing mechanism into the Java multi-concurrency monitoring intelligent platform management interface, the problem that traditional monitoring methods are difficult to meet real-time monitoring needs in large-scale deployment scenarios is solved, and efficient, stable and reliable monitoring of intelligent platform management interfaces is achieved.
Patent Information
- Application Number
- CN202411649836.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-02-25
AI Technical Summary
Traditional server management methods have management blind spots when the server fails or the operating system is not started, and in large-scale deployment scenarios, traditional monitoring methods are difficult to meet the needs of real-time monitoring.
The multi-concurrent monitoring intelligent platform management interface based on Java is adopted. The monitoring and configuration platform interface of the intelligent platform management interface is used to obtain the monitoring indicator request submitted by the user, submit the request to the Java program, determine the number of indicators, prepare monitoring tasks, and use multi-threading technology to concurrently design and process monitoring tasks, obtain and summarize monitoring data, judge data integrity and feedback results.
It significantly improves the efficiency of intelligent platform management interface monitoring, shortens the total time for monitoring data acquisition, realizes efficient real-time monitoring, enhances the stability and reliability of the monitoring system, and can effectively respond to the monitoring needs of large-scale servers.
Smart Images

Figure CN119512876A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of computer remote monitoring, and in particular to a method for managing an interface of a Java-based multi-concurrent monitoring intelligent platform. Background Art
[0002] With the development of information technology, the number of servers in data centers has increased dramatically, which has put forward higher requirements for efficient management of servers. Traditional server management methods often rely on operating systems and their management tools. This method has management blind spots when the server fails or the operating system is not started. In order to overcome this defect, the Intelligent Platform Management Interface, as an open standard hardware management interface specification, is widely used in remote monitoring and management of servers. The Intelligent Platform Management Interface allows administrators to monitor key hardware parameters such as server temperature, voltage, fan speed, etc., and perform control operations such as powering on and off the server without the intervention of the operating system.
[0003] In data center management, server health status monitoring is crucial. The intelligent platform management interface provides a standardized interface that enables administrators to manage servers out-of-band at any time and anywhere, thereby ensuring the stable operation of the servers. However, as the scale of data centers continues to expand, the increase in the number of servers has put forward higher requirements on the performance of the monitoring system. Especially in large-scale deployment scenarios, traditional monitoring methods have been unable to meet the needs of real-time monitoring. Summary of the invention
[0004] The embodiment of the present application discloses a method for concurrently monitoring intelligent platform management interfaces based on Java, which realizes efficient real-time intelligent platform management interface monitoring and greatly enhances the stability and reliability of the monitoring system.
[0005] The present application embodiment discloses a method for managing a Java multi-concurrent monitoring intelligent platform interface, which is applied to an electronic device, and the method includes: Obtain the first monitoring indicator request submitted by the user through the intelligent platform management interface monitoring configuration platform interface; Submitting the first monitoring indicator request to the Java program, determining the indicator quantity of the first monitoring indicator, and preparing all monitoring tasks monitored by the intelligent platform management interface; Designing multiple monitoring tasks concurrently according to the number of requested indicators through multi-threading technology; Processing a plurality of monitoring tasks simultaneously according to a monitoring data collection and aggregation mechanism to obtain the monitoring data of the monitoring tasks; The monitoring data is judged to obtain a judgment result, and the monitoring data is fed back according to the judgment result.
[0006] As an optional implementation manner, before obtaining the first monitoring indicator request submitted by the user through the intelligent platform management interface monitoring configuration platform interface or other means, the method further includes: Monitor the configuration platform interface through the intelligent platform management interface to obtain the basic parameters set by the user; Monitor the configuration platform interface through the intelligent platform management interface to obtain the connection parameters set by the user; The basic parameters include: device type, monitoring address and collector information; the connection parameters are target server information of the monitored intelligent platform management interface.
[0007] As an optional implementation, submitting the first monitoring indicator request to the Java program, determining the indicator quantity of the first monitoring indicator, and preparing all monitoring tasks monitored by the intelligent platform management interface include: Submitting the first monitoring indicator request to the Java program to determine the indicator quantity of the first monitoring indicator; Obtaining connection information of the user; Sending a test request to all the first monitoring indicators according to the connection information; Prepare all the monitoring tasks monitored by the intelligent platform management interface.
[0008] As an optional implementation manner, the electronic device includes multiple threads; the simultaneously processing multiple monitoring tasks according to the monitoring data collection and aggregation mechanism to obtain the monitoring data of the monitoring tasks includes: Concurrently testing all the monitoring tasks issued according to the connection information; Each thread executes the monitoring task independently and concurrently; The monitoring data of the monitoring task is obtained, and all the monitoring data are summarized.
[0009] As an optional implementation manner, the acquiring the monitoring data of the monitoring task and aggregating all the monitoring data includes: Collecting the monitoring data of the first monitoring indicator in the monitoring task on the target server; Determining whether the concurrent test is completed according to the number of the first monitoring indicators; If the concurrent test is completed, all the monitoring data are summarized.
[0010] As an optional implementation manner, the judging the monitoring data to obtain a judging result, and providing feedback on the monitoring data according to the judging result, includes: Determining whether the concurrent test successfully collects the monitoring data of all the first monitoring indicators; If the concurrent test successfully collects the monitoring data of all the first monitoring indicators, configuring the corresponding first monitoring indicators; If the concurrent test fails to successfully collect the monitoring data of all the first monitoring indicators, the user is notified that the current environment cannot support full-scale monitoring of the intelligent platform management interface.
[0011] As an optional implementation manner, after configuring the corresponding monitoring indicator, the method further includes: Monitor the configuration platform interface through the intelligent platform management interface, obtain the second monitoring indicator request submitted by the user, use the second monitoring indicator request as the first monitoring indicator request, and re-execute the steps to submit the first monitoring indicator request to the Java program, determine the number of indicators of the first monitoring indicator, and prepare all monitoring tasks monitored by the intelligent platform management interface.
[0012] The present application embodiment discloses a Java-based multi-concurrency monitoring intelligent platform management interface device, the device comprising: A first acquisition module is used to monitor the configuration platform interface through the intelligent platform management interface to acquire a first monitoring indicator request submitted by a user; A determination module, used for submitting the first monitoring indicator request to the Java program, determining the indicator quantity of the first monitoring indicator, and preparing all monitoring tasks monitored by the intelligent platform management interface; A design module, used for concurrently designing a plurality of monitoring tasks according to the number of the requested indicators through multi-threading technology; A second acquisition module is used to simultaneously process a plurality of monitoring tasks according to a monitoring data collection and aggregation mechanism to acquire the monitoring data of the monitoring tasks; The feedback module is used to judge the monitoring data to obtain a judgment result, and to provide feedback to the monitoring data according to the judgment result.
[0013] An embodiment of the present application discloses an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements any method based on a Java multi-concurrent monitoring intelligent platform management interface disclosed in the embodiment of the present application.
[0014] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, any method based on a Java multi-concurrent monitoring intelligent platform management interface disclosed in the embodiment of the present application is implemented.
[0015] Compared with the related art, the embodiments of the present application have the following beneficial effects: An embodiment of the present application provides a method for concurrently monitoring a smart platform management interface based on Java. The method monitors the configuration platform interface through the smart platform management interface, obtains a first monitoring indicator request submitted by a user, submits the first monitoring indicator request to a Java program, determines the number of indicators of the first monitoring indicator, prepares all monitoring tasks monitored by the smart platform management interface, concurrently designs multiple monitoring tasks according to the number of indicators requested through multi-threading technology, processes multiple monitoring tasks simultaneously according to a monitoring data collection and aggregation mechanism, obtains monitoring data of the monitoring tasks, judges the monitoring data to obtain a judgment result, and provides feedback on the monitoring data according to the judgment result. By implementing the embodiments of the present application, the efficiency of intelligent platform management interface monitoring is significantly improved by introducing a Java-based multi-concurrent processing mechanism. This multi-threaded concurrent design allows the system to process multiple monitoring tasks at the same time, greatly shortening the total time for monitoring data collection, thereby achieving efficient real-time monitoring, and can effectively meet the monitoring needs of large-scale servers. Through advanced data collection and aggregation mechanisms, the integrity and reliability of monitoring data are improved. The concurrent monitoring task design of the present invention can balance the load among multiple threads, reducing data loss caused by single-point overload. At the same time, through the back-end intelligent data aggregation and integrity judgment mechanism, the accuracy and integrity of all important monitoring data are ensured. While improving the efficiency of monitoring data collection, it also greatly enhances the stability and reliability of the monitoring system, provides strong technical support for the operation and maintenance management of the data center, and achieves efficient real-time intelligent platform management interface monitoring, greatly enhancing the stability and reliability of the monitoring system. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a flowchart of a method for managing a Java multi-concurrent monitoring intelligent platform interface disclosed in an embodiment of the present application; Figure 2 is a schematic diagram of a method for managing an interface of a Java multi-concurrent monitoring intelligent platform in an embodiment; Figure 3 It is a flow chart of simultaneously processing multiple monitoring tasks and obtaining monitoring data of the monitoring tasks according to the monitoring data collection and aggregation mechanism disclosed in the embodiment of the present application; Figure 4It is a flow chart of judging monitoring data to obtain a judgment result and providing feedback to the monitoring data according to the judgment result disclosed in the embodiment of the present application; Figure 5 It is a structural diagram of a Java-based multi-concurrent monitoring intelligent platform management interface device disclosed in an embodiment of the present application; Figure 6 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0019] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0020] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first monitoring indicator may be referred to as a second monitoring indicator, and similarly, a second monitoring indicator may be referred to as a first monitoring indicator. Both the first monitoring indicator and the second monitoring indicator are monitoring indicators, but they are not the same monitoring indicator.
[0021] The embodiment of the present application discloses a method for concurrently monitoring intelligent platform management interfaces based on Java, which realizes efficient real-time intelligent platform management interface monitoring and greatly enhances the stability and reliability of the monitoring system. Detailed descriptions are given below.
[0022] See also Figure 1 , Figure 1 This is a flow chart of a method for managing a Java multi-concurrent monitoring intelligent platform interface disclosed in an embodiment of the present application. Figure 1 The method described is applicable to electronic devices based on a Java multi-concurrent monitoring intelligent platform management interface. Figure 1As shown, the method based on Java multi-concurrent monitoring intelligent platform management interface may include the following steps: Step S101, monitoring the configuration platform interface through the intelligent platform management interface to obtain basic parameters set by the user.
[0023] The Intelligent Platform Management Interface is an open standard hardware management interface specification used for out-of-band management of hardware components in computing devices. The Intelligent Platform Management Interface allows management of system devices without relying on the status of the operating system, processor or other system software, and is usually used to remotely monitor physical parameters such as temperature, voltage, fan speed, etc. of the server. The Intelligent Platform Management Interface Monitoring Configuration Platform is an Intelligent Platform Management Interface monitoring data acquisition platform based on Java as the underlying layer. It completes the monitoring of the entire Intelligent Platform Management Interface by selecting a collection machine, setting the Intelligent Platform Management Interface connection parameters, selecting monitoring indicators and testing and issuing a series of operations. The present invention mainly describes the test action after selecting multiple Intelligent Platform Management Interface monitoring indicators. This action is mainly based on a multi-concurrency design of the Java program. By fully concurrently collecting the monitoring indicators selected by the user, it further tests whether these Intelligent Platform Management Interface monitoring indicators can be successfully obtained in full.
[0024] In some embodiments, the user sets monitoring parameters through the intelligent platform management interface monitoring configuration platform interface or other methods, and the Java program obtains monitoring parameters through the intelligent platform management interface monitoring configuration platform interface or other methods, wherein the monitoring parameters include basic parameters and connection parameters; the basic parameters include: device type, monitoring address, and collector information. For example, the user selects the collector - 132.121.**.** through the intelligent platform management interface monitoring configuration platform interface. Step S102: monitoring the configuration platform interface through the intelligent platform management interface to obtain the connection parameters set by the user.
[0025] As an optional implementation, the user sets connection parameters through the intelligent platform management interface monitoring configuration platform interface or other methods, and the Java program obtains connection parameters through the intelligent platform management interface monitoring configuration platform interface or other methods, wherein the connection parameters are the target server information of the monitored intelligent platform management interface, and the target server information includes: intelligent platform management interface address, user name and user password. For example, the user sets the intelligent platform management interface address of the monitored intelligent platform management interface server, i.e., the out-of-band host, -192.168.**.**, user name - ** and user password - ** through the intelligent platform management interface monitoring configuration platform interface.
[0026] Step S103: monitoring the configuration platform interface through the intelligent platform management interface to obtain a first monitoring indicator request submitted by the user.
[0027] As an implementation method, the user sets the first monitoring indicator to be monitored through the intelligent platform management interface monitoring configuration platform interface, enters the name of the monitoring object, that is, the out-of-band host information, selects in advance which first monitoring indicators to be fully monitored, submits the first monitoring indicator request, and the system obtains the first monitoring indicator request. For example, 10 first monitoring indicators of the intelligent platform management interface are monitored. The first monitoring indicators include: CPU status, memory status, power status, hard disk status, fan speed, temperature, voltage, power supply power, power switch status, and intelligent platform management interface alarm log, so as to submit the first monitoring indicator request.
[0028] Step S104, submitting a first monitoring indicator request to the Java program, determining the indicator quantity of the first monitoring indicator, and preparing all monitoring tasks monitored by the intelligent platform management interface.
[0029] As an implementation method, the user determines the test connection and submits a first monitoring indicator request to the Java program. The Java program receives the first monitoring indicator request and starts preparing to send test requests for all of these first monitoring indicators, determines the number of indicators of the first monitoring indicators, obtains the user's connection information, sends test requests for all of the first monitoring indicators based on the connection information, and prepares all monitoring tasks monitored by the intelligent platform management interface.
[0030] Step S105, designing multiple monitoring tasks concurrently according to the number of requested indicators through multi-threading technology.
[0031] A program is a static concept consisting of instructions and data in order. A program itself does not mean running. It can only become an active entity, namely a process, when the processor gives it life, that is, when the operating system executes it. A process is the basic unit for allocating and managing resources during the execution of a program. It is a dynamic concept. Each process has an independent address space and system resources, such as memory, files, network connections, etc. Different processes are independent of each other and need to exchange and communicate data through an inter-process communication mechanism.
[0032] In some embodiments, the Java program uses multi-threading technology to perform concurrency design based on the number of requested first monitoring indicators to process multiple monitoring tasks simultaneously. After the user confirms the test connection, the Java program concurrently designs multiple monitoring tasks. That is, after clicking the test, the Java program will concurrently test the first monitoring indicator to obtain the monitoring data issued. The multi-concurrency of the intelligent platform management interface monitoring is achieved by using Java multi-threading technology, which improves the concurrent processing capability of the intelligent platform management interface monitoring, thereby improving the monitoring efficiency. This is an important improvement over the traditional single-threaded collection method.
[0033] Step S106, processing multiple monitoring tasks simultaneously according to the monitoring data collection and aggregation mechanism to obtain monitoring data of the monitoring tasks.
[0034] As an implementation method, the Java program will concurrently collect and obtain the distributed monitoring data, summarize the monitoring data collected from each concurrent task according to the monitoring data collection and aggregation mechanism, and visualize the monitoring data of the first monitoring indicator of the entire amount to better judge the monitoring results.
[0035] Step S107, judging the monitoring data to obtain a judgment result, and providing feedback on the monitoring data according to the judgment result.
[0036] As an implementation method, the Java program judges the integrity of the monitoring data after each first monitoring indicator test to ensure the reliability of the monitoring system, and feeds back the judgment result to the user through the intelligent platform management interface monitoring configuration platform interface, so as to facilitate the user to adjust the second monitoring indicator that needs to be monitored next according to the health status of the monitoring system. For example, the intelligent platform management interface monitoring configuration platform feedback: the first monitoring indicator test of the memory status item is successful, and the abnormal description is normal; the first monitoring indicator test of the CPU status item fails, and the abnormal description displays abnormal information and connection failure; the first monitoring indicator test of the power status item fails, and the abnormal description displays abnormal information and connection failure.
[0037] Specifically, with the continuous expansion of the scale of data centers, the increase in the number of servers has put forward higher requirements on the performance of the monitoring system. In terms of monitoring efficiency, when the intelligent platform management interface monitors and collects a large number of monitoring indicators, the monitoring data collection efficiency of the intelligent platform management interface is low, especially when there are many concurrent requests, the speed and continuity of monitoring data acquisition cannot be guaranteed; in terms of monitoring data reliability, when connecting to the intelligent platform management interface through command line tools, etc., due to network delays or slow response speed of the intelligent platform management interface, monitoring data acquisition often fails; in terms of monitoring management complexity, traditional monitoring configuration methods require manual configuration of monitoring indicators one by one, which is not only time-consuming and labor-intensive, but also prone to configuration errors. Therefore, in order to improve the efficiency and reliability of the monitoring system, it has become an inevitable choice to develop an intelligent platform management interface monitoring method based on Java multi-concurrency technology.
[0038] Figure 2 is a schematic diagram of a method for managing a Java multi-concurrent monitoring intelligent platform interface in an embodiment, such as Figure 2As shown, the user submits a full first monitoring indicator request through the intelligent platform management interface monitoring configuration platform interface or other means. The Java program in the intelligent platform management interface monitoring configuration platform receives the first monitoring indicator request submitted by the user and starts to prepare the full monitoring task of the intelligent platform management interface monitoring. The Java program uses multi-threading technology to concurrently design the monitoring task according to the number of requested first monitoring indicators to process multiple monitoring tasks at the same time. Each thread independently executes the monitoring task, collects the first monitoring indicator from the target server and summarizes all monitoring data after the collection is completed. The system determines whether all threads have successfully collected monitoring data. If so, the system configures the corresponding first monitoring indicator and ends the monitoring process; if not, the user is notified that the current environment cannot support full intelligent platform management interface monitoring and the user needs to resubmit the adjusted second monitoring indicator request.
[0039] The intelligent platform management interface monitoring solutions currently on the market either rely on a single-threaded method of sequentially collecting monitoring indicators, or do not take into account that when multiple monitoring indicators send monitoring indicator requests at the same time, the response speed of the intelligent platform management interface itself will cause the invalidity of the collected monitoring data. These methods have obvious shortcomings in practical applications. First, when collecting a large number of monitoring indicators, the single-threaded sequential execution method is inefficient and difficult to meet the needs of real-time monitoring. Secondly, due to the limitation of the response speed of the intelligent platform management interface, batch collection easily leads to the failure of successful collection of some monitoring indicators, resulting in incomplete monitoring data, thus affecting the integrity and reliability of the monitoring system. Although the existing intelligent platform management interface monitoring technology provides a certain degree of monitoring capabilities, its efficiency and reliability still need to be improved when facing large-scale concurrent collection requirements. Therefore, the present invention discloses a new intelligent platform management interface monitoring method based on Java multi-concurrency technology. By using Java multi-threading technology, the concurrent processing capability of the intelligent platform management interface monitoring is improved, thereby improving the monitoring efficiency, solving the problems of low efficiency and poor integrity of monitoring data acquisition in the existing intelligent platform management interface monitoring scheme, and improving the speed and success rate of monitoring data collection through concurrent processing technology. A monitoring data collection and aggregation mechanism is designed to aggregate the monitoring data collected from each concurrent task, and judge the integrity of the monitoring data to ensure the reliability of the monitoring system. This method will greatly improve the success rate and efficiency of monitoring data collection by concurrently processing multiple monitoring tasks and making judgments.
[0040] In an embodiment of the present application, the intelligent platform management interface monitors the configuration platform interface, obtains the first monitoring indicator request submitted by the user, submits the first monitoring indicator request to the Java program, determines the indicator quantity of the first monitoring indicator, prepares all monitoring tasks monitored by the intelligent platform management interface, and concurrently designs multiple monitoring tasks according to the requested indicator quantity through multi-threading technology. Multiple monitoring tasks are processed simultaneously according to the monitoring data collection and aggregation mechanism, the monitoring data of the monitoring tasks is obtained, the monitoring data is judged to obtain the judgment result, and the monitoring data is fed back according to the judgment result. By introducing a multi-concurrency processing mechanism based on Java, the efficiency of the intelligent platform management interface monitoring is significantly improved. This multi-threaded concurrent design allows the system to process multiple monitoring tasks simultaneously, which greatly improves the efficiency of the intelligent platform management interface monitoring. The total time for monitoring data collection is shortened, thereby achieving efficient real-time monitoring, which can effectively meet the monitoring needs of large-scale servers. Through advanced data collection and aggregation mechanisms, the integrity and reliability of monitoring data are improved. The concurrent monitoring task design of the present invention can balance the load among multiple threads, reducing data loss caused by overload of a single point. At the same time, through the back-end intelligent data aggregation and integrity judgment mechanism, the accuracy and integrity of all important monitoring data are ensured. While improving the efficiency of monitoring data collection, it also greatly enhances the stability and reliability of the monitoring system, provides strong technical support for the operation and maintenance management of the data center, realizes efficient real-time intelligent platform management interface monitoring, and greatly enhances the stability and reliability of the monitoring system.
[0041] Figure 3 is a flow chart of simultaneously processing multiple monitoring tasks and obtaining monitoring data of the monitoring tasks according to the monitoring data collection and aggregation mechanism disclosed in the embodiment of the present application, such as Figure 3 As shown, this step also includes the following steps: Step S301, concurrently testing all issued monitoring tasks according to the connection information.
[0042] As an optional implementation, after the user clicks the test connection, the Java program receives the first monitoring indicator request and sends a test request to all first monitoring indicators, preparing to concurrently test all sent monitoring tasks.
[0043] Step S302: Each thread independently and concurrently executes the monitoring task.
[0044] As an optional implementation, the Java program prepares to concurrently test all issued monitoring tasks, and then each thread therein independently and concurrently executes the monitoring tasks, thereby improving the concurrent processing capability of the intelligent platform management interface monitoring and thus improving the monitoring efficiency.
[0045] A process can include multiple threads. Threads are the basic unit of CPU scheduling and dispatching, and are part of a process. They share all resources owned by the process, and can share objects and resources. If there is a conflict or collaborative processing is required, threads can communicate to resolve the conflict or maintain synchronization. A thread can only belong to one process, but a process can include multiple threads, and must include at least one thread. Through multi-threading technology, multiple threads can be created in a process, allowing them to concurrently process different tasks at the same time. In Java, multi-threaded concurrency is a technology that allows a program to execute multiple tasks at the same time. Java provides a variety of ways to create and manage threads, so that multiple pieces of code can be run simultaneously in the same program.
[0046] Step S303, obtaining monitoring data of the monitoring task and summarizing all monitoring data.
[0047] As an optional implementation, the monitoring data of the first monitoring indicator in the monitoring task is collected on the target server, and whether the concurrent test is completed is determined based on the number of the first monitoring indicator. If the concurrent test is completed, all monitoring data are summarized. The Java program will concurrently collect and obtain these sent monitoring data, and summarize the monitoring data collected from each concurrent task according to the monitoring data collection and aggregation mechanism, and visualize the monitoring data of the full amount of the first monitoring indicator to better judge the monitoring results.
[0048] See also Figure 4 , Figure 4 This is a flow chart of judging monitoring data to obtain a judgment result and providing feedback to the monitoring data according to the judgment result disclosed in the embodiment of the present application. In one embodiment, after configuring the corresponding monitoring indicators, the following steps are also included: Step S401, determining whether the concurrent test successfully collects monitoring data of all first monitoring indicators.
[0049] In some embodiments, the Java program judges the integrity of the monitoring data after each first monitoring indicator test to ensure the reliability of the monitoring system, saves the judgment results of the integrity judgment of the monitoring data of each first monitoring indicator, and uses it as a judgment condition to trigger different operations. The judgment results of the integrity judgment of the monitoring data of each first monitoring indicator are visually displayed through the intelligent platform management interface monitoring configuration platform interface. For example, the first monitoring indicator test result column of the memory status item shows success, the first monitoring indicator test result column of the CPU status item shows failure, and the first monitoring indicator test result column of the power status item shows failure.
[0050] Step S402: If the concurrent test successfully collects monitoring data of all first monitoring indicators, the corresponding first monitoring indicators are configured.
[0051] In some embodiments, based on the judgment result of the integrity of the monitoring data of each first monitoring indicator, if the judgment result is that the monitoring data of all first monitoring indicators are successfully collected, the system configures all these first monitoring indicators.
[0052] Step S403, monitor the configuration platform interface through the intelligent platform management interface, obtain the second monitoring indicator request submitted by the user, use the second monitoring indicator request as the first monitoring indicator request, and re-execute the step of submitting the first monitoring indicator request to the Java program, determine the indicator quantity of the first monitoring indicator, and prepare all monitoring tasks monitored by the intelligent platform management interface.
[0053] In some embodiments, after configuring the corresponding first monitoring indicator, the user continues to submit a new batch of second monitoring indicator requests, the system repeats the operation to obtain the second monitoring indicator request submitted by the user, submits the second monitoring indicator request to the Java program, determines the number of indicators of the second monitoring indicator, prepares all monitoring tasks monitored by the intelligent platform management interface, designs multiple monitoring tasks concurrently, processes multiple monitoring tasks simultaneously according to the overhead data collection and aggregation mechanism, obtains the monitoring data of the monitoring tasks, and makes judgments and feedback on the monitoring data.
[0054] Step S404: If the concurrent test fails to successfully collect monitoring data of all first monitoring indicators, the user is notified that the current environment cannot support full intelligent platform management interface monitoring.
[0055] In some embodiments, if some of the first monitoring indicators fail in the concurrent test, it is most likely that the response speed of the intelligent platform management interface has limited the first monitoring indicator connection timeout, and it is necessary to reduce some of the first monitoring indicators and re-perform a new round of concurrent testing of the first monitoring indicator issuance request and the monitoring task.
[0056] See also Figure 5 , Figure 5 This is a schematic diagram of a Java-based multi-concurrency monitoring intelligent platform management interface device disclosed in an embodiment of the present application. The device can be applied to electronic devices. Figure 5 As shown, the Java-based multi-concurrency monitoring intelligent platform management interface device 500 may include: a first acquisition module 501 , a determination module 502 , a design module 503 , a second acquisition module 504 and a feedback module 505 .
[0057] The first acquisition module 501 acquires a first monitoring indicator request submitted by a user through the intelligent platform management interface monitoring configuration platform interface; A determination module 502 is used to submit a first monitoring indicator request to the Java program, determine the indicator quantity of the first monitoring indicator, and prepare all monitoring tasks monitored by the intelligent platform management interface; A design module 503, used to concurrently design multiple monitoring tasks according to the number of requested indicators through multi-threading technology; The second acquisition module 504 is used to simultaneously process multiple monitoring tasks according to the monitoring data collection and aggregation mechanism to obtain monitoring data of the monitoring tasks; The feedback module 505 is used to judge the monitoring data to obtain a judgment result, and to provide feedback on the monitoring data according to the judgment result.
[0058] In one embodiment, the Java-based multi-concurrency monitoring intelligent platform management interface device 500 further includes: The third acquisition module is used to monitor the configuration platform interface through the intelligent platform management interface and obtain the basic parameters set by the user; The fourth acquisition module is used to monitor the configuration platform interface through the intelligent platform management interface and acquire the connection parameters set by the user.
[0059] In one embodiment, the determination module 502 further includes a determination unit, a first acquisition unit, a request issuing unit, and a preparation unit: A determination unit, used to submit a first monitoring indicator request to the Java program to determine the indicator quantity of the first monitoring indicator; A first acquisition unit, used to acquire connection information of a user; A request sending unit, used for sending a full test request to the first monitoring indicator according to the connection information; The preparation unit is used to prepare all monitoring tasks monitored by the intelligent platform management interface.
[0060] In one embodiment, the second acquisition module 504 further includes a testing unit, an execution unit, and a second acquisition unit: The test unit is used to concurrently test all monitoring tasks issued according to the connection information; Execution unit, used for each thread to concurrently and independently execute monitoring tasks; The second acquisition unit is used to acquire the monitoring data of the monitoring task and summarize all the monitoring data.
[0061] In one embodiment, the second acquisition unit further includes a collection subunit, a determination subunit, and a data aggregation subunit: A collection subunit, used to collect monitoring data of a first monitoring indicator in a monitoring task on a target server; A determination subunit, used to determine whether the concurrent test is completed according to the number of the first monitoring indicator; The data aggregation subunit is used to aggregate all monitoring data if the concurrent test is completed.
[0062] In one embodiment, the determination subunit is also used to determine whether the concurrent test successfully collects the monitoring data of all first monitoring indicators; if the concurrent test successfully collects the monitoring data of all first monitoring indicators, the corresponding first monitoring indicators are configured; if the concurrent test does not successfully collect the monitoring data of all first monitoring indicators, the user is notified that the current environment cannot support full-scale intelligent platform management interface monitoring.
[0063] In one embodiment, the first acquisition module 501 is also used to monitor the configuration platform interface through the intelligent platform management interface after configuring the corresponding monitoring indicators, obtain the second monitoring indicator request submitted by the user, use the second monitoring indicator request as the first monitoring indicator request, and re-execute the step of submitting the first monitoring indicator request to the Java program, determine the indicator quantity of the first monitoring indicator, and prepare all monitoring tasks monitored by the intelligent platform management interface.
[0064] See also Figure 6 , Figure 6 Schematic diagram of the structure of an electronic device disclosed in the embodiment of the present application. Figure 6 As shown, the electronic device 600 may include: A memory 601 storing executable program codes; a processor 602 coupled to the memory 601; Among them, the processor 602 calls the executable program code stored in the memory 601 to execute any method based on the Java multi-concurrent monitoring intelligent platform management interface disclosed in the embodiments of the present application.
[0065] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by the processor, the processor implements any method based on a Java multi-concurrent monitoring intelligent platform management interface disclosed in an embodiment of the present application.
[0066] The embodiments of the present application disclose a computer program product, including a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.
[0067] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.
[0068] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0069] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0070] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0071] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, server or network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.
[0072] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0073] The above is a detailed introduction to a method based on a Java multi-concurrent monitoring intelligent platform management interface disclosed in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. At the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation method and scope of application. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for managing a Java multi-concurrent monitoring intelligent platform interface, characterized in that: Applied to electronic equipment, the method comprises: Obtain the first monitoring indicator request submitted by the user through the intelligent platform management interface monitoring configuration platform interface; Submitting the first monitoring indicator request to the Java program, determining the indicator quantity of the first monitoring indicator, and preparing all monitoring tasks monitored by the intelligent platform management interface; Designing multiple monitoring tasks concurrently according to the number of requested indicators through multi-threading technology; Processing a plurality of monitoring tasks simultaneously according to a monitoring data collection and aggregation mechanism to obtain the monitoring data of the monitoring tasks; The monitoring data is judged to obtain a judgment result, and the monitoring data is fed back according to the judgment result.
2. A method based on Java multi-concurrent monitoring intelligent platform management interface according to claim 1, characterized in that: Before obtaining the first monitoring indicator request submitted by the user through the intelligent platform management interface monitoring configuration platform interface or other means, the method further includes: Monitor the configuration platform interface through the intelligent platform management interface to obtain the basic parameters set by the user; Monitor the configuration platform interface through the intelligent platform management interface to obtain the connection parameters set by the user; The basic parameters include: device type, monitoring address and collector information; the connection parameters are target server information of the monitored intelligent platform management interface.
3. The method according to claim 1, characterized in that: The submitting the first monitoring indicator request to the Java program, determining the indicator quantity of the first monitoring indicator, and preparing all monitoring tasks monitored by the intelligent platform management interface include: Submitting the first monitoring indicator request to the Java program to determine the indicator quantity of the first monitoring indicator; Obtaining connection information of the user; Sending a test request to all the first monitoring indicators according to the connection information; Prepare all the monitoring tasks monitored by the intelligent platform management interface.
4. The method according to claim 1, characterized in that: The electronic device includes a plurality of threads; The simultaneously processing a plurality of monitoring tasks according to the monitoring data collection and aggregation mechanism to obtain the monitoring data of the monitoring tasks includes: Concurrently testing all the monitoring tasks issued according to the connection information; Each thread executes the monitoring task independently and concurrently; The monitoring data of the monitoring task is obtained, and all the monitoring data are summarized.
5. A method for managing a Java multi-concurrent monitoring intelligent platform interface according to claim 4, characterized in that: The acquiring the monitoring data of the monitoring task and aggregating all the monitoring data includes: Collecting the monitoring data of the first monitoring indicator in the monitoring task on the target server; Determining whether the concurrent test is completed according to the number of the first monitoring indicators; If the concurrent test is completed, all the monitoring data are summarized.
6. The method according to claim 1, characterized in that: The step of determining the monitoring data to obtain a determination result, and providing feedback on the monitoring data according to the determination result, includes: Determining whether the concurrent test successfully collects the monitoring data of all the first monitoring indicators; If the concurrent test successfully collects the monitoring data of all the first monitoring indicators, configuring the corresponding first monitoring indicators; If the concurrent test fails to successfully collect the monitoring data of all the first monitoring indicators, the user is notified that the current environment cannot support full-scale monitoring of the intelligent platform management interface.
7. The method according to claim 6, characterized in that: After configuring the corresponding monitoring indicator, the method further includes: Monitor the configuration platform interface through the intelligent platform management interface, obtain the second monitoring indicator request submitted by the user, use the second monitoring indicator request as the first monitoring indicator request, and re-execute the steps to submit the first monitoring indicator request to the Java program, determine the number of indicators of the first monitoring indicator, and prepare all monitoring tasks monitored by the intelligent platform management interface.
8. A Java-based multi-concurrent monitoring intelligent platform management interface device, characterized in that: include: A first acquisition module is used to monitor the configuration platform interface through the intelligent platform management interface to acquire a first monitoring indicator request submitted by a user; A determination module, used for submitting the first monitoring indicator request to the Java program, determining the indicator quantity of the first monitoring indicator, and preparing all monitoring tasks monitored by the intelligent platform management interface; A design module, used for concurrently designing a plurality of monitoring tasks according to the number of the requested indicators through multi-threading technology; A second acquisition module is used to simultaneously process a plurality of monitoring tasks according to a monitoring data collection and aggregation mechanism to acquire the monitoring data of the monitoring tasks; The feedback module is used to judge the monitoring data to obtain a judgment result, and to provide feedback to the monitoring data according to the judgment result.
9. An electronic device, characterized in that: It includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements a method for managing an interface of a Java multi-concurrent monitoring intelligent platform as described in 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, a method for managing a Java multi-concurrent monitoring intelligent platform interface is implemented as described in any one of claims 1 to 7.