Alarm shielding processing method, device, medium, computer program product and equipment
By obtaining the equipment logo and historical alarm information in the cut-off information, an alarm blocking list is generated, which solves the problem of inability to identify and block invalid alarms in the cut-off operation, improves the cut-off efficiency and reduces manpower and material consumption.
Patent Information
- Application Number
- CN202310623331.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-30
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2043-05-30
AI Technical Summary
The prior art cannot effectively identify and block invalid alarms caused by human operations, resulting in a large amount of manpower and material resources spent on cutting operations and affecting business.
By obtaining the device flags in the cut-off information, matching historical alarm information from the alarm database, the user feedbacks the target alarm flag and target instructions, generating an alarm blocking list, and blocking the preset operation type of alarm during the cut-off operation.
It effectively avoids alarms caused by human operations, improves the efficiency of handling alarms, saves manpower and material resources, and reduces the impact of cut-off operations on business.
Smart Images

Figure CN116647435B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to communication technology, and in particular to an alarm shielding processing method, apparatus, medium, computer program product, and equipment. Background Art
[0002] After a network has been operating for a period of time, as businesses grow, they often need to undergo modifications such as transformation, upgrades, and migrations. These network operations often occur on a network already carrying business traffic and must not impact services. These network operations are called cutovers. Cutovers typically involve operations on devices, lines, and services. Because connected devices are physically and logically connected, cutting over a single device can affect multiple associated devices, generating alarms.
[0003] Some of the alarms generated during the cutover process do not actually indicate equipment failures and do not require processing. However, in practice, these alarms that do not require processing are mixed with the alarms that do require processing, resulting in a lot of manpower and material resources being wasted.
[0004] In order to improve the above problems, some existing technologies block according to device identification, but this method blocks all alarms of the device, including alarms that need to be processed, which may easily lead to the failure being discovered only when it affects the business; other methods also use blocking according to time periods, blocking all warnings within a time period, which may also lead to the blocking of alarms that need to be processed within the time period, which may easily lead to the alarm being discovered only after the blocking period, resulting in serious delays and thus affecting the business. Summary of the Invention
[0005] The present application provides an alarm shielding processing method, apparatus, medium, computer program product and device to solve the problem that the existing technology cannot effectively identify and shield invalid alarms caused by human operations.
[0006] In a first aspect, the present application provides an alarm shielding processing method, comprising:
[0007] Acquire cutover information, wherein the cutover information includes a list of devices to be cutover operated, wherein the list of devices includes device identifiers and operation instructions;
[0008] According to the device identifiers in the device list, historical alarm information corresponding to each device identifier is obtained from an alarm database, wherein the historical alarm information includes a historical alarm identifier and a corresponding operation instruction corresponding to each device identifier;
[0009] Sending historical alarm information and the cutover information corresponding to each device identifier to a user terminal, and obtaining a target alarm identifier and a target instruction corresponding to each device identifier fed back by the user terminal based on the historical alarm information and the cutover information;
[0010] An alarm shielding list is generated according to the target alarm flag and target instruction corresponding to each device flag. The alarm shielding list is used to shield alarms of a preset operation type during a cutover operation.
[0011] In a possible implementation, generating an alarm shielding list according to the target alarm flag and target instruction corresponding to each device flag includes:
[0012] generating an alarm rule according to the target instruction and the target alarm flag, wherein the alarm rule is used to instruct the device to shield an alarm corresponding to the target alarm flag when the device generates the alarm when executing the operation indicated by the target instruction;
[0013] An alarm shielding list is obtained according to the alarm rules, wherein the alarm shielding list includes a plurality of alarm rules.
[0014] In a possible implementation, the cutover information further includes an operation period. Before generating an alarm rule according to the target instruction and the target alarm flag, the method further includes:
[0015] For each device identifier, according to the target instruction and the cutover information, obtaining a target time period corresponding to an operation instruction identical to the target instruction;
[0016] The generating of an alarm rule according to the target instruction and the target alarm flag includes:
[0017] The alarm rules are generated according to the target instruction, the target time period and the target alarm flag. The alarm rules in the alarm shielding list are used to instruct the device to shield the alarm when an alarm corresponding to the target alarm flag is generated when the operation indicated by the target instruction is performed in the target time period.
[0018] In a possible implementation, after generating the alarm shielding list according to the target alarm flag and target instruction corresponding to each device flag, the method further includes:
[0019] After the cutover operation is completed, an alarm list is obtained, wherein the alarm list includes an alarm flag corresponding to each device flag of the cutover operation;
[0020] Sending the alarm list to the user terminal, and obtaining an incremental alarm flag related to the operation instruction in the cutover information and fed back by the user terminal based on the alarm list;
[0021] The incremental alarm flag and the corresponding relationship between the incremental alarm flag and the operation instruction are used as incremental data, and the incremental data is added to the alarm database.
[0022] In a possible implementation, after adding the incremental data to the alarm database, the method further includes:
[0023] The incremental data corresponding to each device flag is updated to the alarm shielding list.
[0024] In a possible implementation, the alarm shielding list is a list table, which indicates the correspondence between the device flag, the target instruction, the target alarm flag, and the target time period.
[0025] In a second aspect, the present application provides a device for processing alarm shielding, the device comprising:
[0026] An acquisition module, configured to acquire cutover information, wherein the cutover information includes a list of devices to be cutover-operated, wherein the list of devices includes device identifiers and operation instructions;
[0027] a processing module, configured to obtain, from an alarm database, historical alarm information corresponding to each device identifier according to the device identifier in the device list, wherein the historical alarm information includes a historical alarm identifier and a corresponding operation instruction corresponding to each device identifier;
[0028] The processing module is further configured to send the historical alarm information and the cutover information corresponding to each device identifier to the user terminal, and obtain the target alarm identifier and target instruction corresponding to each device identifier fed back by the user terminal based on the historical alarm information and the cutover information;
[0029] The processing module is further configured to generate an alarm shielding list according to the target alarm flag and target instruction corresponding to each device flag, wherein the alarm shielding list is used to shield alarms of a preset operation type during a cutover operation.
[0030] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0031] In a fourth aspect, the present application provides a computer program product, comprising a computer program, which implements the method described in any one of the first aspects when executed by a processor.
[0032] In a fifth aspect, the present application provides an alarm shielding processing device, comprising: at least one processor and a memory; wherein,
[0033] The memory stores computer-executable instructions;
[0034] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method as described in any one of the first aspects.
[0035] The alarm shielding processing method, apparatus, medium, computer program product, and device provided in this application match historical alarm information corresponding to each device identifier in the cutover information from an alarm database based on the obtained cutover information. Based on the historical alarm identifiers and corresponding operation instructions in the historical alarm information, the target alarm identifier and target instruction corresponding to each device identifier based on the feedback from the user end are obtained. Based on the target alarm identifier and target instruction, an alarm shielding list is generated. The alarm shielding list is applied when executing the cutover operation. This method effectively avoids the problem of being unable to shield alarms caused by human operations during the cutover operation, improves the efficiency of alarm processing, saves manpower and material resources, and alleviates the problem of business losses caused by the cutover operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0037] Figure 1 A schematic diagram of a cutover shielding scenario provided in an embodiment of the present application;
[0038] Figure 2 The alarm shielding processing method provided in this embodiment of the application Figure 1 ;
[0039] Figure 3 The alarm shielding processing method provided in this embodiment of the application Figure 2 ;
[0040] Figure 4 The alarm shielding processing method provided in this embodiment of the application is as follows Figure 3 ;
[0041] Figure 5 The alarm shielding processing method provided in this embodiment of the application is as follows Figure 4 ;
[0042] Figure 6 An alarm shielding processing device provided in an embodiment of the present invention;
[0043] Figure 7A hardware diagram of an alarm shielding processing device provided in an embodiment of the present invention.
[0044] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0045] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0046] Based on the problem that the existing technology cannot effectively identify and block invalid alarms caused by human operations, the present application provides an alarm blocking processing method. The method matches the corresponding historical alarm information from the alarm database through the device flag in the cutover information. The user end feeds back the target alarm flag and target instruction corresponding to each device flag based on the historical alarm information, generates an alarm blocking list according to the target alarm flag and target instruction, and executes the alarm blocking list during cutover.
[0047] The specific application scenarios of this application are as follows Figure 1 As shown, Figure 1 Schematic diagram of the cutover shielding scenario provided for the embodiment of the present application. The alarm database 102 contains historical alarm information of the device to be operated 101. When performing the cutover operation, due to the physical and logical associations between the transmission devices, the related devices will be affected during the operation, thereby generating invalid alarms that do not need to be processed. Therefore, before the cutover operation, it is necessary to match the historical alarm information 103 belonging to each device identifier of the device to be operated 101, and send the historical alarm information 103 to the client 104. The client 104 will feedback the target alarm and instruction 105 involved in this cutover corresponding to each device identifier based on the information, thereby generating an alarm shielding list 106. At the same time, the alarm shielding list also includes the operation time information of each device in the device to be operated 101. When the cutover operation is performed, the alarm shielding list 106 is started to be executed, thereby achieving the purpose of effective shielding.
[0048] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0049] Figure 2 The alarm shielding processing method provided in this embodiment of the application Figure 1 .like Figure 2 As shown, the method includes:
[0050] S201: Obtain cutover information, where the cutover information includes a list of devices to be cutover, wherein the list of devices includes device identifiers and operation instructions.
[0051] In this step, according to the cutover plan executed this time, the cutover information is obtained. Through the cutover information, the equipment, operation period, operation instructions and other contents related to this cutover can be determined. Based on this information, the next step is performed to achieve the purpose of formulating accurate shielding alarm signs.
[0052] It should be noted that the content of the above-mentioned related equipment includes an equipment list, and the equipment list includes but is not limited to detailed information such as the equipment logo, the profession, business name, equipment location, equipment type and IP address of each device related to this cutover; the above-mentioned operation period includes but is not limited to the operation start time, observation time and end time of each device to be operated; the above-mentioned operation instructions include but are not limited to the content of the instructions that need to be run on each device to be operated, the purpose of the instructions and the results of the instructions.
[0053] S202: According to the device identifiers in the device list, historical alarm information corresponding to each device identifier is obtained from an alarm database, where the historical alarm information includes a historical alarm identifier and a corresponding operation instruction corresponding to each device identifier.
[0054] In this step, the historical alarm information of each device to be operated is obtained by identifying the device flag. The historical alarm information includes the historical alarm flag and the corresponding operation instruction. This information can be used as the basis for obtaining the alarm shielding list.
[0055] It should be noted that each device to be operated has had some historical alarm signs during the historical cutover operation. Some of the alarm signs are generated due to human operation and are not valid alarms. These alarms do not need to be processed. However, these alarms are often generated by executing certain specific operation instructions. Therefore, these alarms correspond to the operation instructions that caused them to be generated, and the other part is a real alarm. By obtaining historical alarms in this step and then executing the next step, the above two types of alarms can be pre-distinguished in this cutover.
[0056] S203: Send the historical alarm information and the cutover information corresponding to each device identifier to the user terminal, and obtain the target alarm identifier and target instruction corresponding to each device identifier fed back by the user terminal based on the historical alarm information and the cutover information.
[0057] In this step, after the historical alarm information is sent to the user terminal, the target alarm flag and target instruction corresponding to the current cutover related equipment fed back by the user terminal based on the historical alarm information are obtained.
[0058] It should be noted that in order to confirm the alarm signs that need to be blocked for this cutover operation, in this step, the relevant alarm information of this cutover is obtained based on historical alarm information, and then the effective alarms and alarms caused by human operations in this cutover are pre-distinguished, and the relevant alarms that may be caused by the execution of this target instruction, that is, the alarms caused by human operations, are effectively identified, and such alarms are sorted and applied in the next step.
[0059] S204: Generate an alarm shielding list according to the target alarm flag and target instruction corresponding to each device flag, wherein the alarm shielding list is used to shield alarms of a preset operation type during the cutover operation.
[0060] In this step, after determining the target alarm flags and target instructions related to each device to be operated, several types of information including but not limited to device flags, target instructions and target alarm flags are combined to form a corresponding relationship. The corresponding relationship may be one-to-one or one-to-many. The corresponding relationships of these types of information constitute a shielding alarm list, which clearly indicates how to shield when performing the cutover operation.
[0061] The alarm shielding method provided in this embodiment matches historical alarm information corresponding to each device identifier in the cutover information from an alarm database based on the obtained cutover information. Based on the historical alarm identifiers and corresponding operation instructions in the historical alarm information, the method obtains the target alarm identifier and target instruction corresponding to each device identifier fed back by the user end. Based on the target alarm identifier and target instruction, the method generates an alarm shielding list, which is then applied during the cutover operation. This method effectively avoids the problem of being unable to shield alarms caused by human intervention during the cutover operation, improves the efficiency of alarm processing, saves manpower and material resources, and alleviates the problem of service losses caused by the cutover operation.
[0062] Figure 3 The alarm shielding processing method provided in this embodiment of the application Figure 2 .like Figure 3 As shown, the method includes:
[0063] S301: Obtain a target alarm flag and a target instruction corresponding to each device flag fed back by a user terminal.
[0064] The content of the target warning and target instruction fed back by the user terminal obtained in this step is similar to that in S203 and will not be described in detail here.
[0065] S302: Generate an alarm rule according to the target instruction and the target alarm flag, wherein the alarm rule is used to instruct the device to shield an alarm corresponding to the target alarm flag when executing the operation indicated by the target instruction and generating the alarm.
[0066] In this step, the generated alarm rule is used to indicate shielding the alarm when a corresponding target alarm flag is generated when executing the target instruction under a single device, and is based on the alarm rule generated under the target instruction.
[0067] It should be noted that the above alarm rules are generated based on each target instruction. That is, each target instruction corresponds to an alarm rule. A single target instruction may generate one or more target alarm flags. The alarm rule corresponding to a single target instruction indicates that when operating the target instruction, the corresponding one or more generated target alarm flags are masked. A single device to be operated generally contains one or more target instructions. Therefore, a single device contains multiple or one alarm rules.
[0068] S303: Obtain an alarm shielding list according to the alarm rule, wherein the alarm shielding list includes multiple alarm rules.
[0069] In this step, an alarm shielding list is formed based on the alarm rules of each device to be operated. The alarm shielding list indicates the operations for the alarms in the shielding list that need to be executed during the current cutover operation.
[0070] It should be noted that a single device to be operated contains one or more target instructions, each target instruction corresponds to an alarm rule. At the same time, the cutover operation involves one or more devices. Therefore, the alarm shielding list for this cutover includes the alarm rules corresponding to the relevant target instructions under all devices to be operated.
[0071] The alarm blocking method provided in this embodiment uses the target alarm and target command fed back by the user to obtain the alarm rules corresponding to the target command. This method then combines the alarm rules for all devices to be operated to generate an alarm blocking list, thereby providing a comprehensive indication of the alarms to be blocked during the cutover operation. This multi-dimensional alarm blocking list accurately indicates which alarms should be blocked when executing the target command on a specific operating device during a cutover.
[0072] Figure 4 The alarm shielding processing method provided in this embodiment of the application is as follows Figure 3 ,like Figure 4 As shown, the method includes:
[0073] S401: Obtain cutover information and a target alarm flag and a target instruction corresponding to each device flag fed back by a user terminal based on the historical alarm information. The cutover information includes a device flag, an operation period, and an operation instruction.
[0074] In this step, the content of obtaining the target warning and target instruction fed back by the user terminal is similar to that in S203 and will not be described in detail here.
[0075] It should be noted that, unlike obtaining the cutover information in S201, the cutover information in this step includes the operation period and operation instructions in addition to the device flag. The relevant content has been explained in S201 and will not be repeated here. In this step, the operation instruction and its corresponding operation period are obtained and confirmed to match the target instruction and target period in the next step.
[0076] S402: For each device identifier, obtain a target time period corresponding to an operation instruction identical to the target instruction according to the target instruction and the cutover information.
[0077] In this step, based on the operation instructions in the cutover information, the same target instructions fed back by the user end are matched. According to the operation period corresponding to the operation instruction, the target period corresponding to the target instruction can be obtained, so that the start time and end time of the execution of a certain target instruction, as well as the duration of execution of the target instruction, can be determined.
[0078] S403: Generate the alarm rule according to the target instruction, the target time period, and the target alarm flag.
[0079] The alarm rules in the alarm shielding list are used to instruct the device to shield the alarm when an alarm corresponding to the target alarm flag is generated when the device executes the operation indicated by the target instruction during the target time period.
[0080] In this step, the above alarm rules are different from the alarm rules in S302 in that the alarm rules in this step add the dimension of the target time period, indicating that when a cutover is performed on a certain device to be operated, a target alarm is generated when the target instruction is executed in the target time period, indicating that it should be blocked.
[0081] The purpose of adding this target time period is to make shielding more accurate and effective. At the same time, a target time is given to a single target instruction. First, alarm shielding of operating devices can be performed more accurately. The user end will execute the operating instruction according to the specified operating time period. The alarms generated by the operating instructions within this operating time period should be shielded. If it is outside the operating time period and the corresponding operating instruction has been executed, the device may display an alarm mark in the alarm shielding list, but it is not caused by the corresponding operating instruction. In this case, the alarm mark is a real alarm, reflecting that the device has a real problem. Giving an indication of the operating time period can prevent the alarms caused by these non-operational instructions from being shielded.
[0082] Secondly, it can effectively improve the efficiency of the user side when executing cutover, and urge it to complete the operation of the target instruction within the target time period. When the target instruction is still not executed after the target time period, the target alarm generated by the target instruction will not be blocked. At this time, more alarms caused by human operations may be generated. When the system side receives the abnormality, it can promptly warn the user side, thereby urging it to make effective responses and avoid operation timeouts affecting the normal operation of the business.
[0083] S404: Obtain an alarm shielding list according to the alarm rule.
[0084] In this step, the alarm shielding list includes the alarm rules corresponding to the relevant target instructions of all devices to be operated during the target time period.
[0085] The alarm shielding processing method provided in this embodiment adds a target time period to the target alarm flag and its corresponding target instruction, indicating that when a user terminal on a certain operating device executes an operation instruction during the target time period during cutover, the target alarm flag is shielded. This method makes shielding alarms during cutover more accurate, improves work efficiency, and is conducive to normal business operation.
[0086] Figure 5 The alarm shielding processing method provided in this embodiment of the application is as follows Figure 4 ,like Figure 5 As shown, the method includes:
[0087] S501: After the current cutover operation is completed, an alarm list is obtained, where the alarm list includes the current alarm flag corresponding to each device flag of the current cutover operation.
[0088] In this step, after the cutover operation is completed, the alarm flags related to the cutover under each device flag are obtained. Based on this information, information is obtained in the next step to determine whether any alarm flags that need to be shielded are missed.
[0089] S502: Send the alarm list to the user terminal, and obtain an incremental alarm flag related to the operation instruction in the cutover information, which is fed back by the user terminal based on the alarm list.
[0090] In this step, the alarm list generated during this cutover is sent to the user terminal, and the incremental alarm flag and its corresponding operation instruction fed back by the user terminal according to the alarm list and the operation instruction in the cutover information are obtained.
[0091] It should be noted that the alarm shielding list for this cutover is obtained from historical alarms. Therefore, one or more alarm flags related to the current cutover operation instructions may be missing from the historical alarms, resulting in an incomplete alarm shielding list. As a result, the actual alarm flags that appear during the cutover will still include both real alarms and alarms caused by the cutover. Therefore, it is necessary to obtain the alarm flags generated by the cutover when the cutover is completed and send them to the user to obtain the alarm flags that need to be shielded due to the cutover. Based on the alarm list for this cutover and the operation instructions in the cutover information, the user terminal feedbacks the alarm flags that need to be increased and the operation instructions that caused them.
[0092] S503: The incremental alarm flag and the corresponding relationship between the incremental alarm flag and the operation instruction are used as incremental data, and the incremental data is added to the alarm database.
[0093] In this step, based on the incremental data obtained in S502, the incremental data is synchronously supplemented to the alarm database to improve the alarm database. The operation of supplementing the database each time a cutover is performed makes the cutover-related historical operation instructions and their corresponding alarm signs more complete. When a cutover is performed later, when an operation instruction in the database is repeatedly executed on a certain device, the corresponding entry is directly selected in the alarm database, and then key information such as the operation time period related to the current cutover is added to form an alarm shielding list, which is enabled when the cutover is performed, so that historical data can be reused, thereby improving work efficiency and shielding accuracy.
[0094] S504: Update the alarm shielding list with the incremental data corresponding to each device flag.
[0095] The alarm shielding list is a list table, which indicates the corresponding relationship between the device flag, the target instruction, the target alarm flag and the target time period.
[0096] In this step, the incremental data is added to the alarm shielding list based on the incremental data in S502 and the operation period corresponding to the operation instructions in the incremental data. The complete alarm shielding list contains all alarm signs of the operation instructions related to this cutover. When performing the same cutover operation, it can be effectively reused according to the actual situation, avoiding the operation of re-screening in the alarm database, so that the alarm shielding list can be used multiple times and fully improved.
[0097] The alarm shielding processing method provided in this embodiment obtains incremental alarm signs based on the alarm database according to the alarm list generated by the cutover, and adds them to the alarm database and the shielded alarm list, so that the method can obtain an effective closed loop, supplement the alarm signs that need to be shielded but are actually not shielded, improve the basis of cutover shielding, and make subsequent cutovers more rapid, accurate and effective when generating alarm shielding lists.
[0098] Figure 6 The processing device for alarm shielding provided by the embodiment of the present invention is as follows: Figure 6 As shown, the processing device 60 includes: an acquisition module 601 and a processing module 602.
[0099] An acquisition module 601 is configured to acquire cutover information, wherein the cutover information includes a list of devices to be cutover-operated, wherein the list of devices includes device identifiers and operation instructions;
[0100] Processing module 602 is used to obtain historical alarm information corresponding to each device identifier from an alarm database according to the device identifier in the device list, wherein the historical alarm information includes the historical alarm identifier and the corresponding operation instruction corresponding to each device identifier;
[0101] The processing module 602 is further configured to send the historical alarm information and the cutover information corresponding to each device identifier to the user terminal, and obtain the target alarm flag and target instruction corresponding to each device identifier fed back by the user terminal based on the historical alarm information and the cutover information;
[0102] The processing module 602 is further configured to generate an alarm shielding list according to the target alarm flag and target instruction corresponding to each device flag, wherein the alarm shielding list is used to shield alarms of a preset operation type during a cutover operation.
[0103] The present application also provides an alarm shielding processing device, comprising: at least one processor and a memory; wherein,
[0104] The memory stores computer-executable instructions;
[0105] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs any of the above methods.
[0106] Figure 7 The hardware diagram of the alarm shielding processing device provided by the embodiment of the present invention. Figure 7 As shown, the alarm shielding processing device 70 provided in this embodiment includes: at least one processor 701 and a memory 702. The device 70 also includes a communication component 703. The processor 701, the memory 702 and the communication component 703 are connected via a bus 704.
[0107] In a specific implementation process, at least one processor 701 executes the computer-executable instructions stored in the memory 702, so that at least one processor 701 executes the above alarm shielding method.
[0108] The specific implementation process of the processor 701 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.
[0109] In the above Figure 7In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.
[0110] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory.
[0111] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be classified into address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0112] The present application also provides a computer program product, including a computer program, which implements the steps in the above-mentioned method embodiments when executed by a processor.
[0113] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the steps in the above-mentioned method embodiments are implemented.
[0114] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0115] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0116] The division of units described above is merely a logical functional division. In actual implementation, other divisions may be employed. For example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented. Furthermore, any coupling or direct coupling or communication connection shown or discussed between units may be an indirect coupling or communication connection via an interface, device, or unit, and may be electrical, mechanical, or other.
[0117] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0118] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0119] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0120] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented using hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0121] Finally, it should be noted that those skilled in the art will readily identify other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed herein. The present invention is not limited to the precise structure described above and illustrated in the accompanying drawings, and various modifications and variations may be made without departing from the scope thereof. The scope of the present invention is limited solely by the appended claims.
Claims
1. A method for processing alarm shielding, characterized in that: include: Acquire cutover information, wherein the cutover information includes a list of devices to be cutover operated, wherein the list of devices includes device identifiers and operation instructions; According to the device identifiers in the device list, historical alarm information corresponding to each device identifier is obtained from an alarm database, wherein the historical alarm information includes a historical alarm identifier and a corresponding operation instruction corresponding to each device identifier; Sending historical alarm information and the cutover information corresponding to each device identifier to a user terminal, and obtaining a target alarm identifier and a target instruction corresponding to each device identifier fed back by the user terminal based on the historical alarm information and the cutover information; An alarm shielding list is generated according to the target alarm flag and target instruction corresponding to each device flag. The alarm shielding list is used to shield alarms of a preset operation type during a cutover operation.
2. The method according to claim 1, characterized in that The generating of the alarm shielding list according to the target alarm flag and target instruction corresponding to each device flag includes: generating an alarm rule according to the target instruction and the target alarm flag, wherein the alarm rule is used to instruct the device to shield an alarm corresponding to the target alarm flag when the device generates the alarm when executing the operation indicated by the target instruction; An alarm shielding list is obtained according to the alarm rules, wherein the alarm shielding list includes a plurality of alarm rules.
3. The method according to claim 2, characterized in that The cutover information also includes an operation period. Before generating an alarm rule according to the target instruction and the target alarm flag, the method further includes: For each device identifier, according to the target instruction and the cutover information, obtaining a target time period corresponding to an operation instruction identical to the target instruction; The generating of an alarm rule according to the target instruction and the target alarm flag includes: The alarm rules are generated according to the target instruction, the target time period and the target alarm flag. The alarm rules in the alarm shielding list are used to instruct the device to shield the alarm when an alarm corresponding to the target alarm flag is generated when the operation indicated by the target instruction is performed in the target time period.
4. The method according to claim 1, wherein After generating the alarm shielding list according to the target alarm flag and target instruction corresponding to each device flag, the method further includes: After the cutover operation is completed, an alarm list is obtained, wherein the alarm list includes an alarm flag corresponding to each device flag of the cutover operation; Sending the alarm list to the user terminal, and obtaining an incremental alarm flag related to the operation instruction in the cutover information and fed back by the user terminal based on the alarm list; The incremental alarm flag and the corresponding relationship between the incremental alarm flag and the operation instruction are used as incremental data, and the incremental data is added to the alarm database.
5. The method according to claim 4, characterized in that After adding the incremental data to the alarm database, the method further includes: The incremental data corresponding to each device flag is updated to the alarm shielding list.
6. The method according to claim 3, characterized in that The alarm shielding list is a list table, which indicates the corresponding relationship between the device flag, the target instruction, the target alarm flag and the target time period.
7. A device for processing alarm shielding, characterized in that: The device comprises: An acquisition module, configured to acquire cutover information, wherein the cutover information includes a list of devices to be cutover-operated, wherein the list of devices includes device identifiers and operation instructions; a processing module, configured to obtain, from an alarm database, historical alarm information corresponding to each device identifier according to the device identifier in the device list, wherein the historical alarm information includes a historical alarm identifier and a corresponding operation instruction corresponding to each device identifier; The processing module is further configured to send the historical alarm information and the cutover information corresponding to each device identifier to the user terminal, and obtain the target alarm identifier and target instruction corresponding to each device identifier fed back by the user terminal based on the historical alarm information and the cutover information; The processing module is further configured to generate an alarm shielding list according to the target alarm flag and target instruction corresponding to each device flag, wherein the alarm shielding list is used to shield alarms of a preset operation type during a cutover operation.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.
9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. An alarm shielding processing device, characterized in that: include: at least one processor and memory; wherein, The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Single-point shielding method, device, equipment and storage medium
CN110708189A
Network slice cutover alarm shielding method and device
CN113765683A