CN115150247A - Alarm elimination method and device - Google Patents

Alarm elimination method and device Download PDF

Info

Publication number
CN115150247A
CN115150247A CN202210594940.2A CN202210594940A CN115150247A CN 115150247 A CN115150247 A CN 115150247A CN 202210594940 A CN202210594940 A CN 202210594940A CN 115150247 A CN115150247 A CN 115150247A
Authority
CN
China
Prior art keywords
alarm
network element
alarm information
historical
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210594940.2A
Other languages
Chinese (zh)
Inventor
刘宇
刘鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Science Research Institute Co Ltd
Original Assignee
Shandong Inspur Science Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Science Research Institute Co Ltd filed Critical Shandong Inspur Science Research Institute Co Ltd
Priority to CN202210594940.2A priority Critical patent/CN115150247A/en
Publication of CN115150247A publication Critical patent/CN115150247A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Abstract

The invention provides an alarm elimination method and device, belonging to the technical field of communication; the method comprises the following steps: receiving an alarm clear message from a network element in a first state; deleting first alarm information based on the alarm clear message, wherein the first alarm information is generated before the first state; wherein the network element in the first state comprises at least one of: a network element that has been restarted; or the master device after the master-slave switching. After receiving the alarm clearing message from the restarted network element or the master device after the master-slave switching, the alarm information before restarting the restarted network element or the alarm information before the master-slave switching is cleared, so that the effectiveness of the alarm information displayed by the maintenance terminal is ensured, and the maintenance efficiency is improved.

Description

