Alarm task execution method and device, storage medium and electronic equipment

By obtaining abnormal alarm information and service shutdown maintenance list information, determining the server's operating status and filtering information, the invalid alarm problem caused by server shutdown maintenance is solved, and maintenance efficiency and user experience are improved.

CN119025316AInactive Publication Date: 2024-11-26GUANGZHOU SANQI DREAM NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411106655.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the application is running, abnormal alarm information caused by server shutdown maintenance is difficult to accurately identify and process, resulting in increased working pressure of maintenance personnel and decreased user experience.

Method used

By obtaining abnormal alarm information and service shutdown maintenance list information, the server operation status is determined, and the alarm information is processed based on preset information filtering and processing rules, invalid alarms are filtered out, and alarm tasks are performed for target applications.

Benefits of technology

Accurately filter out invalid alarms caused by shutting down service maintenance, reduce the working pressure of maintenance personnel, improve work efficiency, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119025316A_ABST
    Figure CN119025316A_ABST
Patent Text Reader

Abstract

The invention discloses an alarm task execution method and device, a storage medium and electronic equipment, and the method specifically comprises the steps: determining the operation state information corresponding to a server on which the operation of a target application is based according to the obtained abnormal alarm information and service stop maintenance list information corresponding to the target application; and when it is determined that a server on which the target application runs is in a service stop maintenance state according to the determined running state information, performing information processing on abnormal alarm information for the target application based on a preset information filtering processing rule to obtain a processing result. And based on the processing result, executing an alarm task for the target application. Through the method, invalid alarms in the alarm information can be accurately and effectively filtered out, the working pressure and invalid interference of maintenance personnel are effectively reduced, and the working efficiency is improved. According to the method, the real abnormal alarm of the target application in the running process can be more prominent, and the efficiency of solving the real abnormal problem is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing, and in particular to a method, device, storage medium and electronic device for executing an alarm task. Background Art

[0002] At present, in order to ensure the stability of application operation and business execution, developers often monitor various application data in real time during the application operation, so as to ensure that when special circumstances or abnormal errors occur during the application operation, alarm information can be obtained in time to maintain the normal operation of the application.

[0003] Although the implementation of monitoring and alarm coverage can effectively ensure the stability of the normal operation of the application, when the application operation data changes dramatically due to the shutdown of the server where the application is running, special phenomena such as errors or invalid alarms may occur. Take the game application as an example. In the data monitoring environment, when the game area server is shut down for maintenance, users may not be able to connect to the game server smoothly when using the game application, and then an abnormal alarm may appear that the request game interface is invalid. In addition, the shutdown of the game area server may greatly affect the number of online users and user activity of the application, and then corresponding abnormal alarms may be generated. The actual alarm cause corresponding to this type of alarm information may be different from the conventional abnormal cause (such as server downtime, network disconnection, etc.), and it is very likely that it is an invalid alarm caused by the shutdown maintenance. If this type of alarm information is directly transmitted to the relevant maintenance personnel, it will not only increase the work pressure of the maintenance personnel, but also may affect the processing efficiency of processing real alarm information, and indirectly affect the user experience.

[0004] Therefore, how to accurately identify and process the abnormal alarm information that may be invalid alarms, and thus ensure the authenticity and reliability of the abnormal alarm information, is a crucial issue. Summary of the invention

[0005] This specification provides a method, device, storage medium and electronic device for executing an alarm task to partially solve the above-mentioned problems existing in the prior art.

[0006] This manual adopts the following technical solutions:

[0007] This specification provides a method for executing an alarm task, including:

[0008] Obtain abnormal alarm information for the target application;

[0009] Obtaining service outage maintenance list information, and determining, according to the service outage maintenance list information, the running status information corresponding to the server on which the target application is running;

[0010] In the case where it is determined according to the running status information that the server on which the target application is running is in a shutdown state for maintenance, the abnormal alarm information is processed based on a preset information filtering and processing rule to obtain a processing result;

[0011] Based on the processing result, an alarm task for the target application is executed.

[0012] Optionally, the step of determining, according to the service suspension maintenance list information, the running status information corresponding to the server on which the target application is running specifically includes:

[0013] Determine the server identification information corresponding to the server on which the target application runs;

[0014] The running status information corresponding to the server on which the target application is running is determined according to the server identification information and the service suspension maintenance list information.

[0015] Optionally, the step of determining, according to the server identification information and the service suspension and maintenance list information, the running status information corresponding to the server on which the target application is running specifically includes:

[0016] Determine, according to the abnormal alarm information, alarm generation time information corresponding to the abnormal alarm information;

[0017] When it is determined, according to the server identification information and the outage maintenance list information, that the server on which the target application is running is present in the outage maintenance list information, determining, according to the outage maintenance information corresponding to the server on which the target application is running in the outage maintenance list information, outage maintenance time information corresponding to the server on which the target application is running, the outage maintenance time information being used to indicate the outage maintenance start time to the outage maintenance end time of the server on which the target application is running when outage maintenance is being performed;

[0018] The running status information is determined according to the alarm generation time information and the downtime maintenance time information corresponding to the server on which the target application is running.

