A recommended method, apparatus, device, and readable storage medium for alarm handling.
By building an alarm handling library, and determining the recommended factors for handling solutions based on historical alarm information and the level of handling, the problem of customers having difficulty handling server alarms is solved, and the operational reliability and stability of the server are improved.
Patent Information
- Application Number
- CN202111280065.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2041-10-29
AI Technical Summary
When customers receive server alarm messages, they often lack professional maintenance personnel and find it difficult to handle them effectively, which may cause the server to malfunction and result in losses.
By receiving alarm information from the server, the current alarm type is determined, and the processing solution with the highest recommendation factor is obtained from the pre-built alarm processing library. The alarm processing library determines the recommendation factor of the processing solution by analyzing the server's historical alarm information and the level after processing.
It improves the reliability and stability of server operation, helps customers effectively handle alarms, avoid server failures, and enhance customer experience.
Smart Images

Figure CN114168435B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and more specifically, to a recommended method, apparatus, device, and readable storage medium for alarm processing. Background Technology
[0002] With the advent of the big data era, the demand for service storage is increasing. Especially due to the impact of the pandemic, mobile phones have become the main tool for communication with the outside world. Behind these channels is the support of a large number of physical devices, especially servers in various data centers. Therefore, the normal operation of servers has become increasingly important.
[0003] Servers can encounter various problems during operation. The BMC (Baseboard Management Controller) collects server alarm information and uploads it to the customer. Without professional maintenance personnel, customers often struggle to address these alarms, potentially leading to server malfunctions and losses.
[0004] In conclusion, how to facilitate customer handling of server alarms is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] In view of this, the purpose of this application is to provide a recommended method, apparatus, device and readable storage medium for alarm processing, so as to facilitate customers in processing alarms on the server.
[0006] To achieve the above objectives, this application provides the following technical solution:
[0007] A recommended alarm handling method includes:
[0008] Receive alarm information from the server and determine the current alarm type based on the alarm information;
[0009] Retrieve the processing solution with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library, and output the processing solution;
[0010] The process of pre-determining the alarm handling library includes:
[0011] Obtain historical alarm information from the server, and determine the type of historical alarm and its pre-processing level based on the historical alarm information;
[0012] Obtain the processing solutions for each historical alarm type, and obtain the level of each historical alarm type after processing with the corresponding processing solutions;
[0013] Based on each historical alarm type and its level before and after processing, a recommendation factor for each processing scheme of each historical alarm type is determined to obtain the alarm processing library.
[0014] Preferred options also include:
[0015] Obtain external feedback on the handling solutions for each historical alarm type;
[0016] Accordingly, based on each historical alarm type and its pre- and post-processing levels, recommendation factors for each processing scheme of each historical alarm type are determined, including:
[0017] Based on the feedback information of each historical alarm type, its level before and after processing, and the corresponding processing solutions, the recommendation factors for each processing solution of each historical alarm type are determined.
[0018] Preferably, based on the feedback information of each historical alarm type, its level before and after processing, and the corresponding processing solutions, recommendation factors for each processing solution of each historical alarm type are determined, including:
[0019] Based on the historical alarm types corresponding to the same server model, their levels before and after processing, and the feedback information of each processing solution, the recommendation factors for each processing solution for each historical alarm type corresponding to the same server model are determined.
[0020] Based on the recommendation factors of the same processing scheme for the same historical alarm type corresponding to multiple server models, calculate the recommendation factors of each processing scheme for each historical alarm type.
[0021] Preferably, based on the historical alarm types corresponding to the same server model, their levels before and after processing, and the feedback information of the corresponding processing solutions, recommendation factors for each processing solution for each historical alarm type corresponding to the same server model are determined, including:
[0022] Based on the level before processing the historical alarm type corresponding to the same server model, the level after each processing using the corresponding current processing scheme, and the pre-set processing reward rules, determine the reward value for the historical alarm type corresponding to the same server model when processing each time using the current processing scheme.
[0023] Based on the weights of historical alarm types corresponding to the same server model, the weights of levels after each processing using the current processing scheme, the weights of reward values and feedback information during each processing using the current processing scheme, the recommendation factors corresponding to historical alarm types corresponding to the same server model during each processing using the current processing scheme are calculated.
[0024] Based on the recommendation factors corresponding to the historical alarm types of the same server model when using the current processing scheme for each processing, calculate the recommendation factor of the current processing scheme corresponding to the historical alarm categories of the same server model.
[0025] Preferably, after determining the current alarm type based on the alarm information, the method further includes:
[0026] Receive the current alarm type selection command, and select the target alarm type from the current alarm types according to the current alarm type selection command;
[0027] Accordingly, the processing scheme with the highest recommendation factor corresponding to the current alarm type is obtained from a pre-determined alarm processing library, including:
[0028] Obtain the processing solution with the highest recommendation factor that corresponds to the target alarm type from the alarm processing library.
[0029] Preferably, the alarm information received from the server includes:
[0030] Receive server alarm information via at least one of the following methods: SSH connection, RESTFULL interface, or RedFish interface.
[0031] An alarm handling recommendation device includes:
[0032] The receiving module is used to receive alarm information from the server and determine the current alarm type based on the alarm information;
[0033] The first acquisition module is used to acquire the processing scheme with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library, and output the processing scheme.
[0034] The alarm processing recommendation device further includes a determination module for pre-determining the alarm processing library, the determination module comprising:
[0035] The first acquisition unit is used to acquire historical alarm information of the server and determine the type of historical alarm and the level before processing based on the historical alarm information of the server.
[0036] The second acquisition unit is used to acquire each processing scheme for each historical alarm type, and to acquire the level of each historical alarm type after processing with the corresponding processing scheme.
[0037] The determining unit is used to determine the recommendation factor for each processing scheme of each historical alarm type according to each historical alarm type and its level before and after processing, so as to obtain the alarm processing library.
[0038] Preferred options also include:
[0039] The second acquisition module is used to acquire feedback information from the outside world regarding the various processing solutions for each historical alarm type;
[0040] Accordingly, the determining unit includes:
[0041] The first determining subunit is used to determine the recommendation factor for each processing scheme of each historical alarm type based on the feedback information of each historical alarm type, its level before and after processing, and the corresponding processing scheme.
[0042] An alarm processing recommended device includes:
[0043] Memory, used to store computer programs;
[0044] A processor, configured to implement the steps of the alarm handling recommendation method as described in any of the preceding claims when executing the computer program.
[0045] A readable storage medium storing a computer program that, when executed by a processor, implements the steps of the alarm handling recommendation method as described in any of the preceding claims.
[0046] This application provides an alarm processing recommendation method, apparatus, device, and readable storage medium. The method includes: receiving alarm information from a server and determining the current alarm type based on the alarm information; obtaining the processing scheme with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library and outputting the processing scheme; the process of pre-determining the alarm processing library may include: obtaining historical alarm information from the server and determining the historical alarm types and their pre-processing levels based on the historical alarm information; obtaining each processing scheme for each historical alarm type and obtaining the level of each historical alarm type after processing with the corresponding processing scheme; determining the recommendation factor of each processing scheme for each historical alarm type based on each historical alarm type and its pre-processing and post-processing levels to obtain the alarm processing library.
[0047] The technical solution disclosed in this application pre-determines the historical alarm types and their pre-processing levels based on historical alarm information from the server, and obtains the levels of each historical alarm type after processing with the obtained processing solutions. Then, based on each historical alarm type and its pre- and post-processing levels, it determines the recommendation factor for each processing solution for each historical alarm type, thereby achieving an alarm processing library based on historical alarm information. After receiving alarm information from the server, the current alarm type can be determined first, and then the processing solution with the highest recommendation factor corresponding to the current alarm type can be obtained from the pre-determined alarm processing library. The obtained processing solution is then output, thereby recommending the most suitable processing solution to the customer based on the server's historical alarm information and its processing status. This allows the customer to effectively process the current alarm on the server according to the output processing solution, thereby improving the reliability and stability of server operation. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0049] Figure 1 A flowchart illustrating an alarm processing recommendation method provided in this application embodiment;
[0050] Figure 2 A schematic diagram of the structure of an alarm processing recommendation device provided in an embodiment of this application;
[0051] Figure 3 This is a schematic diagram of the structure of a recommended alarm processing device provided in an embodiment of this application. Detailed Implementation
[0052] With the advent of the big data era, the normal operation of servers has become increasingly important. However, various problems can arise during server operation. BMC collects server alarm information and uploads it to customers. Without professional maintenance personnel, customers often struggle to handle these alarms, potentially leading to server malfunctions and losses for the customer.
[0053] Therefore, this application provides a recommended method, apparatus, device, and readable storage medium for alarm processing, to facilitate customers in processing server alarms.
[0054] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0055] See Figure 1 The diagram illustrates a flowchart of an alarm handling recommendation method provided in an embodiment of this application. The alarm handling recommendation method provided in this embodiment includes:
[0056] S11: Obtain historical alarm information from the server, and determine the type of historical alarm and its level before processing based on the historical alarm information.
[0057] In this application, before recommending alarm handling, historical alarm information of the server can be collected using the BMC (Block Controller), and the historical alarm information received by the BMC can be reported to the central processing unit using the BMC alarm device, so that the central processing unit can obtain the historical alarm information of the server. Of course, the central processing unit can also actively collect historical alarm information of the server through the BMC alarm device. It should be noted that the historical alarm information of the server specifically refers to the alarm information corresponding to the server at a historical time. In addition, before obtaining the historical alarm information of the server, the central processing unit can also add the relevant server information (specifically including the server model, etc.), the BMC username and password, so as to obtain the historical alarm information of the server based on this information.
[0058] After acquiring historical alarm information from the server, the central processing unit can determine the type of historical alarm and its pre-processing level based on this information. Specifically, historical alarm types can be categorized into four main types: CPU (Central Processing Unit) alarms, memory alarms, PCIe (Peripheral Component Interconnect Express) alarms, and other alarms. Of course, they can be further subdivided into more types or other categories as needed; this application does not limit this. The levels of historical alarm types can be categorized into three main levels: notification, warning, and error, with the severity of these three levels increasing sequentially. Of course, they can also be subdivided into more levels as needed; this application does not limit this.
[0059] After determining the historical alarm type and its pre-processing level, the historical alarm type and its pre-processing level can be sent to external parties (this application uses maintenance personnel as an example, but it can also be other personnel or devices capable of alarm processing) so that external parties can process the historical alarm type according to the historical alarm type and its pre-processing level.
[0060] S12: Obtain the processing schemes for each historical alarm type, and obtain the level of each historical alarm type after processing with the corresponding processing schemes.
[0061] Based on step S11, the central processing unit can record the processing of historical alarm types by the outside world to obtain the processing schemes corresponding to each historical alarm type. Considering that each historical alarm type may have multiple processing methods, each processing method is recorded as a processing scheme. Therefore, for each historical alarm type, its corresponding processing schemes can be obtained.
[0062] While or after acquiring the processing solutions for each historical alarm type, it's possible to obtain the alarm level after each historical alarm type has been processed using the corresponding processing solution. For example, for a CPU alarm, there are three processing solutions: a1, a2, and a3. The levels of the CPU alarm after processing with each of these solutions can be obtained. This allows for determining the recommendation factor for the corresponding processing solution based on the alarm type's level before processing and its level after processing with the corresponding solution. Specifically, if the level of a historical alarm type after processing with the corresponding solution is lower than its level before processing, it indicates that the processing solution is more beneficial to the historical alarm type; conversely, it is less beneficial.
[0063] S13: Based on each historical alarm type and its level before and after processing, determine the recommendation factor for each processing scheme of each historical alarm type to obtain the alarm processing library.
[0064] Based on step S12, for each historical alarm type, the recommendation factor for each processing scheme of the historical alarm type can be determined according to the historical alarm type, the level of the historical alarm type before processing with the corresponding processing scheme, and the level of the historical alarm type after processing with the corresponding processing schemes. Specifically, for the x-th (x = 1, 2, ..., the total number of historical alarm types) historical alarm type, the recommendation factor for the m-th processing scheme of the x-th historical alarm type can be determined according to the x-th historical alarm type (mainly the alarm type), the level of the x-th historical alarm type before processing with the corresponding processing scheme, and the level of the x-th historical alarm type after processing with the m-th (m = 1, 2, ..., the total number of processing schemes corresponding to the x-th historical alarm type) processing scheme, thereby determining the recommendation factor for each processing scheme of each historical alarm type. For example, for CPU alarms, the recommended factor for processing scheme a1 can be determined based on the CPU alarm (mainly based on the alarm type), the level before processing with the chosen scheme, and the level after processing with scheme a1. The recommended factors for processing scheme a2 and a3 are determined in a similar way to those for processing scheme a1. The methods for determining the recommended factors for processing schemes corresponding to other historical alarm types are also similar and will not be elaborated here.
[0065] The above method yields an alarm processing library containing historical alarm types, corresponding processing solutions for each historical alarm type, and recommendation factors for each processing solution. This achieves alarm processing library generation based on historical alarm information. It should be noted that steps S11-S13 constitute the pre-determination process of the alarm processing library. This process does not need to be executed before each alarm processing recommendation. Once the alarm processing library is pre-determined, subsequent alarm processing recommendations can be directly implemented using the pre-determined library, improving the convenience and efficiency of alarm processing recommendations. Of course, the pre-determined alarm processing library can also be updated based on subsequent alarm processing on the server to improve the accuracy of alarm processing recommendations.
[0066] S14: Receive alarm information from the server and determine the current alarm type based on the alarm information.
[0067] During the server's current operation, the BMC can monitor the server and promptly send alarm information to the central processing unit via the BMC alarm device when alarm information is detected. The BMC can monitor the server periodically or in real-time to facilitate timely detection of alarm information. Of course, the central processing unit can also proactively collect server alarm information via the BMC alarm device; this application does not impose any limitations on this.
[0068] After receiving alarm information from the server, the central processing unit can determine the current alarm type based on the alarm information and display the current alarm type so that customers can obtain the current alarm type of the server in a timely manner.
[0069] S15: Retrieve the processing solution with the highest recommendation factor corresponding to the current alarm type from the pre-determined alarm processing library, and output the processing solution.
[0070] After determining the current alarm type based on the server's alarm information, the central processing unit can retrieve the processing solution with the highest recommendation factor corresponding to the current alarm type from the alarm processing library pre-determined in steps S11-S13, and output the processing solution. Specifically, the processing solution can be output through at least one of the following methods: email, SMS, APP, or display on the central processing unit's screen. This allows server customers to promptly obtain the processing solution for the current alarm type, enabling them to handle the alarm according to the processing solution output by the central processing unit. This ensures the server can maintain normal operation, thereby guaranteeing the stability and reliability of server operation and improving customer experience.
[0071] This application enables the recommendation of the most suitable handling solution for the current alarm type of the server based on the server's historical alarm information and the processing of that information. This avoids situations where the server malfunctions or cannot operate normally due to the customer's lack of knowledge on how to handle alarms, thereby preventing losses to the customer.
[0072] The technical solution disclosed in this application pre-determines the historical alarm types and their pre-processing levels based on historical alarm information from the server, and obtains the levels of each historical alarm type after processing with the obtained processing solutions. Then, based on each historical alarm type and its pre- and post-processing levels, it determines the recommendation factor for each processing solution for each historical alarm type, thereby achieving an alarm processing library based on historical alarm information. After receiving alarm information from the server, the current alarm type can be determined first, and then the processing solution with the highest recommendation factor corresponding to the current alarm type can be obtained from the pre-determined alarm processing library. The obtained processing solution is then output, thereby recommending the most suitable processing solution to the customer based on the server's historical alarm information and its processing status. This allows the customer to effectively process the current alarm on the server according to the output processing solution, thereby improving the reliability and stability of server operation.
[0073] An alarm handling recommendation method provided in this application embodiment may further include:
[0074] Obtain external feedback on the handling solutions for each historical alarm type;
[0075] Accordingly, based on each historical alarm type and its pre- and post-processing levels, recommendation factors for each processing scheme of each historical alarm type are determined, which may include:
[0076] Based on the feedback information of each historical alarm type, its level before and after processing, and the corresponding processing solutions, the recommendation factors for each processing solution of each historical alarm type are determined.
[0077] In this application, considering that external processing of the solution will also affect alarm processing, during the process of pre-determining the alarm processing library, feedback information from external parties on each processing solution for each historical alarm type can also be obtained. The feedback information mentioned here can specifically include the operation level, which can be divided into three levels: Level 1, Level 2, and Level 3 (these three levels increase in order). This level can be determined based on the external party's own level. Of course, the external party can also choose to provide its own operation level based on its own proficiency in operating the solution.
[0078] Accordingly, when determining the recommendation factors for each processing scheme of each historical alarm type based on each historical alarm type and its level before and after processing, external feedback information on the processing scheme can be taken into account. Therefore, for each historical alarm type, the central processing unit can determine the recommendation factors for each processing scheme corresponding to the historical alarm type based on the historical alarm type, the level of the historical alarm type before processing with the corresponding processing scheme, the level of the historical alarm type after processing with the corresponding processing scheme, and the feedback information of each processing scheme corresponding to the historical alarm type, so as to improve the comprehensiveness and accuracy of the determination of the recommendation factors.
[0079] This application provides an alarm handling recommendation method that, based on feedback information from each historical alarm type, its pre- and post-processing levels, and corresponding processing schemes, determines recommendation factors for each processing scheme for each historical alarm type. This method may include:
[0080] Based on the historical alarm types corresponding to the same server model, their levels before and after processing, and the feedback information of each processing solution, the recommendation factors for each processing solution for each historical alarm type corresponding to the same server model are determined.
[0081] Based on the recommendation factors of the same processing scheme for the same historical alarm type corresponding to multiple server models, calculate the recommendation factors of each processing scheme for each historical alarm type.
[0082] In this application, when determining the recommendation factor for each processing scheme of each historical alarm type based on the feedback information of each historical alarm type, its level before and after processing, and the corresponding processing scheme, the influence factor of server model can be taken into account to prevent getting stuck in a local optimum when processing alarms. That is, the recommendation factor of the processing scheme of the alarm type is calculated based on the feedback of each server model to the same processing scheme of the same alarm type, so as to make the recommendation factor more reliable.
[0083] Specifically, firstly, for the xth historical alarm type corresponding to a server of the same model, the recommendation factor for the mth processing scheme corresponding to the xth historical alarm type in the same model can be determined based on the historical alarm type, the level of the historical alarm type in the same model before the processing scheme was adopted, the level of the historical alarm type in the same model after the processing scheme was adopted, and the feedback information from the outside world on the mth processing scheme corresponding to the historical alarm type in the same model. Thus, the recommendation factor for each processing scheme of each historical alarm type corresponding to a server of the same model can be determined.
[0084] Then, based on the recommendation factors of the same processing scheme for the same historical alarm type corresponding to multiple server models, the recommendation factors for each processing scheme corresponding to each historical alarm type can be calculated. Specifically, this can be achieved by utilizing... The recommendation factor for the m-th processing scheme of the x-th historical alarm type is calculated, where n is the number of server models. This is the recommendation factor for the m-th processing scheme of the x-th historical alarm type corresponding to the i-th server model. Let x and n be the recommendation factors for the m-th processing scheme of the x-th historical alarm type corresponding to n server models, where x and n are positive integers, and thus calculate the recommendation factors for each processing scheme of each historical alarm type.
[0085] By considering servers of different models when calculating the recommendation factor for processing solutions, it is easier to increase the breadth of the calculation, avoid getting trapped in local optima, and thus improve the accuracy of processing solution recommendations.
[0086] This application provides an alarm handling recommendation method that, based on the historical alarm types corresponding to servers of the same model, their levels before and after handling, and the feedback information of the corresponding handling schemes, determines the recommendation factors for each handling scheme for each historical alarm type corresponding to servers of the same model. This method may include:
[0087] Based on the level of the historical alarm type before processing, the level after each processing using the corresponding current processing solution, and the pre-set processing reward rules for the same server model, determine the reward value for the historical alarm type when processing each time using the current processing solution.
[0088] Based on the weight of the historical alarm type corresponding to the same server model, the weight of the level after each processing using the current processing scheme, the weight of the reward value and the weight of the feedback information during each processing using the current processing scheme, the recommendation factor corresponding to the historical alarm type corresponding to the same server model is calculated for each processing using the current processing scheme.
[0089] Based on the recommendation factors corresponding to the historical alarm types of the same server model when using the current processing solution for each processing, calculate the recommendation factor for the current processing solution corresponding to the historical alarm categories of the same server model.
[0090] In this application, when determining the recommendation factor for each processing scheme of each historical alarm type corresponding to the same server model based on the historical alarm types corresponding to the same server model, their levels before and after processing, and the feedback information of each corresponding processing scheme, the recommendation factor can first be determined based on the level X of the x-th historical alarm type corresponding to the same server model before processing and the level P after the y-th processing using the corresponding current processing scheme A. y Based on pre-set processing reward rules, determine the reward value R for the x-th historical alarm type corresponding to the same server model after processing it y times using the corresponding current processing scheme A. y , where y = 1, 2, ..., the total number of times the current processing scheme A is processed, and each processing scheme corresponding to the xth historical alarm type is used as the current processing A to determine the reward value and calculate the subsequent recommendation factor.
[0091] The pre-defined reward rules for processing can be as follows: if the x-th historical alarm type is processed for the y-th time using the current processing scheme A, its level P... y The reward value R is lower than the level X before processing. In other words, if the level of the xth historical alarm type is reduced after processing, then... y Take a fixed value from the first interval, where the minimum value in the first interval is a value greater than 0, such as (2, 5). Of course, it can also be adjusted to other intervals as needed. If the x-th historical alarm type is processed for the y-th time using the current processing scheme A, its level P y The reward value R is higher than the level X before processing; that is, if the level of the xth historical alarm type increases after processing, then the reward value R is higher. y Take a second fixed value from the second interval, where the maximum value in the second interval is a value less than 0, such as (-20, -10). Of course, it can be adjusted to other intervals as needed. It should be noted that, for ease of calculation, the first and second fixed values can be fixed after each processing. Furthermore, the aforementioned use of the first and second fixed values refers to the case where the level of the historical alarm type changes between two adjacent levels (e.g., from level 1 to level 2, level 2 to level 1, etc.). If the historical alarm type changes across levels after processing (e.g., from level 1 to level 3), its reward value R... y This is the sum of reward values corresponding to multiple adjacent levels. If the historical alarm type is completely resolved after the current solution A is used for the yth processing, the reward value for the current solution A for the yth processing can be directly set to the third fixed value, where the third fixed value is greater than the first fixed value, for example, it can be 50. Of course, it can also be adjusted as needed.
[0092] Based on the above, the weight 'a' of the xth historical alarm type corresponding to the same server model can be used as a basis. rx After the y-th processing using the current solution A, the level P y The corresponding weight e ry The reward value R after the y-th processing using the current solution A. y and the weight p corresponding to the feedback information at the yth processing time. ry Using v y =R y *a rx *e ry *p ry Calculate the recommendation factor v for the x-th historical alarm type corresponding to the same server model when using the current solution A for the y-th processing. y (wherein, the recommendation factor v mentioned here) y This refers to the recommendation factor when the current processing plan A is performed only for the yth time (i.e., the recommendation factor when the current processing plan A performs each individual processing step). The weight 'a' for each historical alarm type is... rx The weight e corresponding to each level r The weight p corresponding to the feedback information ry The specific determination can be made based on experience or the impact on the server, such as for CPU failure (a c ), memory failure (a m ), PCIE failure (a p Other faults (a) o If ), then their corresponding weights are a rc a rm a rp a ro The weights for the three levels—notification, warning, and error—are e, respectively. 1r e 2r e 3r The weights of the first, second, and third levels in the feedback information are p, respectively. 1r p 2r p 3r .
[0093] The recommendation factor v is calculated for the x-th historical alarm type corresponding to the same server model after the y-th processing using the current solution A. y After that, it can be used Calculate the recommendation factor for the current handling scheme corresponding to the historical alarm categories of servers of the same model. Among them, the recommendation factor This refers to the recommendation factor for the x-th historical alarm type after y processing times using the current solution A, where... This refers to the recommendation factor for the x-th historical alarm type after y-1 processing using the current solution A, and It is 0.
[0094] The above process enables the calculation of recommendation factors for the current processing solution using reinforcement learning algorithms and multiple iterations, thereby improving the accuracy of recommendation factor calculation and facilitating the accurate recommendation of suitable alarm processing solutions for customers.
[0095] An alarm handling recommendation method provided in this application embodiment may further include, after determining the current alarm type based on alarm information:
[0096] Receive the current alarm type selection command, and select the target alarm type from the current alarm types according to the current alarm type selection command;
[0097] Accordingly, retrieving the processing scheme with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library may include:
[0098] Retrieve the processing solution with the highest recommendation factor that corresponds to the target alarm type from the alarm processing library.
[0099] In this application, after determining the current alarm type based on the alarm information, the customer can select the alarm type to be processed as needed. At this point, the customer can send a current alarm type selection command to the central processing unit. Upon receiving the current alarm type selection command, the central processing unit can select the target alarm type (i.e., the alarm type selected by the customer for processing) from the current alarm types. Then, the central processing unit can retrieve the processing solution with the highest recommendation factor corresponding to the target alarm type from the alarm processing library. This allows the customer to process the target alarm type according to the processing solution, thereby reducing the impact of the target alarm type on the normal operation of the server and improving the customer experience.
[0100] This application provides an alarm handling recommendation method that receives alarm information from a server, which may include:
[0101] Receive server alarm information via at least one of the following methods: SSH connection, RESTFULL interface, or RedFish interface.
[0102] In this application, the central processing unit can receive server alarm information through at least one of the following methods: SSH (Secure Shell) connection, RESTFULL (REST stands for Representational State Transfer, with "full" as an adjective suffix), or RedFish (an open industry standard specification released by the Distributed Management Task Force (DMTF) aimed at modernizing and securely managing platform hardware; it is a management standard that uses data models to represent hypermedia RESTful interfaces), thereby improving the convenience of receiving server alarm information. Of course, other methods can also be used to receive server alarm information, and this application does not impose any limitations on this.
[0103] This application also provides a recommended alarm handling device, see [link to relevant documentation]. Figure 2 It shows a schematic diagram of the structure of an alarm processing recommendation device provided in an embodiment of this application, which may include:
[0104] The receiving module 21 is used to receive alarm information from the server and determine the current alarm type based on the alarm information;
[0105] The first acquisition module 22 is used to acquire the processing scheme with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library, and output the processing scheme.
[0106] The alarm handling recommendation device may further include a determination module 23 for pre-determining an alarm handling library. The determination module 23 may include:
[0107] The first acquisition unit is used to acquire historical alarm information of the server and determine the type of historical alarm and the level before processing based on the historical alarm information.
[0108] The second acquisition unit is used to acquire each processing scheme for each historical alarm type, and to acquire the level of each historical alarm type after processing with the corresponding processing scheme.
[0109] The determination unit is used to determine the recommendation factor for each processing scheme of each historical alarm type based on each historical alarm type and its level before and after processing, so as to obtain the alarm processing library.
[0110] An alarm processing recommendation device provided in this application embodiment may further include:
[0111] The second acquisition module is used to acquire feedback information from the outside world regarding the various processing solutions for each historical alarm type;
[0112] Accordingly, the determining unit may include:
[0113] The first determining subunit is used to determine the recommendation factor for each processing scheme of each historical alarm type based on the feedback information of each historical alarm type, its level before and after processing, and the corresponding processing scheme.
[0114] An alarm processing recommendation device provided in this application embodiment may include a first determining subunit comprising:
[0115] The second determining subunit is used to determine the recommendation factor for each processing scheme of each historical alarm type corresponding to the same type of server based on the feedback information of each historical alarm type corresponding to the same type of server, the level before and after processing, and the corresponding processing scheme.
[0116] The first calculation subunit is used to calculate the recommendation factor for each processing scheme of each historical alarm type based on the recommendation factor of the same processing scheme for the same historical alarm type corresponding to multiple server models.
[0117] An alarm processing recommendation device provided in this application embodiment may include a second determining subunit that may include:
[0118] The third determining subunit is used to determine the reward value of the historical alarm type corresponding to the same server model when processing it with the current processing scheme each time, based on the level before processing the historical alarm type corresponding to the same server model, the level after each processing with the corresponding current processing scheme, and the pre-set processing reward rules.
[0119] The second calculation subunit is used to calculate the recommendation factor corresponding to the historical alarm type of the same server model when using the current processing scheme for each processing, based on the weight corresponding to the historical alarm type of the same server model, the weight corresponding to the level after each processing using the current processing scheme, the reward value when processing using the current processing scheme for each processing, and the weight corresponding to the feedback information when processing each processing.
[0120] The third calculation subunit is used to calculate the recommendation factor of the current processing scheme corresponding to the historical alarm category of the same server model based on the recommendation factor corresponding to the historical alarm type of the same server model when performing each processing using the current processing scheme.
[0121] An alarm processing recommendation device provided in this application embodiment may further include:
[0122] The selection module is used to receive the current alarm type selection command after determining the current alarm type based on the alarm information, and select the target alarm type from the current alarm types according to the current alarm type selection command;
[0123] Accordingly, the first acquisition module 22 may include:
[0124] The third acquisition unit is used to acquire the processing scheme with the highest recommendation factor that corresponds to the target alarm type from the alarm processing library.
[0125] An alarm processing recommendation device provided in this application embodiment may include a receiving module 21 that may include:
[0126] The receiving unit is used to receive alarm information from the server via at least one of the following methods: SSH connection, RESTFULL interface, and RedFish interface.
[0127] This application also provides a recommended alarm processing device, see [link to relevant documentation]. Figure 3 It shows a schematic diagram of the structure of an alarm processing recommendation device provided in an embodiment of this application, which may include:
[0128] Memory 31 is used to store computer programs;
[0129] When processor 32 executes a computer program stored in memory 31, it can perform the following steps:
[0130] The system receives alarm information from the server and determines the current alarm type based on the alarm information. It then retrieves the processing solution with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library and outputs the processing solution. The process of pre-determining the alarm processing library may include: obtaining historical alarm information from the server and determining the historical alarm types and their pre-processing levels based on the historical alarm information; obtaining each processing solution for each historical alarm type and the level of each historical alarm type after processing with the corresponding processing solution; and determining the recommendation factor for each processing solution for each historical alarm type based on each historical alarm type and its pre- and post-processing levels to obtain the alarm processing library.
[0131] This application embodiment also provides a readable storage medium storing a computer program, which, when executed by a processor, can perform the following steps:
[0132] The system receives alarm information from the server and determines the current alarm type based on the alarm information. It then retrieves the processing solution with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library and outputs the processing solution. The process of pre-determining the alarm processing library may include: obtaining historical alarm information from the server and determining the historical alarm types and their pre-processing levels based on the historical alarm information; obtaining each processing solution for each historical alarm type and the level of each historical alarm type after processing with the corresponding processing solution; and determining the recommendation factor for each processing solution for each historical alarm type based on each historical alarm type and its pre- and post-processing levels to obtain the alarm processing library.
[0133] The readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0134] For a description of the relevant parts of the alarm processing recommendation device, equipment and readable storage medium provided in this application, please refer to the detailed description of the corresponding parts of the alarm processing recommendation method provided in the embodiments of this application, and will not be repeated here.
[0135] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that the elements inherent in a process, method, article, or apparatus that includes a list of elements are included. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. Additionally, portions of the technical solutions provided in the embodiments of this application that are consistent with the implementation principles of corresponding technical solutions in the prior art have not been described in detail to avoid excessive elaboration.
[0136] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A recommended method for alarm handling, characterized in that, include: Receive alarm information from the server and determine the current alarm type based on the alarm information; Retrieve the processing solution with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library, and output the processing solution; The process of pre-determining the alarm handling library includes: Obtain historical alarm information from the server, and determine the type of historical alarm and its level before processing based on the historical alarm information; the historical alarm types include at least: CPU alarms, memory alarms, PCIe alarms, and other alarms; Obtain the processing solutions for each historical alarm type, and obtain the level of each historical alarm type after processing with the corresponding processing solution; if the level after processing is lower than the level of the historical alarm type before processing, it indicates that the processing solution is beneficial to the processing of the historical alarm type. Obtain external feedback on the handling solutions for each historical alarm type; Based on the historical alarm types corresponding to the same server model, their levels before and after processing, and the feedback information of the corresponding processing solutions, recommendation factors are determined for each processing solution of each historical alarm type corresponding to the same server model. The recommendation factors are determined based on the historical alarm types, their levels before and after processing, the feedback information of the corresponding processing solutions, and pre-set processing reward rules. The processing reward rules include: if the level decreases after processing, the reward value is taken from the first interval as a first fixed value, and the minimum value in the first interval is greater than 0; if the level increases after processing, the reward value is taken from the second interval as a second fixed value, and the maximum value in the second interval is less than 0. Based on the recommendation factors of the same processing scheme for the same historical alarm type corresponding to multiple server models, the recommendation factors of each processing scheme for each historical alarm type are calculated to obtain the alarm processing library.
2. The alarm handling recommendation method according to claim 1, characterized in that, Based on the historical alarm types corresponding to the same server model, their pre- and post-processing levels, and the feedback information of each processing solution, recommendation factors for each processing solution for each historical alarm type corresponding to the same server model are determined, including: Based on the level before processing the historical alarm type corresponding to the same server model, the level after each processing using the corresponding current processing scheme, and the pre-set processing reward rules, determine the reward value for the historical alarm type corresponding to the same server model when processing each time using the current processing scheme. Based on the weights of historical alarm types corresponding to the same server model, the weights of levels after each processing using the current processing scheme, the weights of reward values and feedback information during each processing using the current processing scheme, the recommendation factors corresponding to historical alarm types corresponding to the same server model during each processing using the current processing scheme are calculated. Based on the recommendation factors corresponding to the historical alarm types of the same server model when using the current processing scheme for each processing, calculate the recommendation factor of the current processing scheme corresponding to the historical alarm categories of the same server model.
3. The alarm handling recommendation method according to claim 1, characterized in that, After determining the current alarm type based on the alarm information, the process also includes: Receive the current alarm type selection command, and select the target alarm type from the current alarm types according to the current alarm type selection command; Accordingly, the processing scheme with the highest recommendation factor corresponding to the current alarm type is obtained from a pre-determined alarm processing library, including: Obtain the processing solution with the highest recommendation factor that corresponds to the target alarm type from the alarm processing library.
4. The alarm handling recommendation method according to claim 1, characterized in that, Receive alarm information from the server, including: Receive server alarm information via at least one of the following methods: SSH connection, RESTFULL interface, or RedFish interface.
5. An alarm processing recommendation device, characterized in that, include: The receiving module is used to receive alarm information from the server and determine the current alarm type based on the alarm information; The first acquisition module is used to acquire the processing scheme with the highest recommendation factor corresponding to the current alarm type from a pre-determined alarm processing library, and output the processing scheme. The alarm processing recommendation device further includes a determination module for pre-determining the alarm processing library, the determination module comprising: The first acquisition unit is used to acquire historical alarm information of the server and determine the type of historical alarm and the level before processing based on the historical alarm information of the server. The second acquisition unit is used to acquire each processing scheme for each historical alarm type, and to acquire the level of each historical alarm type after processing with the corresponding processing scheme; the historical alarm types include at least: CPU alarm, memory alarm, PCIE alarm and other alarms. The determining unit is used to determine the recommendation factor for each processing scheme of each historical alarm type according to each historical alarm type and its level before and after processing, so as to obtain the alarm processing library; Also includes: The second acquisition module is used to acquire feedback information from the outside world regarding the various processing solutions for each historical alarm type; Accordingly, the determining unit includes: The first determining subunit is used to determine the recommendation factor for each processing scheme of each historical alarm type based on the feedback information of each historical alarm type, its level before and after processing, and the corresponding processing schemes. The first defined subunit may include: The second determining subunit is used to determine the recommendation factor for each processing scheme of each historical alarm type corresponding to the same server model, based on the historical alarm types corresponding to the same server model, their levels before and after processing, and the feedback information of each corresponding processing scheme. The recommendation factor is determined based on each historical alarm type, its levels before and after processing, the feedback information of each corresponding processing scheme, and a pre-set processing reward rule. The processing reward rule includes that if the level decreases after processing, the reward value is taken from a first fixed value in a first interval, where the minimum value in the first interval is greater than 0; if the level increases after processing, the reward value is taken from a second fixed value in a second interval, where the maximum value in the second interval is less than 0. The first calculation subunit is used to calculate the recommendation factor for each processing scheme of each historical alarm type based on the recommendation factor of the same processing scheme for the same historical alarm type corresponding to multiple server models.
6. An alarm processing recommendation device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the alarm processing recommendation method as described in any one of claims 1 to 4 when executing the computer program.
7. A readable storage medium, characterized in that, The readable storage medium stores a computer program that, when executed by a processor, implements the steps of the alarm handling recommendation method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Multi-power-supply, multi-segmentation multi-connection power distribution network fault recovery effect evaluation method
CN105116255A
Operation and maintenance method and device of power generation equipment and computer readable storage medium
CN112488549A