Alarm elimination method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for eliminating an alarm.
Background
After the network element is restarted or the master/slave switching is performed, the alarm generated by the network element before the restart or the master/slave switching cannot be used as a reference, and belongs to invalid information, so that the effectiveness of the alarm information displayed by the maintenance terminal is low, and the maintenance efficiency is low.
Disclosure of Invention
The invention provides an alarm eliminating method and device, which are used for overcoming the defects of low validity and low maintenance efficiency of alarm information displayed by a maintenance terminal in the prior art, ensuring the validity of the alarm information displayed by the maintenance terminal and improving the maintenance efficiency.
The invention provides an alarm elimination method, which comprises the following steps:
receiving an alarm clear message from a network element in a first state;
deleting first alarm information based on the alarm clear message, wherein the first alarm information is generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or, the master device after the master-slave switching.
According to an alarm elimination method provided by the invention, the first alarm information comprises one or more of the following items:
second alarm information already stored in the database;
first historical alarm information locally stored in the network element;
and second historical alarm information locally stored in the main equipment before the main/standby switching.
According to the alarm elimination method provided by the invention, the deleting of the first alarm information based on the alarm elimination message comprises the following steps:
deleting the second alarm information in the database;
and deleting the second alarm information in the display interface.
According to the alarm elimination method provided by the invention, the deleting of the first alarm information based on the alarm elimination message comprises the following steps:
after the network element stores the first historical alarm information in a database, deleting the first historical alarm information from the database;
and not displaying the first historical alarm information on a display interface.
According to an alarm elimination method provided by the present invention, the deleting the first alarm information based on the alarm clear message comprises:
after the network element stores the second historical alarm information in a database, deleting the second historical alarm information from the database;
and not displaying the second historical alarm information on a display interface.
The invention provides an alarm elimination method, which comprises the following steps:
sending an alarm clearing message to a maintenance terminal under the condition that a network element is in a first state, wherein the alarm clearing message is used for indicating the maintenance terminal to delete first alarm information, and the first alarm information is generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master/slave switching.
According to an alarm elimination method provided by the present invention, the first alarm information includes one or more of the following items:
second alarm information already stored in the database;
first historical alarm information locally stored in the network element;
and second historical alarm information locally stored in the main equipment before the main/standby switching.
According to the alarm eliminating method provided by the invention, the method further comprises the following steps:
under the condition that the network element is the main equipment after the main equipment and the standby equipment are switched, second historical alarm information locally stored by the main equipment before the switching is obtained;
and storing the second historical alarm information to a database so that the maintenance terminal deletes the second historical alarm information.
The present invention also provides an alarm removing apparatus, comprising:
a receiving module, configured to receive an alarm clearing message from a network element in a first state;
a deleting module, configured to delete first alarm information based on the alarm clear message, where the first alarm information is alarm information generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or, the master device after the master-slave switching.
The present invention also provides an alarm removing device, including:
a sending module, configured to send an alarm clearing message to a maintenance terminal when a network element is in a first state, where the alarm clearing message is used to instruct the maintenance terminal to delete first alarm information, and the first alarm information is alarm information generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master/slave switching.
The present invention also provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above alarm elimination methods when executing the program.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the alarm cancellation method as described in any one of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the alarm cancellation method as described in any one of the above.
The alarm eliminating method and the alarm eliminating device provided by the invention clear the alarm information before restarting the restarted network element or the alarm information before switching the main equipment after receiving the alarm clearing message from the restarted network element or the main equipment after switching the main equipment, ensure the effectiveness of the alarm information displayed by the maintenance terminal and improve the maintenance efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow diagram of an alarm cancellation method according to the present invention;
FIG. 2 is a second schematic flow chart of the alarm elimination method provided by the present invention;
FIG. 3 is a third schematic flow chart of an alarm elimination method according to the present invention;
FIG. 4 is a schematic diagram of an alarm removing apparatus according to the present invention;
FIG. 5 is a second schematic structural diagram of an alarm removing device provided in the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The alarm cancellation method and apparatus of the present invention are described below with reference to fig. 1 to 6.
Fig. 1 is a schematic flow diagram of an alarm elimination method provided by the present invention, where an execution subject of the alarm elimination method may be a maintenance terminal, as shown in fig. 1, the alarm elimination method includes:
step 100, receiving an alarm clearing message from a network element in a first state;
step 110, deleting first alarm information based on the alarm clear message, wherein the first alarm information is generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or, the master device after the master-slave switching.
In order to improve the effectiveness of the warning information displayed by the maintenance terminal and facilitate the maintenance personnel to analyze and maintain the network environment based on the effective warning information, the invention can clear the warning information of the network element before the network element is restarted or switched between the main network and the standby network.
Optionally, the network element related to the present invention may be a 5GC network element, and an Operation, administration, and maintenance (OAM) module corresponding to the network element.
In the invention, after a network element is restarted or becomes a main device through main/standby switching, OAM of the network element can report an alarm clearing message to a maintenance terminal, so that the terminal can delete first alarm information generated before the network element is restarted or before the main/standby switching based on the alarm clearing message;
optionally, the alarm is cleared after the network element is restarted or after the active/standby switch, so that the terminal interface can display the information without invalid alarm information or alarm recovery information, and the analysis and maintenance are convenient.
The alarm eliminating method provided by the invention clears the alarm information before restarting the restarted network element or the alarm information before switching the main equipment after receiving the alarm clearing message from the restarted network element or the main equipment after switching the main equipment, ensures the effectiveness of the alarm information displayed by the maintenance terminal and improves the maintenance efficiency.
Optionally, the first warning information includes one or more of the following items:
second alarm information already stored in the database;
first historical alarm information locally stored in the network element;
and second historical alarm information locally stored in the main equipment before the main/standby switching.
Optionally, an Operation, administration and maintenance (OAM) is used as a management module of the network element, when the network element generates an alarm, the OAM stores the alarm generated by the network element into the database, the maintenance terminal reads alarm information from the database, and the alarms are displayed on a terminal interface as activity alarms for a user to check. Therefore, the first alarm information to be deleted may include the second alarm information that is already stored in the database before the restarted network element is restarted, or the second alarm information that is already stored in the database before the active/standby switch is cleared.
Optionally, when the network element is not connected to the database, the OAM serializes the alarm and stores the serialized alarm in a local alarm file, where the part of the alarm is referred to as first historical alarm information, and after the part of the alarm is reconnected to the database, stores the first historical alarm information in the database, and deletes the local database file. Therefore, the first alarm information that needs to be deleted may include first historical alarm information stored locally at the network element.
Optionally, after the active-standby switching, after the network element changes from the original standby device to the master device, the local history alarm file of the new master device (that is, the network element) is empty, and it is not necessary to clear, but only the second history alarm information locally stored on the original master device before the active-standby switching needs to be cleared.
Optionally, the deleting the first warning information based on the warning removal message includes:
deleting the second alarm information in the database;
and deleting the second alarm information in the display interface.
Optionally, when deleting the second alarm information, the database may be operated to remove the active alarm (second alarm information) of the network element (i.e., the network element that sent the alarm removal information) in the database, and delete the alarm (second alarm information) before the network element that is displayed on the terminal interface.
For example, after the network element is restarted, the OAM reports an alarm clearing message to the maintenance terminal, and when the message is received, the maintenance terminal clears the active alarm (second alarm information) of the network element in the database by operating the database, and deletes the alarm before the network element displayed on the terminal interface.
For example, after the active/standby switching, and after the network element changes from the standby device to the main device, the new main device (i.e., the network element that sends the alarm clearing information) uploads the alarm clearing message to the maintenance terminal, and the active alarm is cleared. The maintenance terminal receives the message, and removes the active alarm of the network element in the database by operating the database, and deletes the alarm before the network element displayed on the terminal interface.
Optionally, the deleting the first warning information based on the warning removal message includes:
after the network element stores the first historical alarm information in a database, deleting the first historical alarm information from the database;
and not displaying the first historical alarm information on a display interface.
Optionally, when deleting the second alarm information, after the network element stores the first historical alarm information in the database, the second alarm information in the database may be deleted, and an alarm (the first historical alarm information) before the network element that is not displayed on the terminal interface is not displayed.
Optionally, the network element may finally read the first history alarm information stored locally, change the type of the stored alarm state into a history alarm, store the first history alarm information in the database, and read the first history alarm information from the database when the terminal interface synchronizes the alarm information regularly, where the alarm maintenance terminal having the history alarm mark does not need to read the first history alarm information displayed on the terminal interface, but only needs to delete the first history alarm information in the database.
Optionally, the deleting the first warning information based on the warning removal message includes:
after the network element stores the second historical alarm information in a database, deleting the second historical alarm information from the database;
and not displaying the second historical alarm information on a display interface.
Optionally, after the active/standby switching, and after the network element changes from the standby device to the main device, the local history alarm file of the new main device (i.e. the network element that sends the alarm clearing information) is empty and does not need to be cleared. Only the second historical alert information on the old master device needs to be cleared. The new main device can obtain the second historical alarm information of the old main device (namely the current standby device), read all the second historical alarm information, change the states of all alarms into the historical alarms, store the historical alarms in the database, read the alarm information from the database when the maintenance terminal regularly alarms synchronously, check that the alarm states are the second historical alarm information by the maintenance terminal, do not display the second historical alarm information on the terminal interface, and only need delete the second historical alarm information in the database.
The alarm eliminating method provided by the invention can eliminate the alarm information before restarting the restarted network element or the alarm information before switching the main equipment after receiving the alarm eliminating message from the restarted network element or the main equipment after switching the main equipment, thereby ensuring the effectiveness of the alarm information displayed by the maintenance terminal and improving the maintenance efficiency.
Fig. 2 is a second schematic flowchart of the alarm elimination method provided by the present invention, where an execution subject of the alarm elimination method may be a network element, and the method may include:
step 200, sending an alarm clear message to a maintenance terminal when a network element is in a first state, wherein the alarm clear message is used for indicating the maintenance terminal to delete first alarm information, and the first alarm information is generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master/slave switching.
In order to improve the effectiveness of the warning information displayed by the maintenance terminal and facilitate the maintenance personnel to analyze and maintain the network environment based on the effective warning information, the invention can send a warning clearing message to the maintenance terminal after the network element is restarted or the master-slave switching is carried out, so that the maintenance terminal clears the warning information of the network element before the network element.
Optionally, the network element related to the present invention may be a 5GC network element, and the management module OAM corresponding to the network element.
In the invention, after a network element is restarted or becomes a main device through main/standby switching, OAM of the network element can report an alarm clearing message to a maintenance terminal, so that the terminal can delete first alarm information generated before the network element is restarted or before the main/standby switching based on the alarm clearing message;
optionally, the alarm is cleared after the network element is restarted or after the active/standby switch, so that the terminal interface can display the information without invalid alarm information or alarm recovery information, and the analysis and maintenance are convenient.
According to the alarm eliminating method provided by the invention, the restarted network element or the master device after the master-slave switching sends the alarm eliminating message to the maintenance terminal, so that the maintenance terminal eliminates the alarm information before the restarted network element is restarted or before the master-slave switching, the effectiveness of the alarm information displayed by the maintenance terminal is ensured, and the maintenance efficiency is improved.
Optionally, the first warning information includes one or more of the following items:
second alarm information already stored in the database;
first historical alarm information locally stored in the network element;
and second historical alarm information locally stored in the main equipment before the main/standby switching.
Optionally, an Operation, administration and maintenance (OAM) is used as a management module of the network element, when the network element generates an alarm, the OAM stores the alarm generated by the network element into the database, the maintenance terminal reads the alarm information from the database, and the alarms are displayed on the terminal interface as activity alarms for the user to view. Therefore, the first alarm information to be deleted may include the second alarm information that is already stored in the database before the restarted network element is restarted, or the second alarm information that is already stored in the database before the active/standby switch is cleared.
Optionally, when the network element is not connected to the database, the OAM serializes the alarm and stores the serialized alarm in a local alarm file, where the part of the alarm is referred to as first historical alarm information, and after the part of the alarm is reconnected to the database, stores the first historical alarm information in the database, and deletes the local database file. Therefore, the first alarm information that needs to be deleted may include first historical alarm information stored locally at the network element.
Optionally, after the active-standby switching, after the network element changes from the original standby device to the master device, the local history alarm file of the new master device (that is, the network element) is empty, and it is not necessary to clear, but only the second history alarm information locally stored on the original master device before the active-standby switching needs to be cleared.
Optionally, the method further comprises:
under the condition that the network element is the main equipment after the main equipment and the standby equipment are switched, second historical alarm information locally stored by the main equipment before the switching is obtained;
and storing the second historical alarm information to a database so that the maintenance terminal deletes the second historical alarm information.
Optionally, after the active/standby switching, and after the network element changes from the standby device to the main device, the local history alarm file of the new main device (i.e. the network element that sends the alarm clearing information) is empty and does not need to be cleared. Only the second historical alert information on the old master device needs to be cleared. The new main device can obtain second historical alarm information of the old main device (namely the current standby machine), reads all the second historical alarm information, changes all alarm states into historical alarms, stores the historical alarms into the database, reads the alarm information from the database when the maintenance terminal carries out timing alarm synchronization, checks that the alarm states are the second historical alarm information, does not display the second historical alarm information on a terminal interface, and only deletes the second historical alarm information in the database.
According to the alarm eliminating method provided by the invention, the restarted network element or the master device after the master-slave switching sends the alarm eliminating message to the maintenance terminal, so that the maintenance terminal eliminates the alarm information before the restarted network element is restarted or before the master-slave switching, the effectiveness of the alarm information displayed by the maintenance terminal is ensured, and the maintenance efficiency is improved.
Optionally, in an embodiment, fig. 3 is a third schematic flow diagram of the alarm elimination method provided by the present invention, as shown in fig. 3, after the network element is restarted, the OAM reports an alarm clearing message to the maintenance terminal, and when the message is received, the maintenance terminal clears the active alarm (the second alarm information) of the network element in the database by operating the database, and deletes the alarm before the network element displayed on the terminal interface; the network element reads the first history alarm information stored in the local, changes the type of the stored alarm state into the history alarm, stores the first history alarm information in the database, reads the first history alarm information from the database when the terminal interface synchronizes the alarm information at regular time, and the alarm maintenance terminal with the history alarm mark does not need to read the first history alarm information displayed on the terminal interface and only needs to delete the first history alarm information in the database.
Optionally, in an embodiment, after the network element changes from the standby device to the master device, the new master device (i.e., the network element that sent the alarm clearing information) uploads the alarm clearing message to the maintenance terminal, and the active alarm is cleared. The maintenance terminal receives the message, and removes the active alarm of the network element in the database by operating the database, and deletes the alarm before the network element displayed on the terminal interface. After the main/standby switching, and after the network element changes from the standby device to the main device, the local history alarm file of the new main device (i.e. the network element sending the alarm clearing information) is empty and does not need to be cleared. Only the second historical alarm information on the old master device needs to be cleared. The new main device can obtain the second historical alarm information of the old main device (namely the current standby device), read all the second historical alarm information, change the states of all alarms into the historical alarms, store the historical alarms in the database, read the alarm information from the database when the maintenance terminal regularly alarms synchronously, check that the alarm states are the second historical alarm information by the maintenance terminal, do not display the second historical alarm information on the terminal interface, and only need delete the second historical alarm information in the database.
For the generation and recovery of the network element alarm, the OAM can store the information into a database in real time, and a maintenance terminal reads the information and displays the alarm on a terminal interface, thereby being beneficial to a user or other maintenance personnel to analyze the current environment. However, if the network element is restarted or switched between the active and standby, the environment may be considered to be abnormal, and the alarm information at this time is not enough to be used as a reference basis for the subsequent abnormality. The invention eliminates the active alarm and the historical alarm, and then effectively analyzes the environment by checking the alarm, thereby ensuring the effective and rapid positioning of maintenance personnel when the environment is abnormal.
The following describes the alarm cancellation device provided by the present invention, and the alarm cancellation device described below and the alarm cancellation method described above may be referred to correspondingly.
Fig. 4 is a schematic structural diagram of an alarm removing apparatus provided in the present invention, and as shown in fig. 4, the apparatus 400 includes: a receiving module 410 and a receiving module 420; wherein:
the receiving module 410 is configured to receive an alarm clear message from a network element in a first state;
the deleting module 420 is configured to delete the first warning information based on the warning removal message, where the first warning information is generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or the master device after the master-slave switching.
It should be noted that, the apparatus provided in the present invention can implement all the method steps implemented by the method embodiments and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects of the present invention and the method embodiments are omitted here.
The alarm eliminating device provided by the invention clears the alarm information before restarting the restarted network element or the alarm information before switching the main equipment after receiving the alarm clearing message from the restarted network element or the main equipment after switching the main equipment, ensures the effectiveness of the alarm information displayed by the maintenance terminal and improves the maintenance efficiency.
Fig. 5 is a second schematic structural diagram of the alarm removing apparatus provided in the present invention, and as shown in fig. 5, the apparatus 500 includes: a sending module 510; wherein:
a sending module 510, configured to send an alarm clear message to a maintenance terminal when a network element is in a first state, where the alarm clear message is used to instruct the maintenance terminal to delete first alarm information, where the first alarm information is alarm information generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master-slave switching.
It should be noted that, the apparatus provided in the present invention can implement all the method steps implemented by the method embodiments and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects of the present invention and the method embodiments are omitted here.
The alarm eliminating device provided by the invention can clear the alarm information before the restarting of the restarted network element or the master-slave switching by the maintenance terminal by sending the alarm clearing message to the maintenance terminal, thereby ensuring the effectiveness of the alarm information displayed by the maintenance terminal and improving the maintenance efficiency.
Fig. 6 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 6: a processor (processor) 610, a communication Interface (Communications Interface) 620, a memory (memory) 630 and a communication bus 640, wherein the processor 610, the communication Interface 620 and the memory 630 communicate with each other via the communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to perform an alarm elimination method comprising: receiving an alarm clear message from a network element in a first state;
deleting first alarm information based on the alarm clear message, wherein the first alarm information is generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or the master device after the master-slave switching.
Or;
sending an alarm clearing message to a maintenance terminal under the condition that a network element is in a first state, wherein the alarm clearing message is used for indicating the maintenance terminal to delete first alarm information, and the first alarm information is generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master/slave switching.
In addition, the logic instructions in the memory 630 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer readable storage medium, and when the computer program is executed by a processor, the computer being capable of executing the alarm elimination method provided by the above methods, the method including: receiving an alarm clear message from a network element in a first state;
deleting first alarm information based on the alarm clear message, wherein the first alarm information is generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or the master device after the master-slave switching.
Or;
sending an alarm clearing message to a maintenance terminal under the condition that a network element is in a first state, wherein the alarm clearing message is used for indicating the maintenance terminal to delete first alarm information, and the first alarm information is generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master/slave switching.
In still another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the alarm elimination method provided by the above methods, the method including: receiving an alarm clear message from a network element in a first state;
deleting first alarm information based on the alarm clearing message, wherein the first alarm information is alarm information generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or the master device after the master-slave switching.
Or;
sending an alarm clearing message to a maintenance terminal under the condition that a network element is in a first state, wherein the alarm clearing message is used for indicating the maintenance terminal to delete first alarm information, and the first alarm information is generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master/slave switching.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (13)

