CN106712984A - Alarm processing method and device - Google Patents

Alarm processing method and device Download PDF

Info

Publication number
CN106712984A
CN106712984A CN201510454982.6A CN201510454982A CN106712984A CN 106712984 A CN106712984 A CN 106712984A CN 201510454982 A CN201510454982 A CN 201510454982A CN 106712984 A CN106712984 A CN 106712984A
Authority
CN
China
Prior art keywords
communication link
alarming
alarming node
node
alarm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510454982.6A
Other languages
Chinese (zh)
Other versions
CN106712984B (en
Inventor
赵子青
聂鑫
梁定安
杨波
黄浩宇
陶凛然
黄伟俊
曹凤龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510454982.6A priority Critical patent/CN106712984B/en
Publication of CN106712984A publication Critical patent/CN106712984A/en
Application granted granted Critical
Publication of CN106712984B publication Critical patent/CN106712984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an alarm processing method. The alarm processing method comprises the steps that alarm information is received, and alarm nodes are acquired based on the alarm information; the alarm nodes of a first preset time interval before the alarm time point of the alarm nodes and a second time interval after the alarm time point of the alarm nodes are acquired in all the communication links in which the alarm nodes are located; and the alarm coefficient of each communication link is calculated based on the alarm nodes so as to perform alarm processing on each communication link according to the alarm coefficient. The invention also discloses an alarm processing device. Alarm processing is performed according to the concrete alarm situation of each communication link with no requirement for performing alarm processing randomly or according to the preset priority so that the timeliness of alarm processing is high.

Description

Alert processing method and device
Technical field
The present invention relates to Internet technical field, a kind of alert processing method and device are related specifically to.
Background technology
In existing communication link each node often in communication process by send detection data bag or from Detection mode determines whether link is normal, when there is node to break down, is often sent to control centre Warning information, control centre carries out troubleshooting after warning information is received;But the alarm broken down Node is often connected with multilink, and control centre tends not to determine which link needs first to carry out event Barrier treatment, carries out troubleshooting after which link, then can be according to default priority successively to each link Memory troubleshooting, causing some to be badly in need of link to be processed can not be processed in time, troubleshooting promptness It is poor.
The content of the invention
The embodiment of the present invention provides a kind of alert processing method and device, it is intended to solve troubleshooting promptness Poor.
To achieve the above object, the embodiment of the present invention proposes a kind of alert processing method, the alarming processing Method includes step:
Warning information is being received, alarming node is being obtained based on the warning information;
In each communication link where obtaining the alarming node, the alarm time point of the alarming node First prefixed time interval and the afterwards alarming node of the second time interval before;
The alarm coefficient of each communication link is calculated based on the alarming node, with according to the alarm Coefficient carries out alarming processing to communication link each described.
To achieve these goals, the embodiment of the present invention is it is further proposed that a kind of alarm treatment device, institute Stating alarm treatment device includes:
Acquisition module, for receiving warning information, alarming node is obtained based on the warning information, And in each communication link where obtaining the alarming node, the alarm time point of the alarming node First prefixed time interval and the afterwards alarming node of the second time interval before;
Computing module, the alarm coefficient for calculating each communication link based on the alarming node, Alarming processing is carried out to communication link each described with according to the alarm coefficient.
Alert processing method proposed by the present invention and device, are receiving warning information, based on the alarm In acquisition of information alarming node, and each communication link where obtaining the alarming node, the alarm First prefixed time interval and the alarm section of the second time interval afterwards before the alarm time point of node Point, the alarm coefficient of each communication link is calculated based on the alarming node, with according to the alarm Coefficient carries out alarming processing to communication link each described, realizes the specific announcement according to each communication link Alert condition carries out alarming processing, and without carrying out alarming processing according to default priority or at random, accuses The promptness of alert treatment is higher.
Brief description of the drawings
Fig. 1 is the hardware structure schematic diagram involved by embodiment of the present invention alarm treatment device;
Fig. 2 is the schematic flow sheet of the first embodiment of alert processing method of the present invention;
Fig. 3 is the schematic flow sheet that the present invention carries out alarming processing according to alarm coefficient to communication link;
Fig. 4 is the refinement schematic flow sheet of the alarm coefficient that communication link is calculated based on alarming node;
Fig. 5 is that the non-alarming node positioned at the end of communication link is rejected during alarm coefficient is calculated The refinement schematic flow sheet of group;
The high-level schematic functional block diagram of the first embodiment of Fig. 6 alarm treatment devices of the present invention;
Fig. 7 is that present invention increase carries out the high-level schematic functional block diagram after alarming processing function to communication link;
Fig. 8 is the refinement high-level schematic functional block diagram of computing module in Fig. 6 and Fig. 7;
Fig. 9 is the refinement high-level schematic functional block diagram of computing unit in Fig. 8.
The realization of the object of the invention, functional characteristics and advantage will be done further referring to the drawings in conjunction with the embodiments Explanation.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, limit is not used to The fixed present invention.
The primary solutions of the embodiment of the present invention are:Warning information is being received, based on the alarm letter Breath obtains alarming node;In each communication link where obtaining the alarming node, the alarming node Alarm time point before the first prefixed time interval and the alarming node of the second time interval afterwards;Base The alarm coefficient of each communication link is calculated in the alarming node, with according to the alarm coefficient pair Each described communication link carries out alarming processing.By each communication link pair according to where alarming node The alarm coefficient answered carries out alarming processing, is prevented effectively from alarming processing not in time.
Because existing alarming node is after alarm, it is impossible to determine each communication chain at the place of alarming node The sequencing of road alarming processing, so as to cause alarming processing not prompt enough.
The alarm treatment device of embodiment of the present invention framework one, the instrument according to where alarming node each lead to The corresponding alarm coefficient of letter link carries out alarming processing, so that alarming processing is not in time.
Wherein, the present embodiment alarm treatment device can be carried on terminal.Involved by the alarm treatment device Hardware structure can be as shown in Figure 1.
Fig. 1 shows the hardware structure involved by embodiment of the present invention alarm treatment device.As shown in figure 1, Hardware involved by the alarm treatment device includes:Processor 1001, such as CPU, network interface 1004, User interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize Connection communication in the terminal between each building block.User interface 1003 can include display screen (Display), the component such as keyboard (Keyboard), mouse, the information for receiving user input, and The information of reception is sent to processor 1005 and is processed.Display screen can be LCD display, LED Display screen, or touch-screen is used for display alarm processing unit needs the data of display, for example, show Alarm prompt.Optional user interface 1003 can also include wireline interface, the wave point of standard. Network interface 1004 can optionally include wireline interface, the wave point (such as WI-FI interfaces) of standard. Memory 1005 can be the memory (non-volatile of high-speed RAM memory, or stabilization Memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.As shown in figure 1, as can be with a kind of memory 1005 of computer-readable storage medium Including operating system, network communication module, Subscriber Interface Module SIM and alarming processing program
In the hardware involved by the alarm treatment device shown in Fig. 1, network interface 1004 is mainly used in connecting Application platform is connect, row data communication is entered with application platform;User interface 1003 is mainly used in connecting client, Enter row data communication with client, receive information and the instruction of client input;And processor 1001 can be with For calling the alarming processing program stored in memory 1005, and perform following operation:
Warning information is being received, alarming node is being obtained based on the warning information;
In each communication link where obtaining the alarming node, the alarm time point of the alarming node First prefixed time interval and the afterwards alarming node of the second time interval before;
The alarm coefficient of each communication link is calculated based on the alarming node, with according to the alarm Coefficient carries out alarming processing to communication link each described.
Further, in one embodiment, processor 1001 calls the announcement stored in memory 1005 Alert processing routine can perform following operation:
Alarm coefficient based on communication link each described is ranked up to communication link each described, with life Into the processing priority of communication link each described, wherein the alarm more big processing priority of coefficient It is higher;
Alarming processing is carried out to communication link each described according to the processing priority successively.
Further, in one embodiment, processor 1001 calls the announcement stored in memory 1005 Alert processing routine can perform following operation:
The continuous alarming node group of each continuous alarming node composition of communication link is obtained successively, and Alarming node described in the most described continuous alarming node group of alarming node in each described communication link Quantity;
Continuous non-alarming node group after each described alarming node is obtained in each described communication link successively Into non-alarming node group;
In the non-alarming node group in getting each described communication link, according to not alerting for getting The most described continuous announcement of alarming node in the quantity of non-alarming node and the communication link in node group The quantity of alarming node calculates the alarm coefficient of the communication link described in alert node group.
Further, in one embodiment, processor 1001 calls the announcement stored in memory 1005 Alert processing routine can perform following operation:
In the non-alarming node group in getting each described communication link, do not accuse described in get The alarming node group positioned at the communication link end is rejected in alert node group, it is described not alert to update Point group;
Accused in the quantity and the communication link of non-alarming node in non-alarming node group after according to renewal The quantity of alarming node calculates the communication link described in the most described continuous alarming node group of alert node Alarm coefficient.
Further, in one embodiment, processor 1001 calls the announcement stored in memory 1005 Alert processing routine can perform following operation:
When all nodes for having communication link are alerted, or again with the presence of the continuous announcement in communication link end During alert node, preset multiple is multiplied by the alarm coefficient.
Further, in one embodiment, processor 1001 calls the announcement stored in memory 1005 Alert processing routine can perform following operation:
When the alarming node for having communication link is single, the alarming node is obtained in the communication link In sequence number;
The alarm coefficient of the communication link is calculated according to the sequence number;
When the alarming node for having communication link is for multiple, the continuous alarming node group of communication link is obtained Into continuous alarming node group, and in the communication link alarming node it is most it is described continuous alarm section The quantity of alarming node described in point group;
Obtain in the communication link not accusing for continuous non-alarming node composition after each described alarming node Alert node group;
Accused in quantity and the communication link according to non-alarming node in the non-alarming node group for getting The quantity of alarming node calculates the communication link described in the most described continuous alarming node group of alert node Alarm coefficient.
The present embodiment is receiving warning information according to such scheme, is obtained based on the warning information and accused In alert node, and each communication link where obtaining the alarming node, the alarm of the alarming node First prefixed time interval and the alarming node of the second time interval afterwards before time point, based on described Alarming node calculates the alarm coefficient of each communication link, with according to it is described alarm coefficient to each institute Stating communication link carries out alarming processing, realizes and is accused according to the specific alarm situation of each communication link Alert treatment, and without carrying out alarming processing according to default priority or at random, alarming processing it is timely Property is higher.
Based on above-mentioned hardware structure, alert processing method embodiment of the present invention is proposed.
As shown in Fig. 2 a kind of first embodiment of alert processing method of the invention is proposed, at the alarm Reason method includes:
Step S10, is receiving warning information, and alarming node is obtained based on the warning information;
In the present embodiment, the running status of its internal components of the detectable device of each node, in the fortune of node During row abnormal state, sent a warning message to control centre's such as controller, comprising the announcement in the warning information The information of alert node, the information of the alarming node may include the information such as numbering and/or the address of alarming node. Also decision node whether can break down by other means, such as loosen detection mutually between each node Message, determines whether adjacent node is normal by detection messages;Or control centre sends to each node Whether detection messages are normal to determine each node.Node failure is detected and the mode of alarm is not limited to It is more than for example, other manner will not be repeated here.
Step S20, in each communication link where obtaining the alarming node, the announcement of the alarming node First prefixed time interval and the alarming node of the second time interval afterwards before alert time point;
Communication link where obtaining alarming node can be obtained by the topology information for prestoring, such as right In tree-like network topology structure, can be based on can node neighbor information or topologies figure obtain. First prefixed time interval and the second prefixed time interval may be the same or different, and preferred scheme is One prefixed time interval is more than second time interval, and the alarming node in each communication link can be entered Line flag, in order to subsequently be calculated, can be carried out by way of the default mark of addition to alarming node Mark.
Step S30, the alarm coefficient of each communication link is calculated based on the alarming node, with basis The alarm coefficient carries out alarming processing to communication link each described.
In the present embodiment, according to alarm coefficient to the detailed process reference picture 3 of communication link, i.e., described step Include step after rapid S30:
Step S40, the alarm coefficient based on communication link each described is arranged communication link each described Sequence, to generate the processing priority of each communication link, wherein the more big place of the alarm coefficient Reason priority is higher;
Step S50, alarming processing is carried out according to the processing priority to communication link each described successively.
Each communication link where alarming node is ranked up by alerting coefficient, and is tied according to sequence Fruit carries out alarming processing to each communication link successively, you can the more communication link of first handling failure, then The less communication link of handling failure, improves the promptness of alarming processing.
It is understood that different communication links can be directed to when alarming processing is carried out sets different announcements Alert treatment strategy, for example, preset the mapping relations between alarm coefficient and alarming processing strategy, according to each The corresponding alarming processing strategy of alarm coefficient of individual communication link, alarming processing is carried out to each communication link. Further, the exportable prompt message of communication link for alarm coefficient more than predetermined threshold value, to point out The failure of the user communication link is more complicated, user may be based on the prompt message carry out manual handle or Manual confirmation is carried out after control centre carries out alarming processing to the communication link.
The alert processing method that the present embodiment is proposed, is receiving warning information, based on the warning information Obtain alarming node, and in each communication link where obtaining the alarming node, the alarming node Alarm time point before the first prefixed time interval and the alarming node of the second time interval, base afterwards The alarm coefficient of each communication link is calculated in the alarming node, with according to the alarm coefficient pair Each described communication link carries out alarming processing, realizes the specific alarm situation according to each communication link Carry out alarming processing, and without carrying out alarming processing according to default priority or at random, alarming processing Promptness it is higher.
Further, the first embodiment based on above-mentioned alert processing method, proposes that of the invention second is real Apply example.As shown in figure 4, the step S30 includes:
Step S31, obtains the continuous alarming node of each continuous alarming node composition of communication link successively Accused described in the most described continuous alarming node group of alarming node in group, and each described communication link The quantity of alert node;
Step S32, obtains in each described communication link and is not accused continuously after each described alarming node successively The non-alarming node group of alert node composition;
Step S33, in the non-alarming node group in getting each described communication link, according to getting Non- alarming node group in non-alarming node quantity and the communication link in the most institute of alarming node The quantity for stating alarming node described in continuous alarming node group calculates the alarm coefficient of the communication link.
In the present embodiment, there is no sequencing between step S31 and step S32.Calculate alarm system Several formula is preferably K=H × (1+1/N1+ ...+1+Nn), wherein H is alarm in the communication link The quantity of alarming node described in the most described continuous alarming node group of node;N is non-alarming node group In non-alarming node quantity, n be communication link in non-alarming node group numbering.It is understood that For ease of comparing predetermined coefficient, i.e. K=H × (1+1/N can be multiplied by alarm coefficient1+……+1+Nn)× M, M are predetermined coefficient.
Illustrated below by way of citing, 1 represents alarming node, and 0 represents non-alarming node, predetermined coefficient M is 100:
1) for communication link 1-1-0-0-1-1-1-0-0-0-1, exist two non-alarming node group 0-0 and 0-0-0, the quantity of non-alarming node is 2 in the first non-alarming node group, in the second non-alarming node group not The quantity of alarming node not 3, alarming node group includes 1-1,1-1-1 and 1, the most announcement of alarming node The quantity of alarming node is 3 in alert node group, then the alarm coefficient of the communication link be K=3 × (1+1/2+1+1/3+1) × 100=1150;
2) for communication link 0-0-1-1-0-0-1-1-1-0-0-0-1, due to not accusing for obtaining in this programme Alert node group is the node composition of not continuous alarm after alarming node, in the communication link head Even a continuous node of not alarming is not belonging to the node group of not alarming described in the present embodiment, therefore the communication link Alert coefficient result of calculation with 1) in communication link alert coefficient result of calculation it is identical, i.e. the communication There are two non-alarming node group 0-0 and 0-0-0 in link, section is not alerted in the first non-alarming node group The quantity of point is 2, the quantity of non-alarming node not 3 in the second non-alarming node group, and alarming node group includes 1-1,1-1-1 and 1, the quantity of alarming node is 3 in the most alarming node group of alarming node, then should The alarm coefficient of communication link is K=3 × (1+1/2+1+1/3+1) × 100=1150;
Based on above description, for communication link 1-0-0-0-1, alarm coefficient be K=1 × (1+1/3+1) × 100=233;For communication link 1-1-0-0-1, alarm coefficient is K=2 × (1+1/2+1) × 100=250.
Further, when not occurring continuously alerting due to the communication node of communication link end, to communication chain The overall failure influence on road is little, then reference picture 5, and the step S33 includes step:
Step S331, in the non-alarming node group in getting each described communication link, is getting Described non-alarming node group in reject positioned at the communication link end alarming node group, to update State not alert a group;
Step S332, according to renewal after non-alarming node group in the quantity of non-alarming node and described logical The quantity of alarming node calculates institute described in the most described continuous alarming node group of alarming node in letter link State the alarm coefficient of communication link.
For example, communication link is 1-0-0-1-1-0-0, there are two non-alarming node groups in the communication link 0-0 and 0-0, it is necessary to reject the non-alarming node group of communication link end, then non-alarming node group muscle position 0-0, the quantity of non-alarming node is 2 in non-alarming node group, and alarming node group includes 1 and 1-1, is accused The quantity of alarming node is 2 in the most alarming node group of alert node, then the alarm coefficient of the communication link is K=2 × (1+1/2+1) × 100=500.
Further, when all nodes are alerted in a communication link, the possible communication link may be badly in need of Carry out troubleshooting, but number of nodes that may be in the communication link less causes the alarm coefficient may be low In the communication link that other are not alerted all, then alarm coefficient corresponding to the communication link is needed to be multiplied by pre- If multiple;In person's father node for alarming node there may be the situation that alarm also occurs in child node, and son is saved Point occurs seldom causing father node failure during alarm, then in communication link end, continuous multiple node is failure During node, the possible node breaks down, then need to be multiplied by the alarm coefficient of the communication link default Multiple, i.e., after described step S33, the step S30 also includes step:
When all nodes for having communication link are alerted, or again with the presence of the continuous announcement in communication link end During alert node, preset multiple is multiplied by the alarm coefficient.
When preset multiple is 10, for communication link 0-0-0-1-1, K=(2 × 1 × 100) × 10=2000; For communication link 1-1-1-1-1, K=(5 × 1 × 100) × 10=5000.
Further, to improve the accuracy that alarm coefficient is calculated, the present invention is proposed based on first embodiment 3rd embodiment, in the present embodiment the step S30 include:
When the alarming node for having communication link is single, the alarming node is obtained in the communication link In sequence number;
The alarm coefficient of the communication link is calculated according to the sequence number;
When the alarming node for having communication link is for multiple, the continuous alarming node group of communication link is obtained Into continuous alarming node group, and in the communication link alarming node it is most it is described continuous alarm section The quantity of alarming node described in point group;
Obtain in the communication link not accusing for continuous non-alarming node composition after each described alarming node Alert node group;
Accused in quantity and the communication link according to non-alarming node in the non-alarming node group for getting The quantity of alarming node calculates the communication link described in the most described continuous alarming node group of alert node Alarm coefficient.
Computing formula for the alarm coefficient of the communication link of single alarming node is as follows:K=(1+H/N), Wherein H is alarming node sequence number in a communication link, and M is the sum of alarming node in communication link. It is understood that predetermined coefficient can be multiplied by alarm coefficient for ease of comparing, i.e. K=K=(1+H/N) × M, M are predetermined coefficient.Illustrated below by way of example, for example, for communication link 1-0-0-0, K=(1+1/4) × 100=125, for communication link 0-1-0-0, K=(1+2/4) × 100=150.Due to logical Generally by 0, then H is usually the sequence number of node and plus 1. the sequence number of each node in letter link
Alarm coefficient calculating process for the communication link of multiple alarming nodes is implemented with reference to above-mentioned second Example, will not be repeated here.
Accordingly, the preferred embodiment of alarm treatment device of the present invention is proposed.With reference to Fig. 6, at the alarm Reason device includes acquisition module 10, computing module 20, wherein:
The acquisition module 10, for receiving warning information, is obtained based on the warning information and alerted In each communication link where node, and the acquisition alarming node, the alarm of the alarming node First prefixed time interval and the alarming node of the second time interval afterwards before time point;
In the present embodiment, the running status of its internal components of the detectable device of each node, in the fortune of node During row abnormal state, sent a warning message to control centre's such as controller, comprising the announcement in the warning information The information of alert node, the information of the alarming node may include the information such as numbering and/or the address of alarming node. Also decision node whether can break down by other means, such as loosen detection mutually between each node Message, determines whether adjacent node is normal by detection messages;Or control centre sends to each node Whether detection messages are normal to determine each node.Node failure is detected and the mode of alarm is not limited to It is more than for example, other manner will not be repeated here.
Communication link where acquisition module 10 obtains alarming node can be obtained by the topology information for prestoring Arrive, such as tree-like network topology structure, can be based on can node neighbor information or topology Result figure is obtained.First prefixed time interval and the second prefixed time interval may be the same or different, Preferred scheme is that the first prefixed time interval is more than second time interval, can be in each communication link Alarming node be marked, in order to subsequently be calculated, can be by way of the default mark of addition pair Alarming node is marked.
The computing module 20, the alarm for calculating each communication link based on the alarming node Coefficient, alarming processing is carried out with according to the alarm coefficient to communication link each described.
In the present embodiment, according to alarm coefficient to the detailed process reference picture 7 of communication link, i.e., described announcement Alert processing unit also includes:
Order module 30, for the alarm coefficient based on communication link each described to communication chain each described Road is ranked up, to generate the processing priority of each communication link, wherein the alarm coefficient is got over The big processing priority is higher;
Processing module 40, for being accused to communication link each described successively according to the processing priority Alert treatment.
Order module 30 is ranked up by alerting coefficient to each communication link where alarming node, place Reason module 40 carries out alarming processing to each communication link successively according to ranking results, you can first handling failure More communication link, the less communication link of reprocessing failure, improves the promptness of alarming processing.
It is understood that different communication links can be directed to when alarming processing is carried out sets different announcements Alert treatment strategy, for example, preset the mapping relations between alarm coefficient and alarming processing strategy, processes mould Block 40 enters according to the corresponding alarming processing strategy of alarm coefficient of each communication link to each communication link Row alarming processing.Further, the exportable prompting of communication link for alarm coefficient more than predetermined threshold value Information, to point out the failure of the user communication link more complicated, user may be based on the prompt message to be carried out Manual handle carries out manual confirmation after control centre carries out alarming processing to the communication link.
The alarm treatment device that the present embodiment is proposed, is receiving warning information, based on the warning information Obtain alarming node, and in each communication link where obtaining the alarming node, the alarming node Alarm time point before the first prefixed time interval and the alarming node of the second time interval, base afterwards The alarm coefficient of each communication link is calculated in the alarming node, with according to the alarm coefficient pair Each described communication link carries out alarming processing, realizes the specific alarm situation according to each communication link Carry out alarming processing, and without carrying out alarming processing according to default priority or at random, alarming processing Promptness it is higher.
Further, the first embodiment based on above-mentioned alarm treatment device, proposes that of the invention second is real Apply example.As shown in figure 8, the computing module 20 includes:
First acquisition unit 21, for obtaining each continuous alarming node composition of communication link successively Continuous alarming node group, and the most described continuous alarm section of alarming node in each described communication link The quantity of alarming node described in point group, and each described announcement in each described communication link is obtained successively The non-alarming node group of continuous non-alarming node composition after alert node;
First computing unit 22, in the non-alarming node group in getting each described communication link, Section is alerted in quantity and the communication link according to non-alarming node in the non-alarming node group for getting The quantity of alarming node calculates the announcement of the communication link described in the most described continuous alarming node group of point Alert coefficient.
The formula for calculating alarm coefficient is preferably K=H × (1+1/N1+ ...+1+Nn), wherein H is described The quantity of alarming node described in the most described continuous alarming node group of alarming node in communication link;N It is the quantity of non-alarming node in non-alarming node group, n is the numbering of non-alarming node group in communication link. It is understood that for ease of compare can to alarm coefficient be multiplied by predetermined coefficient, i.e. K=H × (1+1/N1+ ...+1+Nn) × M, M is predetermined coefficient.
Illustrated below by way of citing, 1 represents alarming node, and 0 represents non-alarming node, predetermined coefficient M is 100:
1) for communication link 1-1-0-0-1-1-1-0-0-0-1, exist two non-alarming node group 0-0 and 0-0-0, the quantity of non-alarming node is 2 in the first non-alarming node group, in the second non-alarming node group not The quantity of alarming node not 3, alarming node group includes 1-1,1-1-1 and 1, the most announcement of alarming node The quantity of alarming node is 3 in alert node group, then the alarm coefficient of the communication link be K=3 × (1+1/2+1+1/3+1) × 100=1150;
2) for communication link 0-0-1-1-0-0-1-1-1-0-0-0-1, due to not accusing for obtaining in this programme Alert node group is the node composition of not continuous alarm after alarming node, in the communication link head Even a continuous node of not alarming is not belonging to the node group of not alarming described in the present embodiment, therefore the communication link Alert coefficient result of calculation with 1) in communication link alert coefficient result of calculation it is identical, i.e. the communication There are two non-alarming node group 0-0 and 0-0-0 in link, section is not alerted in the first non-alarming node group The quantity of point is 2, the quantity of non-alarming node not 3 in the second non-alarming node group, and alarming node group includes 1-1,1-1-1 and 1, the quantity of alarming node is 3 in the most alarming node group of alarming node, then should The alarm coefficient of communication link is K=3 × (1+1/2+1+1/3+1) × 100=1150;
Based on above description, for communication link 1-0-0-0-1, alarm coefficient be K=1 × (1+1/3+1) × 100=233;For communication link 1-1-0-0-1, alarm coefficient is K=2 × (1+1/2+1) × 100=250.
Further, when not occurring continuously alerting due to the communication node of communication link end, to communication chain The overall failure influence on road is little, then reference picture 9, and the computing unit 22 includes:
Subelement 221 is updated, in the non-alarming node group in getting each described communication link, The alarming node group positioned at the communication link end is rejected in non-alarming node group described in getting, It is described not alert a group to update;
Computation subunit 222, for non-alarming node in the non-alarming node group after according to renewal quantity with And in the communication link alarming node described in the most described continuous alarming node group of alarming node number Amount calculates the alarm coefficient of the communication link.
For example, communication link is 1-0-0-1-1-0-0, there are two non-alarming node groups in the communication link 0-0 and 0-0, it is necessary to reject the non-alarming node group of communication link end, then non-alarming node group muscle position 0-0, the quantity of non-alarming node is 2 in non-alarming node group, and alarming node group includes 1 and 1-1, is accused The quantity of alarming node is 2 in the most alarming node group of alert node, then the alarm coefficient of the communication link is K=2 × (1+1/2+1) × 100=500.
Further, when all nodes are alerted in a communication link, the possible communication link may be badly in need of Carry out troubleshooting, but number of nodes that may be in the communication link less causes the alarm coefficient may be low In the communication link that other are not alerted all, then alarm coefficient corresponding to the communication link is needed to be multiplied by pre- If multiple;In person's father node for alarming node there may be the situation that alarm also occurs in child node, and son is saved Point occurs seldom causing father node failure during alarm, then in communication link end, continuous multiple node is failure During node, the possible node breaks down, then need to be multiplied by the alarm coefficient of the communication link default Multiple, i.e., described computing unit 22 is additionally operable to when all nodes for having communication link are alerted, or When again with the presence of the node of the continuous alarm in communication link end, preset multiple is multiplied by the alarm coefficient.
When preset multiple is 10, for communication link 0-0-0-1-1, K=(2 × 1 × 100) × 10=2000; For communication link 1-1-1-1-1, K=(5 × 1 × 100) × 10=5000.
Further, to improve the accuracy that alarm coefficient is calculated, the present invention is proposed based on first embodiment 3rd embodiment, the computing module 20 includes:
Second acquisition unit, for when the alarming node for having communication link is single, obtaining the alarm Sequence number of the node in the communication link;
Second computing unit, the alarm coefficient for calculating the communication link according to the sequence number;
The second acquisition unit, for when the alarming node for having communication link is for multiple, obtaining described The continuous alarming node group of the continuous alarming node composition of communication link, and section is alerted in the communication link The quantity of alarming node described in the most described continuous alarming node group of point, and obtain the communication chain The non-alarming node group that continuous non-alarming node is constituted after each described alarming node in road;
Second computing unit, is additionally operable to according to non-alarming node in the non-alarming node group for getting Section is alerted in quantity and the communication link described in the most described continuous alarming node group of alarming node The quantity of point calculates the alarm coefficient of the communication link.
Computing formula for the alarm coefficient of the communication link of single alarming node is as follows:K=(1+H/N), Wherein H is alarming node sequence number in a communication link, and M is the sum of alarming node in communication link. It is understood that predetermined coefficient can be multiplied by alarm coefficient for ease of comparing, i.e. K=K=(1+H/N) × M, M are predetermined coefficient.Illustrated below by way of example, for example, for communication link 1-0-0-0, K=(1+1/4) × 100=125, for communication link 0-1-0-0, K=(1+2/4) × 100=150.Due to logical Generally by 0, then H is usually the sequence number of node and plus 1 the sequence number of each node in letter link.The Two acquiring units can be alternatively different units with first acquisition unit for same unit, similarly second calculate single Unit can be alternatively different units with the first computing unit for same unit.
Alarm coefficient calculating process for the communication link of multiple alarming nodes is implemented with reference to above-mentioned second Example, will not be repeated here.
It should be noted that herein, term " including ", "comprising" or its any other variant Be intended to including for nonexcludability so that process, method, article including a series of key elements or Person's device not only includes those key elements, but also other key elements including being not expressly set out, or also Including being this process, method, article or the intrinsic key element of device.In the feelings without more limitations Under condition, the key element limited by sentence "including a ...", it is not excluded that the process including the key element, Also there is other identical element in method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned Embodiment method can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical Cross hardware, but the former is more preferably implementation method in many cases.It is of the invention based on such understanding The part that technical scheme substantially contributes to prior art in other words can in the form of software product body Reveal and, the computer software product is stored in storage medium (such as ROM/RAM, magnetic disc, a light Disk) in, including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, service Device, or the network equipment etc.) perform method described in each embodiment of the invention.