[0019] Optionally, the step of performing information processing on the abnormal alarm information based on a preset information filtering and processing rule to obtain a processing result specifically includes:

[0020] The abnormal alarm information is filtered according to a preset special alarm filtering rule, wherein the special alarm filtering rule is used to filter the alarm type corresponding to the invalid alarm issued by the server whose running state is a shutdown maintenance state.

[0021] Optionally, the step of executing an alarm task for the target application based on the processing result specifically includes:

[0022] If the abnormal alarm information is not filtered according to the special alarm filtering rule, the unfiltered abnormal alarm information will be sent to the terminal device used by the maintenance personnel to warn the maintenance personnel of the abnormality of the target application, so that the terminal device used by the maintenance personnel can perform the maintenance task for the target application based on the received unfiltered abnormal alarm information.

[0023] Optionally, the step of performing information processing on the abnormal alarm information based on a preset information filtering and processing rule to obtain a processing result specifically includes:

[0024] According to the preset special alarm marking rule, an information mark is added to the abnormal alarm information to obtain the abnormal alarm information after marking. The special alarm marking rule is used to indicate that special marking is performed on the abnormal alarm information corresponding to the server whose operating status is a shutdown maintenance status.

[0025] Optionally, the step of executing an alarm task for the target application based on the processing result specifically includes:

[0026] The marked abnormal alarm information is sent to the terminal device used by the maintenance personnel to issue an abnormal alarm for the target application to the maintenance personnel, so that when the terminal device used by the maintenance personnel detects that the received abnormal alarm information is the marked abnormal alarm information, it filters the marked abnormal alarm information according to the preset invalid alarm filtering rule for the abnormal alarm information of the server in the outage maintenance state, and executes the maintenance task for the target application based on the filtered abnormal alarm information.

[0027] This specification provides an execution device for an alarm task, including:

[0028] An acquisition module is used to obtain abnormal alarm information for a target application;

[0029] A determination module, configured to obtain service outage maintenance list information, and determine, based on the service outage maintenance list information, the running status information corresponding to the server on which the target application is running;

[0030] A processing module, configured to, when it is determined according to the running status information that the server on which the target application is running is in a downtime maintenance state, process the abnormal alarm information based on a preset information filtering and processing rule to obtain a processing result;

[0031] An execution module is used to execute the alarm task for the target application based on the processing result.

[0032] This specification provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the execution method of the above-mentioned alarm task is implemented.

[0033] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the execution method of the above-mentioned alarm task when executing the program.

[0034] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0035] It can be seen from the above method that in the execution method of the alarm task provided in this specification, the operation status information corresponding to the server on which the target application is based can be determined according to the abnormal alarm information and the service suspension maintenance list information corresponding to the target application obtained. Then, when it is determined that the server on which the target application is based is in the service suspension maintenance state according to the determined operation status information, the abnormal alarm information for the target application is processed based on the preset information filtering and processing rules to obtain the processing result. Finally, based on the processing result, the alarm task for the target application is executed.

[0036] From the above content, it can be seen that the execution method of the alarm task provided in this specification can determine the operating status of the server on which the target application is based, and when it is determined that the server on which the target application is based is in a downtime maintenance state, the server can process the abnormal alarm information according to the information filtering and processing rules, thereby executing the alarm task. The method in this specification can accurately and effectively filter out errors and invalid abnormal alarms caused by downtime maintenance in the alarm information, reduce the work pressure of subsequent maintenance personnel when performing maintenance on the target application, avoid invalid interference, and effectively improve work efficiency. In addition, this method can also effectively improve the efficiency of solving the corresponding abnormal alarms that actually exist in the actual operation of the target application, and the continuous optimization and resolution of application problems will also improve the user experience to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0038] Figure 1 A flowchart of a method for executing an alarm task provided in this specification;

[0039] Figure 2 This is a schematic diagram of the overall structure of a method for executing an alarm task provided in this specification;

[0040] Figure 3 A schematic diagram of an execution device of an alarm task provided in this specification;

[0041] Figure 4 A method provided in this specification corresponding to Figure 1 Schematic diagram of the structure of an electronic device. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0043] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0044] Figure 1 The following is a flowchart of a method for executing an alarm task provided in this specification, comprising the following steps:

[0045] S101: Obtain abnormal alarm information for a target application.

[0046] S102: Obtaining service outage maintenance list information, and determining, according to the service outage maintenance list information, operation status information corresponding to the server on which the target application is running.

[0047] With the advancement of science and technology, in the current application development field, in order to ensure the stability of application operation and timely discover and handle abnormal situations during application operation, application developers often implement comprehensive monitoring coverage of applications and corresponding server networks. However, when the server on which the application is based is scheduled to be shut down for maintenance, such monitoring mechanisms may trigger non-real abnormal alarms. Although such alarms caused by maintenance are extremely similar to the manifestation results of real abnormal failures, the actual causes may be completely different, resulting in an unnecessary workload for maintenance personnel, and may also cause delays in responding to abnormal problems that really need to be solved. Therefore, how to accurately identify and process alarm information that may be invalid alarms in abnormal alarm information is an urgent problem to be solved.

