WO2012037760A1 - Method, server and system for improving alarm processing efficiency - Google Patents

Method, server and system for improving alarm processing efficiency Download PDF

Info

Publication number
WO2012037760A1
WO2012037760A1 PCT/CN2010/079942 CN2010079942W WO2012037760A1 WO 2012037760 A1 WO2012037760 A1 WO 2012037760A1 CN 2010079942 W CN2010079942 W CN 2010079942W WO 2012037760 A1 WO2012037760 A1 WO 2012037760A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
information
processing
network element
server
Prior art date
Application number
PCT/CN2010/079942
Other languages
French (fr)
Chinese (zh)
Inventor
郭慧峰
张伟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012037760A1 publication Critical patent/WO2012037760A1/en

Links

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

Definitions

  • the present invention relates to the field of network management technologies, and in particular, to a method, a server, and a system for improving the efficiency of alarm processing in a network management system. Background technique
  • the core function of alarm management in the transport network management is to monitor, report, and store alarms from network element hardware devices or path nodes in real time.
  • the NE device detects a fault, it reports the alarm information to the NMS.
  • the alarm disappears to the NMS.
  • the NMS needs to process and display the alarm information in a timely manner.
  • the alarm management function in the network management system must ensure the accuracy and timeliness of the alarm information processing. For the alarms of the same network element, the alarm generation and alarm disappearance have timing requirements.
  • the network management system must first process the alarm generation information and then process the alarm disappearance information to ensure The accuracy of the alarm information processing of the network management system.
  • the traditional method for processing alarm information is serial processing. This method can meet the processing requirements when the alarm amount is small.
  • the network management scale continues to expand, there are thousands of devices in the network management, and the amount of alarm data to be processed. It is very large, and the new generation of network management requires that the current alarm data and historical alarm data are required to enter the network management database, thereby increasing the proportion of interaction with the database in the alarm processing flow, and the traditional serial processing method is bound to cause delay in alarm processing. Increased, the alarm processing efficiency is reduced, and the user's high performance requirements for the network management system cannot be met. Summary of the invention
  • the main purpose of the present invention is to provide a method, a server and a system for improving the efficiency of alarm processing, which are intended to improve the processing efficiency of alarms in the network management system.
  • the present invention provides a method for improving the efficiency of alarm processing, including:
  • the alarm information carrying the identifier of the network element is periodically received, and the alarm information is sequentially placed in the alarm queue to be processed according to the sequence of reporting the alarm information; Performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information.
  • the step of performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information includes:
  • the alarm information of all the remaining alarms in the current alarm queue is taken out to form an alarm processing task, which is dispatched to the worker thread i; and returns to the preset n working threads.
  • the worker thread i is busy, the next alarm information in the current pending alarm queue is accessed, and the network element identifier carried in the alarm information is divided by n to obtain the remainder i.
  • the step of performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information further includes:
  • the execution step is suspended after the predetermined time.
  • the first alarm information in the current pending alarm queue is accessed.
  • the step of performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information further includes: the alarm processing of the dispatched by the worker thread i The task is handled by itself;
  • the step of the i-number worker thread processing the scheduled alarm processing task includes: batch processing alarm generation information of all corresponding network elements before the first alarm disappearance information of each network element in the current alarm processing task;
  • the processed alarm disappearance information is deleted from the current alarm processing task, and the processed alarm disappearance message is entered into the network management database; and all corresponding to the first alarm disappearance information of each network element in the batch current alarm processing task is returned.
  • the present invention provides a server for improving the efficiency of alarm processing, including:
  • the receiving module is configured to: periodically receive the alarm information carrying the network element identifier, and place the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information; the alarm batch processing module is set as follows: The network element identifier and the predetermined rule carried in the alarm information perform parallel thread batch processing on the alarm information in the to-be-processed alarm queue.
  • the alarm batch module includes:
  • An access unit configured to: access the first alarm information in the current pending alarm queue when there is an idle working thread among the preset n working threads; and access the current pending alarm when the worker thread i is busy The next alarm information in the queue;
  • a computing unit configured to: divide the network element identifier carried in the alarm information by n, to obtain a remainder i;
  • a determining unit configured to: determine whether the worker thread i is idle;
  • the thread scheduling processing unit is configured to: when the worker thread i is idle, the alarm information of all the remaining alarm queues in the current alarm queue is taken out to form an alarm processing task, and is scheduled to be processed by the worker thread i.
  • the thread scheduling processing unit is further configured to: suspend the predetermined time when none of the preset n working threads are idle.
  • the thread scheduling processing unit includes:
  • the batch processing unit is configured to: batch process alarm generation information of all corresponding network elements before the first alarm disappearing information of each network element in the current alarm processing task; and batch processing the first network element in the current alarm processing task
  • the alarm disappearing information of all corresponding network elements before the alarm generates information
  • the sub-unit is deleted, and is set to: delete the processed alarm generation information from the current alarm processing task; and delete the processed alarm disappearance information from the current alarm processing task.
  • the present invention also provides a system for improving the efficiency of alarm processing, including a slave alarm server and a primary alarm server;
  • the slave alarm server is configured to: receive the alarm information that is sent by the network element and carry the identifier of the network element, perform data conversion and classification processing on the alarm information, and report the alarm information to the primary alarm server periodically;
  • the primary alarm server is configured to: periodically receive the alarm information, and put the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information, according to the network element identifier and the predetermined rule carried by the alarm information.
  • Parallel thread batch processing is performed on the alarm information in the alarm queue.
  • the primary alarm server is a server as described above.
  • the present invention provides a method, a server, and a system for improving the efficiency of alarm processing.
  • the master-slave alarm server collects alarm information by using a predetermined time delay (usually preset to 1 second), and then sends the alarm information to the primary alarm server in batches.
  • the batch processing capability of the main alarm server is enhanced.
  • the multi-thread parallel processing is implemented according to the predetermined rule in the main alarm server, which greatly improves the parallelism of the alarm processing and improves the processing efficiency of the network management alarm.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for improving alarm processing efficiency according to the present invention
  • FIG. 2 is a schematic flowchart of a parallel thread batch processing for processing alarm information in an alarm queue according to an identifier and a predetermined rule according to an embodiment of the present invention.
  • FIG. 3 is a method for improving alarm processing efficiency according to the present invention. A specific process diagram of processing the alarm processing task by the worker thread i in an embodiment;
  • FIG. 4 is a schematic structural diagram of an embodiment of a server for improving alarm processing efficiency according to the present invention
  • FIG. 5 is a schematic structural diagram of an alarm batch processing module in an embodiment of a server for improving alarm processing efficiency according to the present invention
  • FIG. 6 is a schematic structural diagram of a thread scheduling processing unit in an embodiment of a server for improving alarm processing efficiency according to the present invention
  • FIG. 7 is a schematic structural diagram of an embodiment of a system for improving alarm processing efficiency according to the present invention.
  • the solution of the embodiment of the present invention mainly performs parallel thread batch processing on the alarm information of >3 ⁇ 4 on the network element according to the preset working thread and the identifier of each network element.
  • the present invention can be applied to a network system that needs to process alarm information, such as a network management system.
  • a network management system such as a network management system.
  • the following is a description of the technical solution of the present invention by applying the present invention to a network management system, but is not limited to the case of being applied to a network management system.
  • an embodiment of the present invention provides a method for improving the efficiency of alarm processing, including: Step S101: periodically receiving an alarm message carrying a network element identifier, and sequentially, according to the sequence of reporting the alarm information, Put in the pending alarm queue;
  • the method operating environment of the embodiment includes a slave alarm server and a master alarm server that performs parallel thread processing on the alarm information, wherein the slave alarm server can receive the alarm device through the network management adapter (referred to as the network element in this embodiment, hereinafter referred to as The alarm information reported by the network element is used by the network management adapter to convert the alarm data reported by the network element into a packet that can be recognized by the network management system, and then report it to the secondary alarm server.
  • the network management adapter referred to as the network element in this embodiment, hereinafter referred to as
  • the alarm information reported by the network element is used by the network management adapter to convert the alarm data reported by the network element into a packet that can be recognized by the network management system, and then report it to the secondary alarm server.
  • the alarm server classifies each alarm information in the order in which the alarm information is reported in the order of the alarm information.
  • the alarm information is divided into alarm generation information and alarm disappearance information.
  • the alarm type server is affixed with a processing type label for each alarm information.
  • the alarm information ME ⁇ l ⁇ ANew is ALARM_NEW, which indicates that the alarm generation information of the network element 1 is reported
  • ME ⁇ l ⁇ BClear It is ALARM-CLEAR, which indicates that the alarm disappearing information of NE 1 is reported.
  • the number in parentheses indicates the unique identifier of the NE in the NMS, and the letters A, B, and C represent the identifier of the alarm information.
  • every once in a while (this time can be preset, usually 1 second), will be collected from the alarm server
  • the alarm information is reported to the primary alarm server in batches.
  • the alarm information is collected from the alarm server for a period of time delay, and the purpose is to enhance the ability of the main alarm server to process the alarm information in batches.
  • the primary alarm server is configured with a pending alarm queue, which is used to receive the alarm information to be processed, which is reported in batches from the alarm server. After receiving the alarm information carrying the identifier of the network element, the primary alarm server puts the alarm information into the alarm queue to be processed in the order in which the alarm information is reported.
  • Step S102 Perform parallel thread batch processing on the alarm information to be processed in the alarm queue according to the network element identifier and the predetermined rule carried in the alarm information.
  • the alarm information generated or disappeared by the same network element has a timing requirement, but the alarm information of different network elements has no timing requirement, so only the alarm information of the same network element is guaranteed.
  • the timing requirements can be met, and the alarm information of different network elements can be multi-threaded to improve the alarm processing efficiency.
  • the n-th worker thread (the worker thread No. 0, the worker thread No. 1 ... the worker thread n-1) can be pre-configured to execute the alarm processing task in parallel, and set one.
  • the special scheduling thread executes module A, which is used to construct an alarm processing task from the buffer area, and dispatches each alarm processing task to n working threads for processing.
  • the predetermined rule is to determine, by using the correspondence between the network element identifier and the number n of the set working threads, which one of the n working threads is to process the alarm information of the network element, and the alarm information belongs to the network.
  • the categorization is performed by using the unique identifier of the network element.
  • the foregoing predetermined rule may be: if the remainder of the network element identifier divided by n is represented by i, the alarm information of the network element is fixed to work at i. Thread processing.
  • the process of batch processing alarm information of the primary alarm server is shown in Figure 2.
  • step S102 specifically includes:
  • Step S1021 determining whether the number of alarm information in the alarm queue to be processed is 0, and if yes, proceeding to step S1029; otherwise, proceeding to step S1022;
  • Step S1022 determining whether there are idle working threads among the preset n working threads, and if so, Then proceeds to step S1023; otherwise, proceeds to step S1029;
  • Step S1023 Access the first alarm information in the current pending alarm queue.
  • Step S1024 Dividing the identifier of the network element carried in the alarm information by n to obtain a remainder i; i is any integer of 0 ⁇ -1.
  • Step S1025 determining whether the worker thread of the i line is idle, if yes, proceeding to step S1026; otherwise, proceeding to step S1027;
  • Step S1026 The alarm information of all the remaining numbers in the current pending queue is taken out to form an alarm processing task, and is scheduled to be processed by the i worker thread; and the process returns to step S1021;
  • Step S1027 determining whether there is a next alarm message, if yes, proceeding to step S1028; otherwise, proceeding to step S1029;
  • Step S1028, accessing the next alarm information in the current pending alarm queue, and proceeding to step S1024;
  • step S1029 the predetermined time is suspended, and the process returns to step S1021.
  • step S1026 specifically includes:
  • Step S10261 determining whether the number of alarm information in the current alarm processing task is 0, and if so, ending the process; otherwise, proceeding to step S10262;
  • Step S10262 batch processing alarm generation information of all corresponding network elements before the first alarm disappearing information of each network element in the current alarm processing task;
  • Step S10263 Delete the processed alarm generation information from the current alarm processing task, and enter the processed alarm generation information into the network management database;
  • Step S10264 Batch process the alarm disappearance information of all the corresponding network elements before the first alarm generation information of each network element in the current alarm processing task; In this step, all the alarm disappearance information of the network element before the first alarm generation information corresponding to each network element in the current alarm processing task is taken out, and all the removed alarm disappearance information is formed into a batch for processing. .
  • the current alarm processing task in this step includes all current unprocessed alarm information in the worker thread.
  • Step S10265 Delete the processed alarm disappearance information from the current alarm processing task, and enter the processed alarm disappearance information into the network management database; and return to step S10262.
  • the alarm generation information when the working thread processes the alarm information in an alarm processing task, since the alarm generation and disappearance have timing requirements, the alarm generation information must be processed first and then the alarm disappearance information is processed, so the alarm processing is performed.
  • the alarm information in the task must be processed serially.
  • the alarm generation information and the alarm disappearance information are processed in batches, and the processing is performed according to the alarm generation -> alarm disappearance -> alarm generation -> alarm disappearance loop execution until all alarm information It is processed.
  • the batch processing of the alarm information should include alarm data as much as possible.
  • the current network management manages four devices (that is, the network element in this embodiment), which are ME ⁇ 1 ⁇ , ME ⁇ 2 ⁇ , ME ⁇ 3 ⁇ , and ME ⁇ 4 ⁇ , respectively, where the numbers in parentheses indicate the network management of the device.
  • ID which is the unique identifier of the device in the network management.
  • Three main working threads are set to process the alarm information in parallel in the main alarm server, which are Thread0.
  • Threadl and Thread2 A special scheduling thread execution module A is set in the main alarm server.
  • the network management ID of ME ⁇ 1 ⁇ is 1 and 1%3 is equal to 1. Therefore, the alarm information of ME ⁇ 1 ⁇ is processed by the thread Thread1, and the network management ID of ME ⁇ 2 ⁇ is 2, 2%3 is equal to 2. Therefore, the alarm information of ME ⁇ 2 ⁇ is processed in the thread Thread2, and so on, the alarm information of ME ⁇ 1 ⁇ and ME ⁇ 4 ⁇ can be processed in the thread Thread1, and the alarm information of ME ⁇ 2 ⁇ is in Thread2. No. worker thread processing, ME ⁇ 3 ⁇ alarm information is processed in the ThreadO worker thread.
  • ME ⁇ 2 ⁇ reported two alarm messages: ME ⁇ 2 ⁇ ANew, Me ⁇ 2 ⁇ BNew;
  • 10:35:20:175 means a certain moment, which means 10:35:20, 175 milliseconds.
  • ME ⁇ l ⁇ Anew indicates that the alarm information belongs to the ME ⁇ 1 ⁇ device
  • A is the identifier of the alarm information
  • New indicates that the new alarm generation information
  • ME ⁇ l ⁇ BClear indicates that the alarm information belongs to the ME ⁇ 1 ⁇ device
  • B is The identifier of the alarm information
  • Clear indicates that the alarm disappears. The names of other alarm messages are interpreted accordingly.
  • the above alarm information is reported to the slave alarm server.
  • the order of reporting is in the order in which the alarms are generated: ME ⁇ l ⁇ ANew, ME ⁇ l ⁇ BClear, ME ⁇ l ⁇ CNew, ME ⁇ 2 ⁇ ANew, Me ⁇ 2 ⁇ BNew, ME ⁇ 3 ⁇ AClear, ME ⁇ 4 ⁇ ANew, ME ⁇ 4 ⁇ BNew, ME ⁇ 4 ⁇ CClear.
  • the alarm server sends a batch alarm information to the main alarm server every 1 second, assuming that the slave alarm server is at 10:35:20 last time.
  • the batch alarm information sent at time:000, the time delay of 1 second is delayed to 10:35:21:000, and the newly reported alarm information is reported to the main alarm server from the alarm server, that is, ME ⁇ l ⁇ ANew, ME ⁇ l ⁇ BClear, ME ⁇ l ⁇ CNew, ME ⁇ 2 ⁇ ANew, Me ⁇ 2 ⁇ BNew, ME ⁇ 3 ⁇ AClear, ME ⁇ 4 ⁇ ANew, ME ⁇ 4 ⁇ BNew, ME ⁇ 4 ⁇ CClear - send Give the primary alarm server.
  • the alarm server sends the alarm information to the alarm queue to be processed according to the sequence of the alarm information. Therefore, the current alarm queue to be processed is:
  • the scheduling thread executing module A which is responsible for task scheduling, performs task scheduling on the to-be-processed alarm information to be processed in the alarm queue.
  • the scheduling process is as follows: 1. Traversing all the alarm information in the queue, and discovering that the ME ⁇ l ⁇ Anew alarm information belongs to the ME ⁇ 1 ⁇ network element. According to the predetermined rule, 1%3 is equal to 1, and the alarm should be processed in the Thread1 working thread, and if If the Thread1 is idle, the alarm information of all the NMS IDs in the queue divided by 3 is taken out to form an alarm processing task, which is scheduled to be processed in Thread1.
  • the alarm information included in the alarm processing task includes ⁇ ME ⁇ l ⁇ .
  • the remaining alarm information in the primary alarm server includes ⁇ ME ⁇ 2 ⁇ Anew, Me ⁇ 2 ⁇ BNew, and ME ⁇ 3 ⁇ AClear ⁇ .
  • the scheduling thread executes module A and then accesses the first alarm information in the remaining alarm information.
  • the ME ⁇ 2 ⁇ Anew alarm belongs to the ME ⁇ 2 ⁇ network element. According to the predetermined rule, 2%3 is equal to 2, and the alarm is generated.
  • the information should be processed in the Thread2 worker thread. If Thread2 is idle, the alarm information of all the network management IDs in the queue divided by 3 is taken out to form an alarm processing task, which is dispatched to Thread2 for processing.
  • the alarm information contained in the processing task includes ⁇ ME ⁇ 2 ⁇ Anew, ME ⁇ 2 ⁇ BNew ⁇ .
  • the remaining alarm information in the primary alarm server includes ⁇ ME ⁇ 3 ⁇ AClear ⁇
  • the scheduling thread execution module A accesses the first alarm information in the remaining alarm information, and obtains: ME ⁇ 3 ⁇
  • the AClear alarm information belongs to the ME ⁇ 3 ⁇ network element, and according to the predetermined rule, 3%3 is equal to 0, and the alarm information is It should be processed in the ThreadO working thread, and if ThreadO is idle at this time, the alarm information of all network element IDs divided by 3 is taken out to form an alarm processing task, which is dispatched to ThreadO for processing.
  • the alarm information contained in it includes ⁇ ME ⁇ 3 ⁇ AClear ⁇ . At this time, the remaining alarm information in the primary alarm server is empty.
  • the alarm queue to be processed is empty, then pause for 1 second, and then continue to traverse the alarm information for scheduling.
  • the above-mentioned alarm processing mode can achieve the maximum parallel processing effect on the batch alarm information.
  • the alarm processing tasks received by the ThreadO worker thread include the following alarm messages: ⁇ ME ⁇ l ⁇ Anew, ME ⁇ l ⁇ BClear, ME ⁇ l ⁇ CNew, ME ⁇ 4 ⁇ Anew, ME ⁇ 4 ⁇ BNew, ME ⁇ 4 ⁇ CClear ⁇ .
  • the batch alarm generates a message.
  • the alarm generation information before the first alarm corresponding to the NE disappears is taken out for batch processing.
  • the first alarm disappearing information of ME ⁇ 1 ⁇ is ME ⁇ l ⁇ BClear, which will be ME ⁇ 1 ⁇ before ME ⁇ l ⁇ BClear
  • the alarm generation information is taken out for processing, that is, ME ⁇ l ⁇ Anew can be taken out
  • the first alarm disappearing information of ME ⁇ 4 ⁇ is ME ⁇ 4 ⁇ CClear, and ME ⁇ 4 ⁇ before ME ⁇ 4 ⁇ CClear
  • the alarm generation information is taken out, and ME ⁇ 4 ⁇ Anew and ME ⁇ 4 ⁇ BNew are taken out, and finally an execution queue ⁇ ME ⁇ l ⁇ Anew, ME ⁇ 4 ⁇ Anew and ME ⁇ 4 ⁇ BNew ⁇ is formed and batched.
  • the alarm information in the execution queue is deleted in the alarm processing task, and the alarm data is sent to the network management database.
  • the batch alarm disappears.
  • the alarm information in the alarm processing task remains ⁇ ME ⁇ l ⁇ BClear, ME ⁇ l ⁇ CNew, ME ⁇ 4 ⁇ CClear ⁇ .
  • the alarm disappearance information before the first alarm generation information corresponding to all the NEs in the current alarm processing task is taken out and batch processing is performed.
  • the first alarm generation information of ME ⁇ 1 ⁇ is ME ⁇ l ⁇ CNew, and the alarm disappearance information of ME ⁇ 1 ⁇ before ME ⁇ 1 ⁇ CNew is taken out, that is, ME ⁇ l ⁇ BClear is taken out; ME ⁇ 4 ⁇ has If no alarm is generated, all the alarm disappearance information of the network element is taken out, and ME ⁇ 4 ⁇ CClear is taken out.
  • an execution queue ⁇ ME ⁇ l ⁇ BClear, ME ⁇ 4 ⁇ CClear ⁇ is formed, after batch processing, The alarm information in the execution queue is deleted in the alarm processing task, and the processed alarm data is entered into the network management database.
  • this alarm processing task serially executes the following batches of alarm information:
  • each alarm processing batch contains as many alarms as possible to the maximum extent, and the batch processing of the alarm information is maximized. ability.
  • this embodiment Compared with the traditional alarm processing method, this embodiment has the following advantages:
  • an embodiment of the present invention provides a server, a package for improving alarm processing efficiency.
  • the receiving module 401 is configured to periodically receive the alarm information carrying the network element identifier, and sequentially put the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information;
  • the alarm information includes alarm generation information or alarm disappearance information.
  • the alarm batch processing module 402 is configured to perform parallel thread batch processing on the alarm information to be processed in the alarm queue according to the network element identifier and the predetermined rule carried in the alarm information.
  • the receiving module 401 periodically receives the reported batch alarm information, and the batch alarm information is reported by the alarm network element to the network management adapter, and after the data is converted by the network management adapter, the alarm information is sent to the slave alarm server for classification. It is reported to the main alarm server receiving module 401 in batches from the alarm server timing (every predetermined time, usually 1 second).
  • the alarm information is collected from the alarm server for a period of time delay, and the purpose is to enhance the ability of the main alarm server to process the alarm information in batches.
  • the primary alarm server is configured with a pending alarm queue, which is used to receive the alarm information to be processed, which is reported in batches from the alarm server.
  • the primary alarm server receiving module 401 After receiving the alarm information carrying the network element identifier, the primary alarm server receiving module 401 sequentially puts the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information.
  • the alarm information generated or disappeared by the same network element has a timing requirement, but the alarm information of different network elements has no timing requirement, so only the alarm information of the same network element is guaranteed.
  • the timing requirements can be met, and the alarm information of different network elements can be multi-threaded to improve the alarm processing efficiency.
  • the n working threads (the working thread No. 0, the working thread No. 1 ... the working thread n-1) can be pre-set to perform alarm processing in parallel.
  • the task, and set a special scheduling thread execution module A is used to construct an alarm processing task from the buffer area, and dispatch each alarm processing task to n working threads for processing.
  • the predetermined rule is to determine, by using the correspondence between the network element identifier and the number n of the set working threads, which one of the n working threads is to process the alarm information of the network element, and the alarm information belongs to the network.
  • the element is classified, and is specifically classified by the unique identifier of the network element.
  • the foregoing predetermined rule may be: if the remainder of the network element identifier divided by n is represented by i, the advertisement of the network element is set.
  • the police information is fixed in the i worker thread.
  • the alarm batch processing module 402 includes: an access unit 4021, a computing unit 4022, a determining unit 4023, and a thread scheduling processing unit 4024;
  • the access unit 4021 is configured to: when an idle working thread is included in the preset n working threads, access the first alarm information in the current pending alarm queue; and when the worker thread i is busy, access the current pending alarm queue. The next alarm message;
  • the calculating unit 4022 is configured to divide the network element identifier carried by the alarm information by n to obtain a remainder i;
  • the determining unit 4023 is configured to determine whether the worker thread i is idle;
  • the thread scheduling processing unit 4024 is configured to: when the worker thread i is idle, remove the alarm information of all the remaining alarms in the current alarm queue to form an alarm processing task, and schedule the processing to the i-th worker thread for processing.
  • the thread scheduling processing unit 4024 is further configured to suspend the predetermined time when none of the preset n working threads are idle.
  • the thread scheduling processing unit 4024 includes:
  • the batch processing unit 40241 is configured to batch the alarm generation information of all the corresponding network elements before the first alarm disappearing information of each network element in the current alarm processing task; and batch processing the first alarm of each network element in the current alarm processing task
  • the deleting subunit 40242 is configured to delete the processed alarm generating information from the current alarm processing task; and delete the processed alarm disappearing information from the current alarm processing task.
  • an embodiment of the present invention provides a system for improving alarm processing efficiency, including: a slave alarm server 701 and a master alarm server 702;
  • the alarm server 701 is configured to receive the alarm information that is sent by the network element and carries the identifier of the network element, and performs data conversion and classification processing on the alarm information, and then reports the alarm information to the main alarm server 702.
  • the main alarm server 702 is configured to receive the alarm periodically. Information, according to the alarm information The sequence of the information reporting is sequentially placed in the alarm queue to be processed, and the alarm information in the alarm queue is subjected to parallel thread batch processing according to the network element identifier and the predetermined rule carried in the alarm information.
  • the primary alarm server 702 is the server described in the above embodiment.
  • the embodiment of the present invention collects alarm information by using a predetermined time delay (usually preset to 1 second) by the master-slave alarm server, and then sends the alarm information to the main alarm server in batches, thereby enhancing the batch processing capability of the main alarm server;
  • the multi-thread parallel processing is implemented according to the predetermined rule, which greatly improves the parallelism of the alarm processing and improves the processing efficiency of the network management alarm.
  • the present invention provides a method, a server, and a system for improving the efficiency of alarm processing.
  • the master-slave alarm server collects alarm information by using a predetermined time delay (usually preset to 1 second), and then sends the alarm information to the primary alarm server in batches.
  • the batch processing capability of the main alarm server is enhanced.
  • the multi-thread parallel processing is implemented according to the predetermined rule in the main alarm server, which greatly improves the parallelism of the alarm processing and improves the processing efficiency of the network management alarm.

Abstract

A method, server and system for improving alarm processing efficiency are disclosed by the present invention, wherein the method includes: alarm information carrying network element identifiers is received at certain time, and on the basis of the order of reporting the alarm information, the alarm information is orderly put into an alarm queue to be processed; the alarm information includes alarm generation information or alarm clear information; the alarm information in the alarm queue to be processed is batch-processed with parallel-thread on the basis of the network element identifiers carried in the alarm information and on the basis of a preset rule. With the present invention, the slave alarm server uses a preset time delay to collect the alarm information, and then transmits the alarm information to the master alarm server in batch, thus the batch-processing ability of the master alarm server is enhanced; meanwhile, in the master alarm server, multi-threading batch-processing is realized on the basis of the preset rule to greatly improve the parallelism for alarm processing, thus the alarm processing efficiency of network management is improved.

Description

提升告警处理效率的方法、 服务器及系统  Method, server and system for improving alarm processing efficiency
技术领域 Technical field
本发明涉及网络管理技术领域, 尤其涉及一种应用于网管系统中的提升 告警处理效率的方法、 服务器及系统。 背景技术  The present invention relates to the field of network management technologies, and in particular, to a method, a server, and a system for improving the efficiency of alarm processing in a network management system. Background technique
目前, 传输网管中告警管理的核心功能是对来自网元硬件设备或路径结 点的告警进行实时监控、 报告和存储。 当网元设备检测到故障后, 上报告警 产生信息给网管, 当故障恢复后, 上报告警消失信息给网管, 网管需对这些 告警信息进行及时处理并展现。  Currently, the core function of alarm management in the transport network management is to monitor, report, and store alarms from network element hardware devices or path nodes in real time. When the NE device detects a fault, it reports the alarm information to the NMS. When the fault is rectified, the alarm disappears to the NMS. The NMS needs to process and display the alarm information in a timely manner.
网管系统中的告警管理功能必须保证告警信息处理的准确性与及时性, 对于同一网元的告警, 其告警产生与告警消失具有时序要求, 网管必须先处 理告警产生信息再处理告警消失信息才能保证网管系统告警信息处理的准确 性。  The alarm management function in the network management system must ensure the accuracy and timeliness of the alarm information processing. For the alarms of the same network element, the alarm generation and alarm disappearance have timing requirements. The network management system must first process the alarm generation information and then process the alarm disappearance information to ensure The accuracy of the alarm information processing of the network management system.
传统处理告警信息的方法为串行处理方式, 该方法在告警量小时可满足 处理需求, 但是, 随着网络管理规模的不断扩大, 网管中的设备多达几千台, 需要处理的告警数据量很大, 而且新一代的网管要求当前告警数据和历史告 警数据均需入网管数据库, 由此使得告警处理流程中与数据库的交互比例增 大, 而传统的串行处理方式势必造成告警处理的延迟加大, 降低了告警处理 效率, 不能满足用户对网管系统高性能的需求。 发明内容  The traditional method for processing alarm information is serial processing. This method can meet the processing requirements when the alarm amount is small. However, as the network management scale continues to expand, there are thousands of devices in the network management, and the amount of alarm data to be processed. It is very large, and the new generation of network management requires that the current alarm data and historical alarm data are required to enter the network management database, thereby increasing the proportion of interaction with the database in the alarm processing flow, and the traditional serial processing method is bound to cause delay in alarm processing. Increased, the alarm processing efficiency is reduced, and the user's high performance requirements for the network management system cannot be met. Summary of the invention
本发明的主要目的在于提供一种提升告警处理效率的方法、 服务器及系 统, 旨在提升网管系统中告警的处理效率。  The main purpose of the present invention is to provide a method, a server and a system for improving the efficiency of alarm processing, which are intended to improve the processing efficiency of alarms in the network management system.
本发明提出一种提升告警处理效率的方法, 包括:  The present invention provides a method for improving the efficiency of alarm processing, including:
定时接收携带有网元标识符的告警信息, 将所述告警信息按照该告警信 息上报的先后顺序依次放入待处理告警队列; 以及 根据所述告警信息携带的网元标识符及预定规则对所述待处理告警队列 中的告警信息进行并行线程批处理。 The alarm information carrying the identifier of the network element is periodically received, and the alarm information is sequentially placed in the alarm queue to be processed according to the sequence of reporting the alarm information; Performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information.
优选地, 所述根据告警信息携带的网元标识符及预定规则对所述待处理 告警队列中的告警信息进行并行线程批处理的步骤包括:  Preferably, the step of performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information includes:
当预设的 n个工作线程中有空闲工作线程时, 访问当前待处理告警队列 中的第一条告警信息;  When there is an idle working thread among the preset n working threads, accessing the first alarm information in the current pending alarm queue;
将该条告警携带的网元标识符除以 n, 得到余数 i;  Dividing the identifier of the network element carried by the alarm by n to obtain the remainder i;
判断 i号工作线程是否空闲;  Determine whether the worker thread i is idle;
若 i号工作线程空闲,则将当前待处理告警队列中所有余数为 i的告警信 息取出, 构成一告警处理任务, 调度至 i号工作线程; 并返回所述当预设的 n个工作线程中有空闲工作线程时, 访问当前待处理告警队列中的第一条告 警信息的步骤;  If the worker thread i is idle, the alarm information of all the remaining alarms in the current alarm queue is taken out to form an alarm processing task, which is dispatched to the worker thread i; and returns to the preset n working threads. The step of accessing the first alarm information in the current pending alarm queue when there is an idle working thread;
若 i号工作线程忙, 则访问当前待处理告警队列内下一条告警信息, 并 返回所述将该条告警信息携带的网元标识符除以 n, 得到余数 i的步骤。  If the worker thread i is busy, the next alarm information in the current pending alarm queue is accessed, and the network element identifier carried in the alarm information is divided by n to obtain the remainder i.
优选地, 所述根据告警信息携带的网元标识符及预定规则对所述待处理 告警队列中的告警信息进行并行线程批处理的步骤还包括:  Preferably, the step of performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information further includes:
当预设的 n个工作线程均无空闲时, 暂停预定时间后执行步骤当预设的 n个工作线程中有空闲工作线程时, 访问当前待处理告警队列中的第一条告 警信息。  When the preset n working threads are not idle, the execution step is suspended after the predetermined time. When there are idle working threads among the preset n working threads, the first alarm information in the current pending alarm queue is accessed.
优选地, 所述根据告警信息携带的网元标识符及预定规则对所述待处理 告警队列中的告警信息进行并行线程批处理的步骤还包括, 所述 i号工作线 程对调度来的告警处理任务自行处理;  Preferably, the step of performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information further includes: the alarm processing of the dispatched by the worker thread i The task is handled by itself;
所述 i号工作线程对调度来的告警处理任务自行处理的步骤包括: 批处理当前告警处理任务中各网元第一个告警消失信息之前的所有对应 网元的告警产生信息;  The step of the i-number worker thread processing the scheduled alarm processing task includes: batch processing alarm generation information of all corresponding network elements before the first alarm disappearance information of each network element in the current alarm processing task;
将处理过的告警产生信息从当前告警处理任务中删除, 将处理过的告警 产生消息入网管数据库; 批处理当前告警处理任务中各网元第一个告警产生信息之前的所有对应 网元的告警消失信息; 以及 Deleting the processed alarm generation information from the current alarm processing task, and generating the processed alarm generation message into the network management database; Batching the alarm disappearance information of all corresponding NEs before the first alarm generation information of each network element in the current alarm processing task;
将处理过的告警消失信息从当前告警处理任务中删除, 将处理过的告警 消失消息入网管数据库; 并返回所述批处理当前告警处理任务中各网元第一 个告警消失信息之前的所有对应网元的告警产生信息的步骤。  The processed alarm disappearance information is deleted from the current alarm processing task, and the processed alarm disappearance message is entered into the network management database; and all corresponding to the first alarm disappearance information of each network element in the batch current alarm processing task is returned. The step of generating alarms by the alarm of the NE.
本发明提出一种提升告警处理效率的服务器, 包括:  The present invention provides a server for improving the efficiency of alarm processing, including:
接收模块, 其设置为: 定时接收携带有网元标识符的告警信息, 将所述 告警信息按照该告警信息上报的先后顺序依次放入待处理告警队列; 告警批 处理模块, 其设置为: 根据所述告警信息携带的网元标识符及预定规则对所 述待处理告警队列中的告警信息进行并行线程批处理。  The receiving module is configured to: periodically receive the alarm information carrying the network element identifier, and place the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information; the alarm batch processing module is set as follows: The network element identifier and the predetermined rule carried in the alarm information perform parallel thread batch processing on the alarm information in the to-be-processed alarm queue.
优选地, 所述告警批处理模块包括:  Preferably, the alarm batch module includes:
访问单元, 其设置为: 当预设的 n个工作线程中有空闲工作线程时, 访 问当前待处理告警队列中的第一条告警信息; 以及当 i号工作线程忙时, 访 问当前待处理告警队列内下一条告警信息;  An access unit, configured to: access the first alarm information in the current pending alarm queue when there is an idle working thread among the preset n working threads; and access the current pending alarm when the worker thread i is busy The next alarm information in the queue;
计算单元, 其设置为: 将该条告警信息携带的网元标识符除以 n, 得到 余数 i;  a computing unit, configured to: divide the network element identifier carried in the alarm information by n, to obtain a remainder i;
判断单元, 其设置为: 判断 i号工作线程是否空闲; 以及  a determining unit, configured to: determine whether the worker thread i is idle;
线程调度处理单元, 其设置为: 当 i号工作线程空闲时, 将当前待处理 告警队列中所有余数为 i 的告警信息取出, 构成一告警处理任务, 调度至 i 号工作线程进行处理。  The thread scheduling processing unit is configured to: when the worker thread i is idle, the alarm information of all the remaining alarm queues in the current alarm queue is taken out to form an alarm processing task, and is scheduled to be processed by the worker thread i.
优选地, 所述线程调度处理单元还设置为: 当预设的 n个工作线程均无 空闲时, 暂停预定时间。 Preferably, the thread scheduling processing unit is further configured to: suspend the predetermined time when none of the preset n working threads are idle.
优选地, 所述线程调度处理单元包括:  Preferably, the thread scheduling processing unit includes:
批处理子单元, 其设置为: 批处理当前告警处理任务中各网元第一个告 警消失信息之前的所有对应网元的告警产生信息; 以及批处理当前告警处理 任务中各网元第一个告警产生信息之前的所有对应网元的告警消失信息; 以 及 删除子单元, 其设置为: 将处理过的告警产生信息从当前告警处理任务 中删除; 以及将处理过的告警消失信息从当前告警处理任务中删除。 The batch processing unit is configured to: batch process alarm generation information of all corresponding network elements before the first alarm disappearing information of each network element in the current alarm processing task; and batch processing the first network element in the current alarm processing task The alarm disappearing information of all corresponding network elements before the alarm generates information; The sub-unit is deleted, and is set to: delete the processed alarm generation information from the current alarm processing task; and delete the processed alarm disappearance information from the current alarm processing task.
本发明还提出一种提升告警处理效率的系统, 包括从告警服务器和主告 警服务器;  The present invention also provides a system for improving the efficiency of alarm processing, including a slave alarm server and a primary alarm server;
所述从告警服务器设置为: 接收网元发送的携带有所述网元标识符的告 警信息, 对所述告警信息进行数据转换以及分类处理后定时上报给主告警服 务器;  The slave alarm server is configured to: receive the alarm information that is sent by the network element and carry the identifier of the network element, perform data conversion and classification processing on the alarm information, and report the alarm information to the primary alarm server periodically;
所述主告警服务器设置为: 定时接收所述告警信息, 将所述告警信息按 照该告警信息上报的先后顺序依次放入待处理告警队列, 根据所述告警信息 携带的网元标识符及预定规则对所述告警队列中的告警信息进行并行线程批 处理。  The primary alarm server is configured to: periodically receive the alarm information, and put the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information, according to the network element identifier and the predetermined rule carried by the alarm information. Parallel thread batch processing is performed on the alarm information in the alarm queue.
优选地, 所述主告警服务器为如上所述的服务器。  Preferably, the primary alarm server is a server as described above.
本发明提出一种提升告警处理效率的方法、 服务器及系统, 通过主从告 警服务器使用预定的时间延迟(通常可以预设为 1秒)来收集告警信息, 然 后将告警信息批量送往主告警服务器, 增强了主告警服务器的批处理能力; 同时, 在主告警服务器中, 根据预定规则实现多线程并行处理, 大大提升了 告警处理的并行性, 提高了网管告警的处理效率。 附图概述 The present invention provides a method, a server, and a system for improving the efficiency of alarm processing. The master-slave alarm server collects alarm information by using a predetermined time delay (usually preset to 1 second), and then sends the alarm information to the primary alarm server in batches. The batch processing capability of the main alarm server is enhanced. At the same time, the multi-thread parallel processing is implemented according to the predetermined rule in the main alarm server, which greatly improves the parallelism of the alarm processing and improves the processing efficiency of the network management alarm. BRIEF abstract
图 1是本发明提升告警处理效率的方法一实施例流程示意图;  1 is a schematic flow chart of an embodiment of a method for improving alarm processing efficiency according to the present invention;
图 2是本发明提升告警处理效率的方法一实施例中根据标识符及预定规 则对待处理告警队列中的告警信息进行并行线程批处理的具体流程示意图; 图 3是本发明提升告警处理效率的方法一实施例中 i号工作线程对告警 处理任务进行处理的具体流程示意图;  2 is a schematic flowchart of a parallel thread batch processing for processing alarm information in an alarm queue according to an identifier and a predetermined rule according to an embodiment of the present invention. FIG. 3 is a method for improving alarm processing efficiency according to the present invention. A specific process diagram of processing the alarm processing task by the worker thread i in an embodiment;
图 4是本发明提升告警处理效率的服务器一实施例结构示意图; 图 5是本发明提升告警处理效率的服务器一实施例中告警批处理模块具 体结构示意图; 图 6是本发明提升告警处理效率的服务器一实施例中线程调度处理单元 具体结构示意图; 图 7是本发明提升告警处理效率的系统一实施例结构示意图。 4 is a schematic structural diagram of an embodiment of a server for improving alarm processing efficiency according to the present invention; FIG. 5 is a schematic structural diagram of an alarm batch processing module in an embodiment of a server for improving alarm processing efficiency according to the present invention; FIG. 6 is a schematic structural diagram of a thread scheduling processing unit in an embodiment of a server for improving alarm processing efficiency according to the present invention; FIG. 7 is a schematic structural diagram of an embodiment of a system for improving alarm processing efficiency according to the present invention.
为了使本发明的技术方案更加清楚、 明了, 下面将结合附图作进一步详 述。 本发明的较佳实施方式 In order to make the technical solutions of the present invention clearer and clearer, the following will be further described in conjunction with the accompanying drawings. Preferred embodiment of the invention
本发明实施例解决方案主要是根据预设的工作线程以及各网元的标识符 对网元上>¾的告警信息进行并行线程批处理。 本发明可以应用于网管系统等 需要处理告警信息的网络系统中, 以下以本发明应用于网管系统为例说明本 发明的技术方案, 但不限于应用于网管系统的情形。  The solution of the embodiment of the present invention mainly performs parallel thread batch processing on the alarm information of >3⁄4 on the network element according to the preset working thread and the identifier of each network element. The present invention can be applied to a network system that needs to process alarm information, such as a network management system. The following is a description of the technical solution of the present invention by applying the present invention to a network management system, but is not limited to the case of being applied to a network management system.
如图 1所示, 本发明一实施例提出一种提升告警处理效率的方法, 包括: 步骤 S101 , 定时接收携带有网元标识符的告警信息, 将告警信息按照该 告警信息上报的先后顺序依次放入待处理告警队列; As shown in FIG. 1 , an embodiment of the present invention provides a method for improving the efficiency of alarm processing, including: Step S101: periodically receiving an alarm message carrying a network element identifier, and sequentially, according to the sequence of reporting the alarm information, Put in the pending alarm queue;
本实施例方法运行环境包括一接收告警信息的从告警服务器和对告警信 息进行并行线程处理的主告警服务器, 其中, 从告警服务器可通过网管适配 器接收告警设备(本实施例称网元, 以下称网元)上报的告警信息, 网管适 配器负责将网元上报的告警数据转换成网管可识别的报文, 然后上报给从告 警服务器。  The method operating environment of the embodiment includes a slave alarm server and a master alarm server that performs parallel thread processing on the alarm information, wherein the slave alarm server can receive the alarm device through the network management adapter (referred to as the network element in this embodiment, hereinafter referred to as The alarm information reported by the network element is used by the network management adapter to convert the alarm data reported by the network element into a packet that can be recognized by the network management system, and then report it to the secondary alarm server.
之后, 从告警服务器按照各告警信息上报的顺序依次为每条告警信息进 行分类, 告警信息分为告警产生信息和告警消失信息。 在进行分类时, 从告 警服务器依次为每条告警信息贴上处理类型标签,比如告警信息 ME{l}ANew 是 ALARM— NEW, 表示的是网元 1 的告警产生信息上报, ME{l}BClear是 ALARM— CLEAR, 表示的是网元 1的告警消失信息上报, 其中括号里的数字 表示该网元在网管中的唯一标识符,字母 A、 B、 C等代表该告警信息的标识。 然后每隔一段时间 (该时间可以预设, 通常为 1秒) , 从告警服务器将收集 到的告警信息批量上报给主告警服务器。 After that, the alarm server classifies each alarm information in the order in which the alarm information is reported in the order of the alarm information. The alarm information is divided into alarm generation information and alarm disappearance information. When the classification is performed, the alarm type server is affixed with a processing type label for each alarm information. For example, the alarm information ME{l}ANew is ALARM_NEW, which indicates that the alarm generation information of the network element 1 is reported, ME{l}BClear It is ALARM-CLEAR, which indicates that the alarm disappearing information of NE 1 is reported. The number in parentheses indicates the unique identifier of the NE in the NMS, and the letters A, B, and C represent the identifier of the alarm information. Then every once in a while (this time can be preset, usually 1 second), will be collected from the alarm server The alarm information is reported to the primary alarm server in batches.
在本实施例中, 从告警服务器之所以要使用一段时间延迟来收集告警信 息, 其目的是为了增强主告警服务器批量处理告警信息的能力。  In this embodiment, the alarm information is collected from the alarm server for a period of time delay, and the purpose is to enhance the ability of the main alarm server to process the alarm information in batches.
本实施例中主告警服务器设置有一个待处理告警队列, 用于接收从告警 服务器定时批量上报的待处理的告警信息。 主告警服务器接收到携带有网元 标识符的告警信息后, 将告警信息按照该告警信息上报的先后顺序依次放入 待处理告警队列中。  In this embodiment, the primary alarm server is configured with a pending alarm queue, which is used to receive the alarm information to be processed, which is reported in batches from the alarm server. After receiving the alarm information carrying the identifier of the network element, the primary alarm server puts the alarm information into the alarm queue to be processed in the order in which the alarm information is reported.
步骤 S102, 根据告警信息携带的网元标识符及预定规则对待处理告警队 列中的告警信息进行并行线程批处理。  Step S102: Perform parallel thread batch processing on the alarm information to be processed in the alarm queue according to the network element identifier and the predetermined rule carried in the alarm information.
在本实施例中, 对于告警信息处理而言, 同一个网元产生或消失的告警 信息具有时序上的要求, 但不同网元的告警信息没有时序要求, 所以只要保 证同一个网元的告警信息在同一个工作线程进行处理, 即可满足时序上的要 求, 而不同网元的告警信息可以进行多线程处理, 即可提升告警处理效率。  In this embodiment, for the alarm information processing, the alarm information generated or disappeared by the same network element has a timing requirement, but the alarm information of different network elements has no timing requirement, so only the alarm information of the same network element is guaranteed. When the same worker thread is processed, the timing requirements can be met, and the alarm information of different network elements can be multi-threaded to improve the alarm processing efficiency.
因此, 本实施例在主告警服务器中, 可以预先设置 n个工作线程(0号 工作线程、 1号工作线程 ... ... n-1号工作线程)并行执行告警处理任务, 并设 置一个专门的调度线程执行模块 A, 用来从緩存区中构造告警处理的任务, 并将各告警处理任务调度到 n个工作线程中进行处理。  Therefore, in the main alarm server, the n-th worker thread (the worker thread No. 0, the worker thread No. 1 ... the worker thread n-1) can be pre-configured to execute the alarm processing task in parallel, and set one. The special scheduling thread executes module A, which is used to construct an alarm processing task from the buffer area, and dispatches each alarm processing task to n working threads for processing.
本实施例中, 预定规则即是通过网元标识符与设置的工作线程的数量 n 之间的对应关系确定处理该网元的告警信息为 n个工作线程中的哪一个, 告 警信息按所属网元进行分类, 具体以网元唯一标识符来进行分类, 上述预定 规则可以为: 若网元标识符除以 n所得的余数以 i表示, 则设定该网元的告 警信息固定在 i号工作线程处理。 其中主告警服务器批处理告警信息的流程 如图 2所示。  In this embodiment, the predetermined rule is to determine, by using the correspondence between the network element identifier and the number n of the set working threads, which one of the n working threads is to process the alarm information of the network element, and the alarm information belongs to the network. The categorization is performed by using the unique identifier of the network element. The foregoing predetermined rule may be: if the remainder of the network element identifier divided by n is represented by i, the alarm information of the network element is fixed to work at i. Thread processing. The process of batch processing alarm information of the primary alarm server is shown in Figure 2.
如图 2所示, 步骤 S102具体包括: As shown in FIG. 2, step S102 specifically includes:
步骤 S1021 , 判断待处理告警队列中的告警信息数是否为 0, 若是, 则进 入步骤 S 1029; 否则, 进入步骤 S 1022;  Step S1021, determining whether the number of alarm information in the alarm queue to be processed is 0, and if yes, proceeding to step S1029; otherwise, proceeding to step S1022;
步骤 S1022 , 判断预设的 n个工作线程中是否有空闲工作线程, 若是, 则进入步骤 S1023; 否则, 进入步骤 S1029; Step S1022, determining whether there are idle working threads among the preset n working threads, and if so, Then proceeds to step S1023; otherwise, proceeds to step S1029;
步骤 S 1023 , 访问当前待处理告警队列中的第一条告警信息;  Step S1023: Access the first alarm information in the current pending alarm queue.
步骤 S1024, 将该条告警信息携带的网元标识符除以 n, 得到余数 i; i为 0~η-1中任意整数。  Step S1024: Dividing the identifier of the network element carried in the alarm information by n to obtain a remainder i; i is any integer of 0~η-1.
步骤 S1025, 判断 i号线工作线程是否空闲, 若是, 则进入步骤 S1026; 否则, 进入步骤 S 1027;  Step S1025, determining whether the worker thread of the i line is idle, if yes, proceeding to step S1026; otherwise, proceeding to step S1027;
步骤 S1026,将当前待处理队列中所有余数为 i的告警信息取出, 构成一 告警处理任务, 调度至 i号工作线程进行处理; 返回步骤 S1021 ;  Step S1026: The alarm information of all the remaining numbers in the current pending queue is taken out to form an alarm processing task, and is scheduled to be processed by the i worker thread; and the process returns to step S1021;
步骤 S1027,判断有无下一条告警信息,若有,则进入步骤 S1028; 否则, 进入步骤 S1029;  Step S1027, determining whether there is a next alarm message, if yes, proceeding to step S1028; otherwise, proceeding to step S1029;
步骤 S1028, 访问当前待处理告警队列内下一条告警信息, 并进入步骤 S1024;  Step S1028, accessing the next alarm information in the current pending alarm queue, and proceeding to step S1024;
步骤 S1029, 暂停预定时间, 返回步骤 S1021。  In step S1029, the predetermined time is suspended, and the process returns to step S1021.
如图 3所示, 步骤 S1026中 i号工作线程对告警处理任务进行处理的步 骤具体包括: As shown in FIG. 3, the step of processing the alarm processing task by the worker thread i in step S1026 specifically includes:
步骤 S10261 , 判断当前告警处理任务中的告警信息数是否为 0, 若是, 则结束流程; 否则, 进入步骤步骤 S10262;  Step S10261, determining whether the number of alarm information in the current alarm processing task is 0, and if so, ending the process; otherwise, proceeding to step S10262;
步骤 S10262, 批处理当前告警处理任务中各网元第一个告警消失信息之 前的所有对应网元的告警产生信息;  Step S10262, batch processing alarm generation information of all corresponding network elements before the first alarm disappearing information of each network element in the current alarm processing task;
本步骤中, 将每一个网元中对应第一个告警消失消息之前的该网元的所 有告警产生信息取出来, 将所有取出来的告警产生信息构成一个批次, 进行 处理。  In this step, all the alarm generation information of the network element corresponding to the first alarm disappearing message in each network element is taken out, and all the extracted alarm generation information is formed into a batch for processing.
步骤 S10263 , 将处理过的告警产生信息从当前告警处理任务中删除, 并 将处理过的告警产生信息入网管数据库;  Step S10263: Delete the processed alarm generation information from the current alarm processing task, and enter the processed alarm generation information into the network management database;
步骤 S10264, 批处理当前告警处理任务中各网元第一个告警产生信息之 前的所有对应网元的告警消失信息; 本步骤中, 将当前告警处理任务中每一个网元对应的第一个告警产生信 息之前的该网元的所有告警消失信息取出来, 将所有取出来的告警消失信息 构成一个批次, 进行处理。 Step S10264: Batch process the alarm disappearance information of all the corresponding network elements before the first alarm generation information of each network element in the current alarm processing task; In this step, all the alarm disappearance information of the network element before the first alarm generation information corresponding to each network element in the current alarm processing task is taken out, and all the removed alarm disappearance information is formed into a batch for processing. .
本步骤中当前告警处理任务包括该工作线程中当前所有未处理的告警信 息。  The current alarm processing task in this step includes all current unprocessed alarm information in the worker thread.
步骤 S10265, 将处理过的告警消失信息从当前告警处理任务中删除, 将 处理过的告警消失信息入网管数据库; 返回步骤 S10262。  Step S10265: Delete the processed alarm disappearance information from the current alarm processing task, and enter the processed alarm disappearance information into the network management database; and return to step S10262.
上述步骤 S10261至步骤 S10265中, 工作线程在对一个告警处理任务中 的告警信息进行处理时, 由于告警的产生和消失有时序要求, 必须先处理告 警产生信息后处理告警消失信息, 所以对告警处理任务中的告警信息必须串 行处理。 为了提升对告警信息的批处理能力, 对告警产生信息和告警消失信 息的处理都为批处理, 且处理过程按照告警产生 - >告警消失- >告警产生 - >告警消失循环执行, 直到所有告警信息被处理完。在保证告警数据处理正确 性的情况下, 告警信息的批处理应尽可能多的包含告警数据。  In the above steps S10261 to S10265, when the working thread processes the alarm information in an alarm processing task, since the alarm generation and disappearance have timing requirements, the alarm generation information must be processed first and then the alarm disappearance information is processed, so the alarm processing is performed. The alarm information in the task must be processed serially. To improve the batch processing capability of the alarm information, the alarm generation information and the alarm disappearance information are processed in batches, and the processing is performed according to the alarm generation -> alarm disappearance -> alarm generation -> alarm disappearance loop execution until all alarm information It is processed. In the case of ensuring the correctness of the alarm data processing, the batch processing of the alarm information should include alarm data as much as possible.
下面以实例详细介绍本实施例方法的工作流程: The workflow of the method of this embodiment is described in detail below by way of an example:
假设目前网管管理了 4台设备(即本实施例称网元) , 分别是 ME{1}、 ME{2} 、 ME{3} 和 ME{4}, 其中括号里的数字表示该设备的网管 ID, 是该 设备在网管中的唯一标识符。  Assume that the current network management manages four devices (that is, the network element in this embodiment), which are ME{1}, ME{2}, ME{3}, and ME{4}, respectively, where the numbers in parentheses indicate the network management of the device. ID, which is the unique identifier of the device in the network management.
主告警服务器中设置了 3个工作线程并行处理告警信息,分别是 Thread0、 Three main working threads are set to process the alarm information in parallel in the main alarm server, which are Thread0.
Threadl和 Thread2。主告警服务器中设置了 1个专门的调度线程执行模块 A。 Threadl and Thread2. A special scheduling thread execution module A is set in the main alarm server.
根据预定规则, ME{1}的网管 ID为 1 , 1%3等于 1 , 所以 ME{1}的告警 信息在 Threadl号工作线程处理, ME{2}的网管 ID为 2, 2%3等于 2, 所以 ME{2}的告警信息在 Thread2号工作线程处理, 依次类推, 可以得到 ME{1} 和 ME{4}的告警信息都在 Threadl 号工作线程处理, ME{2}的告警信息在 Thread2号工作线程处理, ME{3}的告警信息在 ThreadO号工作线程处理。  According to the predetermined rule, the network management ID of ME{1} is 1 and 1%3 is equal to 1. Therefore, the alarm information of ME{1} is processed by the thread Thread1, and the network management ID of ME{2} is 2, 2%3 is equal to 2. Therefore, the alarm information of ME{2} is processed in the thread Thread2, and so on, the alarm information of ME{1} and ME{4} can be processed in the thread Thread1, and the alarm information of ME{2} is in Thread2. No. worker thread processing, ME{3} alarm information is processed in the ThreadO worker thread.
该实例中, 若当前告警上报情况为:  In this example, if the current alarm is reported as:
10:35:20:175 时刻, ME{1}上报了 ME{l}ANew、 ME{l}BClear、 ME{l}CNew三条告警信息; 10:35:20:175 At the moment, ME{1} reported ME{l}ANew, ME{l}BClear, ME{l}CNew three alarm messages;
10:35:20:275时刻, ME{2}上报了 ME{2}ANew、 Me{2}BNew两条告警 信息;  At 10:35:20:275, ME{2} reported two alarm messages: ME{2}ANew, Me{2}BNew;
10:35:20:375时刻, ME{3}上报了 ME{3}AClear—条告警信息;  At 10:35:20:375, ME{3} reported the ME{3}AClear-strip alarm information;
10:35:20:475 时刻 , ME{4}上报了 ME{4}ANew、 ME{4}BNew、 At 10:35:20:475, ME{4} reported ME{4}ANew, ME{4}BNew,
ME{4}CClear3条告警信息。 ME{4}CClear3 alarm information.
其中, 10:35:20:175指某个时刻, 表示 10点 35分 20秒 175毫秒。  Among them, 10:35:20:175 means a certain moment, which means 10:35:20, 175 milliseconds.
ME{l}Anew表示该告警信息属于 ME{1}设备, A是该告警信息的标识, New表示是新告警产生信息,ME{l}BClear表示该告警信息属于 ME{1}设备, B是该告警信息的标识, Clear表示是告警消失信息。 其它告警信息的名称依 此解释。  ME{l}Anew indicates that the alarm information belongs to the ME{1} device, A is the identifier of the alarm information, New indicates that the new alarm generation information, ME{l}BClear indicates that the alarm information belongs to the ME{1} device, and B is The identifier of the alarm information, Clear indicates that the alarm disappears. The names of other alarm messages are interpreted accordingly.
经过适配器转换后, 上述各告警信息依次上报给从告警服务器处理。 其 上报的顺序按告警产生的先后顺序: ME{l}ANew、 ME{l}BClear、 ME{l}CNew、 ME{2}ANew、 Me{2}BNew、 ME{3}AClear、 ME{4}ANew、 ME{4}BNew、 ME{4}CClear。  After the adapter is converted, the above alarm information is reported to the slave alarm server. The order of reporting is in the order in which the alarms are generated: ME{l}ANew, ME{l}BClear, ME{l}CNew, ME{2}ANew, Me{2}BNew, ME{3}AClear, ME{4 }ANew, ME{4}BNew, ME{4}CClear.
之后, 从告警服务器依次对各告警信息进行分类, 贴上处理类型标签标 签, 从告警服务器每隔 1秒向主告警服务器发送一次批量告警信息, 假设从 告警服务器上次是在 10:35:20:000时刻发送的批量告警信息, 1秒的时间延迟 到, 10:35:21:000时刻, 从告警服务器将本次新上报的告警信息一起上报到主 告警服务器, 即将 ME{l}ANew、 ME{l}BClear、 ME{l}CNew、 ME{2}ANew、 Me{2}BNew、 ME{3}AClear、 ME{4}ANew、 ME{4}BNew、 ME{4}CClear— 起发送给主告警服务器。  Then, the alarm information is sorted in turn from the alarm server, and the processing type label label is affixed. The alarm server sends a batch alarm information to the main alarm server every 1 second, assuming that the slave alarm server is at 10:35:20 last time. The batch alarm information sent at time:000, the time delay of 1 second is delayed to 10:35:21:000, and the newly reported alarm information is reported to the main alarm server from the alarm server, that is, ME{l}ANew, ME{l}BClear, ME{l}CNew, ME{2}ANew, Me{2}BNew, ME{3}AClear, ME{4}ANew, ME{4}BNew, ME{4}CClear - send Give the primary alarm server.
主告警服务器将报上来的告警信息按照各告警信息上报的先后顺序放置 于待处理告警队列中, 因此, 当前待处理告警队列为:  The alarm server sends the alarm information to the alarm queue to be processed according to the sequence of the alarm information. Therefore, the current alarm queue to be processed is:
{ME{l}Anew, ME{l}BClear、 ME{l}CNew、 ME{2}Anew, Me{2}BNew、 {ME{l}Anew, ME{l}BClear, ME{l}CNew, ME{2}Anew, Me{2}BNew,
ME{3}AClear、 ME{4}Anew、 ME{4}BNew、 ME{4}CClear }。 ME{3}AClear, ME{4}Anew, ME{4}BNew, ME{4}CClear }.
负责任务调度的调度线程执行模块 A对待处理告警队列中的待处理告警 信息进行任务调度, 其调度过程如下: 1、遍历队列中的所有告警信息,发现 ME{l}Anew告警信息属于 ME{1} 网元, 根据预定规则, 1%3等于 1 , 该告警应该在 Threadl工作线程中处理, 并且若此时 Threadl空闲, 那么将队列中所有网管 ID除以 3余数为 1的告警 信息都取出来构成一个告警处理任务, 调度到 Threadl 中进行处理, 该告警 处理任务中包含的告警信息包括 {ME{l}Anew、 ME{l}BClear、 ME{l}CNew、 ME{4}Anew、 ME{4}BNew和 ME{4}CClear}。主告警服务器中剩余的告警信 息包括 { ME{2}Anew、 Me{2}BNew和 ME{3}AClear}。 The scheduling thread executing module A, which is responsible for task scheduling, performs task scheduling on the to-be-processed alarm information to be processed in the alarm queue. The scheduling process is as follows: 1. Traversing all the alarm information in the queue, and discovering that the ME{l}Anew alarm information belongs to the ME{1} network element. According to the predetermined rule, 1%3 is equal to 1, and the alarm should be processed in the Thread1 working thread, and if If the Thread1 is idle, the alarm information of all the NMS IDs in the queue divided by 3 is taken out to form an alarm processing task, which is scheduled to be processed in Thread1. The alarm information included in the alarm processing task includes {ME{l}. Anew, ME{l}BClear, ME{l}CNew, ME{4}Anew, ME{4}BNew, and ME{4}CClear}. The remaining alarm information in the primary alarm server includes { ME{2}Anew, Me{2}BNew, and ME{3}AClear}.
2、 调度线程执行模块 A再访问剩余告警信息中的第一个告警信息, 同 理得到: ME{2}Anew告警属于 ME{2}网元, 根据预定规则, 2%3等于 2, 该 告警信息应该在 Thread2工作线程中处理, 并且若此时 Thread2空闲, 则将队 列中所有网管 ID除以 3余数为 2的告警信息都取出来构成一个告警处理任 务, 调度到 Thread2 中进行处理, 该告警处理任务中包含的告警信息包括 {ME{2}Anew、 ME{2}BNew}。 主告警服务器中剩余的告警信息包括 { ME{3}AClear}„  2. The scheduling thread executes module A and then accesses the first alarm information in the remaining alarm information. Similarly, the ME{2}Anew alarm belongs to the ME{2} network element. According to the predetermined rule, 2%3 is equal to 2, and the alarm is generated. The information should be processed in the Thread2 worker thread. If Thread2 is idle, the alarm information of all the network management IDs in the queue divided by 3 is taken out to form an alarm processing task, which is dispatched to Thread2 for processing. The alarm information contained in the processing task includes {ME{2}Anew, ME{2}BNew}. The remaining alarm information in the primary alarm server includes { ME{3}AClear}
3、 调度线程执行模块 A再访问剩余告警信息中的第一个告警信息, 得 到: ME{3}AClear告警信息属于 ME{3}网元, 根据预定规则, 3%3等于 0, 该告警信息应该在 ThreadO工作线程中进行处理, 并且若此时 ThreadO空闲, 则将所有网元 ID除以 3为 0的告警信息都取出来构成一个告警处理任务,调 度到 ThreadO 中进行处理, 该告警处理任务中包含的告警信息包括 {ME{3}AClear}。 此时, 主告警服务器中剩余的告警信息为空。  3. The scheduling thread execution module A accesses the first alarm information in the remaining alarm information, and obtains: ME{3} The AClear alarm information belongs to the ME{3} network element, and according to the predetermined rule, 3%3 is equal to 0, and the alarm information is It should be processed in the ThreadO working thread, and if ThreadO is idle at this time, the alarm information of all network element IDs divided by 3 is taken out to form an alarm processing task, which is dispatched to ThreadO for processing. The alarm information contained in it includes {ME{3}AClear}. At this time, the remaining alarm information in the primary alarm server is empty.
4、此时待处理告警队列已为空,则暂停休息 1秒,再继续遍历告警信息, 进行调度。  4. At this time, the alarm queue to be processed is empty, then pause for 1 second, and then continue to traverse the alarm information for scheduling.
最终的调度执行结果如下表 1所示:  The final scheduling execution results are shown in Table 1 below:
Figure imgf000012_0001
{ME{l}Anew,
Figure imgf000012_0001
{ME{l}Anew,
ME{l}BClear,  ME{l}BClear,
任 ME{l}CNew, {ME{2}Anew,  ME{l}CNew, {ME{2}Anew,
{ME{3}AClear } 务 ME{4}Anew, Me{2}BNew}  {ME{3}AClear } Service ME{4}Anew, Me{2}BNew}
ME{4}BNew,  ME{4}BNew,
ME{4}CClear }  ME{4}CClear }
表 1  Table 1
由上表 1可知, 通过上述告警处理方式可达到对批量告警信息实现最大 限度的并行处理效果。  As can be seen from the above table 1, the above-mentioned alarm processing mode can achieve the maximum parallel processing effect on the batch alarm information.
下面以工作线程 ThreadO为例,详细描述工作线程 ThreadO进行告警处理 的过程:  The following takes the worker thread ThreadO as an example to describe in detail the process of the worker thread ThreadO performing alarm processing:
ThreadO工作线程收到的告警处理任务包括的告警信息为 {ME{l}Anew、 ME{l}BClear、 ME{l}CNew、 ME{4}Anew、 ME{4}BNew、 ME{4}CClear}。  The alarm processing tasks received by the ThreadO worker thread include the following alarm messages: {ME{l}Anew, ME{l}BClear, ME{l}CNew, ME{4}Anew, ME{4}BNew, ME{4}CClear }.
1、 批处理告警产生消息。 对告警处理任务中所有的网元, 将该网元对应 的第一个告警消失之前的告警产生信息都取出来进行批处理。 当前任务中有 两个网元, ME{1}和 ME{4}, ME{1}的第一个告警消失信息是 ME{l}BClear, 将 ME{l}BClear之前的 ME{1}的告警产生信息取出来进行处理, 即可以把 ME{l}Anew取出来, ME{4}的第一个告警消失信息是 ME{4}CClear, 将 ME{4}CClear之前的 ME{4}的告警产生信息取出来, 即将 ME{4}Anew和 ME{4}BNew取出来,最后构成一个执行队列 {ME{l}Anew、 ME{4}Anew和 ME{4}BNew} , 对其进行批处理后, 在告警处理任务中删除该执行队列中的 告警信息, 告警数据入网管数据库。  1. The batch alarm generates a message. For all the NEs in the alarm processing task, the alarm generation information before the first alarm corresponding to the NE disappears is taken out for batch processing. There are two network elements in the current task, ME{1} and ME{4}. The first alarm disappearing information of ME{1} is ME{l}BClear, which will be ME{1} before ME{l}BClear The alarm generation information is taken out for processing, that is, ME{l}Anew can be taken out, and the first alarm disappearing information of ME{4} is ME{4}CClear, and ME{4} before ME{4}CClear The alarm generation information is taken out, and ME{4}Anew and ME{4}BNew are taken out, and finally an execution queue {ME{l}Anew, ME{4}Anew and ME{4}BNew} is formed and batched. After the alarm is processed, the alarm information in the execution queue is deleted in the alarm processing task, and the alarm data is sent to the network management database.
2、 批处理告警消失。 此时告警处理任务中的告警信息剩余 { ME{l}BClear、 ME{l}CNew、 ME{4}CClear}。 将当前告警处理任务中所有 的网元对应的第一个告警产生信息之前的告警消失信息都取出来, 进行批处 理。 ME{1}的第一个告警产生信息是 ME{l}CNew, 将 ME{l}CNew之前的 ME{1}的告警消失信息都取出, 即将 ME{l}BClear取出; ME{4}已没有告警 产生, 则将该网元所有的告警消失信息都取出, 即将 ME{4}CClear取出。 最 后构成一个执行队列 { ME{l}BClear, ME{4}CClear } , 对其进行批处理后, 在告警处理任务中删除该执行队列中的告警信息, 并将处理过的告警数据入 网管数据库。 2. The batch alarm disappears. At this time, the alarm information in the alarm processing task remains { ME{l}BClear, ME{l}CNew, ME{4}CClear}. The alarm disappearance information before the first alarm generation information corresponding to all the NEs in the current alarm processing task is taken out and batch processing is performed. The first alarm generation information of ME{1} is ME{l}CNew, and the alarm disappearance information of ME{1} before ME{1}CNew is taken out, that is, ME{l}BClear is taken out; ME{4} has If no alarm is generated, all the alarm disappearance information of the network element is taken out, and ME{4}CClear is taken out. Finally, an execution queue { ME{l}BClear, ME{4}CClear } is formed, after batch processing, The alarm information in the execution queue is deleted in the alarm processing task, and the processed alarm data is entered into the network management database.
3、 批处理告警产生。 此时告警处理任务中的告警信息剩余 { ME{l}CNew}„ 将当前告警处理任务中所有的网元对应的第一个告警消失 信息之前的告警产生信息都取出来, 进行批处理。 ME{1}没有告警消失信息, 则将所有的该网元的告警产生信息取出, 即取出 ME{l}CNew, 最后构成一 个执行队列 { ME{ 1 }CNew } , 对其进行处理后, 在告警处理任务中删除该执 行队列中的告警信息, 并将处理过的告警数据入网管数据库。  3. Batch alarms are generated. At this time, the alarm information remaining in the alarm processing task is { ME{l}CNew} „ The alarm generation information before the first alarm disappearance information corresponding to all the NEs in the current alarm processing task is taken out and batch processed. ME {1} If there is no alarm disappearing information, all the alarm generation information of the network element is taken out, that is, ME{l}CNew is taken out, and finally an execution queue {ME{1}CNew} is formed, and after processing, the alarm is generated. The alarm information in the execution queue is deleted from the processing task, and the processed alarm data is entered into the network management database.
4、此时告警处理任务中的告警信息为空,则任务执行结束;如果不为空, 则继续执行批处理告警消失信息。  4. When the alarm information in the alarm processing task is empty, the task execution ends. If it is not empty, the batch alarm disappearance information is continued.
因此, 本次告警处理任务串行执行了下列批次的告警信息:  Therefore, this alarm processing task serially executes the following batches of alarm information:
{ ME{l}Anew、 ME{4}Anew、 ME{4}BNew } , 走告警产生信息批处理流 程, 最后将告警数据放入网管数据库。  { ME{l}Anew, ME{4}Anew, ME{4}BNew }, go to the alarm generation information batch process, and finally put the alarm data into the network management database.
{ ME{l}BClear, ME{4}CClear } ,走告警消失信息批处理流程, 最后将告 警数据放入网管数据库。  { ME{l}BClear, ME{4}CClear }, go to the alarm disappearing information batch processing flow, and finally put the alarm data into the network management database.
{ ME{l}CNew } , 走告警产生信息批处理流程, 最后将告警数据放入网 管数据库。  { ME{l}CNew } , go to the alarm to generate the information batch processing flow, and finally put the alarm data into the network management database.
由上述告警信息处理过程可以看到: 在保证告警数据处理正确性的情况 下, 每个告警处理批次都最大限度的包含了尽可能多的告警数目, 最大程度 的提升了告警信息的批处理能力。  It can be seen from the above alarm information processing process that: in the case of ensuring the correctness of the alarm data processing, each alarm processing batch contains as many alarms as possible to the maximum extent, and the batch processing of the alarm information is maximized. ability.
本实施例相比传统的告警处理方法, 具有以下优点:  Compared with the traditional alarm processing method, this embodiment has the following advantages:
1、 引入 "主从告警服务器" , 在 "从告警服务器" 使用一定的时间延迟 (通常是 1秒)来收集告警, 然后批量送往 "主告警服务器" , 增强了 "主 告警服务器" 的批处理能力。  1. Introduce the "master-slave alarm server", collect the alarms in the "slave alarm server" with a certain time delay (usually 1 second), and then send them to the "master alarm server" in batches, and enhance the batch of the "master alarm server". Processing capacity.
2、 在 "主告警服务器" 中, 根据一定的规则实现多线程处理, 从而大大 提升告警处理的并行性, 提升了网管告警的处理效率。  2. In the "main alarm server", multi-thread processing is implemented according to certain rules, thereby greatly improving the parallelism of alarm processing and improving the processing efficiency of network management alarms.
如图 4所示, 本发明一实施例提出一种提升告警处理效率的服务器, 包 括: 接收模块 401以及告警批处理模块 402; 其中: As shown in FIG. 4, an embodiment of the present invention provides a server, a package for improving alarm processing efficiency. The receiving module 401 and the alarm batch processing module 402; wherein:
接收模块 401 , 用于定时接收携带有网元标识符的告警信息, 将告警信 息按照该告警信息上报的先后顺序依次放入待处理告警队列;  The receiving module 401 is configured to periodically receive the alarm information carrying the network element identifier, and sequentially put the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information;
告警信息包括告警产生信息或告警消失信息。  The alarm information includes alarm generation information or alarm disappearance information.
告警批处理模块 402 , 用于根据告警信息携带的网元标识符及预定规则 对待处理告警队列中的告警信息进行并行线程批处理。  The alarm batch processing module 402 is configured to perform parallel thread batch processing on the alarm information to be processed in the alarm queue according to the network element identifier and the predetermined rule carried in the alarm information.
在本实施例中, 接收模块 401定时接收上报的批量告警信息, 该批量告 警信息由告警网元上报给网管适配器, 经网管适配器对告警信息进行数据转 换后, 发至从告警服务器进行分类, 由从告警服务器定时(每隔预定时间, 通常为 1秒)批量上报给主告警服务器接收模块 401。  In this embodiment, the receiving module 401 periodically receives the reported batch alarm information, and the batch alarm information is reported by the alarm network element to the network management adapter, and after the data is converted by the network management adapter, the alarm information is sent to the slave alarm server for classification. It is reported to the main alarm server receiving module 401 in batches from the alarm server timing (every predetermined time, usually 1 second).
在本实施例中, 从告警服务器之所以要使用一段时间延迟来收集告警信 息, 其目的是为了增强主告警服务器批量处理告警信息的能力。  In this embodiment, the alarm information is collected from the alarm server for a period of time delay, and the purpose is to enhance the ability of the main alarm server to process the alarm information in batches.
本实施例中主告警服务器设置有一个待处理告警队列, 用于接收从告警 服务器定时批量上报的待处理的告警信息。 主告警服务器接收模块 401接收 到携带有网元标识符的告警信息后, 将告警信息按照该告警信息上报的先后 顺序依次放入待处理告警队列中。  In this embodiment, the primary alarm server is configured with a pending alarm queue, which is used to receive the alarm information to be processed, which is reported in batches from the alarm server. After receiving the alarm information carrying the network element identifier, the primary alarm server receiving module 401 sequentially puts the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information.
在本实施例中, 对于告警信息处理而言, 同一个网元产生或消失的告警 信息具有时序上的要求, 但不同网元的告警信息没有时序要求, 所以只要保 证同一个网元的告警信息在同一个工作线程进行处理, 即可满足时序上的要 求, 而不同网元的告警信息可以进行多线程处理, 即可提升告警处理效率。  In this embodiment, for the alarm information processing, the alarm information generated or disappeared by the same network element has a timing requirement, but the alarm information of different network elements has no timing requirement, so only the alarm information of the same network element is guaranteed. When the same worker thread is processed, the timing requirements can be met, and the alarm information of different network elements can be multi-threaded to improve the alarm processing efficiency.
因此, 本实施例在主告警服务器告警批处理模块 402中, 可以预先设置 n个工作线程(0号工作线程、 1号工作线程 ... ... n-1号工作线程)并行执行 告警处理任务, 并设置一个专门的调度线程执行模块 A, 用来从緩存区中构 造告警处理的任务, 并将各告警处理任务调度到 n个工作线程中进行处理。  Therefore, in the main alarm server alarm batch processing module 402, the n working threads (the working thread No. 0, the working thread No. 1 ... the working thread n-1) can be pre-set to perform alarm processing in parallel. The task, and set a special scheduling thread execution module A, is used to construct an alarm processing task from the buffer area, and dispatch each alarm processing task to n working threads for processing.
本实施例中, 预定规则即是通过网元标识符与设置的工作线程的数量 n 之间的对应关系确定处理该网元的告警信息为 n个工作线程中的哪一个, 告 警信息按所属网元进行分类, 具体以网元唯一标识符来进行分类, 上述预定 规则可以为: 若网元标识符除以 n所得的余数以 i表示, 则设定该网元的告 警信息固定在 i号工作线程处理。 In this embodiment, the predetermined rule is to determine, by using the correspondence between the network element identifier and the number n of the set working threads, which one of the n working threads is to process the alarm information of the network element, and the alarm information belongs to the network. The element is classified, and is specifically classified by the unique identifier of the network element. The foregoing predetermined rule may be: if the remainder of the network element identifier divided by n is represented by i, the advertisement of the network element is set. The police information is fixed in the i worker thread.
如图 5所示,告警批处理模块 402包括:访问单元 4021、计算单元 4022、 判断单元 4023以及线程调度处理单元 4024; 其中:  As shown in FIG. 5, the alarm batch processing module 402 includes: an access unit 4021, a computing unit 4022, a determining unit 4023, and a thread scheduling processing unit 4024;
访问单元 4021 , 用于当预设的 n个工作线程中有空闲工作线程时, 访问 当前待处理告警队列中的第一条告警信息; 以及当 i号工作线程忙时, 访问 当前待处理告警队列内下一条告警信息;  The access unit 4021 is configured to: when an idle working thread is included in the preset n working threads, access the first alarm information in the current pending alarm queue; and when the worker thread i is busy, access the current pending alarm queue. The next alarm message;
计算单元 4022, 用于将该条告警信息携带的网元标识符除以 n, 得到余 数 i;  The calculating unit 4022 is configured to divide the network element identifier carried by the alarm information by n to obtain a remainder i;
判断单元 4023 , 用于判断 i号工作线程是否空闲;  The determining unit 4023 is configured to determine whether the worker thread i is idle;
线程调度处理单元 4024, 用于当 i号工作线程空闲时, 将当前待处理告 警队列中所有余数为 i的告警信息取出, 构成一告警处理任务, 调度至 i号工 作线程进行处理。  The thread scheduling processing unit 4024 is configured to: when the worker thread i is idle, remove the alarm information of all the remaining alarms in the current alarm queue to form an alarm processing task, and schedule the processing to the i-th worker thread for processing.
更进一步的,线程调度处理单元 4024还用于当预设的 n个工作线程均无 空闲时, 暂停预定时间。  Further, the thread scheduling processing unit 4024 is further configured to suspend the predetermined time when none of the preset n working threads are idle.
如图 6所示, 线程调度处理单元 4024包括: As shown in FIG. 6, the thread scheduling processing unit 4024 includes:
批处理子单元 40241 , 用于批处理当前告警处理任务中各网元第一个告 警消失信息之前的所有对应网元的告警产生信息; 以及批处理当前告警处理 任务中各网元第一个告警产生信息之前的所有对应网元的告警消失信息; 删除子单元 40242 , 用于将处理过的告警产生信息从当前告警处理任务 中删除; 以及将处理过的告警消失信息从当前告警处理任务中删除。  The batch processing unit 40241 is configured to batch the alarm generation information of all the corresponding network elements before the first alarm disappearing information of each network element in the current alarm processing task; and batch processing the first alarm of each network element in the current alarm processing task The alarm disappearing information of all the corresponding network elements before the information is generated; the deleting subunit 40242 is configured to delete the processed alarm generating information from the current alarm processing task; and delete the processed alarm disappearing information from the current alarm processing task. .
如图 7所示, 本发明一实施例提出一种提升告警处理效率的系统, 包括: 从告警服务器 701以及主告警服务器 702; 其中: As shown in FIG. 7, an embodiment of the present invention provides a system for improving alarm processing efficiency, including: a slave alarm server 701 and a master alarm server 702;
从告警服务器 701 , 用于接收网元发送的携带有网元标识符的告警信息, 对告警信息进行数据转换以及分类处理后定时上报给主告警服务器 702; 主告警服务器 702 , 用于定时接收告警信息, 将告警信息按照该告警信 息上报的先后顺序依次放入待处理告警队列, 根据告警信息携带的网元标识 符及预定规则对告警队列中的告警信息进行并行线程批处理。 The alarm server 701 is configured to receive the alarm information that is sent by the network element and carries the identifier of the network element, and performs data conversion and classification processing on the alarm information, and then reports the alarm information to the main alarm server 702. The main alarm server 702 is configured to receive the alarm periodically. Information, according to the alarm information The sequence of the information reporting is sequentially placed in the alarm queue to be processed, and the alarm information in the alarm queue is subjected to parallel thread batch processing according to the network element identifier and the predetermined rule carried in the alarm information.
在本实施例中, 主告警服务器 702为上述实施例中所述的服务器。  In this embodiment, the primary alarm server 702 is the server described in the above embodiment.
本发明实施例通过主从告警服务器使用预定的时间延迟(通常可以预设 为 1秒)来收集告警信息, 然后将告警信息批量送往主告警服务器, 增强了 主告警服务器的批处理能力; 同时, 在主告警服务器中, 根据预定规则实现 多线程并行处理, 大大提升了告警处理的并行性, 提高了网管告警的处理效 率。  The embodiment of the present invention collects alarm information by using a predetermined time delay (usually preset to 1 second) by the master-slave alarm server, and then sends the alarm information to the main alarm server in batches, thereby enhancing the batch processing capability of the main alarm server; In the main alarm server, the multi-thread parallel processing is implemented according to the predetermined rule, which greatly improves the parallelism of the alarm processing and improves the processing efficiency of the network management alarm.
尽管为示例目的, 已经公开了本发明的优选实施例, 本领域的技术人员 将意识到各种改进、 增加和取代也是可能的, 因此, 本发明的范围应当不限 于上述实施例。 While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。  One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
工业实用性 Industrial applicability
本发明提出一种提升告警处理效率的方法、 服务器及系统, 通过主从告 警服务器使用预定的时间延迟(通常可以预设为 1秒)来收集告警信息, 然 后将告警信息批量送往主告警服务器, 增强了主告警服务器的批处理能力; 同时, 在主告警服务器中, 根据预定规则实现多线程并行处理, 大大提升了 告警处理的并行性, 提高了网管告警的处理效率。  The present invention provides a method, a server, and a system for improving the efficiency of alarm processing. The master-slave alarm server collects alarm information by using a predetermined time delay (usually preset to 1 second), and then sends the alarm information to the primary alarm server in batches. The batch processing capability of the main alarm server is enhanced. At the same time, the multi-thread parallel processing is implemented according to the predetermined rule in the main alarm server, which greatly improves the parallelism of the alarm processing and improves the processing efficiency of the network management alarm.

Claims

权 利 要 求 书 Claim
1、 一种提升告警处理效率的方法, 其包括: A method for improving the efficiency of alarm processing, comprising:
定时接收携带有网元标识符的告警信息, 将所述告警信息按照该告警信 息上报的先后顺序依次放入待处理告警队列; 以及  The alarm information carrying the identifier of the network element is periodically received, and the alarm information is sequentially placed in the alarm queue to be processed according to the sequence of reporting the alarm information;
根据所述告警信息携带的网元标识符及预定规则对所述待处理告警队列 中的告警信息进行并行线程批处理。  Performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information.
2、 根据权利要求 1所述的方法, 其中, 2. The method according to claim 1, wherein
所述根据告警信息携带的网元标识符及预定规则对所述待处理告警队列 中的告警信息进行并行线程批处理的步骤包括:  The step of performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information includes:
当预设的 n个工作线程中有空闲工作线程时, 访问当前待处理告警队列 中的第一条告警信息;  When there is an idle working thread among the preset n working threads, accessing the first alarm information in the current pending alarm queue;
将该条告警信息携带的网元标识符除以 n, 得到余数 i;  Dividing the identifier of the network element carried in the alarm information by n to obtain a remainder i;
判断 i号工作线程是否空闲;  Determine whether the worker thread i is idle;
若 i号工作线程空闲,则将当前待处理告警队列中所有余数为 i的告警信 息取出, 构成一告警处理任务, 调度至 i号工作线程; 并返回所述当预设的 n个工作线程中有空闲工作线程时, 访问当前待处理告警队列中的第一条告 警信息的步骤;  If the worker thread i is idle, the alarm information of all the remaining alarms in the current alarm queue is taken out to form an alarm processing task, which is dispatched to the worker thread i; and returns to the preset n working threads. The step of accessing the first alarm information in the current pending alarm queue when there is an idle working thread;
若 i号工作线程忙, 则访问当前待处理告警队列内下一条告警信息, 并 返回所述将该条告警信息携带的网元标识符除以 n, 得到余数 i的步骤。  If the worker thread i is busy, the next alarm information in the current pending alarm queue is accessed, and the network element identifier carried in the alarm information is divided by n to obtain the remainder i.
3、 根据权利要求 2所述的方法, 其中, 所述根据告警信息携带的网元标 识符及预定规则对所述待处理告警队列中的告警信息进行并行线程批处理的 步骤还包括: The method according to claim 2, wherein the step of performing parallel thread batch processing on the alarm information in the alarm queue to be processed according to the network element identifier and the predetermined rule carried in the alarm information further includes:
当预设的 n个工作线程均无空闲时, 暂停预定时间后执行所述当预设的 n个工作线程中有空闲工作线程时, 访问当前待处理告警队列中的第一条告 警信息的步骤。  When the preset n working threads are not idle, the step of accessing the first alarm information in the current pending alarm queue when the idle working thread is included in the preset n working threads after the predetermined timeout is suspended .
4、 根据权利要求 2所述的方法, 其中, 所述根据告警信息携带的网元标 识符及预定规则对所述待处理告警队列中的告警信息进行并行线程批处理的 步骤还包括, 所述 i号工作线程对调度来的告警处理任务自行处理; 所述 i号工作线程对调度来的告警处理任务自行处理的步骤包括: 批处理当前告警处理任务中各网元第一个告警消失信息之前的所有对应 网元的告警产生信息; The method according to claim 2, wherein the network element label carried according to the alarm information The step of performing parallel thread batch processing on the alarm information in the alarm queue to be processed by the identifier and the predetermined rule further includes: the task worker i is processed by the scheduled alarm processing task; the worker thread i is scheduled to be scheduled. The step of processing the alarm processing task by itself includes: batch processing alarm generation information of all corresponding network elements before the first alarm disappearing information of each network element in the current alarm processing task;
将处理过的告警产生信息从当前告警处理任务中删除, 并将处理过的告 警产生消息入网管数据库;  The processed alarm generation information is deleted from the current alarm processing task, and the processed alarm generated message is sent into the network management database;
批处理当前告警处理任务中各网元第一个告警产生信息之前的所有对应 网元的告警消失信息; 以及  Batching the alarm disappearance information of all corresponding NEs before the first alarm generation information of each network element in the current alarm processing task;
将处理过的告警消失信息从当前告警处理任务中删除, 将处理过的告警 消失消息入网管数据库; 并返回批处理当前告警处理任务中各网元第一个告 警消失信息之前的所有对应网元的告警产生信息的步骤。  The processed alarm disappearance information is deleted from the current alarm processing task, and the processed alarm disappearance message is sent to the network management database; and all corresponding network elements before the first alarm disappearance information of each network element in the current alarm processing task are returned. The steps of the alarm generating information.
5、 一种提升告警处理效率的服务器, 其包括: 5. A server for improving the efficiency of alarm processing, comprising:
接收模块, 其设置为: 定时接收携带有网元标识符的告警信息, 将所述 告警信息按照该告警信息上报的先后顺序依次放入待处理告警队列; 以及 告警批处理模块, 其设置为: 根据所述告警信息携带的网元标识符及预 定规则对所述待处理告警队列中的告警信息进行并行线程批处理。  The receiving module is configured to: periodically receive the alarm information carrying the network element identifier, and place the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information; and the alarm batch processing module, which is set as: Performing parallel thread batch processing on the alarm information in the to-be-processed alarm queue according to the network element identifier and the predetermined rule carried in the alarm information.
6、 根据权利要求 5所述的服务器, 其中, 所述告警批处理模块包括: 访问单元, 其设置为: 当预设的 n个工作线程中有空闲工作线程时, 访 问当前待处理告警队列中的第一条告警信息; 以及当 i号工作线程忙时, 访 问当前待处理告警队列内下一条告警信息; The server according to claim 5, wherein the alarm batch processing module comprises: an access unit, configured to: access the current pending alarm queue when there are idle working threads among the preset n working threads The first alarm information; and when the worker thread i is busy, accessing the next alarm information in the current pending alarm queue;
计算单元, 其设置为: 将该条告警信息携带的网元标识符除以 n, 得到 余数 i;  a computing unit, configured to: divide the network element identifier carried in the alarm information by n, to obtain a remainder i;
判断单元, 其设置为: 判断 i号工作线程是否空闲; 以及  a determining unit, configured to: determine whether the worker thread i is idle;
线程调度处理单元, 其设置为: 当 i号工作线程空闲时, 将当前待处理 告警队列中所有余数为 i 的告警信息取出, 构成一告警处理任务, 调度至 i 号工作线程进行处理。 The thread scheduling processing unit is configured to: when the worker thread i is idle, take out all the alarm information of the current pending alarm queue with the remainder i, and form an alarm processing task, scheduling to i No. worker thread for processing.
7、 根据权利要求 6所述的服务器, 其中, 所述线程调度处理单元还设置 为: 当预设的 n个工作线程均无空闲时, 暂停预定时间。 The server according to claim 6, wherein the thread scheduling processing unit is further configured to: suspend the predetermined time when none of the preset n working threads is idle.
8、 根据权利要求 6或 7所述的服务器, 其中, 所述线程调度处理单元包 括: The server according to claim 6 or 7, wherein the thread scheduling processing unit comprises:
批处理子单元, 其设置为: 批处理当前告警处理任务中各网元第一个告 警消失信息之前的所有对应网元的告警产生信息; 以及批处理当前告警处理 任务中各网元第一个告警产生信息之前的所有对应网元的告警消失信息; 以 及  The batch processing unit is configured to: batch process alarm generation information of all corresponding network elements before the first alarm disappearing information of each network element in the current alarm processing task; and batch processing the first network element in the current alarm processing task The alarm disappearing information of all corresponding network elements before the alarm generates information;
删除子单元, 其设置为: 将处理过的告警产生信息从当前告警处理任务 中删除; 以及将处理过的告警消失信息从当前告警处理任务中删除。  The sub-unit is deleted, and is set to: delete the processed alarm generation information from the current alarm processing task; and delete the processed alarm disappearance information from the current alarm processing task.
9、一种提升告警处理效率的系统,其包括从告警服务器和主告警服务器; 所述从告警服务器设置为: 接收网元发送的携带有所述网元标识符的告 警信息, 对所述告警信息进行数据转换以及分类处理后定时上报给主告警服 务器; A system for improving the efficiency of alarm processing, comprising: a slave alarm server and a master alarm server; the slave alarm server is configured to: receive, by the network element, alarm information that carries the identifier of the network element, and the alarm The information is periodically reported to the primary alarm server after the data is converted and classified.
所述主告警服务器设置为: 定时接收所述告警信息, 将所述告警信息按 照该告警信息上报的先后顺序依次放入待处理告警队列, 根据告警信息携带 的网元所述标识符及预定规则对所述告警队列中的告警信息进行并行线程批 处理。  The primary alarm server is configured to: periodically receive the alarm information, and put the alarm information into the alarm queue to be processed according to the sequence of reporting the alarm information, according to the identifier and the predetermined rule of the network element carried by the alarm information. Parallel thread batch processing is performed on the alarm information in the alarm queue.
10、 根据权利要求 9所述的系统, 其中, 所述主告警服务器为权利要求10. The system according to claim 9, wherein the primary alarm server is a claim
5至 8中任一项所述的服务器。 The server of any one of 5 to 8.
PCT/CN2010/079942 2010-09-20 2010-12-17 Method, server and system for improving alarm processing efficiency WO2012037760A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010288197.5 2010-09-20
CN201010288197.5A CN101958804B (en) 2010-09-20 2010-09-20 Method for promoting warning processing efficiency, server and system

Publications (1)

Publication Number Publication Date
WO2012037760A1 true WO2012037760A1 (en) 2012-03-29

Family

ID=43485926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079942 WO2012037760A1 (en) 2010-09-20 2010-12-17 Method, server and system for improving alarm processing efficiency

Country Status (2)

Country Link
CN (1) CN101958804B (en)
WO (1) WO2012037760A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326874A (en) * 2012-03-22 2013-09-25 西门子公司 System and method for alarm management
CN105323081A (en) * 2014-06-16 2016-02-10 中兴通讯股份有限公司 Parallel processing method, device, and processing method and device of alarm
CN106375103B (en) * 2015-07-23 2020-02-21 杭州海康威视数字技术股份有限公司 Alarm data acquisition and transmission method
CN105262621B (en) * 2015-09-22 2019-06-25 上海斐讯数据通信技术有限公司 Alert processing method and OLT device in a kind of passive optical network
CN105450445A (en) * 2015-11-17 2016-03-30 武汉日电光通信工业有限公司 High-performance alarm processing system under large capacity packet transmission system and method thereof
CN105281962B (en) * 2015-12-03 2018-08-28 成都广达新网科技股份有限公司 One kind realizing network management performance acquisition system and its working method based on parallel pipeline
CN106851703B (en) * 2016-12-22 2021-03-02 金华市智甄通信设备有限公司 Method and device for processing alarm information by cloud access controller
CN112804349B (en) 2017-07-14 2023-07-04 创新先进技术有限公司 Method and device for processing consensus request in block chain consensus network and electronic equipment
CN107689984B (en) * 2017-07-27 2020-02-07 深圳壹账通智能科技有限公司 Message pushing method and device, computer equipment and storage medium
CN107958535B (en) * 2017-11-01 2020-08-18 深圳怡化电脑股份有限公司 Method and device for acquiring paper money information and terminal equipment
CN109286532B (en) * 2018-11-28 2021-07-27 郑州云海信息技术有限公司 Management method and device for alarm information in cloud computing system
CN110502404B (en) * 2019-07-22 2022-05-31 平安科技(深圳)有限公司 Early warning processing method based on data management platform and related equipment
CN110610344A (en) * 2019-07-29 2019-12-24 黑龙江金域医学检验所有限公司 Method, device and equipment for improving auditing speed of automatic auditing system
CN112422303B (en) * 2019-08-21 2022-04-05 大唐移动通信设备有限公司 Alarm data processing method, manager entity and network element
CN112749018B (en) * 2019-10-31 2023-11-07 大唐移动通信设备有限公司 Message processing method and message processing device
CN111371602B (en) * 2020-02-27 2023-05-23 中国联合网络通信集团有限公司 Alarm information processing method and equipment
CN113342603B (en) * 2021-06-07 2022-09-27 平安证券股份有限公司 Alarm data processing method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007003214A1 (en) * 2005-07-06 2007-01-11 Telecom Italia S.P.A Method and system for identifying faults in communication networks
CN101018157A (en) * 2007-02-14 2007-08-15 华为技术有限公司 Alarm processing method and alarming system
CN101170361A (en) * 2006-10-27 2008-04-30 中兴通讯股份有限公司 Method for improving alarm data search and storage efficiency
CN101674592A (en) * 2009-10-13 2010-03-17 浪潮通信信息系统有限公司 Method for multithreading warning association analysis in mobile communication network management system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2950262B2 (en) * 1996-11-29 1999-09-20 日本電気株式会社 How to set up a multi-integrated agent system
CN101145969B (en) * 2007-10-25 2010-06-02 中兴通讯股份有限公司 A method and system for reducing quantity of alarms reported by network elements
CN101599027B (en) * 2009-06-30 2013-02-13 中兴通讯股份有限公司 Thread pool management method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007003214A1 (en) * 2005-07-06 2007-01-11 Telecom Italia S.P.A Method and system for identifying faults in communication networks
CN101170361A (en) * 2006-10-27 2008-04-30 中兴通讯股份有限公司 Method for improving alarm data search and storage efficiency
CN101018157A (en) * 2007-02-14 2007-08-15 华为技术有限公司 Alarm processing method and alarming system
CN101674592A (en) * 2009-10-13 2010-03-17 浪潮通信信息系统有限公司 Method for multithreading warning association analysis in mobile communication network management system

Also Published As

Publication number Publication date
CN101958804A (en) 2011-01-26
CN101958804B (en) 2014-05-28

Similar Documents

Publication Publication Date Title
WO2012037760A1 (en) Method, server and system for improving alarm processing efficiency
CN108920261B (en) Two-stage adaptive scheduling method suitable for massive parallel data processing tasks
CN106802826B (en) Service processing method and device based on thread pool
WO2020000944A1 (en) Preemptive scheduling based resource sharing use method, system and
Kliazovich et al. CA-DAG: Modeling communication-aware applications for scheduling in cloud computing
EP2701074B1 (en) Method, device, and system for performing scheduling in multi-processor core system
WO2018072687A1 (en) Resource scheduling method and apparatus, and filtered scheduler
CN103309738B (en) User job dispatching method and device
TWI675339B (en) Virtual item allocation method, system and server
WO2014187412A1 (en) Method and apparatus for controlling message processing thread
CN105812276B (en) Message forwarding adaptive system and method adopting multi-core processor
US9449018B1 (en) File operation task optimization
CN111950988B (en) Distributed workflow scheduling method and device, storage medium and electronic equipment
CN112162865A (en) Server scheduling method and device and server
CN105511954A (en) Method and device for message processing
CN109788315A (en) Video transcoding method, apparatus and system
CN103905533A (en) Distributed type alarm monitoring method and system based on cloud storage
WO2024021489A1 (en) Task scheduling method and apparatus, and kubernetes scheduler
Simoncelli et al. Stream-monitoring with blockmon: convergence of network measurements and data analytics platforms
CN110177146A (en) A kind of non-obstruction Restful communication means, device and equipment based on asynchronous event driven
CN113626173B (en) Scheduling method, scheduling device and storage medium
EP4123449A1 (en) Resource scheduling method and related device
CN111913784B (en) Task scheduling method and device, network element and storage medium
CN111831408A (en) Asynchronous task processing method and device, electronic equipment and medium
CN117112121A (en) Distributed task processing system, method, apparatus and computer program product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10857473

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10857473

Country of ref document: EP

Kind code of ref document: A1