Claims (12)

1. a kind of alert processing method, it is characterised in that the alert processing method includes step:
Warning information is being received, alarming node is being obtained based on the warning information;
In each communication link where obtaining the alarming node, the alarm time point of the alarming node First prefixed time interval and the afterwards alarming node of the second time interval before;
The alarm coefficient of each communication link is calculated based on the alarming node, with according to the alarm Coefficient carries out alarming processing to communication link each described.
2. alert processing method as claimed in claim 1, it is characterised in that described based on the alarm After the step of node calculates the alarm coefficient of each communication link, the alert processing method is also wrapped Include step:
Alarm coefficient based on communication link each described is ranked up to communication link each described, with life Into the processing priority of communication link each described, wherein the alarm more big processing priority of coefficient It is higher;
Alarming processing is carried out to communication link each described according to the processing priority successively.
3. alert processing method as claimed in claim 1 or 2, it is characterised in that described based on described The step of alarming node calculates the alarm coefficient of each communication link includes:
The continuous alarming node group of each continuous alarming node composition of communication link is obtained successively, and Alarming node described in the most described continuous alarming node group of alarming node in each described communication link Quantity;
Continuous non-alarming node group after each described alarming node is obtained in each described communication link successively Into non-alarming node group;
In the non-alarming node group in getting each described communication link, according to not alerting for getting The most described continuous announcement of alarming node in the quantity of non-alarming node and the communication link in node group The quantity of alarming node calculates the alarm coefficient of the communication link described in alert node group.
4. alert processing method as claimed in claim 3, it is characterised in that described to get each During non-alarming node group in the communication link, section is not alerted according in the non-alarming node group for getting Accused described in the most described continuous alarming node group of alarming node in the quantity and the communication link of point The step of quantity of alert node calculates the alarm coefficient of the communication link includes:
In the non-alarming node group in getting each described communication link, do not accuse described in get The alarming node group positioned at the communication link end is rejected in alert node group, it is described not alert to update Point group;
Accused in the quantity and the communication link of non-alarming node in non-alarming node group after according to renewal The quantity of alarming node calculates the communication link described in the most described continuous alarming node group of alert node Alarm coefficient.
5. alert processing method as claimed in claim 3, it is characterised in that getting described in each During non-alarming node group in communication link, according to non-alarming node in the non-alarming node group for getting It is described to be calculated based on the alarming node after the step of quantity calculates the alarm coefficient of the communication link The step of alarm coefficient of each communication link, includes:
When all nodes for having communication link are alerted, or again with the presence of the continuous announcement in communication link end During alert node, preset multiple is multiplied by the alarm coefficient.
6. alert processing method as claimed in claim 1 or 2, it is characterised in that described based on described The alarm coefficient of positional information meter each communication link of the alarming node in each described communication link The step of include:
When the alarming node for having communication link is single, the alarming node is obtained in the communication link In sequence number;
The alarm coefficient of the communication link is calculated according to the sequence number;
When the alarming node for having communication link is for multiple, the continuous alarming node group of communication link is obtained Into continuous alarming node group, and in the communication link alarming node it is most it is described continuous alarm section The quantity of alarming node described in point group;
Obtain in the communication link not accusing for continuous non-alarming node composition after each described alarming node Alert node group;
Accused in quantity and the communication link according to non-alarming node in the non-alarming node group for getting The quantity of alarming node calculates the communication link described in the most described continuous alarming node group of alert node Alarm coefficient.
7. a kind of alarm treatment device, it is characterised in that the alarm treatment device includes:
Acquisition module, for receiving warning information, alarming node is obtained based on the warning information, And in each communication link where obtaining the alarming node, the alarm time point of the alarming node First prefixed time interval and the afterwards alarming node of the second time interval before;
Computing module, the alarm coefficient for calculating each communication link based on the alarming node, Alarming processing is carried out to communication link each described with according to the alarm coefficient.
8. alarm treatment device as claimed in claim 7, it is characterised in that the alarm treatment device Also include:
Order module, for the alarm coefficient based on communication link each described to communication link each described It is ranked up, to generate the processing priority of each communication link, wherein the alarm coefficient is bigger The processing priority is higher;
Processing module, for being alerted to communication link each described successively according to the processing priority Treatment.
9. alarm treatment device as claimed in claim 7 or 8, it is characterised in that the computing module Including:
First acquisition unit, the company for obtaining each continuous alarming node composition of communication link successively Continuous alarming node group, and the most described continuous alarming node of alarming node in each described communication link The quantity of alarming node described in group, and each described alarm in each described communication link is obtained successively The non-alarming node group of continuous non-alarming node composition after node;
First computing unit, in the non-alarming node group in getting each described communication link, Section is alerted in quantity and the communication link according to non-alarming node in the non-alarming node group for getting The quantity of alarming node calculates the announcement of the communication link described in the most described continuous alarming node group of point Alert coefficient.
10. alarm treatment device as claimed in claim 9, it is characterised in that the computing unit bag Include:
Subelement is updated, in the non-alarming node group in getting each described communication link, The alarming node group positioned at the communication link end is rejected in the described non-alarming node group for getting, with Update described not alert a group;
Computation subunit, quantity for non-alarming node in the non-alarming node group after according to renewal and The quantity of alarming node described in the most described continuous alarming node group of alarming node in the communication link Calculate the alarm coefficient of the communication link.
11. alarm treatment devices as claimed in claim 9, it is characterised in that the computing unit, It is additionally operable to when all nodes for having communication link are alerted, or it is continuous with the presence of communication link end again During the node of alarm, preset multiple is multiplied by the alarm coefficient.
12. alarm treatment devices as claimed in claim 7 or 8, it is characterised in that the calculating mould Block includes:
Second acquisition unit, for when the alarming node for having communication link is single, obtaining the alarm Sequence number of the node in the communication link;
Second computing unit, the alarm coefficient for calculating the communication link according to the sequence number;
The second acquisition unit, for when the alarming node for having communication link is for multiple, obtaining described The continuous alarming node group of the continuous alarming node composition of communication link, and section is alerted in the communication link The quantity of alarming node described in the most described continuous alarming node group of point, and obtain the communication chain The non-alarming node group that continuous non-alarming node is constituted after each described alarming node in road;
Second computing unit, is additionally operable to according to non-alarming node in the non-alarming node group for getting Section is alerted in quantity and the communication link described in the most described continuous alarming node group of alarming node The quantity of point calculates the alarm coefficient of the communication link.
CN201510454982.6A 2015-07-29 2015-07-29 Alarm processing method and device Active CN106712984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510454982.6A CN106712984B (en) 2015-07-29 2015-07-29 Alarm processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510454982.6A CN106712984B (en) 2015-07-29 2015-07-29 Alarm processing method and device