[0048] To this end, this specification provides a method for executing an alarm task, wherein the execution subject adopted by the method provided in this specification can be a server, or a terminal device such as a desktop computer, a laptop computer, etc. In addition, the execution subject of this specification can also be a subject in the form of software, such as a client installed in a terminal device, etc. For the sake of convenience of explanation, the following in this specification only takes the server as the execution subject to explain the execution method of the alarm task provided.

[0049] Based on this, the server that applies the alarm task execution method provided in this specification can process the abnormal alarm information based on the acquired abnormal alarm information and service suspension maintenance list information for the target application based on the information filtering and processing rules, and execute the alarm task according to the processing results.

[0050] Among them, the specific application scenario of the server when performing the alarm task can be determined according to the actual application needs. For example, when performing scheduled maintenance on the server in the field of online trading platforms, the server may receive an alarm that the online trading application cannot connect to the corresponding network during the server maintenance time, and may also receive application operation abnormality alarms such as abnormal number of online users of the online trading platform. The server that applies the method in this specification can obtain abnormal alarm information and service suspension maintenance list information for online trading applications to process various types of abnormal alarm information, thereby executing the alarm task according to the processing results, effectively eliminating invalid alarms, and improving the efficiency of solving and maintaining real application abnormalities.

[0051] For another example, in the field of game development, when a game zone of a game application needs to be shut down for maintenance, the server using the method in this specification can obtain abnormal alarm information and service maintenance list information for the target application during the service maintenance process, and process invalid abnormal alarms that may be caused by service maintenance based on preset information filtering and processing rules, such as users cannot connect to the network through the application interface, the number of online game users is abnormal, etc. Then, the server can send real and effective abnormal alarms to the relevant personnel responsible for maintenance, which not only reduces the workload of maintenance personnel, but also improves the efficiency of solving real abnormal phenomena, and indirectly improves the user experience.

[0052] In this specification, the server can obtain abnormal warning information for the target application, and after receiving the abnormal warning information, obtain the service suspension maintenance list information. Then, the server can determine the operation status information corresponding to the server on which the target application is running based on the obtained service suspension maintenance list information.

[0053] Among them, the specific types and contents of abnormal alarm information for the target application are not strictly limited in this specification. For example, it can be record information of the target application crash, the target application cannot connect to the corresponding server network (such as the online shopping application user cannot connect to the corresponding network to complete the payment when paying, etc.), the number of online users counted by the server when the target application is running based on the server drops sharply in a short period of time (such as the number of online users of the game application monitoring the number of online users is greatly reduced and the daily activity of users drops sharply, etc.), etc. These are common alarm information in the field of application development and operation. The specific types and contents can be flexibly set according to the actual application scenarios and needs.

[0054] In addition, the above-mentioned outage maintenance list information can be specifically used to record and represent the outage maintenance time plan for a single or multiple servers on which the target application is based, which is pre-formulated by the developer corresponding to the target application. For example, in the field of game development, developers can distribute and operate an online game on multiple application platforms, and divide different application platforms into different independent game areas and servers considering the size of the player base. This not only facilitates the statistics of user data, but also allows each area to be managed and maintained separately. In a case like this, the server that applies the method in this specification can obtain the outage maintenance list information that records the outage maintenance time plans of multiple different servers (such as different game areas and servers).

[0055] Specifically, the server can determine the server identifier corresponding to the server on which the target application is based when the abnormal situation occurs based on the abnormal alarm information. Then, the server can determine whether there is a server identifier corresponding to the abnormal alarm information in the service suspension and maintenance list information based on the server identifiers corresponding to the single or multiple servers recorded in the obtained service suspension and maintenance list information, that is, determine whether the server on which the target application is based has a service suspension and maintenance plan pre-set.

[0056] Then, the server can determine the alarm generation time information corresponding to the abnormal alarm information based on the abnormal alarm information. Next, the server can determine the service downtime maintenance time information corresponding to the server based on which the target application is based, based on the above-mentioned server identification information and service downtime maintenance list information, when determining that the server based on which the target application is running exists in the service downtime maintenance list information. Furthermore, the server can determine the running status information corresponding to the server based on which the target application is running, based on the determined alarm generation time information and service downtime maintenance time information.

[0057] The downtime maintenance time information can be specifically represented as the downtime maintenance start time to the downtime maintenance end time of the server based on which the target application is running. For example, assuming that the server identification information corresponding to the server based on which the target application is running is "01", the downtime maintenance list information obtained by the server includes the server based on which the target application is running, that is, the downtime maintenance time information corresponding to the "01" identification is included in the downtime maintenance list information.

[0058] Assume that the server "01" based on which the target application runs is pre-set by the target application developer to be shut down for maintenance from 6:00 am to 11:00 noon on X month X day, then the corresponding shutdown time information in the shutdown maintenance list information can be "6:00 am to 11:00 noon on X month X day", or can be expressed as "6:00 AM-11:00 AM on X month X day". The alarm generation time information corresponding to the server "01" based on which the target application runs is previously determined to be "7:30 AM on X month X day", and the server can determine the corresponding running status information according to the alarm generation time information and the shutdown maintenance time information, that is, determine that the server "01" is in the shutdown maintenance state when the abnormal alarm information is generated.