1. An alarm cancellation method, comprising:
receiving an alarm clear message from a network element in a first state;
deleting first alarm information based on the alarm clear message, wherein the first alarm information is generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or, the master device after the master-slave switching.
2. The alarm cancellation method according to claim 1, wherein the first alarm information includes one or more of:
second alarm information already stored in the database;
first historical alarm information locally stored in the network element;
and second historical alarm information locally stored in the main equipment before the main/standby switching.
3. The alarm removing method according to claim 2, wherein the deleting the first alarm information based on the alarm clear message comprises:
deleting the second alarm information in the database;
and deleting the second alarm information in the display interface.
4. The alarm removing method according to claim 2, wherein the deleting the first alarm information based on the alarm clear message comprises:
after the network element stores the first historical alarm information in a database, deleting the first historical alarm information from the database;
and not displaying the first historical alarm information on a display interface.
5. The alarm removing method according to claim 2, wherein the deleting the first alarm information based on the alarm clear message comprises:
after the network element stores the second historical alarm information in a database, deleting the second historical alarm information from the database;
and not displaying the second historical alarm information on a display interface.
6. An alarm cancellation method, comprising:
sending an alarm clearing message to a maintenance terminal under the condition that a network element is in a first state, wherein the alarm clearing message is used for indicating the maintenance terminal to delete first alarm information, and the first alarm information is generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master-slave switching.
7. The alarm cancellation method according to claim 6, wherein the first alarm information includes one or more of:
second alarm information already stored in the database;
first historical alarm information locally stored in the network element;
and second historical alarm information locally stored in the main equipment before the main/standby switching.
8. The alarm cancellation method according to claim 7, wherein the method further comprises:
under the condition that the network element is the main equipment after the main equipment and the standby equipment are switched, second historical alarm information locally stored by the main equipment before the switching is obtained;
and storing the second historical alarm information to a database so that the maintenance terminal deletes the second historical alarm information.
9. An alarm cancellation apparatus, comprising:
a receiving module, configured to receive an alarm clearing message from a network element in a first state;
a deleting module, configured to delete first alarm information based on the alarm clear message, where the first alarm information is alarm information generated before the first state;
wherein the network element in the first state comprises at least one of:
a network element that has been restarted; or, the master device after the master-slave switching.
10. An alarm cancellation apparatus, comprising:
a sending module, configured to send an alarm clear message to a maintenance terminal when a network element is in a first state, where the alarm clear message is used to instruct the maintenance terminal to delete first alarm information, and the first alarm information is alarm information generated before the first state;
wherein the network element being in the first state comprises at least one of:
the network element is restarted; or, the network element is a master device after the master/slave switching.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the alarm cancellation method according to any one of claims 1 to 8 when executing the program.
12. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the alarm cancellation method of any one of claims 1 to 8.
13. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the alarm cancellation method of any one of claims 1 to 8.
CN202210594940.2A 2022-05-27 2022-05-27 Alarm elimination method and device Pending CN115150247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210594940.2A CN115150247A (en) 2022-05-27 2022-05-27 Alarm elimination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210594940.2A CN115150247A (en) 2022-05-27 2022-05-27 Alarm elimination method and device