Publications (2)

Publication Number Publication Date
CN106712984A true CN106712984A (en) 2017-05-24
CN106712984B CN106712984B (en) 2020-07-28

Family

ID=58900893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510454982.6A Active CN106712984B (en) 2015-07-29 2015-07-29 Alarm processing method and device

Country Status (1)

Country Link
CN (1) CN106712984B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040208547A1 (en) * 2001-12-14 2004-10-21 Boca Photonics Inc. QoS based protection of mesh-based intelligent optical networks
CN102273131A (en) * 2008-12-23 2011-12-07 爱立信电话股份有限公司 Method and system to distribute fault information in a large scale communication network system
CN102664760A (en) * 2012-04-28 2012-09-12 华为技术有限公司 Alarming method for communication system, equipment and communication system
CN104601383A (en) * 2015-02-09 2015-05-06 国网四川省电力公司成都供电公司 Segmented power telecommunication network analysis method
CN104767648A (en) * 2015-04-24 2015-07-08 烽火通信科技股份有限公司 Root alarm positioning function implementation method and system based on alarm backtracking

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040208547A1 (en) * 2001-12-14 2004-10-21 Boca Photonics Inc. QoS based protection of mesh-based intelligent optical networks
CN102273131A (en) * 2008-12-23 2011-12-07 爱立信电话股份有限公司 Method and system to distribute fault information in a large scale communication network system
CN102664760A (en) * 2012-04-28 2012-09-12 华为技术有限公司 Alarming method for communication system, equipment and communication system
CN104601383A (en) * 2015-02-09 2015-05-06 国网四川省电力公司成都供电公司 Segmented power telecommunication network analysis method
CN104767648A (en) * 2015-04-24 2015-07-08 烽火通信科技股份有限公司 Root alarm positioning function implementation method and system based on alarm backtracking