[0059] S103: When it is determined according to the running status information that the server on which the target application is running is in a shutdown state for maintenance, the abnormal alarm information is processed based on a preset information filtering and processing rule to obtain a processing result.

[0060] S104: Based on the processing result, executing an alarm task for the target application.

[0061] In this specification, when the server on which the target application is running is determined to be in a downtime maintenance state according to the running status information determined in the above steps, the server can process the abnormal alarm information corresponding to the server on which the target application is running based on the preset information filtering and processing rules, thereby obtaining a processing result. Then, the server can execute the alarm task for the target application according to the corresponding processing result.

[0062] It should be noted that the above-mentioned information filtering and processing rules are used to represent the overall processing rules for abnormal alarm information corresponding to the server in the outage maintenance state, which may specifically include the special alarm filtering rules based on which the server processes the information, and the invalid alarm filtering rules based on which the terminal equipment used by the subsequent maintenance personnel operates. In this specification, according to different application scenarios and requirements, the information filtering and processing rules can be divided into two different information processing methods. One method can be to perform abnormal processing on the abnormal alarm information corresponding to the server in the outage maintenance state based on the preset special alarm filtering rules by the server, and transmit the abnormal alarm information that does not meet the special alarm filtering rules to the terminal equipment used by the maintenance personnel.

[0063] Another information processing method corresponding to the information filtering and processing rules is to first mark the abnormal alarm information corresponding to the server that is in a downtime maintenance state through the server, and transmit the marked abnormal alarm information to the terminal device used by the maintenance personnel, so that the terminal device used by the maintenance personnel can filter the marked abnormal alarm information based on the invalid alarm filtering rules.

[0064] Specifically, after determining that the server on which the target application is running is in a downtime maintenance state, the server can filter and process the abnormal alarm information corresponding to the server on which the target application is running according to the preset special alarm filtering rules. Among them, the special alarm filtering rules are used to indicate that the alarm types corresponding to invalid alarms issued by the server whose running state is downtime maintenance state are filtered. In simple terms, it can be understood that the server can actively filter invalid abnormal alarms that may be caused by the downtime maintenance of the server on which the target application is running based on the preset special alarm filtering rules.

[0065] For example, suppose that the server obtains multiple abnormal alarm information for the target application, which may be an alarm of the target application crashing during operation, an alarm of the target application failing to connect normally to the server network on which it is based, and an alarm of an abnormal phenomenon that the number of online users corresponding to the target application drops sharply in a short period of time. Then, based on the abnormal alarm information, the server determines that the server identifiers corresponding to the above-mentioned multiple abnormal alarm information belong to the same server, and based on the service suspension and maintenance list information, determines that the operating status of the server corresponding to the above-mentioned multiple abnormal alarm information is a service suspension and maintenance status. At this point, the server can filter and process the above-mentioned abnormal alarm information based on the preset special alarm filtering rules.

[0066] Regarding the setting content and reasons of special alarm filtering rules, since the user-facing interface of the server network is closed when the server is in a maintenance state, users cannot connect to the corresponding server network when using the target application during this period, which may lead to abnormal phenomena such as server network connection failure and changes in the number of online users. Therefore, the special alarm filtering rules can be set to determine that abnormal alarm information such as "unable to connect to the server normally" and "large changes in the number of users logged in" generated by servers in a maintenance state may be invalid or erroneous abnormal alarms.

[0067] Furthermore, according to the above rules, the server can regard the same type of abnormal alarm information in the above examples, such as "the target application cannot normally connect to the server network on which it is based" (corresponding to "cannot normally connect to the server"), and "the abnormal phenomenon that the number of online users corresponding to the target application has dropped sharply in a short period of time" (corresponding to "the number of logged-in users has changed significantly") as invalid abnormal alarm information that can be filtered. Then, after filtering, the above abnormal alarm information may only have the abnormal alarm information corresponding to the "target application crash alarm during operation". The server can then send this type of abnormal alarm information that does not meet the filtering conditions specified in the special alarm filtering rules, that is, the abnormal alarm information whose cause is not related to the shutdown and maintenance of the server on which the operation is based, to the terminal equipment used by the maintenance personnel to promote subsequent maintenance tasks.

[0068] Furthermore, the server can send the abnormal alarm information that has not been filtered based on the special alarm filtering rules, that is, the abnormal alarm information mentioned in the above example, the cause of which may be unrelated to the server on which the operation is based being out of service for maintenance, to the terminal device used by the maintenance personnel responsible for the abnormal maintenance of the target application, thereby feeding back the abnormal alarm for the target application to the maintenance personnel to complete the alarm task for the target application. The terminal device used by the maintenance personnel can perform the maintenance task for the target application based on the received abnormal alarm information that has not been filtered and processed in the above steps. The execution process and execution method of the specific maintenance task are not strictly limited in this specification and can be flexibly set according to the actual application scenario.

[0069] The above-mentioned method of filtering first and then giving feedback can effectively reduce invalid alarms in the abnormal alarm information of the target application caused by the server shutdown maintenance on which the operation is based, thereby reducing the work pressure and time waste of subsequent maintenance personnel and improving work efficiency.

[0070] In addition, in this specification, in addition to the above-mentioned server being able to process the abnormal alarm information corresponding to the server on which the target application is based being in a downtime maintenance state based on special alarm filtering rules, the server can also mark the abnormal alarm information and perform alarm tasks based on the marked abnormal alarm information, which is another information processing method corresponding to the information filtering processing rules mentioned in the above steps.

[0071] Specifically, after determining that the server on which the target application is running is in a state of outage for maintenance, the server can add information tags to the abnormal alarm information corresponding to the server in a state of outage for maintenance according to the preset special alarm marking rules, thereby obtaining the abnormal alarm information after marking. Among them, the special alarm marking rules are used to indicate that the abnormal alarm information corresponding to the server in a state of outage for maintenance is specially marked, and the specific marking form can be adding additional logos, adding additional strings, etc. The above marking process can be simply understood as that the server can additionally mark all abnormal alarm information corresponding to the server in a state of outage for maintenance, regardless of whether the cause of the abnormality is related to the outage for maintenance of the server on which the target application is running, it will be marked, and the abnormal alarm information after the marking process is used to remind the maintenance personnel that this abnormal alarm information corresponds to the server in a state of outage for maintenance when they handle the abnormal problem later.

[0072] Next, the server can directly send the marked abnormal alarm information to the terminal device used by the maintenance personnel corresponding to the target application, thereby issuing an abnormal alarm for the target application to the maintenance personnel and completing the alarm execution task. After receiving the abnormal alarm information, the terminal device used by the maintenance personnel can determine whether the acquired abnormal alarm information is the marked abnormal alarm information by detecting whether the abnormal alarm information carries the corresponding marking information. After the terminal device used by the maintenance personnel determines that the received abnormal alarm information is the marked abnormal alarm information generated by the above steps, the terminal device used by the maintenance personnel can filter the marked abnormal alarm information according to the preset invalid alarm filtering rules for the abnormal alarm information of the server in the out-of-service maintenance state, and then perform the maintenance task for the target application based on the filtered abnormal alarm information.

[0073] The above example of processing abnormal alarm information based on special alarm filtering rules is used to continue with examples. Assume that the abnormal alarm information after marking includes the operation crash alarm corresponding to the target application, the connection error alarm that the target application cannot normally connect to the server on which it is based, and the abnormal phenomenon alarm that the number of online users corresponding to the target application drops sharply in a short period of time. After the terminal device used by the maintenance personnel determines that the abnormal alarm information obtained is the abnormal alarm information after marking, it can filter the abnormal alarm information after marking based on the preset invalid alarm filtering rules.

[0074] The setting content and reasons for invalid alarm filtering rules are similar to the description of special alarm filtering rules in the above method. Since the user interface of a server that is in a maintenance state is closed, it is possible that users will not be able to connect to the corresponding server network normally when using the target application during this period. The monitoring end of the server data may detect abnormal situations such as a large-scale sudden drop in the number of online logins to the target application in a short period of time. Therefore, the specific content of the invalid alarm filtering rules can be set to treat "abnormal alarms of the type of inability to connect to the server normally corresponding to servers in a maintenance state" and "abnormal alarms of a large change in the number of user logins corresponding to servers in a maintenance state" as abnormal alarm information that can be filtered or ignored.

[0075] Therefore, based on the above invalid alarm filtering rules, the terminal device used by the maintenance personnel can filter out abnormal alarm information such as "the target application cannot normally connect to the server on which it is based" and "the abnormal phenomenon alarm of a sharp drop in the number of online users corresponding to the target application in a short period of time" in the above examples. However, for abnormal causes such as "the operation crash alarm corresponding to the target application" that do not meet the filtering conditions set in the invalid alarm filtering rules, that is, abnormal alarms whose abnormal causes may be unrelated to the server downtime maintenance, the terminal device used by the maintenance personnel can retain and display them to the maintenance personnel, so that the real abnormal problems in the operation of the target application can be solved in time.

[0076] If the unmarked abnormal alarm information contains abnormal alarm information such as "the target application cannot normally connect to the server on which it is based, and the target application corresponds to an abnormal phenomenon alarm of a sharp drop in online users", it means that the server on which the target application corresponding to such abnormal alarm information is based is in normal operation. The terminal device used by the maintenance personnel will not filter such information based on the invalid alarm filtering rules, but will display it in full and feedback it to the maintenance personnel. Of course, when the terminal device used by the maintenance personnel filters the marked abnormal alarm information based on the invalid alarm filtering rules, they can choose a variety of methods, such as direct filtering, or they can choose to mark the filterable abnormal alarm information that meets the invalid alarm filtering rules as filterable, so as to prompt the maintenance personnel during the subsequent maintenance process.

[0077] It should also be noted that in this specification, both the special alarm marking rules mentioned in the above method and the specific rule contents and judgment conditions corresponding to the invalid alarm filtering rules are illustrated for ease of understanding. The specific contents corresponding to the special alarm marking rules and the invalid alarm filtering rules are not strictly limited in this specification and can be flexibly set according to the actual application scenario.

[0078] In order to facilitate understanding of the overall direction and process of the execution method of the alarm task provided in this specification, the following is an overall structural diagram of the execution method of the alarm task for explanation, such as Figure 2 as shown in .

[0079] Figure 2 The following is a schematic diagram of the overall structure of a method for executing an alarm task provided in this specification.

[0080] like Figure 2 As shown in , a server applying the method in this specification can obtain abnormal alarm information for a target application, and determine the operating status information corresponding to the server on which the target application is based based on the obtained outage maintenance list information. If it is determined that the server on which the target application is based is not in an outage maintenance state, the server can directly send the obtained abnormal alarm information to the terminal device used by the maintenance personnel to perform the corresponding alarm task. If it is determined that the server on which the target application is based is in an outage maintenance state, the server can process the abnormal alarm information according to a pre-set information filtering and processing rule to obtain a processing result.

[0081] The specific processing method for the abnormal alarm information corresponding to the service outage maintenance state can be that the server first filters the abnormal alarm information in the above steps, removes the invalid abnormal alarm information that may be caused by the service outage maintenance, and then feeds back the unfiltered abnormal alarm information to the terminal device used by the maintenance personnel. Or it can be mentioned in the above steps that the abnormal alarm information is first marked and then filtered before being fed back to the terminal device used by the maintenance personnel. The ultimate goal is to accurately filter the invalid abnormal alarm information caused by service outage maintenance in the abnormal alarm information, reduce the workload and error interference of the maintenance personnel, improve work efficiency, and enable the real abnormal problems in the target application during operation to be discovered and solved in a timely manner, thereby improving the user experience.

[0082] In addition to the above, in this specification, the server can also determine the corresponding alarm cause information based on the acquired abnormal alarm information, and then determine whether to filter the abnormal alarm information based on the alarm cause information. The alarm cause information can be used to indicate the cause of the abnormal phenomenon corresponding to the abnormal alarm information.

[0083] Specifically, after obtaining the abnormal alarm information, the server can determine at least one alarm reason information for indicating the cause of the abnormal phenomenon based on the abnormal alarm information. For example, the abnormal alarm information of "the target application cannot connect to the server network" may correspond to the alarm reason information of "the target application network interface operation failure", "the server network operation failure" and "the network congestion". Then, the server can simulate and generate the abnormal operation data corresponding to the server when the abnormal phenomenon corresponding to the alarm reason information occurs based on the alarm reason information. For example, when the alarm reason information is expressed as "the target application network interface operation failure", the corresponding abnormal operation data can be "the server-side processor operation occupancy rate is too high, close to 100%, resulting in the application being unable to connect to the network", and for another example, when the alarm reason information is expressed as "the network is congested", the corresponding abnormal operation data can be "the server network corresponding network bandwidth occupancy ratio is too large, close to XX%, resulting in network congestion".

[0084] When it is determined that the operating status information of the server corresponding to the abnormal alarm information is represented as an outage maintenance state according to the outage maintenance list information mentioned in the above steps and the abnormal alarm information obtained, the server can determine whether the numerical value or proportion of the abnormal operating data when the abnormal phenomenon corresponding to the alarm cause information occurs falls within the operating data range corresponding to the server in the outage maintenance state based on the pre-stored or pre-simulated operating data range corresponding to the server in the outage maintenance state and the abnormal operating data corresponding to the server when the abnormal phenomenon corresponding to the alarm cause information generated above occurs, that is, determine whether the abnormal alarm phenomenon corresponding to the alarm cause information corresponding to the abnormal alarm information may occur within the server outage maintenance time period, and the corresponding abnormal operating data also matches the operating data range corresponding to the server in the outage maintenance state.

[0085] Among them, whether it is the operating data range corresponding to the server in the state of outage maintenance, or the abnormal operating data corresponding to the server when the abnormal phenomenon corresponding to the alarm cause information generated by simulation occurs, they are all determined based on the operating data of the server on which the target application is based. The specific data type and data content are not strictly limited in this specification. For example, it can be the server network bandwidth size when the target application is running based on the server, the utilization rate of the processor (CPU) in the server, the disk read and write rate when the server processes the corresponding operating data of the target application, etc., which can be flexibly adjusted according to actual application needs.

[0086] Furthermore, if abnormal operating data is generated based on the operating data range and simulation corresponding to the server in the outage maintenance status, and it is successfully determined that the data value or proportion corresponding to the abnormal operating data is within the numerical interval corresponding to the operating data range, the server can regard the corresponding abnormal alarm information and abnormal phenomenon as caused by the outage maintenance of the server on which the target application is based, and filter and process such abnormal alarm information.

[0087] For example, assuming that the alarm cause information corresponding to a certain abnormal alarm information is "server network operation failure", the server can simulate and generate the corresponding abnormal operation data as "the server may be down, and the processor occupancy rate in the server may be low, close to 0%" based on this alarm cause information. Assume that the operation data range corresponding to the server in the maintenance state is specifically "in the maintenance state, the usage rate of the processor in the server may range from 0% to 5%". It can be clearly seen that the data value or proportion corresponding to the abnormal operation data in this example is within the numerical range corresponding to the operation data range. The server can then regard the corresponding abnormal alarm information as caused by the server maintenance and filter it.

[0088] If the abnormal operation data simulated based on any alarm reason information corresponding to the abnormal alarm information does not match the operation data range corresponding to the server in the downtime maintenance state, the server may consider that although the abnormal alarm information and the corresponding abnormal phenomenon occurred during the downtime maintenance of the server, the corresponding real abnormal reason may not be caused by the downtime maintenance of the server. Therefore, the server will not filter such abnormal alarm information, but send it to the terminal device used by the maintenance personnel, so as to execute the alarm task and give the maintenance personnel an alarm prompt for the target application.

[0089] Still using an example, assuming that the alarm cause information corresponding to a certain abnormal alarm information is "network congestion", the server can simulate and generate the corresponding abnormal operation data based on this alarm cause information as "the network bandwidth occupancy is too high when the server is running, close to 100%, causing network congestion and the application cannot connect to the server". If the server is in a state of outage for maintenance, the corresponding operation data range is specifically "in the state of outage for maintenance, the server network bandwidth occupancy rate may range from 0% to 10%". It can be clearly seen that the abnormal operation data corresponding to the alarm cause information is not in the range of operation data corresponding to the server in the state of outage for maintenance. Therefore, the server can believe that the corresponding abnormal alarm information may not be caused by the server being out of service for maintenance, and does not filter the abnormal alarm information, but directly sends the abnormal alarm information to the terminal device used by the maintenance personnel to execute the alarm task.

[0090] From the above content, it can be seen that the execution method of the alarm task provided in this specification can determine the running status of the server on which the target application is based based on the abnormal alarm information and the service outage maintenance list information. When it is determined that the server on which the target application is based is in a service outage maintenance state, the server can process the abnormal alarm information according to the information filtering and processing rules, and execute the alarm task for the target application according to the processing results. The method in this specification can accurately and effectively filter out invalid alarms in the alarm information caused by the service outage maintenance of the running server, reduce the work pressure and invalid interference of subsequent maintenance personnel, and effectively improve the work efficiency of maintenance personnel. In addition, this method can also make the real abnormal alarms of the target application in the actual operation process more prominent, and the efficiency and timeliness of solving abnormal problems are effectively improved. The continuous optimization and solution of application problems will also indirectly improve the user experience.

[0091] The above are one or more implementation methods of this specification. Based on the same idea, this specification also provides a corresponding alarm task execution device, such as Figure 3 shown.

[0092] Figure 3A schematic diagram of an execution device of an alarm task provided in this specification includes:

[0093] The acquisition module 301 is used to acquire abnormal alarm information for the target application;

[0094] The determination module 302 is used to obtain the service suspension maintenance list information, and determine the operation status information corresponding to the server on which the target application is running according to the service suspension maintenance list information;

[0095] The processing module 303 is used to process the abnormal alarm information based on a preset information filtering and processing rule to obtain a processing result when it is determined according to the running status information that the server on which the target application is running is in a shutdown maintenance state;

[0096] The execution module 304 is used to execute the alarm task for the target application based on the processing result.

[0097] Optionally, the determination module 302 is specifically used to determine server identification information corresponding to the server on which the target application is running; and determine running status information corresponding to the server on which the target application is running based on the server identification information and the outage maintenance list information.

[0098] Optionally, the determination module 302 is specifically used to determine, based on the abnormal alarm information, the alarm generation time information corresponding to the abnormal alarm information; when it is determined that the server on which the target application is running is present in the outage maintenance list information based on the server identification information and the outage maintenance list information, determine, based on the outage maintenance information corresponding to the server on which the target application is running in the outage maintenance list information, the outage maintenance time information corresponding to the server on which the target application is running, the outage maintenance time information is used to indicate the outage maintenance start time to the outage maintenance end time of the server on which the target application is running when performing outage maintenance; determine the running status information based on the alarm generation time information and the outage maintenance time information corresponding to the server on which the target application is running.

[0099] Optionally, the processing module 303 is specifically used to filter the abnormal alarm information according to a preset special alarm filtering rule, and the special alarm filtering rule is used to filter the alarm type corresponding to the invalid alarm issued by the server whose operating status is a shutdown maintenance status.

[0100] Optionally, the execution module 304 is specifically used to, if the abnormal alarm information is not filtered according to the special alarm filtering rule, send the unfiltered abnormal alarm information to the terminal device used by the maintenance personnel, so as to issue an abnormal alarm for the target application to the maintenance personnel, so that the terminal device used by the maintenance personnel performs the maintenance task for the target application based on the received unfiltered abnormal alarm information.

[0101] Optionally, the processing module 303 is specifically used to add an information mark to the abnormal alarm information according to a preset special alarm marking rule to obtain the abnormal alarm information after marking. The special alarm marking rule is used to indicate that special marking is performed on the abnormal alarm information corresponding to the server whose operating status is a shutdown maintenance status.

