Server fault remote monitoring system and method
By real-time monitoring and analysis of key server performance indicators and combining potential risk parameters, the problem that existing technology cannot detect and handle server failures in a timely manner is solved, efficient fault monitoring and early warning is achieved, and the stability and security of the server are improved.
Patent Information
- Application Number
- CN202411022866.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-23
AI Technical Summary
The existing technology cannot effectively monitor and predict potential server failures, resulting in timely discovery and processing, affecting the stability and security of the server.
By monitoring the server's key performance indicators in real time, analyzing historical fault information, building monitoring periods, combining potential risk parameters for risk analysis, output real-time operating status, and triggering an alarm mechanism in the risk state, real-time monitoring frequency and resources are reassigned.
It realizes efficient remote monitoring of server faults, improves the accuracy and efficiency of fault monitoring, and provides convenient troubleshooting and repairing methods.
Smart Images

Figure CN118885356A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of server operation monitoring, and in particular relates to a server fault remote monitoring system and method. Background Art
[0002] With the rapid development of information technology, servers, as core equipment for data storage, processing and transmission, are of vital importance to both enterprises and individuals in terms of stability and security. However, during long-term operation, servers may fail due to various factors, such as hardware aging, software vulnerabilities, network attacks, etc., thus affecting their normal operation. Therefore, how to effectively monitor servers remotely and detect and handle failures in a timely manner has become a problem that needs to be solved urgently.
[0003] Although there are some methods for remote monitoring of servers in the prior art, they can only perform simple monitoring of the server's operating status, and are unable to conduct in-depth analysis and prediction of the server's potential risks, thereby failing to timely discover and handle potential failures. To address this problem, the present invention proposes a server failure remote monitoring system and method, which aims to achieve timely warning and rapid handling of server failures through real-time monitoring of key performance indicators of the server and potential risk analysis. Summary of the invention
[0004] The purpose of the present invention is to provide a server fault remote monitoring system and method, which can realize real-time monitoring of key performance indicators of the server and analyze the potential risks of the server, so as to timely discover potential faults and improve the stability and security of the server.
[0005] The technical solution adopted by the present invention is as follows: A server failure remote monitoring method, comprising: Obtaining the running status information of the server, extracting key performance indicators from the running status information, and counting the fault information under the key performance indicators, and recording them as historical fault information, and then matching the initial monitoring frequency of each key performance indicator according to the historical fault information; Counting the occurrence nodes of each of the historical fault information and recording them as monitoring nodes, building a monitoring period based on the monitoring nodes, and outputting potential risk parameters when the historical fault information occurs based on the key performance indicators within the monitoring period; According to the initial monitoring frequency, real-time operating parameters of each key performance indicator of the server are collected, and risk analysis is performed on the real-time operating parameters in combination with the potential risk parameters, and the real-time operating status of the server is output according to the result of the risk analysis, wherein the real-time operating status includes a normal status and a risk status; Under the normal state, statistical analysis is performed on the real-time operating parameters of the key performance indicators, and the monitoring frequency of each key performance indicator is reallocated according to the statistical analysis results; Under the risk state, an alarm mechanism is triggered and an alarm signal is sent out simultaneously.
[0006] In a preferred solution, the step of obtaining the operation status information of the server and extracting key performance indicators from the operation status information includes: Obtain the historical operating status information of the server and perform data cleaning to remove redundant and abnormal data in the historical status information; Standardize the historical operation status information after data cleaning to obtain a standardized operation status data set; Perform feature selection on the standardized operating status data set to filter out key performance indicators that reflect server performance.
[0007] In a preferred solution, the step of matching the initial monitoring frequency of each key performance indicator according to the historical fault information includes: Obtain the historical failure frequency and duration of each of the key performance indicators; Quantifying the historical fault occurrence frequency and duration, and recording the quantified historical fault occurrence frequency and duration as a first evaluation parameter and a second evaluation parameter; Obtaining an evaluation function, inputting the first evaluation parameter and the second evaluation parameter into the evaluation function, and recording an output result of the evaluation function as an allocation weight; The allowed allocation resources are obtained, and the allowed allocation resources are allocated according to the allocation weights to obtain the initial monitoring frequency of each key performance indicator.
[0008] In a preferred solution, the step of constructing a monitoring period according to the monitoring node and outputting potential risk parameters when historical fault information occurs according to key performance indicators within the monitoring period includes: Acquire the monitoring node, perform reverse shift on the monitoring node, and output a monitoring period according to the shift result; Collecting key performance indicators within the monitoring period and indicator parameters corresponding to the key performance indicators; The indicator parameters within the monitoring period are arranged according to the time sequence of occurrence, and the indicator parameters under adjacent positions are subjected to difference processing, and the difference result is recorded as the fluctuation parameter; Outputting the distribution state of the indicator parameters within the monitoring period according to the fluctuation parameter, wherein the distribution state includes an ordered state and a disordered state; In the ordered state, a first calculation function is obtained, the indicator parameter is input into the first calculation function, and an output result of the first calculation function is calibrated as a potential risk parameter; In the disordered state, a second calculation function is obtained, the indicator parameters are input into the second calculation function, and the output result of the second calculation function is calibrated as a potential risk parameter.
[0009] In a preferred embodiment, the step of outputting the distribution state of the indicator parameter within the monitoring period according to the fluctuation parameter includes: Classify and process the fluctuation parameters in the monitoring period according to their numerical types, record the fluctuation parameters with positive values as positive fluctuation parameters, and record the fluctuation parameters with negative values as negative fluctuation parameters; Counting the number of the positive fluctuation parameters and the negative fluctuation parameters, and calculating the ratio of the number of the positive fluctuation parameters to the number of the negative fluctuation parameters; Counting the duration of the positive fluctuation parameter and the negative fluctuation parameter, and calculating the duration ratio of the positive fluctuation parameter to the negative fluctuation parameter; Performing weighted sum processing on the quantity ratio and the duration ratio, and recording the result of the weighted sum as a comprehensive ratio; Obtaining a distribution state evaluation interval, and comparing the comprehensive ratio with the distribution state evaluation interval; If the comprehensive ratio is within the distribution state evaluation interval, it indicates that the distribution of the indicator parameters within the monitoring period is stable, and the distribution state of the indicator parameters is calibrated as an ordered state; If the comprehensive ratio does not belong to the distribution state evaluation interval, it indicates that the distribution of the indicator parameters within the monitoring period is scattered, and the distribution state of the indicator parameters is calibrated as a disordered state.
[0010] In a preferred solution, the step of collecting the real-time operating parameters of each key performance indicator of the server, performing risk analysis on the real-time operating parameters in combination with the potential risk parameters, and outputting the real-time operating status of the server according to the result of the risk analysis includes: Taking the current node as the reference node, backtracking offset is performed to obtain a backtracking node, and then an evaluation period is constructed based on the backtracking node and the reference node; Collecting the real-time operating parameters of each key performance indicator during the evaluation period and arranging them according to the collection order; According to the arrangement order of the real-time operation parameters, the real-time operation parameters of adjacent positions are subjected to difference processing to obtain the real-time fluctuation parameter and the distribution state of the real-time operation parameter; When the distribution state of the real-time operating parameters is an ordered state, a first verification function is obtained, and the real-time operating parameters within the evaluation period and the potential risk parameters output by the first measurement function are output to the first verification function, and the output result of the first verification function is calibrated as a first state evaluation parameter; When the distribution state of the real-time operating parameters is in a disordered state, a second verification function is obtained, and the real-time operating parameters within the evaluation period and the potential risk parameters output by the second measurement function are input into the second verification function, and the output result of the second verification function is calibrated as a second state evaluation parameter; Obtain an allowable deviation threshold, and compare the allowable deviation threshold with a first state evaluation parameter or a second state evaluation parameter, and when the first state evaluation parameter or the second state evaluation parameter is greater than the allowable deviation threshold, determine that the real-time operating state of the server is a normal state, otherwise, determine that the real-time operating state of the server is an abnormal state.
[0011] In a preferred solution, in the normal state, the step of statistically analyzing the real-time operating parameters of the key performance indicators and reallocating the monitoring frequency of each key performance indicator according to the statistical analysis result includes: Acquire the first state evaluation parameter or the second state evaluation parameter of each of the key performance indicators under a normal state; Sorting all the first state evaluation parameters or the second state evaluation parameters according to their values; A weight allocation function is obtained, and the first state evaluation parameter or the second state evaluation parameter is input into the weight allocation function, and an output result of the weight allocation function is marked as an updated weight, and the allowed allocation resources are reallocated according to the updated weight.
[0012] In a preferred solution, under the risk state, the corresponding key performance indicator is output and calibrated as the risk indicator, and then the real-time operating parameters under the risk indicator are calibrated as risk parameters, and the occurrence time of the risk parameter is recorded as the risk node; The risk indicators, risk parameters and risk nodes are associated and stored to form a risk database.
[0013] The present invention also provides a server fault remote monitoring system, using the above server fault remote monitoring method, including: A data acquisition module, which is used to obtain the running status information of the server, extract key performance indicators from the running status information, and count the fault information under the key performance indicators and record them as historical fault information, and then match the initial monitoring frequency of each key performance indicator according to the historical fault information; A risk analysis module, which is used to count the occurrence nodes of each of the historical fault information and record them as monitoring nodes, build a monitoring period based on the monitoring nodes, and output potential risk parameters when the historical fault information occurs based on the key performance indicators within the monitoring period; A status assessment module, the status assessment module is used to collect the real-time operating parameters of each key performance indicator of the server according to the initial monitoring frequency, and perform risk analysis on the real-time operating parameters in combination with the potential risk parameters, and output the real-time operating status of the server according to the result of the risk analysis, wherein the real-time operating status includes a normal state and a risk state; An updating module, the updating module being used to perform statistical analysis on the real-time operating parameters of the key performance indicators in the normal state, and reallocate the monitoring frequency of each key performance indicator according to the statistical analysis result; An alarm module is used to trigger an alarm mechanism and simultaneously send out an alarm signal under the risk state.
[0014] And, an electronic device, the electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned server fault remote monitoring method.
[0015] The technical effects achieved by the present invention are: The present invention collects real-time operating parameters of key performance indicators of the server, performs risk analysis in combination with potential risk parameters, and updates the monitoring frequency in real time according to the results of the risk analysis, thereby realizing efficient remote monitoring of server failures. In the real-time monitoring process, the quantity ratio and duration ratio of positive fluctuation parameters to negative fluctuation parameters are calculated, and the distribution state of the indicator parameters is evaluated according to the quantity ratio and duration ratio, which provides strong data support for risk analysis, thereby being able to The real-time operating status of the server is accurately judged, and the accuracy and efficiency of fault monitoring are improved. In addition, the present invention also realizes the associated storage of risk indicators, risk parameters and risk nodes by constructing a risk database, providing a convenient way for subsequent fault detection and repair. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic flow chart of the method of the present invention; Figure 2 It is a schematic diagram of the system module of the present invention; Figure 3 It is a schematic diagram of the structure of an electronic device of the present invention. DETAILED DESCRIPTION
[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0018] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0019] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present invention. The term "in a preferred embodiment" that appears in different places in this specification does not refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.
[0020] See also Figure 1 As shown, the present invention provides a method for remote monitoring of server failures, comprising: S1. Obtain the running status information of the server, extract the key performance indicators from the running status information, count the fault information under the key performance indicators, and record them as historical fault information, and then match the initial monitoring frequency of each key performance indicator according to the historical fault information; S2. Count the occurrence nodes of each historical fault information and record them as monitoring nodes. Based on the monitoring nodes, build monitoring periods and output potential risk parameters when historical fault information occurs based on key performance indicators within the monitoring period. S3. According to the initial monitoring frequency, collect the real-time operating parameters of each key performance indicator of the server, and perform risk analysis on the real-time operating parameters in combination with the potential risk parameters, and output the real-time operating status of the server according to the result of the risk analysis, wherein the real-time operating status includes a normal state and a risk state; S4. Under normal conditions, statistical analysis is performed on the real-time operating parameters of the key performance indicators, and the monitoring frequency of each key performance indicator is reallocated based on the statistical analysis results; S5. Under risk conditions, the alarm mechanism is triggered and an alarm signal is issued simultaneously.
[0021] As shown in the above steps, as the server runs, its operating status may change with various factors such as time, load, environment, etc. Therefore, remote monitoring of server faults is very necessary. In this embodiment, the operating status information of the server is first obtained, and key performance indicators are selected from the operating status information. Then, the fault information under the key performance indicators is counted and recorded as historical fault information. At the same time, an initial monitoring frequency is set for each key performance indicator based on the historical fault information. Then, the time nodes of the historical fault information are counted and recorded as monitoring nodes. At the same time, a monitoring period is constructed according to the monitoring node, and the historical fault information is output according to the key performance indicators within the monitoring period. The real-time operating parameters of each key performance indicator of the server are collected according to the set initial monitoring frequency, and the real-time operating parameters of the key performance indicators of the server are analyzed in combination with the potential risk parameters. According to the results of the risk analysis, the real-time operating status of the server is output. The real-time operating status in this embodiment includes a normal state and a risk state. In the normal state, the real-time operating parameters of the key performance indicators are statistically analyzed, and according to the results of the statistical analysis, the monitoring frequencies of the key performance indicators are reallocated. In the risk state, an alarm mechanism is triggered and an alarm signal is issued synchronously so that timely measures can be taken to prevent the occurrence or expansion of failures, thereby realizing effective monitoring and prevention of server failures.
[0022] In a preferred embodiment, the step of obtaining the running status information of the server and extracting the key performance indicators from the running status information includes: S101, obtaining historical operation status information of the server, and performing data cleaning to remove redundant and abnormal data in the historical status information; S102, standardizing the historical operation status information after data cleaning to obtain a standardized operation status data set; S103: Perform feature selection on the standardized operation status data set to screen out key performance indicators that reflect server performance.
[0023] As described in the above steps S101-S103, after the operation status information of the server is collected, it is first necessary to perform corresponding data cleaning on the collected operation status information to eliminate any possible errors or irrelevant information, which includes eliminating redundant data points (for example, repeated readings or useless information) and identifying and eliminating abnormal data (for example, data caused by temporary failures or abnormal operations). After completing the data cleaning, in order to ensure the consistency and comparability of the data, the historical operation status information needs to be standardized, including scaling the data to a uniform scale, or converting it into a numerical value with the same reference point, so as to facilitate effective comparison between different time points or different server states. Through this standardization process, a unified operation status data set can be created. In order to accurately identify and extract key indicators that can reflect the performance of the server, it is necessary to perform feature selection on the standardized data set, such as based on decision trees, random forests or support vector machines, etc., to screen out the most representative key performance indicators, which are used for subsequent fault monitoring and early warning of the server.
[0024] In a preferred embodiment, the step of matching the initial monitoring frequency of each key performance indicator according to historical fault information includes: S104. Obtain the historical fault frequency and duration of each key performance indicator; S105, quantifying the historical fault occurrence frequency and duration, and recording the quantified historical fault occurrence frequency and duration as the first evaluation parameter and the second evaluation parameter; S106, obtaining an evaluation function, and inputting the first evaluation parameter and the second evaluation parameter into the evaluation function, and recording the output result of the evaluation function as the allocation weight; S107: Acquire the allowed allocation resources, and allocate the allowed allocation resources according to the allocation weights to obtain the initial monitoring frequency of each key performance indicator.
[0025] As described in the above steps S104-S107, in order to ensure the stability and operation efficiency of the server monitoring system, it is necessary to determine the initial monitoring frequency of each key performance indicator. Specifically, first collect and organize the historical fault information related to each key performance indicator, including the number of faults and the duration of each fault. Then, the historical fault information will be quantified. Specifically, the frequency of faults is converted into a specific numerical value. For example, the frequency value can be obtained by dividing the number of faults by the total operating time. Then, the quantified historical fault frequency and duration are recorded as the first evaluation parameter and the second evaluation parameter, respectively. Then, a preset evaluation function is introduced. The evaluation function can calculate the distribution weight of each key performance indicator according to the first evaluation parameter and the second evaluation parameter. The expression of the evaluation function is: , where represents the allocation weight of the key performance indicator, represents the frequency of failures of key performance indicators, Indicates the historical fault duration of the key performance indicator. represents the total occurrence frequency of all key performance indicators, It represents the total historical fault duration of all key performance indicators. After the allocation weights are output, the allowable allocation resources are obtained. The allowable allocation resources are the monitoring resources of each key performance indicator. Finally, the allowable allocation resources are allocated according to the obtained allocation weights. In this way, the initial monitoring frequency of each key performance indicator can be output, ensuring the optimal utilization of system resources. While achieving effective monitoring of key performance indicators, it can also ensure the stable operation of the system.
[0026] In a preferred embodiment, the steps of constructing a monitoring period according to the monitoring node and outputting potential risk parameters when historical fault information occurs according to the key performance indicators in the monitoring period include: S201, obtaining a monitoring node, performing a reverse shift on the monitoring node, and outputting a monitoring period according to the shift result; S202, collecting key performance indicators within the monitoring period, and indicator parameters corresponding to the key performance indicators; S203, arranging the indicator parameters within the monitoring period according to the time sequence of occurrence, performing difference processing on the indicator parameters under adjacent positions, and recording the difference result as the fluctuation parameter; S204, outputting the distribution state of the indicator parameters within the monitoring period according to the fluctuation parameters, wherein the distribution state includes an ordered state and a disordered state; S205: In an ordered state, obtain a first calculation function, input the indicator parameter into the first calculation function, and mark the output result of the first calculation function as a potential risk parameter; S206. In an unordered state, obtain a second calculation function, input the indicator parameters into the second calculation function, and calibrate the output result of the second calculation function as a potential risk parameter.
[0027] As described in the above steps S201-S206, after the monitoring node of the historical fault information is output, the monitoring node will be reversely offset to output the time period before the server failure occurs. The implementation party records it as the monitoring period. The specific offset length needs to be set according to the actual situation. After the monitoring period is constructed, the indicator parameters of the key performance indicators in the monitoring period will be collected and synchronously arranged in the order of the occurrence time of the indicator parameters. Then, the indicator parameters of adjacent positions are processed by difference, so that a series of fluctuation parameters can be obtained. The fluctuation parameters can reflect the changes in the indicator parameters over time. After the fluctuation parameters are output, the distribution state of the indicator parameters in the monitoring period will be output according to the fluctuation parameters. Here, the distribution state of the indicator parameters includes an ordered state and a disordered state. In the ordered state, the first measurement function will be introduced to analyze the indicator parameters, wherein the expression of the first measurement function is: , where represents the potential risk parameter, It indicates the number of indicator parameters in each fluctuation period during the monitoring period. The fluctuation period is set according to the staggered nodes of positive fluctuation parameters and negative fluctuation parameters. The time period between adjacent staggered nodes will be recorded as the fluctuation period. represents the number of volatility periods, Indicates the length of the fluctuation period, and Represents adjacent volatility parameters. Through the first measurement function, the potential risk parameters in the orderly state can be obtained. In the disordered state, the second measurement function is used for analysis. The expression of the second measurement function is: , where represents the potential risk parameter, represents the number of indicator parameters, Represents the indicator parameters. Similarly, by inputting the indicator parameters into the second measurement function, the potential risk parameters under the disordered state can be obtained.
[0028] In a preferred embodiment, the step of outputting the distribution state of the indicator parameter within the monitoring period according to the fluctuation parameter includes: Step 1. Classify and process the fluctuation parameters according to their numerical types during the monitoring period, record the fluctuation parameters with positive values as positive fluctuation parameters, and record the fluctuation parameters with negative values as negative fluctuation parameters; Step 2, count the number of positive fluctuation parameters and negative fluctuation parameters, and calculate the ratio of the number of positive fluctuation parameters to the number of negative fluctuation parameters; Step 3, count the duration of positive fluctuation parameters and negative fluctuation parameters, and calculate the duration ratio of positive fluctuation parameters to negative fluctuation parameters; Step 4: Perform weighted summation on the quantity ratio and the duration ratio, and record the result of the weighted summation as the comprehensive ratio; Step 5, obtain the distribution state evaluation interval, and compare the comprehensive ratio with the distribution state evaluation interval; If the comprehensive ratio is within the distribution state evaluation interval, it indicates that the distribution of the indicator parameters during the monitoring period is stable, and the distribution state of the indicator parameters is calibrated as an ordered state; If the comprehensive ratio does not belong to the distribution status evaluation interval, it means that the distribution of the indicator parameters during the monitoring period is scattered, and the distribution status of the indicator parameters is calibrated as a disordered state.
[0029] As described in the above steps Step 1-Step 5, after the fluctuation parameters are output, they need to be classified accordingly according to the specific numerical types of the fluctuation parameters during the monitoring period, that is, all fluctuation parameters with positive values are accurately recorded as positive fluctuation parameters, and similarly, all fluctuation parameters with negative values are accurately recorded as negative fluctuation parameters. Then, the number of occurrences of positive and negative fluctuation parameters during the monitoring period, as well as the duration during the monitoring period, are counted and recorded, so that the quantitative ratio of positive fluctuation parameters to negative fluctuation parameters, as well as the duration ratio of positive fluctuation parameters to negative fluctuation parameters can be calculated, and finally the quantitative ratio and the duration ratio are further weighted and summed. After processing, an indicator that comprehensively reflects the distribution state of the fluctuation parameters can be obtained. In this implementation mode, it is recorded as a comprehensive ratio. In order to evaluate the distribution state of the fluctuation parameters, a distribution state evaluation interval is preset, and the calculated comprehensive ratio is compared with the distribution state evaluation interval to determine whether the distribution state of the indicator parameters during the monitoring period is stable. If the comprehensive ratio falls within the preset evaluation interval, it indicates that the distribution of the indicator parameters during the monitoring period is stable, and it will be calibrated as an ordered state. On the contrary, if the comprehensive ratio fails to fall within this evaluation interval, it is considered that the distribution of the indicator parameters during the monitoring period is scattered, and it will be calibrated as a disordered state.
[0030] In a preferred embodiment, the steps of collecting the real-time operating parameters of each key performance indicator of the server, performing risk analysis on the real-time operating parameters in combination with potential risk parameters, and outputting the real-time operating status of the server according to the result of the risk analysis include: S301, taking the current node as the reference node, performing backtracking offset to obtain the backtracking node, and then constructing an evaluation period based on the backtracking node and the reference node; S302, collecting real-time operating parameters of each key performance indicator within the evaluation period, and arranging them according to the collection order; S303, performing difference processing on the real-time operating parameters of adjacent positions according to the arrangement order of the real-time operating parameters, to obtain the real-time fluctuation parameter and the distribution state of the real-time operating parameter; S304: When the distribution state of the real-time operating parameters is in an ordered state, a first verification function is obtained, and the real-time operating parameters within the evaluation period and the potential risk parameters output by the first measurement function are output to the first verification function, and the output result of the first verification function is calibrated as a first state evaluation parameter; S305: When the distribution state of the real-time operating parameters is in a disordered state, a second verification function is obtained, and the real-time operating parameters within the evaluation period and the potential risk parameters output by the second measurement function are input into the second verification function, and the output result of the second verification function is calibrated as a second state evaluation parameter; S306. Obtain an allowable deviation threshold, and compare the allowable deviation threshold with the first state evaluation parameter or the second state evaluation parameter. When the first state evaluation parameter or the second state evaluation parameter is greater than the allowable deviation threshold, determine that the real-time operating state of the server is a normal state; otherwise, determine that the real-time operating state of the server is an abnormal state.
[0031] As described in the above steps S301-S306, during the actual operation of the server, the current node is first selected as the reference node, and then the backtracking node is found by backtracking offset. Then, an evaluation period is constructed based on the backtracking node and the reference node. The length of the evaluation period is consistent with the length of the monitoring period. During the evaluation period, it is necessary to collect the real-time operating parameters of each key performance indicator, and arrange these parameters in the order of collection. Then, according to the arrangement order of the real-time operating parameters, the parameters of adjacent positions are subjected to difference processing, so as to obtain the real-time fluctuation parameters and the distribution state of the real-time operating parameters. The process of determining the distribution state of the real-time operating parameters is consistent with the process of determining the distribution state of the above-mentioned indicator parameters, and will not be repeated here. If the distribution state of the real-time operating parameters is ordered, the first verification function is introduced, and the real-time operating parameters in the evaluation period and the potential risk parameters output by the first measurement function are input into the first verification function. The expression of the first verification function is: , where represents the first state evaluation parameter, It indicates the number of real-time operating parameters in each real-time fluctuation period within the evaluation period. The determination method of the real-time fluctuation period is the same as that of the fluctuation period. Indicates the number of real-time fluctuation periods, Indicates the length of the real-time fluctuation period. and Represents adjacent real-time operating parameters. The output result of the first verification function is calibrated as the first state evaluation parameter. If the distribution state of the real-time operating parameters is disordered, the second verification function is introduced. The real-time operating parameters within the evaluation period and the potential risk parameters output by the second measurement function are input into the second verification function. The expression of the second verification function is: , where represents the second state evaluation parameter, Indicates the number of real-time operating parameters during the evaluation period. Represents the real-time operating parameters within the evaluation period. Similarly, the output result of the second verification function will be calibrated as the second state evaluation parameter, and then it is necessary to obtain the preset allowable offset threshold, and compare the allowable offset threshold with the first state evaluation parameter or the second state evaluation parameter. If the first state evaluation parameter or the second state evaluation parameter is greater than the allowable offset threshold, it indicates that the real-time operating state of the server is within the normal range. At this time, it can be judged that the server is in a normal state and can continue to run stably. Otherwise, the real-time operating state of the server is judged to be abnormal.
[0032] In a preferred embodiment, under normal conditions, the steps of statistically analyzing the real-time operating parameters of the key performance indicators and reallocating the monitoring frequencies of the key performance indicators according to the statistical analysis results include: Obtaining a first state evaluation parameter or a second state evaluation parameter of each key performance indicator under a normal state; Sorting all first state evaluation parameters or second state evaluation parameters according to their values; A weight allocation function is obtained, and the first state evaluation parameter or the second state evaluation parameter is input into the weight allocation function, and the output result of the weight allocation function is marked as the updated weight, and the allowed allocation resources are reallocated according to the updated weight.
[0033] In this implementation, the server, under normal conditions, updates the monitoring frequency according to its corresponding first state evaluation parameter or second state evaluation parameter. Specifically, it is necessary to collect the first state evaluation parameter and the second state evaluation parameter of each key performance indicator under normal operating conditions, and sort the collected first state evaluation parameter or the second state evaluation parameter. The sorting is based on the value of the first state evaluation parameter or the second state evaluation parameter. Then, a weight allocation function is introduced. The weight allocation function maps the input first state evaluation parameter or the second state evaluation parameter to a weight value so that the monitoring resources can be reasonably allocated according to the updated weight. The expression of the weight allocation function is: , where represents the update weight of the key performance indicator, It represents the sum of the first state evaluation parameter or the second state evaluation parameter under each key performance indicator. By inputting the sorted first state evaluation parameter or the second state evaluation parameter into the weight allocation function and obtaining the output result, the updated weight of the key performance indicator can be obtained. Finally, the allowed allocation resources can be reallocated according to the updated weight to ensure that each key performance indicator is monitored more reasonably, thereby improving the overall performance of the system.
[0034] In a preferred implementation, under the risk state, the corresponding key performance indicator is output and calibrated as the risk indicator, and then the real-time operating parameters under the risk indicator are calibrated as risk parameters, and the occurrence time of the risk parameter is recorded as the risk node; Risk indicators, risk parameters and risk nodes are associated and stored to form a risk database.
[0035] In this implementation, when the server is in a risk state, it is first necessary to identify the corresponding key performance indicators and record the key performance indicators as risk indicators. After determining these risk indicators, the real-time operating parameters under the indicators will be further classified as risk parameters. Similarly, the occurrence time of the risk parameters will also be recorded in detail and marked as risk nodes to ensure that a close association is established between the risk indicators, risk parameters and their corresponding risk nodes. The association is stored in the system's database to build a corresponding risk database, which will help to promptly discover and respond to risk events and take effective countermeasures to ensure the stable operation of the server.
[0036] See also Figure 2 , a server fault remote monitoring system, using the above server fault remote monitoring method, comprising: Data collection module, which is used to obtain the running status information of the server, extract key performance indicators from the running status information, count the fault information under the key performance indicators, and record it as historical fault information, and then match the initial monitoring frequency of each key performance indicator according to the historical fault information; Risk analysis module: The risk analysis module is used to count the occurrence nodes of each historical fault information and record them as monitoring nodes. It also builds monitoring periods based on the monitoring nodes and outputs potential risk parameters when historical fault information occurs based on key performance indicators within the monitoring period. The status assessment module is used to collect the real-time operating parameters of each key performance indicator of the server according to the initial monitoring frequency, and perform risk analysis on the real-time operating parameters in combination with potential risk parameters, and output the real-time operating status of the server according to the results of the risk analysis, wherein the real-time operating status includes a normal state and a risk state; An update module, which is used to perform statistical analysis on the real-time operating parameters of the key performance indicators under normal conditions, and reallocate the monitoring frequency of each key performance indicator based on the statistical analysis results; Alarm module: The alarm module is used to trigger the alarm mechanism and send out an alarm signal simultaneously under risk conditions.
[0037] In the above, the system includes a data acquisition module, a risk analysis module, a status assessment module, an update module and an alarm module. The data acquisition module is responsible for collecting the operating status information of the server and extracting key performance indicators from all operating status information. After extracting the key performance indicators, the fault information of the key performance indicators will be sorted out and recorded as historical fault information, and the initial monitoring frequency of each key performance indicator will be determined based on the historical fault information. The risk analysis module will be responsible for locating the nodes where the fault information occurs for the historical fault information, and record the nodes where the historical fault information occurs as monitoring nodes. After collecting the monitoring nodes, a monitoring period will be synchronously constructed. During the monitoring period, the system will output the potential risk parameters when the historical fault information occurs according to the key performance indicators, providing relevant information for subsequent risk analysis. Based on the corresponding basis, the status assessment module will collect the operating parameters of each key performance indicator of the server in real time according to the initial monitoring frequency. After collecting the real-time operating parameters, it will conduct risk analysis in combination with potential risk parameters. After completing the risk analysis, the real-time operating status of the server will be output according to the analysis results. Here, the real-time operating status includes normal status and risk status. The update module is responsible for performing corresponding statistical analysis on the real-time operating parameters of the key performance indicators when the server is in a normal state, and will reallocate the monitoring frequency of each key performance indicator according to the statistical analysis results to ensure the effectiveness of the monitoring work. The alarm module is responsible for triggering the alarm mechanism when the server is in a risky state, and synchronously issuing an alarm signal so as to promptly notify relevant personnel to take corresponding measures to avoid or reduce possible losses.
[0038] See also Figure 3 , an electronic device, the electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the above-mentioned server fault remote monitoring method.
[0039] The processor of the electronic device may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor, etc. The memory may be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a flash memory, a hard disk, a solid-state drive (SSD), an optical disk, etc. The computer program stored in the memory includes instructions. When the processor executes the instructions, the processor may execute the above-mentioned server fault remote monitoring method. In addition, the electronic device may also be equipped with corresponding input / output devices, such as a keyboard, a mouse, a display, etc., so that the user can perform interactive operations. The user can configure, query, etc. the electronic device through the input / output device, and can also view the real-time operating status and fault information of the server, as well as an operator. The operator may be a logic operator, an arithmetic operator, etc., which is used to perform various mathematical and logical operations to support the normal operation of the electronic device and the execution of the server fault remote monitoring method.
[0040] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0041] The above is only a preferred embodiment of the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention. The structures, devices and operating methods not specifically described and explained in the present invention shall be implemented according to the conventional means in the art unless otherwise specified and limited.
Claims
1. A server failure remote monitoring method, characterized in that: include: Obtaining the running status information of the server, extracting key performance indicators from the running status information, and counting the fault information under the key performance indicators, and recording them as historical fault information, and then matching the initial monitoring frequency of each key performance indicator according to the historical fault information; Counting the occurrence nodes of each of the historical fault information and recording them as monitoring nodes, building a monitoring period based on the monitoring nodes, and outputting potential risk parameters when the historical fault information occurs based on the key performance indicators within the monitoring period; According to the initial monitoring frequency, real-time operating parameters of each key performance indicator of the server are collected, and risk analysis is performed on the real-time operating parameters in combination with the potential risk parameters, and the real-time operating status of the server is output according to the result of the risk analysis, wherein the real-time operating status includes a normal status and a risk status; Under the normal state, statistical analysis is performed on the real-time operating parameters of the key performance indicators, and the monitoring frequency of each key performance indicator is reallocated according to the statistical analysis results; Under the risk state, an alarm mechanism is triggered and an alarm signal is sent out simultaneously.
2. A server failure remote monitoring method according to claim 1, characterized in that: The step of obtaining the running status information of the server and extracting key performance indicators from the running status information includes: Obtain the historical operating status information of the server and perform data cleaning to remove redundant and abnormal data in the historical status information; Standardize the historical operation status information after data cleaning to obtain a standardized operation status data set; Perform feature selection on the standardized operating status data set to filter out key performance indicators that reflect server performance.
3. A server failure remote monitoring method according to claim 1, characterized in that: The step of matching the initial monitoring frequency of each key performance indicator according to the historical fault information includes: Obtain the historical fault frequency and duration of each of the key performance indicators; Quantifying the historical fault occurrence frequency and duration, and recording the quantified historical fault occurrence frequency and duration as a first evaluation parameter and a second evaluation parameter; Obtaining an evaluation function, inputting the first evaluation parameter and the second evaluation parameter into the evaluation function, and recording an output result of the evaluation function as an allocation weight; The allowed allocation resources are obtained, and the allowed allocation resources are allocated according to the allocation weights to obtain the initial monitoring frequency of each key performance indicator.
4. A server failure remote monitoring method according to claim 1, characterized in that: The step of constructing a monitoring period according to the monitoring node, and outputting potential risk parameters when historical fault information occurs according to key performance indicators within the monitoring period, includes: Acquire the monitoring node, perform reverse shift on the monitoring node, and output a monitoring period according to the shift result; Collecting key performance indicators within the monitoring period and indicator parameters corresponding to the key performance indicators; The indicator parameters within the monitoring period are arranged according to the time sequence of occurrence, and the indicator parameters under adjacent positions are subjected to difference processing, and the difference result is recorded as the fluctuation parameter; Outputting the distribution state of the indicator parameters within the monitoring period according to the fluctuation parameter, wherein the distribution state includes an ordered state and a disordered state; In the ordered state, a first calculation function is obtained, the indicator parameter is input into the first calculation function, and an output result of the first calculation function is calibrated as a potential risk parameter; In the disordered state, a second calculation function is obtained, the indicator parameters are input into the second calculation function, and the output result of the second calculation function is calibrated as a potential risk parameter.
5. A server failure remote monitoring method according to claim 4, characterized in that: The step of outputting the distribution state of the indicator parameter within the monitoring period according to the fluctuation parameter comprises: Classify and process the fluctuation parameters in the monitoring period according to their numerical types, record the fluctuation parameters with positive values as positive fluctuation parameters, and record the fluctuation parameters with negative values as negative fluctuation parameters; Counting the number of the positive fluctuation parameters and the negative fluctuation parameters, and calculating the ratio of the number of the positive fluctuation parameters to the number of the negative fluctuation parameters; Counting the duration of the positive fluctuation parameter and the negative fluctuation parameter, and calculating the ratio of the duration of the positive fluctuation parameter to the duration of the negative fluctuation parameter; Performing weighted sum processing on the quantity ratio and the duration ratio, and recording the result of the weighted sum as a comprehensive ratio; Obtaining a distribution state evaluation interval, and comparing the comprehensive ratio with the distribution state evaluation interval; If the comprehensive ratio is within the distribution state evaluation interval, it indicates that the distribution of the indicator parameters within the monitoring period is stable, and the distribution state of the indicator parameters is calibrated as an ordered state; If the comprehensive ratio does not belong to the distribution state evaluation interval, it indicates that the distribution of the indicator parameters within the monitoring period is scattered, and the distribution state of the indicator parameters is calibrated as a disordered state.
6. A server failure remote monitoring method according to claim 1, characterized in that: The step of collecting the real-time operating parameters of each key performance indicator of the server, performing risk analysis on the real-time operating parameters in combination with the potential risk parameters, and outputting the real-time operating status of the server according to the result of the risk analysis includes: Taking the current node as the reference node, backtracking offset is performed to obtain a backtracking node, and then an evaluation period is constructed based on the backtracking node and the reference node; Collecting the real-time operating parameters of each key performance indicator during the evaluation period and arranging them according to the collection order; According to the arrangement order of the real-time operation parameters, the real-time operation parameters of adjacent positions are subjected to difference processing to obtain the real-time fluctuation parameter and the distribution state of the real-time operation parameter; When the distribution state of the real-time operating parameters is an ordered state, a first verification function is obtained, and the real-time operating parameters within the evaluation period and the potential risk parameters output by the first measurement function are output to the first verification function, and the output result of the first verification function is calibrated as a first state evaluation parameter; When the distribution state of the real-time operating parameters is in a disordered state, a second verification function is obtained, and the real-time operating parameters within the evaluation period and the potential risk parameters output by the second measurement function are input into the second verification function, and the output result of the second verification function is calibrated as a second state evaluation parameter; Obtain an allowable deviation threshold, and compare the allowable deviation threshold with a first state evaluation parameter or a second state evaluation parameter, and when the first state evaluation parameter or the second state evaluation parameter is greater than the allowable deviation threshold, determine that the real-time operating state of the server is a normal state, otherwise, determine that the real-time operating state of the server is an abnormal state.
7. A server failure remote monitoring method according to claim 1, characterized in that: Under the normal state, the step of performing statistical analysis on the real-time operating parameters of the key performance indicators and reallocating the monitoring frequency of each key performance indicator according to the statistical analysis result includes: Acquire the first state evaluation parameter or the second state evaluation parameter of each of the key performance indicators under a normal state; Sorting all the first state evaluation parameters or the second state evaluation parameters according to their values; A weight allocation function is obtained, and the first state evaluation parameter or the second state evaluation parameter is input into the weight allocation function, and an output result of the weight allocation function is marked as an updated weight, and the allowed allocation resources are reallocated according to the updated weight.
8. A server failure remote monitoring method according to claim 1, characterized in that: Under the risk state, the corresponding key performance indicator is output and calibrated as the risk indicator, and the real-time operating parameters under the risk indicator are then calibrated as risk parameters, and the occurrence time of the risk parameter is recorded as the risk node; The risk indicators, risk parameters and risk nodes are associated and stored to form a risk database.
9. A server fault remote monitoring system, using the server fault remote monitoring method according to any one of claims 1 to 8, characterized in that: include: A data acquisition module, which is used to obtain the running status information of the server, extract key performance indicators from the running status information, and count the fault information under the key performance indicators and record them as historical fault information, and then match the initial monitoring frequency of each key performance indicator according to the historical fault information; A risk analysis module, which is used to count the occurrence nodes of each of the historical fault information and record them as monitoring nodes, build a monitoring period based on the monitoring nodes, and output potential risk parameters when the historical fault information occurs based on the key performance indicators within the monitoring period; A status assessment module, the status assessment module is used to collect the real-time operating parameters of each key performance indicator of the server according to the initial monitoring frequency, and perform risk analysis on the real-time operating parameters in combination with the potential risk parameters, and output the real-time operating status of the server according to the result of the risk analysis, wherein the real-time operating status includes a normal state and a risk state; An updating module, the updating module being used to perform statistical analysis on the real-time operating parameters of the key performance indicators in the normal state, and reallocate the monitoring frequency of each key performance indicator according to the statistical analysis result; An alarm module is used to trigger an alarm mechanism and simultaneously send out an alarm signal under the risk state.
10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the server fault remote monitoring method described in any one of claims 1 to 8.
Citation Information
Patent Citations
Remote monitoring system of server hardware and monitoring method thereof
CN117271267A
Server hardware monitoring acquisition method based on time sequence analysis algorithm
CN117312094A
Server monitoring system with abnormity warning function
CN117389845A
Network equipment intelligent diagnosis method and system based on big data
CN118118319A
Power distribution automation master station hardware fault active detection system and method
CN118137682A
Cited By
Intelligent error reporting system of server
CN119718846A
Distributed energy data monitoring method and device based on cloud platform, equipment and medium
CN120256244A
Cloud platform-based distributed energy data monitoring method, device, equipment and medium
CN120256244B