Also Published As

Publication number Publication date
CN106712984B (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN110233860B (en) Load balancing method, device and system
CN105530138B (en) Data monitoring method and device
CN107105309A (en) Live dispatching method and device
JP6141536B2 (en) Grayscale upgrade method and apparatus
CN106973319A (en) A kind of virtual gift display method and system
CN102594912A (en) Data processing method under server architecture, server and server architecture
CN106330762A (en) Method of switch to accelerate data processing, CPU core for carrying out acceleration processing on data and switch
CN104270277B (en) Alarm information processing method and warning information processing device
CN105677451A (en) Load balancing method and equipment used for multiple processes
US20160142275A1 (en) Method, system and apparatus for detecting instant message spam
CN108076012A (en) Abnormal login determination methods and device
CN114793182A (en) Intelligent park distributed network security risk assessment method and device
CN103973562B (en) A kind of method and apparatus of service disconnection when avoiding smooth restarting
CN103685438B (en) Method and system for providing digital content in a network environment
CN106712984A (en) Alarm processing method and device
CN114302351B (en) Short message service processing method and device, computer equipment and storage medium
CN107483310A (en) The method and system of networking between a kind of terminal and forward node
CN106911748A (en) The method and apparatus of on-line user amount statistic
CN106911528A (en) The method and apparatus of on-line user amount statistic
CN106603335A (en) Private software flow monitoring method and equipment thereof
CN114724011A (en) Behavior determination method and device, storage medium and electronic device
CN104268222B (en) The monitoring method and device of promoted account Action Events
CN106953807A (en) Message forwarding method and device
CN103368754B (en) A kind of methods, devices and systems and equipment for detecting traffic failure
JP6163751B2 (en) Judgment program, judgment method and judgment system

Legal Events

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