[0102] Optionally, the execution module 304 is specifically used to send the marked abnormal alarm information to the terminal device used by the maintenance personnel to issue an abnormal alarm for the target application to the maintenance personnel, so that when the terminal device used by the maintenance personnel detects that the received abnormal alarm information is the marked abnormal alarm information, it filters the marked abnormal alarm information according to the preset invalid alarm filtering rule for the abnormal alarm information of the server in the outage maintenance status, and executes the maintenance task for the target application based on the filtered abnormal alarm information.

[0103] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 Provides the execution method of the alarm task.

[0104] This manual also provides Figure 4 The one shown corresponds to Figure 1 A schematic diagram of the electronic device. Figure 4 As shown, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 The execution method of the alarm task.

[0105] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0106] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0107] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0108] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0109] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

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

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

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

[0113] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0114] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0115] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0116] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0117] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0118] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0119] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0120] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A method for executing an alarm task, characterized in that: include: Obtain abnormal alarm information for the target application; Obtaining service outage maintenance list information, and determining, according to the service outage maintenance list information, the running status information corresponding to the server on which the target application is running; In the case where it is determined according to the running status information that the server on which the target application is running is in a shutdown state for maintenance, the abnormal alarm information is processed based on a preset information filtering and processing rule to obtain a processing result; Based on the processing result, an alarm task for the target application is executed.

2. The method according to claim 1, characterized in that The step of determining, according to the service suspension maintenance list information, the running status information corresponding to the server on which the target application is running specifically includes: Determine the server identification information corresponding to the server on which the target application runs; The running status information corresponding to the server on which the target application is running is determined according to the server identification information and the service suspension maintenance list information.

3. The method according to claim 2, characterized in that The step of determining, according to the server identification information and the service suspension maintenance list information, the running status information corresponding to the server on which the target application is running specifically includes: Determine, according to the abnormal alarm information, alarm generation time information corresponding to the abnormal alarm information; When it is determined, according to the server identification information and the outage maintenance list information, that the server on which the target application is running is present in the outage maintenance list information, determining, according to the outage maintenance information corresponding to the server on which the target application is running in the outage maintenance list information, outage maintenance time information corresponding to the server on which the target application is running, the outage maintenance time information being used to indicate the outage maintenance start time to the outage maintenance end time of the server on which the target application is running when outage maintenance is being performed; The running status information is determined according to the alarm generation time information and the downtime maintenance time information corresponding to the server on which the target application is running.

4. The method according to claim 1, characterized in that The step of performing information processing on the abnormal alarm information based on the preset information filtering and processing rules to obtain the processing result specifically includes: The abnormal alarm information is filtered according to a preset special alarm filtering rule, wherein the special alarm filtering rule is used to filter the alarm type corresponding to the invalid alarm issued by the server whose running state is a shutdown maintenance state.

5. The method according to claim 4, characterized in that The step of executing the alarm task for the target application based on the processing result specifically includes: If it is determined according to the special alarm filtering rule that the abnormal alarm information does not belong to the invalid alarm information issued by the server whose operating status is out of service for maintenance, the abnormal alarm information will not be filtered, and the unfiltered abnormal alarm information will be sent to the terminal device used by the maintenance personnel to issue an abnormal alarm for the target application to the maintenance personnel, so that the terminal device used by the maintenance personnel can perform the maintenance task for the target application based on the received unfiltered abnormal alarm information.

6. The method according to claim 1, characterized in that The step of performing information processing on the abnormal alarm information based on the preset information filtering and processing rules to obtain the processing result specifically includes: According to the preset special alarm marking rule, an information mark is added to the abnormal alarm information to obtain the abnormal alarm information after marking. The special alarm marking rule is used to indicate that special marking is performed on the abnormal alarm information corresponding to the server whose operating status is a shutdown maintenance status.

7. The method according to claim 6, characterized in that The step of executing the alarm task for the target application based on the processing result specifically includes: The marked abnormal alarm information is sent to the terminal device used by the maintenance personnel to issue an abnormal alarm for the target application to the maintenance personnel, so that when the terminal device used by the maintenance personnel detects that the received abnormal alarm information is the marked abnormal alarm information, it filters the marked abnormal alarm information according to the preset invalid alarm filtering rule for the abnormal alarm information of the server in the outage maintenance state, and executes the maintenance task for the target application based on the filtered abnormal alarm information.

8. A device for executing an alarm task, characterized in that: include: An acquisition module is used to obtain abnormal alarm information for a target application; A determination module, configured to obtain service outage maintenance list information, and determine, based on the service outage maintenance list information, the running status information corresponding to the server on which the target application is running; A processing module, configured to, when it is determined according to the running status information that the server on which the target application is running is in a downtime maintenance state, process the abnormal alarm information based on a preset information filtering and processing rule to obtain a processing result; An execution module is used to execute the alarm task for the target application based on the processing result.

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

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Server monitoring method and system

    CN112346924A

  • Equipment alarm method and device

    CN114118705A

  • Alarm information processing method and device

    CN115664927A

  • Alarm information processing method, device and equipment during system maintenance change period

    CN118349420A

  • System and method for monitoring the status of multiple servers on a network

    US8676958B1