Publications (1)

Publication Number Publication Date
CN115150247A true CN115150247A (en) 2022-10-04

Family

ID=83406465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210594940.2A Pending CN115150247A (en) 2022-05-27 2022-05-27 Alarm elimination method and device

Country Status (1)

Country Link
CN (1) CN115150247A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664759A (en) * 2012-05-02 2012-09-12 大唐移动通信设备有限公司 Filtering method and equipment of non-stable alarm message
CN102882700A (en) * 2012-08-03 2013-01-16 中国科学院声学研究所 Warning information management method and device of network management system
CN105119748A (en) * 2015-08-28 2015-12-02 上海斐讯数据通信技术有限公司 Optical network unit alarm processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664759A (en) * 2012-05-02 2012-09-12 大唐移动通信设备有限公司 Filtering method and equipment of non-stable alarm message
CN102882700A (en) * 2012-08-03 2013-01-16 中国科学院声学研究所 Warning information management method and device of network management system
CN105119748A (en) * 2015-08-28 2015-12-02 上海斐讯数据通信技术有限公司 Optical network unit alarm processing method

Similar Documents

Publication Publication Date Title
CN107515796B (en) Equipment abnormity monitoring processing method and device
CN108809757B (en) System alarm method, storage medium and server
CN109194514B (en) Dual-computer monitoring method and device, server and storage medium
CN112506702B (en) Disaster recovery method, device, equipment and storage medium for data center
CN111385107B (en) Main/standby switching processing method and device for server
CN113742107A (en) Processing method for avoiding message loss in message queue and related equipment
CN114356499A (en) Kubernetes cluster alarm root cause analysis method and device
CN111010318A (en) Method and system for discovering loss of connection of terminal equipment of Internet of things and equipment shadow server
CN110417586A (en) Service monitoring method, service node, server and computer readable storage medium
CN102957623A (en) Maintenance method and equipment of neighborhood of border gate protocol
CN106487597A (en) A kind of service monitoring system and method based on Zookeeper
CN113285840B (en) Storage network fault root cause analysis method and computer readable storage medium
CN103812697A (en) Remote disaster recovery method and remote disaster recovery system of distributed communication network
CN115150247A (en) Alarm elimination method and device
CN111628903B (en) Monitoring method and monitoring system for transaction system running state
CN116185697B (en) Container cluster management method, device and system, electronic equipment and storage medium
CN111062503B (en) Power grid monitoring alarm processing method, system, terminal and storage medium
CN110224872B (en) Communication method, device and storage medium
CN112506738A (en) Data visualization processing method and device
CN110752972A (en) Network card state monitoring method, device, equipment and medium
CN115981950A (en) Monitoring alarm method, device, equipment and computer readable storage medium
CN112787868B (en) Information synchronization method and device
CN102664751A (en) Method and device for processing warning message
CN114757277A (en) Rail transit signal system alarm method, device, electronic equipment and storage medium
CN113271216B (en) Data processing method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination